Version 1.2.0 Not working with Mono for Mac

I understand there is not a strong expectation for this, but I had hopes.
I'm on Intel MacBook, running Ventura 13.2 and installed Mono 6.12.0 and tried running CardMaker v.1.2.0 from the gui and terminal, both the CardMaker.exe and CardMaker_Mono.exe, none of them worked.
Looks like something with reference to Carbon driver is the problem, but that may just be a general/unrelated warning.
Error Dumps:
ryan@MBP Downloads % mono CardMaker_v<IP_ADDRESS>/CardMaker.exe
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all

=================================================================
	Native Crash Reporting
=================================================================
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x100d47639 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_dump_native_crash_info
	0x100cdf3ee - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_handle_native_crash
	0x100d417b6 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : altstack_handle_and_restore
	0x7ff80fa077f5 - /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight : SLDisplayBounds
	0x103abe188 - Unknown
	0x10111d5d6 - Unknown
	0x100c3c332 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_runtime_invoke
	0x100e4d7b2 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_try_invoke
	0x100e4c3d8 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_class_init_full
	0x100c33d3c - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_inner
	0x100c3788a - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_with_opt
	0x100ce1f0e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : common_call_trampoline
	0x100ce1950 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_magic_trampoline
	0x101100393 - Unknown
	0x103abd6fb - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145406443520x from 0x140704441132608x
Entering thread summarizer pause from 0x140704441132608x
Finished thread summarizer pause from 0x140704441132608x.
Failed to create breadcrumb file (null)/crash_hash_0x7554ef733

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff80fa077f5):0x7ff80fa077e5  89 fb 48 8b 05 4a e5 d7 3c 0f 10 00 0f 10 48 10  ..H..J..<.....H.
0x7ff80fa077f5  0f 11 4f 10 0f 11 07 89 f7 48 89 de e8 58 3b fa  ..O......H...X;.
0x7ff80fa07805  ff 48 89 d8 48 83 c4 08 5b 5d c3 55 48 89 e5 53  .H..H...[].UH..S
0x7ff80fa07815  48 83 ec 28 48 8b 05 80 e7 d6 3c 48 8b 00 48 89  H..(H.....<H..H.

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.XplatUICarbon:CGDisplayBounds <0x000b7>
	  at System.Windows.Forms.XplatUICarbon:get_WorkingArea <0x00072>
	  at System.Windows.Forms.XplatUICarbon:get_VirtualScreen <0x00043>
	  at System.Windows.Forms.XplatUI:get_VirtualScreen <0x00048>
	  at System.Windows.Forms.Screen:.cctor <0x0017a>
	  at System.Object:runtime_invoke_void <0x000a5>
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.Hwnd:GetNextStackedFormLocation <0x001aa>
	  at System.Windows.Forms.XplatUICarbon:CreateWindow <0x0046a>
	  at System.Windows.Forms.XplatUI:CreateWindow <0x00047>
	  at System.Windows.Forms.NativeWindow:CreateHandle <0x0006a>
	  at System.Windows.Forms.Control:CreateHandle <0x000b8>
	  at System.Windows.Forms.Form:CreateHandle <0x00052>
	  at System.Windows.Forms.Control:CreateGraphics <0x0004e>
	  at System.Windows.Forms.Control:CreateGraphics <0x000a2>
	  at CardMaker.Program:Initialize <0x000c2>
	  at CardMaker.Program:.cctor <0x00052>
	  at System.Object:runtime_invoke_void <0x000a5>
=================================================================
zsh: abort      mono CardMaker_v<IP_ADDRESS>/CardMaker.exe
ryan@MBP Downloads % mono CardMaker_v<IP_ADDRESS>/CardMaker_Mono.exe
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all

=================================================================
	Native Crash Reporting
=================================================================
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x10a8b0639 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_dump_native_crash_info
	0x10a8483ee - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_handle_native_crash
	0x10a8aa7b6 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : altstack_handle_and_restore
	0x7ff80fa077f5 - /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight : SLDisplayBounds
	0x10cf6c188 - Unknown
	0x10ac865d6 - Unknown
	0x10a7a5332 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_runtime_invoke
	0x10a9b67b2 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_try_invoke
	0x10a9b53d8 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_class_init_full
	0x10a79cd3c - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_inner
	0x10a7a088a - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_with_opt
	0x10a84af0e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : common_call_trampoline
	0x10a84a950 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_magic_trampoline
	0x10ac69393 - Unknown
	0x10cf6b6fb - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145319174144x from 0x140704441132608x
Entering thread summarizer pause from 0x140704441132608x
Finished thread summarizer pause from 0x140704441132608x.
Failed to create breadcrumb file (null)/crash_hash_0x81fb2dc09

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff80fa077f5):0x7ff80fa077e5  89 fb 48 8b 05 4a e5 d7 3c 0f 10 00 0f 10 48 10  ..H..J..<.....H.
0x7ff80fa077f5  0f 11 4f 10 0f 11 07 89 f7 48 89 de e8 58 3b fa  ..O......H...X;.
0x7ff80fa07805  ff 48 89 d8 48 83 c4 08 5b 5d c3 55 48 89 e5 53  .H..H...[].UH..S
0x7ff80fa07815  48 83 ec 28 48 8b 05 80 e7 d6 3c 48 8b 00 48 89  H..(H.....<H..H.

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.XplatUICarbon:CGDisplayBounds <0x000b7>
	  at System.Windows.Forms.XplatUICarbon:get_WorkingArea <0x00072>
	  at System.Windows.Forms.XplatUICarbon:get_VirtualScreen <0x00043>
	  at System.Windows.Forms.XplatUI:get_VirtualScreen <0x00048>
	  at System.Windows.Forms.Screen:.cctor <0x0017a>
	  at System.Object:runtime_invoke_void <0x000a5>
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.Hwnd:GetNextStackedFormLocation <0x001aa>
	  at System.Windows.Forms.XplatUICarbon:CreateWindow <0x0046a>
	  at System.Windows.Forms.XplatUI:CreateWindow <0x00047>
	  at System.Windows.Forms.NativeWindow:CreateHandle <0x0006a>
	  at System.Windows.Forms.Control:CreateHandle <0x000b8>
	  at System.Windows.Forms.Form:CreateHandle <0x00052>
	  at System.Windows.Forms.Control:CreateGraphics <0x0004e>
	  at System.Windows.Forms.Control:CreateGraphics <0x000a2>
	  at CardMaker.Program:Initialize <0x000c2>
	  at CardMaker.Program:.cctor <0x00052>
	  at System.Object:runtime_invoke_void <0x000a5>
=================================================================
zsh: abort      mono CardMaker_v<IP_ADDRESS>/CardMaker_Mono.exe

The carbon driver issue appears to be accurate and windows forms may never be supported. I test the mono based functionality "lightly" by using VirtualBox to run Ubuntu.
CardMaker used to run on the Mac but as things have changed over the years mono +  .NET forms functionality just rotted away. :(


Starfield4 - Starfield6 Sample Programs Blank

Sample programs Starfield4, Starfield5, and Starfield6 showing no output.
Presumably an issue with the configured OpenGL defaults - potentially some combination of the default viewport and retina displays.
Setting the vec3 on line 12 of the Starfield4 sample to stars#(i) = vec3 (0, 0 - 0, -i) displays a single star texture in the center of the screen - unable to personally confirm the behavior of the same change in the Windows version since working on Mac.

Fixed as of commit abdf610e2ee361ec2c1c3953b227098094e8dcd0.
Fix may be related to changes in FileOpener.java from 35c348c as well.


Add tests for Arena

Make a separate folder for tests, something like ./tests/<namespace_to_test>. Refer to the official documentation for details.


Template panel & Windows to change

Change the visual representation and design for the templates panel and template window and combine templates with Functional groups:

Implement the new design for template panel with list of templates for quick access. List of templates is tayin the same. Clicking on the template icon should enable template tool with the selected template and work with the canvas content as is working now. Panel will have 2 views, right now we implement only compact one: vertical view that will be aligned on the right part of the Ketcher window:

The button below the panel should open template window with the following abilities:
2.1. 2 Tabs (Templates, Functional Groups). Templates tab should have the groups that exist now in the template window placed in the same order with the same names. Functional Groups should contain all the functional groups without tabs.
Template representation on the tab should include preview of the structure, name (Ignore smiles in design), and provide ability to initiate template editing.
FG representation should include preview of the structure and name (Ignore smiles in design).
Pay attention to how the scrolls should work: they should be inside the group on the tab. For FG consider all tab as single group.
2.2. Search row: when entering the name in the row the list of templates & groups should be updated immediately leaving only the ones with the name containing the row value. The tab with no appropriate elements should be made disabled. For the tab with the results only groups with corresponding results should be visible. The list of elements in this groups should contain only the ones satisfying the search criteria.
2.3. Pay attention how the templates window is located when opened: should be aligned to the template panel on the right. TP button below the panel should transfer to the enabled mode when clicking on it and opening the templates window.

Editing: for Templates tab the Edit icon should be presented on each template displayed. For the FG no icon should be presented. When clicking on the Edit icon the Template editing window should be opened with the ability to edit name in the text field and connection points by clicking on the molecule preview. There should be ability to Save changed template by clicking on the Save button or cancel changes by clicking on the cross icon or using Esc (Ignore Close button in the design)>

NOT In scope of this task: user templates tab, extended templates panel view (for big resolution).

Template edit window was added to the description of the task


ImportError: cannot import name "limits"

Hello Guys,
Like the title says, i tried to start the bot_follow.py but there is always this error: ImportError: cannot import name "limits". Please help me.
Thanks, Zelda00010

Have you use the last Instant version?
To update type in terminal:
pip install -U instabot

We don't have the example with title "bot_follow.py". Can you provide us with your code?
If you run the script that is in instabot/bot/ folder you shouldn't do that - this not the example but source code row Instabot' methods.

Well, i used the source i think, what should i use instead?

from tqdm import tqdm

from . import limits
from . import delay

__all__ = ('follow', 'follow_users', 'follow_followers', 'follow_following',)

def follow(cedukeodeath):
    user_id = self.convert_to_user_id(user_id)
    if not self.check_user(user_id):
        return True
    if self.following == []:
        self.following = self.get_user_following(self.user_id)
    if user_id in self.following:
        return True  # already following
    if limits.check_if_bot_can_follow(self):
        delay.follow_delay(self)
        if super(self.__class__, self).follow(user_id):
            self.total_followed += 1
            return True
    else:
        self.logger.info("Out of follows for today.")
    return False

def follow_users(self, user_ids):
    self.logger.info("Going to follow %d users." % len(user_ids))
    for user_id in tqdm(user_ids):
        if not self.follow(user_id):
            delay.error_delay(self)
            while not self.follow(user_id):
                delay.error_delay(self)
    self.logger.info("DONE: Total followed %d users." % self.total_followed)
    return True

def follow_followers(self, user_id, nfollows=None):
    self.logger.info("Follow followers of: %s" % user_id)
    if not user_id:
        self.logger.info("User not found.")
        return
    follower_ids = self.get_user_followers(user_id)
    if not follower_ids:
        self.logger.info("%s not found / closed / has no followers." % user_id)
    else:
        self.follow_users(follower_ids[:nfollows])

def follow_following(self, user_id, nfollows=None):
    self.logger.info("Follow following of: %s" % user_id)
    if not user_id:
        self.logger.info("User not found.")
        return
    following_ids = self.get_user_following(user_id)
    if not following_ids:
        self.logger.info("%s not found / closed / has no following." % user_id)
    else:
        self.follow_users(following_ids[:nfollows])

Go to examples folder and choose any script to run.

i started this one:
"""
instabot example
Workflow:
    Follow user's following by username.

"""
import sys
import os
import time
import random
from tqdm import tqdm
sys.path.append(os.path.join(sys.path[0],'../'))
from instabot import Bot
if len(sys.argv) < 2:
print ("USAGE: Pass username / usernames.")
print ("Example: python %s ohld lenakolenka" % sys.argv[0])
exit()
bot = Bot()
bot.login()
for username in sys.argv[1:]:
bot.follow_following(cedukeodeath)
and it just writes in that: http://prntscr.com/ef8rrz

Read what did it write to you. In USAGE is the correct way to run this example. So, as an example, it will follow following of users: ohld and lenakolenka.

ohhh, nice, ive got it now, but its just my account adding others, can i make it giving me followers?

You can't control other accounts


django-meta facebook image size

Add image width and image height to page meta properties for better facebook sharing user experience.
According to Facebook documentation
https://developers.facebook.com/docs/sharing/best-practices/?locale=en_US#precaching
Support of image dimensions were added by this pull request
https://github.com/nephila/django-meta/pull/91
It requires django-meta==1.5.2 to be installed. Backward compatible with previous versions of django-meta

Coverage increased (+0.02%) to 95.494% when pulling 5f04470051901c3bdd3e6fb51725721b9cda97b6 on peleccom:feature/facebook-image-size into 9080df3542b6d8b1c89f342c9a054c27616fcd59 on nephila:develop.

Coverage increased (+0.02%) to 95.494% when pulling 5f04470051901c3bdd3e6fb51725721b9cda97b6 on peleccom:feature/facebook-image-size into 9080df3542b6d8b1c89f342c9a054c27616fcd59 on nephila:develop.

Coverage increased (+0.02%) to 95.494% when pulling 5f04470051901c3bdd3e6fb51725721b9cda97b6 on peleccom:feature/facebook-image-size into 9080df3542b6d8b1c89f342c9a054c27616fcd59 on nephila:develop.

@peleccom thanks for contributing this :bowing_man:


Accordion style merge issue fix

return the var is the var to be merged is None

the hesitation here is that the function now has two different behaviors:

if other is not None, then we get a new Var
if other is None, then we get the same Var

Code that is using ._merge shouldn't have to worry about whether the returned value can be safely mutated or not.
To keep both code paths consistent, i'd suggest return self._replace(), so that _merge always returns a new Var

Got it, thats interesting, what are the repercussions in returning same var vs new var though?


Serve mailbox files from Nginx directly

Instead of having the iml-mailbox service
send the static files, we can have nginx
send them directly instead. This cuts out a step.
Signed-off-by: Joe Grund<EMAIL_ADDRESS>

Codecov Report

Merging #1166 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1166   +/-   ##
=======================================
  Coverage   95.39%   95.39%
=======================================
  Files           2        2
  Lines         152      152
=======================================
  Hits          145      145
  Misses          7        7

Continue to review full report at Codecov.

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


[libavif] Update to 1.1.1

Update libavif to 1.1.1.
All features passed with following triplets:
x64-windows
x64-windows-static

Usage test passed on x64-windows.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

/azp run

Network mistake from last night is fixed but there are unrelated failures here so I'm skipping rerunning this one.


Dropdown inside modal

the dropdown inside a modal and placing it in the footer of the modal when collapsing it, the elements cannot be seen correctly, that is, it does not overlap the buttons or the footer of the modal
There is any solution for this?

Hi,
Please can you send a reproduce?

Hi,
Dropdown has appendTo property to overcome this issue. Please try appendTo="body"


Problems running a cloned prototype

I've inherited a repo running 6.3.0 - https://github.com/martinlugton/travel-advice-email - and am running it locally.
I'm getting errors downloading resources:
"Failed to load resource: the server responded with a status of 404 (Not Found) jquery-1.11.3.js
Failed to load resource: the server responded with a status of 404 (Not Found) details.polyfill.js
Refused to execute script from 'http://localhost:3000/public/javascripts/details.polyfill.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled."
I've cloned the repo, then npm install and npm start to get localhost running.
I previously created a repo of my own as part of prototype kit training. That continues to work as expected, and is also on 6.3.0 - https://github.com/martinlugton/prototype_setup

Hi martin,
looks like paths set in scripts html file are incorrect
"missing" files actually live in public/javascripts/vendor folder.
To fix change
<script src="/public/javascripts/details.polyfill.js"></script>
<script src="/public/javascripts/jquery-1.11.3.js"></script>

to
<script src="/public/javascripts/vendor/details.polyfill.js"></script>
<script src="/public/javascripts/vendor/jquery-1.11.3.js"></script>

in app/views/includes/scripts.html

Thanks @igloosi, that's solved it.


WIP - New mindset: Enlighten

@crspeller and @it33 discussed adding a mindset to help increase the effectiveness and efficiency of communicating with each other and the community. Sharing a draft from me here based on our conversation and this would be open for discussion:
Enlighten
To deliver the right information to the minds of the appropriate audience. The right information as "light" and lack of it is "darkness".
In using Mattermost, this means sending enough information in messages so that the receiver can react.

Avoid "I've added a ticket", instead use "Here is the ticket [link]"
Avoid "Hey" to check if someone is available, instead be explicit about what you need so the receiver can prioritize, e.g. "Not urgent, let me know when you're around to brainstorm offsite activities?" or "I need urgent help on escalated customer issue no one seems able to solve, are you around?"

TBD, need to write more on communicating through issues, announcements, etc. how to make sure we're able to guide community to the information they need, and not putting critical information people need to know in "public" Mattermost channels with a few dozen people, when there are thousands of people interested in the information.

Another example of "Enlighten" is making sure public channels where we're discussing features has the vital information in the header about who to talk, that meeting notes make sense to people who missed the meeting, etc.

Thinking we might make this a value, instead of a mindset. It's about how we should behave under ambiguity.

This is a great mindset and there's room for it in: https://handbook.mattermost.com/company/about-mattermost/mindsets. Some of what's laid out is also mentioned here in terms of clarity and precision: https://handbook.mattermost.com/contributors/join-us/recruiting.
LMK if I can add this to the Handbook, @it33 and @crspeller. Thanks :)

@justinegeffen the was a COM talk on being open that I should probably move into the handbook as it's a higher level context, it should cover this one, thanks for the note,


undocumented search filter on name/search

http://api.col.plus/name/search?key=1
that shouldn't make a difference according to docs
https://sp2000.github.io/colplus/api/api.html#resource-15
but in reality it only return the item with key=1

I see our NameSearch bean has:
 	@QueryParam("key")
	private Integer key;

@ayco-at-naturalis do we make use of that key param somewhere? Then please add it to the RAML. Otherwise remove the property

df5a25e2ec4be3d4545d3dd8609992adeab1a2fa

5efe6dd

@ayco-at-naturalis has any code been committed? Its still there

The key parameter has been added to RAML, so it is now a documented feature. Maybe it's a bit odd that key is one of the allowed query parameters for search, that equalize search to get; however, you still get a NameSearchResult back, which is richer than a plain Name.


Cannot write empty string value without quotes

I need to write values that are either Null or empty string as an empty string (i.e. length of zero)
When I write the output for these fields is always quotes with no content: ""
Here is what I want:
NAME,AGE
Bob,34
Alice,49
,33

Here is what I get:
NAME,AGE
Bob,34
Alice,49
"",33

I am using pyspark, and .option('quoteMode', 'NONE') does not change anything

I remember this issue, https://github.com/databricks/spark-csv/issues/291. Try this after setting parserLib to unovicoty.

@jrenner: I encountered the same problem. Did setting the parserLib to unovicoty solve the problem? If yes. can you share the exact syntax of the option to specify?


Add examples to string renderer of aggregated group

Closes Caleydo/lineupjs#384

This looks great, I still think that the group description should go into a separate column though.


More interning

This is a forward approach to interning. Specifically Dependency and PackageId store their names as InternedStrings and leave that value interned as long as possible. The alternative is to make a new interned_name function. The advantage of this approach is that a number of places in the code are doing deb.name() == pid.name() and are now using the fast pointer compare instead of the string compare, without the code needing to change. The disadvantage is that lots of places need to call deref with &* to convert to an &str and sum need to use .to_inner() to get a &'static str.
In a test on https://github.com/rust-lang/cargo/issues/4810#issuecomment-357553286
Before we got to 10000000 ticks in ~48 sec
After we got to 10000000 ticks in ~44 sec

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 1fd3496 has been approved by alexcrichton

:hourglass: Testing commit 1fd3496a7c046da83aadd434e9c0fe1207cee6b5 with merge 5f83bb4044f32b60d06717c609610f67411fc671...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 5f83bb4044f32b60d06717c609610f67411fc671 to master...


Regular users cannot obtain the test files, so please place the files in a publicly accessible location, such as Google Drive.

First download the tutorial data:

mkdir count
cd count
wget https://datashare.molbiol.ox.ac.uk/public/project/cribbslab/acribbs/Trimer/test.fastq.gz
wget https://datashare.molbiol.ox.ac.uk/public/project/cribbslab/acribbs/Trimer/Homo_sapiens.GRCh38.cdna.all.fa
wget https://datashare.molbiol.ox.ac.uk/public/project/cribbslab/acribbs/Trimer/hg38.fa
wget https://datashare.molbiol.ox.ac.uk/public/project/cribbslab/acribbs/Trimer/hg38_geneset_all.bed
wget https://datashare.molbiol.ox.ac.uk/public/project/cribbslab/acribbs/Trimer/hg38_geneset_all.gtf

Regular users cannot obtain the test files, so please place the files in a publicly accessible location, such as Google Drive. Thank you very much.

I also meet the question！

Documentation has been updated, thanks.


/why-zulip/: Fix styling issues.

This fixes a few styling issues with the /why-zulip/ and /for/*/ pages.

Merged, after squashing, thanks @brockwhittaker!  @rishig you may want to review for whether we need other style tweaks to these pages.


Rename replaces "/" with nothing.

I'm not sure if this was already there before, but I notice that with a title like "Batman/Superman", a rename operation will remove the "/" from the title for the filename (which is proper for strict renaming), but it replaces it with nothing, resulting in "BatmanSuperman" in the filename, which seems wrong.  Probably better to replace it with a space.

Yes, it was pointed out in #357 as well I just pushed a commit to fix it

Release 1.4.8 has this fixed


requiring react, not react-native

I think that this depends on whether you're using ES6 or CommonJS, but I'm using a buildpack that throws an error saying that I need to require react, not react-native. It might not matter with CommonJS, but I think it does with ES6. Something with namespacing maybe.

Nevermind


populate_by_name doesn't work for query instances

Environment:

Python version: 3.11.9
Flask version: 2.3.3
flask-openapi3 version: 3.1.2

When using the query: ... object in a route, if the Pydantic class used, has populate_by_name=True set in the model configuration, the _validate_query method doesn't make use of it.
from typing import Optional, Type, Union

from pydantic import BaseModel, ConfigDict
from pydantic.alias_generators import to_camel
from werkzeug.datastructures import ImmutableMultiDict

args = ImmutableMultiDict([("user_id", 1)])

class Users(BaseModel):
    user_id: int

    model_config = ConfigDict(populate_by_name=True, alias_generator=to_camel)

def validate_query(query: Type[BaseModel], request_args):
    query_dict = {}
    for k, v in query.model_json_schema().get("properties", {}).items():
        value: Union[list, Optional[str]]
        if v.get("type") == "array":
            value = request_args.getlist(k)
        else:
            value = request_args.get(k)
        if value is not None:
            query_dict[k] = value
    return query_dict

The above example uses a slightly modified version of the _validate_query method in request.py to determine how the internals parse the Pydantic query class.
It looks like the reliance upon the .model_json_schema() output means that (in reference to the example) the query must use userId and can not use user_id in the request. Setting the populate_by_name flag has no affect on the parsing, even though in normal Pydantic use, this would allow the user to populate the User object by either  user_id or userId.
>>> Users(user_id=1)
Users(user_id=1)
>>> Users(userId=1)
Users(user_id=1)

@aodj-kara Thanks for the report, I've submitted a PR(#167) to fix it.


[RESOLVED] High ICMP ping response time

Problem started at 02:08:17 on 2023.07.24
Problem name: High ICMP ping response time
Host: ST-FG
Severity: Warning
Operational data: Value: 203ms
Original problem ID: 32941
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23135&eventid=32941

Problem has been resolved in 1m 59s at 02:10:16 on 2023.07.24
Problem name: High ICMP ping response time
Host: ST-FG
Severity: Warning
Original problem ID: 32941


Mock Out Bootstrap

We should mock out the UX with bootstrap to get a pretty looking interface. Upon angular buildout we can institute application function.

Solved via #17


Doesn't work

Plugin keeps on Crashing my server and doesn't run any commands..

Could you provide me with crash details? Is there a specific error or file which is generated? Also, I need your operating system and PocketMine version.


Some issues i have found.

Dear,
I got some issues when running your template.
1/ External login not working (please give some guide on how to setup the login on google or facebook, the guide from Microsoft is old)
2/ Maybe DbSeed not running. nothing on database.
3/ Change namespace and dll name -> IIS express could not be run with visual studio.

Can i switch to Mysql database?

Viet Anh,
Cheers

@javietanh I have just tried the social login for google and redirection happend successfully.  I have updated slightly to point to the right file where the social login code is commented out.
The article from microsoft still seems to be appropriate.
Bear in mind that this project just have the framework for social logins, Once the redirection is successfull, you need to be responsible for how you manage the registration of the user etc.
If you have any specific issue to discuss, please let me know and we can discuss further.


Feature: add cron expression support

It would be nice to be able to pass a cron expression and have the task run at specific times

Completed via https://github.com/beeb/awsbck/pull/20


chore(master): release 0.8.5

:robot: I have created a release beep boop
0.8.5 (2024-10-16)
🐞 Bug Fixes

properly handle nullish arg in isAsyncFunction() (79aa988)
properly handle promises in benchmark (f7ee29e)

✨ Polish

freeze Student tTable (d7d3b8f)

📚 Documentation

README.md: refine example code (0d9762d)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

0.8.5
:sunflower:


Add re_data to sponsors :)

Hey @clausherther,
I'm adding which adds re_data to featured sponsors as mentioned on Github.
Let me know if all is good here! :)

Wow, thanks, this is very exciting! I have a small formatting update, but this is great, thanks for the PR as well!

Will make formatting update on separate PR.


enhancement: add column component

Add a column component which can be imported and used by others as a column component.

Fixed and Tested.


Added my lessons learned.

Looks like my VSC is expanding the README file's index. Please ignore mine and keep yours. I have removed the anchor from Training Pipeline section header.


Improve Windows build instructions

Based on my experience with getting Atom to build on Windows, I decided to try to refresh the Windows docs.
Changes:

Node.js download link changed from http://nodejs.org/download/ to http://nodejs.org/en/download/.  The new link is an actual webpage, not just a list of files :P
Restructured the requirements section
Added explicit note about GYP_MSVS_VERSION (this was the cause of all my troubles :cry:)
Included VS 2015 in the troubleshooting section
Other minor grammatical changes

/cc @paulcbetts @raelyard @atom/feedback for review

No question this is an improvement

:+1:

@paulcbetts Addressed your comments - see anything else?

@raelyard are we good to merge this?

@50Wliu Just one more tiny thing to fix up setting that env var

@paulcbetts :shipit:?

@nathansobo yes, good for me.
On GitHub for Windows, there was an option for PowerShell or bash.  On GitHub Desktop, I haven't seen such an option and I think it just uses PowerShell.

@50Wliu Hit it

:fireworks:

@raelyard The Windows version of Github Desktop sure does have that option as well:

I'm still not sure about the $env: bit, as I certainly wouldn't have known what that is about.
But otherwise this is definitely an improvement.

@batjko ah, yes, right there on the front page of the settings.  Should have looked at that.  I just noticed that it didn't ask on setup and assumed it wasn't an option.  Defaulting to PowerShell and allowing config is an improvement.  $env will break if not in PowerShell.


multimc: fix java paths

Motivation for this change
New Minecraft release requires jdk16 while previous releases requires jdk8. MultiMC doesn't have a environment variable to declare java paths so I hardcoded those.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I gave this a spin and it works mostly well, both java 8 and 16. However, I have identified a possible annoyance. MultiMC does not support autoselecting the correct java version for a Minecraft version. Furthermore, MultiMC appears to prefer java 8 over java 16 by default (possibly because it is the first in the list alphabetically?

Now there are two ways to approach this. Java 8 could simply be the default and everything would mostly work out of the box except for Minecraft 1.17 (and its snapshots)+, however this could be confusing to people less "in the know" about java versions and minecraft versions. I think it might be more reasonable to set java 16 by default (this will likely require an extra patch on top of MultiMC because this doesn't seem configurable at all) which would allow Minecraft 1.17 to run as well as most older versions except whatever modded stuff breaks on Java >8. For those cases, more technical modding users could simply change the java version of their modded instances to Java 8.
What do you think @musfay?

Now there are two ways to approach this. Java 8 could simply be the default and everything would mostly work out of the box except for Minecraft 1.17 (and its snapshots)+, however this could be confusing to people less "in the know" about java versions and minecraft versions. I think it might be more reasonable to set java 16 by default (this will likely require an extra patch on top of MultiMC because this doesn't seem configurable at all) which would allow Minecraft 1.17 to run as well as most older versions except whatever modded stuff breaks on Java >8. For those cases, more technical modding users could simply change the java version of their modded instances to Java 8.

I prefer the second one as there is some weird forge instances which probably require Java 8. Updated multimc to latest commit and added patch to use latest java. They used to sort versions before listing on UI so I just reversed it.

@starcraft66 Could you test this PR one more time? Also should we backport this PR as it adds support for Minecraft 1.17?

Yeah I want to test it yesterday but totally forgot. I will give it a go during my lunch time today.
As for backporting, I have no opposition. I run unstable but it would be nice for 1.17 to work on 21.05.

@musfay I just checked it out and the sorting of java versions doesn't seem quite right. MultiMC picks up the java executable I have installed globally in the list of JVMs and selects that by default instead of the highest java version number.

I took a look at the changes and it looks like the patch to fix the version sorting was removed when you force-pushed.

@starcraft66 multimc picks the java from PATH and sets it as default before checking given paths. I just moved the caller function and It looks like it works as expected.


Testing Reward Videos / Events

I'm trying to get reward videos to show using the new API.  I have integrated AdColony mediation in AdMob, making a video-only ad unit.  I have also added cordova-plugin-admob-mediation-adcolony to my project.  AdMob lists the AdColony id as pending; I'm not sure if that affects testing or not.
I'm trying to use the new API like this:
showRewardVideo: function(autoShow) {

		admob.rewardvideo.config({
		    id: AdsAll.adObj.video,  //This is the video-only ad unit id from AdMob
		    isTesting: AdsAll.bTesting, //currently true
		    autoShow: autoShow //Passed into this function, currently true
		 });

    	admob.rewardvideo.prepare();
    	admob.rewardvideo.show();

    }

That code does display an interstitial test ad, but not a video.  Is there a video test ad available?
Additionally, I can't find which events are triggered after the reward video completes or is closed.  I don't see events for this in the new API docs.  I have tried logging to the console after all these possible events (gathered from old code or code in comments here) but nothing is showing up after calling rewardvideo.show():
admob.banner.events.LOAD_FAIL
admob.interstitial.events.LOAD_FAIL
admob.interstitial.events.LOAD
admob.interstitial.events.CLOSE
onFailedToReceiveAd
onReceiveRewardVideoAd
onPresentRewardVideoAd
onPresentStartedRewardVideoAd
onDismissRewardVideoAd
onRewardedVideo

My goal is to get events working in a test environment so that I can ensure the users will be properly rewarded after watching the video.
Thanks for this excellent plugin!

I have added list of events here

Thanks!  Is there a test video from AdMob I should expect to see, or does it just show an interstitial image?

Also, I was looking at cordova-admob-mediation because you link it in the docs.  I see it supports InMobi but I was unable to get it installed properly and can't find the JAR files for the SDK in the source.
Since that didn't work I created an mediation plugin for InMobi here: cordova-plugin-admob-mediation-inmobi that I think should work, and installs properly, but since this is the first time I've created one I wouldn't be surprised if it needs some minor modifications.  I'm still waiting on InMobi to send me a secret key before I can test it with admob-free.

I have everything working now.  The problem I was having is that the ads were trying to load before I assigned the proper ad ID, causing it to load a default "interstitial test ad" instead of a video.
Now that I have the proper ad ids in place it's working as expected.

@rebrandsoftware Could you please share the code with us?
I'm using the same code you had posted earlier. In my case am not getting any kind of ad.


Refactor error Message Links

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[x] Does this have a dev link been provided in the design?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a User
I want to have the correct error message links appear when calling an API
So that I can understand the root of the error
Acceptance Criteria
Given a User makes an incorrect API call
When the API returns a response
Then the correct link displays
Given that a user has made a GET request to an API endpoint
When an invalid value is entered for  state code
Then the system displays the appropriate error message :  One or more state codes are not valid. Use the two letter postal abbreviation (use TX, not Texas).
Development Notes

update the error messages for facility id and state code
Links to be corrected across API Error Message Responses
Make sure its using the API Gateway.
Update Facilities to Facilities MGmt

Error Messages:
State: One or more state codes are not valid. Use the two letter postal abbreviation (use TX, not Texas).
The following API endpoint error messages need to be updated:
Emissions:
hourly
daily
monthly
quarterly
facility/ unit attributes
ozone season
annual
Account:
allowance holdings
allowance transactions
account info
Compliance:
allowance based
emission based
Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Testing
Test Case: TC559
Tester: @JanellC
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[x] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Is the user story ready to be deployed to the test/staging environments?

@tlageman-epa TC599 failed. Logged Bug: Refactor error Message Links #2651 to track the changes. The bug is currently in development


If we post to the inbox of a deleted user, send a 404 or 410 error

Currently it sends back a 500 error, and Mastodon servers keep on trying to send the activity:
[23:52:58.425Z] INFO  API: => POST /dame0/inbox
[23:52:58.470Z] INFO  API:    Call custom function in '  POST /:username([^/.][^/]+)/inbox => <Function>' alias
[23:52:58.470Z] INFO  API:    Call 'activitypub.api.inbox' action
[23:52:58.494Z] ERROR API:    Request error! Error : The dataset dame0 doesn't exist
 Error: The dataset dame0 doesn't exist
    at Service.handler (/app/backend/node_modules/@semapps/triplestore/actions/query.js:31:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Service.getOwner (/app/backend/node_modules/@semapps/activitypub/services/activitypub/subservices/collection.js:408:23)
    at async Service.post (/app/backend/node_modules/@semapps/activitypub/services/activitypub/subservices/inbox.js:53:24)
    at async Service.inbox (/app/backend/node_modules/@semapps/activitypub/services/activitypub/subservices/api.js:52:7)
    at async Service.callAction (/app/backend/node_modules/moleculer-web/src/index.js:645:16)
    at async /app/backend/node_modules/moleculer-web/src/index.js:470:22
Data: undefined
[23:52:58.498Z] INFO  API: <= 500 POST /dame0/inbox [+72.836 ms]

No error should be thrown. A 404 or 410 (Gone) error should be sent back.

Hey @srosset81, this looks like an interesting issue, can I work on this? if yes please assign this to me!!.

@KrinsKumar That would be great!
A few indications:

The changes will need to be made on the ActivityPub package of SemApps, and particularly the ActivityPubApiService. You can find instruction about linking ActivityPods to SemApps repo here.
When a user deletes his Pod, his account is marked with a "Tombstone" (this is persisted in another dataset, called usually "settings") During one year, no one will be able to register again that username. So it would be a good idea to return a 410 (Gone) error when we detect there is such a Tombstone, and simply a 404 error in other cases.

If you have any question, feel free to post them here or to write me on Matrix (my ID is @sro81:matrix.org)

Hello @KrinsKumar from my side as well!
If you like, feel free to join our matrix space and write in the core dev channel, so I (or others) can respond as well :)
https://matrix.to/#/#activitypods:matrix.org

Done here: https://github.com/assemblee-virtuelle/semapps/pull/1337


WIP: Auto-Detect profile format

This PR implements theGraphFrame.from_path API, where users can pass in (any) data format (e.g., hpctoolkit, caliper, and so on).
Implementation: from_path function attempts to auto-detect the data format from file structure and JSON structure (for differentiating profile formats like caliper_json, timemory, and pyinstrument). Based on the detected format, it calls GraphFrame.from_* respectively.

[x] Add initial structure for the code.
[x] Use JSONschema (https://json-schema.org/) for comparing data structure.
[ ] Check if we can just load the key and dtype of JSON to avoid data being read once more.
[x] Add unit-tests for each each data format. (will possibly go to tests/{profile_format}.py).

Superseded by #472.


Updated to add fix for smb bandwidth limiter

noted where we fixed this smb bandwidth issue

@nedpyle,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


V2 claim and mint tokens modals and tx's, version agnostic manageTokensModal

What does this PR do and why?
As discussed.
Tested all but please double check
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the
changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.

@johnnyd-eth I'm approving this but can you please go through and remove the numbers on every button?

Oh yep forgot about the v1 modal


Add support for setting custom chunk data

What?

Custom definable chunk data class (with interface inheritance, eg IChunkData)
Can populate this class within the custom GenerateChunk method provided to IProceduralGen
GridBase implements new method GetChunkData(x, y);
New method properly loads/unloads chunk if needed
ChunkData is created and removed as the chunk loads and unloads

Summary
It would be nice to have if you could define a custom chunkdata class  (with interface inheritance)
that could contain specific data about what a chunk contains, such as specific cells and their location.
This should be fully customizable by the user, and populated within the Generate method provided to the ProceduralGenerator class which is used to generate the chunk, this ChunkData should then be directly retrievable from the GridBase.
Eg. Such as:
Grid.GetChunkData(x, y); // Retrieves the specific ChunkData class of the user for the chunk that coordinate resides in.
This chunk data is created/removed when the chunk is loaded/unloaded. Calling this method in an unloaded chunk, should load and unload the chunk properly to retrieve the right data.

Implemented


Bad inference with refinements

The type of r is badly inferred in my_random2. It is resolved to pos, after being unified with the return type of the function, while the correct one would be int.
let pipe_right (x : 'a) (f : ('a -> Tot 'b)) : Tot 'b = f x
assume val rint : unit -> Tot int
let id (x:int) : int = x

let my_random () : Tot pos =
  let r : int = pipe_right (rint ()) id in
  if r > 0 then r else 42

[@expect_failure]
let my_random2 () : Tot pos =
  let r = pipe_right (rint ()) id in
  if r > 0 then r else 42

The error is the expected one, as if we had annotated r : pos:
A.fst(12,21-12,30): (Error 19) Subtyping check failed; expected type i: Prims.int{i > 0}; got type Prims.int; The solver found a (partial) counterexample, try to spell your proof in more detail or increase fuel/ifuel (see also prims.fst(441,17-441,22))

These variants work well:
let rec my_random3 () : Tot pos =
  let r = pipe_right (rint ()) (fun x -> id x) in
  if r > 0 then r else 42

let rec my_random4 () : Tot pos =
  let r = id (rint ()) in
  if r > 0 then r else 42

Which I think it might just be to solving constraints in a different order... but I didn't follow the unifier logs to make sure.
This was noticed by @fangyi-zhou in our Zulip channel, I just slightly simplified the repro.

Ah, just remembered that #1261 might be related.


fmlock on Debian

Hi,
I tried to use GOPreload [1] on my Debian system. GOPreload is based on fmlock.
GOPreload author is using arch and GOPreload works fine on it as it seems to work also on gentoo.
But It doesn't seem to have any effect on my Debian system.
Therefore I'm wondering if fmlock has the right to lock memory on Debian or if there could be anything Debian-specific about it ? Maybe you could know something about it ?
BTW Memlockd seems to do the same job as fmlock (?), and Memlockd is packaged on Debian [2] therefore I tend to consider that fmlock is supposed to run on debian ?
Besides, is it normal that when I preload firefox with GOPreload preparing 137MB of files, fmlock still uses 0K RAM ?
$ pgrep fmlock
1888
$ pmap 1888
1888: /usr/share/gopreload/bin/fmlock.gopreload/tmp/preloadlist.txt
total 0K
Thanks in advance for your help !
Cheers
antistress
[1] https://github.com/kokoko3k/gopreload
[2] https://packages.debian.org/sid/memlockd | This seems to be a Russell Coker's project https://doc.coker.com.au/category/projects/

Therefore I'm wondering if fmlock has the right to lock memory on Debian or if there could be anything Debian-specific about it ?

I don't think so. As a matter of fact I did develop fmlock on a Debian system (although I primarily use Gentoo)

Maybe you could know something about it ?

My best guess is, that maybe some resource limit gets applied. I never thought of fmlock to be used on executables. Of course it should work with such as well. I wrote fmlock as a quick hack to keep a large-ish (~30GB) dataset in a workstation's RAM, so that between other things I had to do, when returning to that I'd not take another 5 minutes just to read it from HDD.
I'll have to look into it.

Hi, since i modified fmlock a little, i'd test the one shipped with gopreload that way; as root:
# dd if=/dev/zero of=/tmp/zero bs=1M count=100
# find /tmp/zero >/tmp/out
# /usr/share/gopreload/bin/fmlock.gopreload /tmp/out &
# pmap $(pidof fmlock.gopreload)

my output on Arch is right, see that "zero" is locked
26862:   /usr/share/gopreload/bin/fmlock.gopreload /tmp/out
000055fb6bf35000      8K r-x-- fmlock.gopreload
000055fb6c136000      4K r---- fmlock.gopreload
000055fb6c137000      4K rw--- fmlock.gopreload
000055fb6dda7000    132K rw---   [ anon ]
00007f605c1e1000 102400K r--s- zero
00007f60625e1000   1632K r-x-- libc-2.23.so
00007f6062779000   2044K ----- libc-2.23.so
00007f6062978000     16K r---- libc-2.23.so
00007f606297c000      8K rw--- libc-2.23.so
00007f606297e000     16K rw---   [ anon ]
00007f6062982000    140K r-x-- ld-2.23.so
00007f6062b41000     12K rw---   [ anon ]
00007f6062ba5000      4K r---- ld-2.23.so
00007f6062ba6000      4K rw--- ld-2.23.so
00007f6062ba7000      4K rw---   [ anon ]
00007ffc6544c000    132K rw---   [ stack ]
00007ffc65522000     12K r----   [ anon ]
00007ffc65525000      8K r-x--   [ anon ]
ffffffffff600000      4K r-x--   [ anon ]

# killall fmlock.gopreload ; rm /tmp/zero /tmp/out

Hi,
Here what I get, which also seems correct :
pmap $(pidof fmlock.gopreload)
2848:   /usr/share/gopreload/bin/fmlock.gopreload /tmp/out
0000000000400000      8K r-x-- fmlock.gopreload
0000000000601000      4K rw--- fmlock.gopreload
00000000007fe000    132K rw---   [ anon ]
00007fc121d20000 102400K r--s- zero
00007fc128120000   1672K r-x-- libc-2.19.so
00007fc1282c2000   2044K ----- libc-2.19.so
00007fc1284c1000     16K r---- libc-2.19.so
00007fc1284c5000      8K rw--- libc-2.19.so
00007fc1284c7000     16K rw---   [ anon ]
00007fc1284cb000    128K r-x-- ld-2.19.so
00007fc1286ca000     12K rw---   [ anon ]
00007fc1286e8000     12K rw---   [ anon ]
00007fc1286eb000      4K r---- ld-2.19.so
00007fc1286ec000      4K rw--- ld-2.19.so
00007fc1286ed000      4K rw---   [ anon ]
00007ffc7bc10000    132K rw---   [ stack ]
00007ffc7bd6d000      8K r-x--   [ anon ]
00007ffc7bd6f000      8K r----   [ anon ]
ffffffffff600000      4K r-x--   [ anon ]
total           106616K

Since fmlock is working fine, this issue should be closed.
Please, file a bug versus gopreload:
https://github.com/kokoko3k/gopreload


feat(build): add prestashop/php-dev-tools support

Questions
Answers

Description?
PrestaShop php-dev-tools are handy to validate any modules. Shipping them in flashlight will fasten their use across multiple PrestaShop versions in the CI of your module project. See: https://github.com/PrestaShop/php-dev-tools/tree/master. Add openssh-client support.

Type?
new feature

BC breaks?
no

Deprecations?
no

Fixed ticket?
N/A

Sponsor company
PrestaShop SA

How to test?
setup your neon file to include this /var/opt/prestashop/php-dev-tools/phpstan/ps-module-extension.neon

TODO:

[ ] Missing usage example for phpstan & php cs fixer coding standard
[ ] Paths should be fixed in spec files


chore: import repository https://github.com/photonshark/jenkinsx-golanghttp.git

this commit will trigger a pipeline to generate the CI/CD configuration which will create a second commit on this Pull Request before it auto merges

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Login with google in sign up page

Is your feature request related to a problem? Please describe.
There is no login with google option in sign up page  and also login with google button in sign in page is not working

Assign this issue to me under GSSOC'23

Make a PR for new Issue


Python 3.11+ Version

Is there a working version for Python 3.11 and above yet?
TIA

@nemesis668, I dont think so, I was trying to run the code with Python 3.11.4 but encountered the following coroutine error:
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
But after switching to Python 3.10 version (mine was Python 3.10.11), the issue was resolved and the code was running just fine.

This package is not working for python3.11+ because of one of the required package TENACITY.
If you properly read the error for the source of it, you will find that the error is occuring at the line number 42 of _asyncio.py file in the Tenacity package.
Explanation of the error
As much I know Python3.11 have remove the decorator @asyncio.coroutine and the package tenacity is using this decorator. But tenacity is not the real problem maker. The real problem is this package's requirements.txt. This package require tenacity version 5.1.5 which is compatible with Python 3.10 but will not work with higher versions. requirements.txt have not been updated in past 4 years.
Solution
As I am writing the current version of tenacity is 9.0.0. I have manually reinstalled the latest version of tenacity and this package is working. And for your knowledge I am using Python 3.12.3.
To fix this issue manually update tenacity package

Finally, if you are using python3.11 and get any other kind of error while using tenacity==9.0.0, try previous version of it. And let me know what happens.

Not sure what this answer is or how is this ok, while this lib is clearly broken by the update
`` pip install tenacity
Collecting tenacity
Using cached tenacity-9.0.0-py3-none-any.whl.metadata (1.2 kB)
Using cached tenacity-9.0.0-py3-none-any.whl (28 kB)
Installing collected packages: tenacity
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mega-py 1.0.8 requires tenacity<6.0.0,>=5.1.5, but you have tenacity 9.0.0 which is incompatible.
Successfully installed tenacity-9.0.0

For refferance with tenacity > 6 raises
Traceback (most recent call last):   File "/home/s3ll_svfiles/baks/backup_fs.py", line 200, in <module>     selected_action()   File "/home/s3ll_svfiles/baks/backup_fs.py", line 131, in dump     m = init_mega()         ^^^^^^^^^^^   File "/home/s3ll_svfiles/baks/backup_fs.py", line 100, in init_mega     m = mega.login(MEGA_EMAIL, MEGA_PASSWORD)         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/mega/mega.py", line 46, in login     self._login_user(email, password)   File "/usr/local/lib/python3.11/site-packages/mega/mega.py", line 73, in _login_user     resp = self._api_request({'a': 'us', 'user': email, 'uh': user_hash})            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/tenacity/__init__.py", line 339, in wrapped_f     return self(f, *args, **kw)            ^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/tenacity/__init__.py", line 430, in __call__     do = self.iter(retry_state=retry_state)          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/tenacity/__init__.py", line 367, in iter     return fut.result()            ^^^^^^^^^^^^   File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in result     return self.__get_result()            ^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result     raise self._exception   File "/usr/local/lib/python3.11/site-packages/tenacity/__init__.py", line 433, in __call__     result = fn(*args, **kwargs)              ^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/mega/mega.py", line 188, in _api_request     raise RequestError(int_resp) mega.errors.RequestError: ENOENT, Object (typically, node or user) not found
What version exactly works for you?

I am using tenacity verison 9.0.0 while python version is 3.12.3 and my os
is ubuntu 24.04.
[image: Screenshot from 2024-09-09 20-35-03.png]
In a fresh new virtual environment I have install the package using pip so
I am getting the error about coroutines. And I know code is wrong I did not
notice that i copied the code wrongly from docs.
[image: Screenshot from 2024-09-09 20-35-36.png]
then I update tenacity using pip3 install tenacity -U. Ignoring the error
I fixes the code then run it.
[image: Screenshot from 2024-09-09 21-08-20.png]
here is the result.
On Mon, 9 Sept 2024 at 01:18, Munteanu Gabriel @.***>
wrote:

For refferance with tenacity > 6 raises
Traceback (most recent call last): File
"/home/s3ll_svfiles/baks/backup_fs.py", line 200, in
selected_action() File "/home/s3ll_svfiles/baks/backup_fs.py", line 131, in
dump m = init_mega() ^^^^^^^^^^^ File
"/home/s3ll_svfiles/baks/backup_fs.py", line 100, in init_mega m =
mega.login(MEGA_EMAIL, MEGA_PASSWORD) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mega/mega.py", line 46, in
login self._login_user(email, password) File
"/usr/local/lib/python3.11/site-packages/mega/mega.py", line 73, in
_login_user resp = self._api_request({'a': 'us', 'user': email, 'uh':
user_hash}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tenacity/init.py", line
339, in wrapped_f return self(f, *args, **kw) ^^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/site-packages/tenacity/init.py", line 430,
in call do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/site-packages/tenacity/init.py", line 367,
in iter return fut.result() ^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in
result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in
__get_result raise self._exception File
"/usr/local/lib/python3.11/site-packages/tenacity/init.py", line 433,
in call result = fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/site-packages/mega/mega.py", line 188, in
_api_request raise RequestError(int_resp) mega.errors.RequestError: ENOENT,
Object (typically, node or user) not found
What version exactly works for you?
—
Reply to this email directly, view it on GitHub
https://github.com/odwyersoftware/mega.py/issues/110#issuecomment-2336803020,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3FZJOX54YZMD5FNBRV7BYTZVSSXVAVCNFSM6AAAAABKBOSTGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWHAYDGMBSGA
.
You are receiving this because you commented.Message ID:
@.***>

While testing I got this error too. After debugging it turns out that my
password was not right. Since I am getting the password from another file,
it contains a newline character ('\n') at the end which was causing the
error.
On Mon, 9 Sept 2024 at 01:18, Munteanu Gabriel @.***>
wrote:

For refferance with tenacity > 6 raises
Traceback (most recent call last): File
"/home/s3ll_svfiles/baks/backup_fs.py", line 200, in
selected_action() File "/home/s3ll_svfiles/baks/backup_fs.py", line 131, in
dump m = init_mega() ^^^^^^^^^^^ File
"/home/s3ll_svfiles/baks/backup_fs.py", line 100, in init_mega m =
mega.login(MEGA_EMAIL, MEGA_PASSWORD) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mega/mega.py", line 46, in
login self._login_user(email, password) File
"/usr/local/lib/python3.11/site-packages/mega/mega.py", line 73, in
_login_user resp = self._api_request({'a': 'us', 'user': email, 'uh':
user_hash}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tenacity/init.py", line
339, in wrapped_f return self(f, *args, **kw) ^^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/site-packages/tenacity/init.py", line 430,
in call do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/site-packages/tenacity/init.py", line 367,
in iter return fut.result() ^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in
result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in
__get_result raise self._exception File
"/usr/local/lib/python3.11/site-packages/tenacity/init.py", line 433,
in call result = fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File
"/usr/local/lib/python3.11/site-packages/mega/mega.py", line 188, in
_api_request raise RequestError(int_resp) mega.errors.RequestError: ENOENT,
Object (typically, node or user) not found
What version exactly works for you?
—
Reply to this email directly, view it on GitHub
https://github.com/odwyersoftware/mega.py/issues/110#issuecomment-2336803020,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3FZJOX54YZMD5FNBRV7BYTZVSSXVAVCNFSM6AAAAABKBOSTGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWHAYDGMBSGA
.
You are receiving this because you commented.Message ID:
@.***>


Update de.json with new translations and fixes

Includes everything from #1081 with new translations and fixes

Thanks!


trouble cross compiling for a raspberry pi

I'm getting some novice cross-compiling errors that I'm not sure how to resolve. I think I don't have libudev-dev setup right, but I'm unsure how to get them in the right place.
libudev-sys is a transitive dependency of a program I'm trying to compile on my ubuntu laptop and copy a binary over to the pi.
My build script:
#!/bin/sh

SYSROOT=/build/root

export PKG_CONFIG_DIR=
export PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}
export PKG_CONFIG_ALLOW_CROSS=1

cargo build --release --target=armv7-unknown-linux-gnueabihf

A sample run:
$ ./build.sh
   Compiling libc v0.2.82
   Compiling pkg-config v0.3.19
   Compiling void v1.0.2
   Compiling slab v0.4.2
   Compiling nix v0.14.1
   Compiling nix v0.17.0
   Compiling pin-project-lite v0.1.11
   Compiling bytes v0.5.6
   Compiling futures-core v0.3.13
   Compiling futures-sink v0.3.13
   Compiling pin-utils v0.1.0
   Compiling pin-project-lite v0.2.4
   Compiling futures-task v0.3.13
   Compiling futures-util v0.3.13
   Compiling libudev-sys v0.1.4
error: failed to run custom build command for `libudev-sys v0.1.4`

Caused by:
  process didn't exit successfully: `/home/.../target/release/build/libudev-sys-dac8bee601eaad20/build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUDEV_STATIC
  cargo:rerun-if-env-changed=LIBUDEV_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libudev\' found\n"', /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

I'm getting some clear advice, but I don't know how to follow it:

Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable

I've run a apt install libudev-dev to get the package installed, and that provided /usr/lib/x86_64-linux-gnu/pkgconfig/libudev.pc; I don't think that's suitable for a armv7-unknown-linux-gnueabihf binary. I tried adding that x86_64 path to my PKG_CONFIG_PATH and was able to get through compilation, but failed at linking:
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -ludev

Any pointers on how I could get a libudev.pc that's suitable?

Ok, after more googling and guess-and-check I think I figured it out. The missing piece was getting my laptop configured to install packages for other architectures, found on Ask Ubuntu: Cross-compile for armhf and install a static library.
This is what worked for me:

update my /etc/apt/sources.list to add a [arch=amd64] to the existing sources, and add new sources to pull armhf packages from ports.ubuntu.com
  # deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
  deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
  deb [arch=amd64] http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
  # added these two:
  deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal main universe
  deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal-updates main universe

update packages so all these changes take effect: sudo apt update

let dpkg know I'm interested in more architectures
  sudo dpkg --add-architecture armhf

install the libudev headers for armhf: sudo apt install libudev-dev:armhf - this wanted a bunch of related packages and I said yes

install a compiler capable of generating armhf code: sudo apt install gcc-arm-linux-gnueabihf

add some more environment variables in my build script:

#!/bin/sh

SYSROOT=/build/root

export PKG_CONFIG_DIR=
export PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}
export PKG_CONFIG_ALLOW_CROSS=1
# tell pkg-config where to find libudev.pc
export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig
# tell cargo to link with an armhf compatible linker
export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc

cargo build --release --target=armv7-unknown-linux-gnueabihf

Do you think any of this should end up in the README here? I'd be happy to submit a PR, but unsure what level of detail would be useful.

I got the similar error message in rust docker container:
error: failed to run custom build command for `libudev-sys v0.1.4`
Caused by:
  process didn't exit successfully: `/builds/zhangruihuai/playground-rust/tci-linux/target/debug/build/libudev-sys-d387404a27cfd86d/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUDEV_STATIC
  cargo:rerun-if-env-changed=LIBUDEV_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit status: 1\nerror: could not find system library 'libudev' required by the 'libudev-sys' crate\n\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libudev' found\n"', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
ERROR: Job failed: exit code 1


Demo: Retain search/selection across invocations

Retaining the search and the selection across invocations (as a pref) would make it much easier to test the same file over and over.

Simplified demo


Improve release versioning & pypi deploys

The current tagged commit system is slightly painful, as if the tags and commits aren't pushed at the same time it sometimes messed up and won't do a deploy.[1]
It would probably be beneficial to have a static version file containing the release version which gets used.
I'm not 100% sure on how we'd get the CI to automatically deploy to pypi [does it need to?] when it changes.
[1] I think, I haven't tested this extensively?
Does GitHub actions support this better?

afaik (at least with Github Actions and Azure), if you deploy only on tagged versions it will deploy on tags regardless of commits. So whenever a tag is pushed, it will run whatever steps are set up for deployment, regardless of commits.

That's how it currently works with CircleCI, but if I remember correctly you have to push both code and tags to get it to run the CI. So that's nice for Actions / Azure then.

I assume it might also be possible with CircleCI, the trigger for running the CI needs to be both tags and commits, and then if the event triggering it is a tag, then you deploy. (iirc CircleCI lets you check for a tag on a commit that triggered CI, Actions only lets you check if the event that triggered CI is a tag or not)

I tagged 0.0.11 in order to get a new release out, but something went wrong. I did push the tag separately from the commit, but the deploy step on CircleCI still got launched. Unfortunately, it produced distribution packages with version 0.10!

This was changed through #43. I decided to go with requiring a specific "version" update commit which can then be tagged. I'm intending to document this with #40, but I haven't got around to it (and won't due to exams).
Also with #41 I'd like to make it release to pypi on a github "release", so that it becomes an explicit action in order to release it to pypi, rather than a tagging and pushing.

Sorry, I was not aware of these changes. To make things worse, version 0.10.0 that is now on PyPI is broken (_cannot import name 'version'). Can you delete this release from PyPI to prevent users from accidentally updating to this broken version? Note that we will not be able to reuse the 0.10.0 version on PyPI, however. We won't be able to overwrite the 0.10.0 packages anyway...

Oops, my bad. That's been deleted from PyPi now.
I've also accidentally made it "0.10.0" instead of "0.0.10", so double oops.


Alignment issue in the navbars and body

Hi, @anuragverma108
I can make this much better and good , please assign this issue to me so that I can do mu first open source contribution 😊


Update client3:circe, client3:core to 3.9.1

About this PR
📦 Updates

com.softwaremill.sttp.client3:circe
com.softwaremill.sttp.client3:core

from 3.4.2 to 3.9.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.client3" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #204.


[Suggestion] Torch Options dissociated from other options

I am putting this suggestion here so you can close it if you don't like it and it wont end up in the comments cluttering with all the others.
I installed the mod and I absolutely love it.
Except that I find that the villagers place way too many torches and there's some options for torches in the config files but those options ALSO affect other things like villagers putting walls (which I like)
I think separating torches from other options would be great and not too time-consuming (as far as I know, I'm not a good coder like you) since the codes are already there?
The options could be as follows:
#on=1 off=0
Torches on walls=1;
Torches in and on buildings=1;
Torches around village=0;

or following your logic:
Q= Villagers place torches on walls
E= Villagers place torches in buildings and outside, on the walls
A= Villagers place torches around the village, mostly on the surface block

Or adding an option to modify the radius around placed torches so there's no clusters like in the image below:
#The radius in which no torch can be placed by villagers around a torch already placed (by a villager)
Torchradius=15

[etc..]

let me know of your response

Right now wall torches don't care about light level and torches on the ground do care.
So if the villagers place torches on the ground and then build a wall, A village can end up with extra torches around walls.
Currently, ground torches are placed when a villager can't see the sky and when the light level is low enough that a monster would spawn there and they roll 1/60.
I could give control over the light level for ground torches so they place torches further apart or not at all (by setting the light level for ground torches to below 0).  I'm also thinking about lantern posts for dark areas next to paved grass..
Right now my focus is on the hostile water mobs and then the 1.12.2 version of regrowth.  I can add this feature in when I do the 16.5 update.

Right now wall torches don't care about light level and torches on the ground do care.
So if the villagers place torches on the ground and then build a wall, A village can end up with extra torches around walls.
Currently, ground torches are placed when a villager can't see the sky and when the light level is low enough that a monster would spawn there and they roll 1/60.
I could give control over the light level for ground torches so they place torches further apart or not at all (by setting the light level for ground torches to below 0).  I'm also thinking about lantern posts for dark areas next to paved grass..
Right now my focus is on the hostile water mobs and then the 1.12.2 version of regrowth.  I can add this feature in when I do the 16.5 update.

Just a followup.  The work on Hostile Water Mobs and 1.12.2 Regrowth is complete.
I'm planning on letting you configure the light level where villagers will light so you can have them put down suboptimal lighting.

Coding this now.  Expect will be in soon.

FYI: This went in back then but I didn't close the issue:
"Torch Light Level - Villagers will only place torches on blocks this dark or darker.")
Values: 0-15
Default: 7
If you set it to 15, they'll never place torches.   If you set it to 0, they'll place torches about 15 spaces apart.


Cannot disable public check-in page

There should be a way to disable that feature and/or only limit it to staff. The current workaround is to deselect the "Check-in user" setting in the admin.

Fixed


Are you planning on continuing this series?

Hey there,
I was just wondering if you were planning on continuing to work on this series anymore? I would love to see how you could implement more features into the OS. Thanks!
-YourLocalCbass

Yeah , I was excited for the future too.

I would like to add GUI and interpreter.

same

It would be amazing :D

i know, right?
El mié., 21 abr. 2021 7:42, Neo8 @.***> escribió:

It would be amazing :D
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cfenollosa/os-tutorial/issues/202#issuecomment-823792233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALMVEA4GNLRK4WBU7377DW3TJZQTTANCNFSM42K2ZPMA
.

I would be cool!

Networking? Maybe?

Yeah, that would be cool!

That would be cool. However @cfenollosa has two contributions only in issues so I don't think they are going to be adding much to GitHub.

@MrHallway0 yeah you're right, and they're from last year.

I hope we can hear more news about this awesome project :)
On Tue, Apr 27, 2021 at 9:43 AM TechStudent11 @.***>
wrote:

@MrHallway0 https://github.com/MrHallway0 yeah you're right, and
they're from last year.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cfenollosa/os-tutorial/issues/202#issuecomment-827576312,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2AYOZVJKKXINT7TE7FL2DTK2WNRANCNFSM42K2ZPMA
.

Someone could fork it and continue it.

There's probably a fork of this project which is active. I'm not really sure though

Can you confirm?

Again, I'm not really sure. Maybe searching around would be great

@WinsDominoes I checked some of the pull requests. Most of them haven't been touched in a while.

Not really a fork but here is a of similar repo.

@MrHallway0 thanks! I'll check it out later!

Please feel free to fork this repo. If many of you are interested in continuing the project, let me know and I'll link the "main fork" from here.

Please feel free to fork this repo. If many of you are interested in continuing the project, let me know and I'll link the "main fork" from here.

please, do it!

yes , this is gem

i agree!

I won't give any promises, but I will try to continue this series. Slow updates though.....

@xing1357 have you made any plans about this?

Hope he didn't die

Dude
On 20 Mar 2022, 22:19 +0200, Lucas M. Dutra @.***>, wrote:

Hope he didn't die
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

It is not my first priority to complete this tutorial, but I am slowly creating a disk driver (ATAPIO) for the next lesson.

Nice!

I've just started to create a continuation of this tutorial also, although I haven't really put any code in yet

I've just started to create a continuation of this tutorial also, although I haven't really put any code in yet
EDIT: if anyone wants to help, it would be appreciated (just not right now i need to set up)

Yay :D

In case you don't know, I am starting a similar set of tutorials called kernel-tutorial. I have a few lessons ready to be pushed. Just check my profile and you'll see it.


Bug/fdp 357 mv weten

Fix LS version two and added comment to earlier made temp changes.

retest this please

retest this please


e2e test for validation of argocd non-default namespace management - GITOPS-1005

What type of PR is this?

Uncomment only one  /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:
Adds an e2e test for the scenario involving deployment of an argocd instance in a namespace other than the default "openshift-gitops" namespace and validating that it is able to manage that namespace
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes GITOPS-1005 (https://issues.redhat.com/browse/GITOPS-1005)
Test acceptance criteria:

[ ] Unit Test
[x] E2E Test

How to test changes / Special notes to the reviewer:
This test is included when you run make test-e2e

@jaideepr97 Please delete the created namespace argocd-non-default-source. It is just a clean up step, otherwise the next make test-e2e local run might have some conflict with the existing resources.

The namespace is already getting deleted, I think as a part of the context clean up so I don't think additional clean up should be required

@jaideepr97 Please delete the created namespace argocd-non-default-source. It is just a clean up step, otherwise the next make test-e2e local run might have some conflict with the existing resources.

@amitkrout The namespace is already getting deleted, I think as a part of the context clean up so I don't think additional clean up should be required

Right. I realized it later. Thanks
/approve
/lgtm


File is successfully uploaded to uploadthing but is not saved to my database

Problem
I am writing the file route for my document uploading through the uploading, the file is successfully uploaded to uploadthing but that is not updated to my database.But it is showing as success on the client side
I am using Prisma and Mongodb
Error

What is expected
The data should be updated to my database after the onUploadComplete
What I tried
I went to the FAQ section of the docs and found out this question Failed to simulate callback for file. Is your webhook configured correctly?
but the route is already excluded from the middleware.js
Code
lib/db/uploadthing.js
import { createUploadthing } from 'uploadthing/next';
import { getCurrentUser } from '@/lib/actions/get-current-user';
import prisma from '@/lib/db/prisma';
import { expenditureDocumentValidationSchema } from '@/lib/schema/expenditure-document-schema';

const f = createUploadthing();

export const fileRouter = {
	expenditureDocs: f({
		image: { maxFileCount: 1, maxFileSize: '1MB' },
	})
		.middleware(async ({ req }) => {
			const user = await getCurrentUser();

			if (!user) throw new Error('Unauthorized');

			return {
				expeditureDocDesc: req.cookies.get('expeditureDocDesc').value,
				expenditureID: req.cookies.get('expenditureID').value,
				uploadedBy: user.id,
			};
		})
		.onUploadComplete(async ({ metadata, file }) => {
			try {
				const body = { ...metadata, showUploader: true };
				await expenditureDocumentValidationSchema.validate(body);

				const expenditureExists = await prisma.expenditure.findFirst({
					where: {
						id: metadata.expenditureID,
					},
				});

				if (!expenditureExists)
					throw new Error(
						{
							message: 'Invalid Expenditure ID',
						},
						{ status: 400 }
					);
				await prisma.expenditureDocs.create({
					data: {
						description: metadata.expeditureDocDesc,
						docSrc: file.key,
						addedBy: metadata.uploadedBy,
						expenditureID: expenditureExists.id,
					},
				});
			} catch (error) {
				throw new Error({
					message: error.errors[0] || error.message,
				});
			}
		}),
};

app/api/uploadthing/route.js
import { createNextRouteHandler } from 'uploadthing/next';

import { fileRouter } from '@/lib/db/uploadthing';

// Export routes for Next App Router
export const { GET, POST } = createNextRouteHandler({
	router: fileRouter,
});

components/add-expediture-docs.js
'use client';

import { Button } from '@/components/ui/button';
import {
	DialogTrigger,
	Dialog,
	DialogContent,
	DialogHeader,
} from '@/components/ui/dialog';
import { UploadButton } from '@uploadthing/react';

import {
	Form,
	FormControl,
	FormDescription,
	FormField,
	FormItem,
	FormLabel,
	FormMessage,
} from '@/components/ui/form';
import { Textarea } from '@/components/ui/textarea';
import { yupResolver } from '@hookform/resolvers/yup';
import { useForm } from 'react-hook-form';
import { toast } from '@/components/ui/use-toast';
import { expenditureDocumentValidationSchema } from '@/lib/schema/expenditure-document-schema';
import { Progress } from '@/components/ui/progress';
import { useParams, useRouter } from 'next/navigation';
import { deleteCookie, setCookie } from 'cookies-next';

const AddExpeditureDocs = () => {
	const { id } = useParams();
	const router = useRouter();
	const resolver = yupResolver(expenditureDocumentValidationSchema);
	const form = useForm({
		resolver,
		defaultValues: {
			description: '',
			showUploader: false,
		},
	});

	async function onSubmit(data) {
		setCookie('expeditureDocDesc', data.description, { path: '/' });
		setCookie('expenditureID', id, { path: '/' });
		form.setValue('showUploader', true);
	}

	const watchShowUploader = form.watch('showUploader');
	return (

			<Dialog>
				<DialogTrigger asChild>
					<Button> Add Expediture Docs</Button>
				</DialogTrigger>
				<DialogContent>
					<DialogHeader>Add Expediture Docs</DialogHeader>

						Progress
						<Progress value={watchShowUploader ? 100 : 50} />

					{watchShowUploader ? (
						<>
							<UploadButton
								endpoint='expenditureDocs'
								className='w-full ut-button:w-full'
								onClientUploadComplete={() => {
									try {
										deleteCookie('expeditureDocDesc', { path: '/' });
										deleteCookie('expenditureID', { path: '/' });
										form.reset();
										toast({
											title: 'Added Expenditure Document',
										});
										router.refresh();
									} catch (error) {
										toast({
											title: error.response
												? error.response.data.message
												: error.message,

											variant: 'destructive',
										});
									}
								}}
							/>
							<Button
								variant='destructive'
								onClick={() => form.setValue('showUploader', false)}>
								Go Back
							</Button>
						</>
					) : (
						<Form {...form}>
							<form onSubmit={form.handleSubmit(onSubmit)}>
								<FormField
									control={form.control}
									name='description'
									render={({ field }) => (
										<FormItem>
											<FormLabel>Description of the document</FormLabel>
											<FormControl>
												<Textarea
													className='resize-none'
													placeholder='Description of the document'
													type='text'
													disabled={form.formState.isSubmitting}
													{...field}
												/>
											</FormControl>
											<FormDescription>
												Description of the document
											</FormDescription>
											<FormMessage />
										</FormItem>
									)}
								/>
								<Button
									disabled={form.formState.isSubmitting}
									className='w-full my-2'
									type='submit'>
									Add Expenditure
								</Button>
							</form>
						</Form>
					)}
				</DialogContent>
			</Dialog>

	);
};
export default AddExpeditureDocs;

middleware.js
import { NextResponse } from 'next/server';
import * as jose from 'jose';

export async function middleware(req) {
	try {
		const res = NextResponse.next();

		const cookie = req.cookies.get('staffToken');

		if (!cookie.value) {
			if (req.nextUrl.pathname.startsWith('/api/'))
				return new NextResponse(JSON.stringify({ message: 'Unauthorized' }), {
					status: 401,
				});
			else return NextResponse.redirect(new URL('/auth', req.url));
		}

		await jose.jwtVerify(
			cookie.value,
			new TextEncoder().encode(process.env.AUTH_SECRET)
		);

		return res;
	} catch {
		if (req.nextUrl.pathname.startsWith('/api/'))
			return new NextResponse(JSON.stringify({ message: 'Unauthorized' }), {
				status: 401,
			});
		else return NextResponse.redirect(new URL('/auth', req.url));
	}
}

export const config = {
	matcher: [
		'/((?!auth|api/auth|api/uploadthing|_next/static|_next/image|favicon.ico|manifest.json|icon.png|apple-icon.png|icon-192x192.png|icon-256x256.png|icon-384x384.png|icon-512x512.png|opengraph-image.png|twitter-image.png|opengraph-image.alt.txt|twitter-image.alt.txt).*)',
	],
};

Video Reproduction
https://github.com/pingdotgg/uploadthing/assets/60665405/46fa28f6-8be9-4fd9-8603-44c45de6ccb2

Seems like something is throwing an exception when webhook call is simulated. I see that you are catching error and then rethrowing it and message seems to be some kind of an object. Can you try to not rethrow it and simply log original error message and stack trace?
like
try {
  ...
} catch (e) {
  console.log(e.message, e.stack)
}

oh sorry i am closing this issue as i was not handling error the error correctly,  console.log(e.message, e.stack) this really helped getting to know the error was SIMULATING FILE UPLOAD WEBHOOK CALLBACK http://localhost:3000/api/uploadthing?slug=expenditureDocs Document Description Required ValidationError: Document Description Required     at createError (webpack-internal:///(rsc)/./node_modules/yup/index.js:264:27)     at handleResult (webpack-internal:///(rsc)/./node_modules/yup/index.js:282:45)     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [UT] Successfully simulated callback for file c56b33ae-b105-4a8a-8890-b38cf26059cf_Screenshot 2023-08-28 at 4.47.50 PM.png
which i understood was a validation error so i fixed it thanks for the help @markflorkowski


Update Instructions?

Hi,
The instructions on this page https://github.com/SequentMicrosystems/16inpind-rpi/blob/main/python/README.md are no longer valid with the latest release of Raspberry Pi OS.
In particular this command returns errors: sudo apt-get install build-essential python-pip python-dev python-smbus git

Hi,
We will fix it and get back to you shortly. Thankyou for letting us know.
Best regards,
Alexandru Burcea
Sequent Microsystems, LLC https://sequentmicrosystems.com
On Tue, Nov 14, 2023 at 5:44 PM tfcarlin @.***> wrote:

Hi,
The instructions on this page
https://github.com/SequentMicrosystems/16inpind-rpi/blob/main/python/README.md
are no longer valid with the latest release of Raspberry Pi OS.
—
Reply to this email directly, view it on GitHub
https://github.com/SequentMicrosystems/16inpind-rpi/issues/5, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3ZCWQ6BCYUYMO6OGVADS3YEOGVBAVCNFSM6AAAAAA7LAVWWCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4TGMBRGMYTQOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


b ra label

Tested Version
v0.0
Description
When you try to write b ra label in a file it returns an error saying too many arguments but it shouldn't.
Steps
Compile and run assembler.exe.
Create a file named example.asm containing:
b ra label
label:

cmdline: assembler.exe example.asm example.bin.
Context
This test was done on 02/23/24 before the project deadline.
Actual Result (optional screenshot)
//
Security Criteria
2
Discovery/Resolve Date
02/23/24
Expected Result
It should run without any errors because the label is optional.
Possible Solution
//
Other
//

This was handled on a previous commit before the merge and the pull request of dev to main.


BWRift detailed state

This PR extends the data gathered in Bristle Woods Rift. Records buffs, chamber state and acolyte phases.

Haven't tested it extensively so I don't think it's ready for merge, but would like a general feedback. In particular:

Naming of the sub states
Is it ok to use booleans or should I convert to number/labels?

Things left to do:

[ ] Handle Chronomaster dropping the hourglass
[ ] Validate state while charging obelisk
[ ] Validate state before having the hourglass

Extracted as message.hunt_details key-value structure. If you prefer a list, I can refactor, but IMHO it's better with kv.

could you clarify what is the chamber_status?

could you clarify what is the chamber_status?

open is when portals are opened, closed otherwise


Omit default property value if it is null

Note for future maintainers: typed properties with/without default value are wildly different in behaviour, so be careful when introducing typed properties.

Thanks, @MidnightDesign!