Example app won't run on iPad Air with Ti 3.5.1.GA

The same test project based on the example app fails to compile when targeting a physical iPad Air running iOS 8.2.

https://github.com/TheBrousse/collectiontester

When running the project, the log mentions something about being unable to link (My Objective-C-Fu is not as good as yours, so I assume it's the linker)
Titanium Command-Line Interface, CLI version 3.4.2, Titanium SDK version 3.5.1.GA
Copyright (c) 2012-2015, Appcelerator, Inc.  All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
Thu Mar 26 2015 22:28:05 GMT+0100 (CET)
Operating System
  Name                        = Mac OS X
  Version                     = 10.10.2
  Architecture                = 64bit
  # CPUs                      = 8
  Memory                      =<PHONE_NUMBER>4
Node.js
  Node.js Version             = 0.10.13
  npm Version                 = 1.3.2
Titanium CLI
  CLI Version                 = 3.4.2
Titanium SDK
  SDK Version                 = 3.5.1.GA
  SDK Path                    = /Users/thebrousse/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA
  Target Platform             = iphone
Command
  /usr/local/bin/node /usr/local/bin/titanium --no-colors --no-progress-bars --no-prompt build --platform iphone --log-level trace --sdk 3.5.1.GA --project-dir /Users/thebrousse/Documents/GitHub/thebrousse/collectiontester --target device --ios-version 8.2 --device-family ipad --developer-name Christian Brousseau (6S5P6LX68C) --device-id e0fc7a49a36c84b42ae2ab88035f83c851121445 --pp-uuid 5eb504b8-e0f0-4f8e-af91-a6a7e80fb9af
[INFO] :   Found Titanium module id=de.marcelpociot.collectionview version=1.2.0 platform=iphone deploy-type=test path=/Users/thebrousse/Documents/GitHub/thebrousse/collectiontester/modules/iphone/de.marcelpociot.collectionview/1.2.0
[INFO] :   Deploy type: test
[INFO] :   Building for target: device
[INFO] :   Building using iOS SDK: 8.2
[INFO] :   Building for iOS device: e0fc7a49a36c84b42ae2ab88035f83c851121445
[INFO] :   Building for device family: ipad
[INFO] :   iOS Development Certificate: Christian Brousseau (6S5P6LX68C)
[INFO] :   Minimum iOS version: 7.0
[INFO] :   Using default keychain
[INFO] :   Debugging disabled
[INFO] :   Profiler disabled
[INFO] :   Forcing rebuild: /Users/thebrousse/Documents/GitHub/thebrousse/collectiontester/build/iphone/build-manifest.json does not exist
[INFO] :   Initiating prepare phase
[INFO] :   Performing full rebuild
[INFO] :   Copying Xcode iOS files
[INFO] :   Creating Xcode project directory: /Users/thebrousse/Documents/GitHub/thebrousse/collectiontester/build/iphone/collectiontester.xcodeproj
[INFO] :   Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
[INFO] :   Writing Xcode project configuration: project.xcconfig
[INFO] :   Writing Xcode module configuration: module.xcconfig
[INFO] :   Injecting native libraries into Xcode project file
[INFO] :   Forcing rebuild: ApplicationDefaults.m has changed since last build
[INFO] :   Writing application defaults: /Users/thebrousse/Documents/GitHub/thebrousse/collectiontester/build/iphone/Classes/ApplicationDefaults.m
[INFO] :   Copying iTunes artwork
[INFO] :   Initiating Xcode pre-compile phase
[INFO] :   Processing JavaScript files
[INFO] :   Encrypting JavaScript files: /Users/thebrousse/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/iphone/titanium_prep "com.thingsaremoving.test.collectionview" "/Users/thebrousse/Documents/GitHub/thebrousse/collectiontester/build/iphone/assets"
[INFO] :   Processing Titanium namespace resources
[INFO] :   Optimizing all images in /Users/thebrousse/Documents/GitHub/thebrousse/collectiontester/build/iphone/build/Debug-iphoneos/collectiontester.app
[INFO] :   Invoking xcodebuild
[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :  	Ld build/collectiontester.build/Debug-iphoneos/collectiontester-iPad.build/Objects-normal/armv7/collectiontester normal armv7
[ERROR] :  	Ld build/collectiontester.build/Debug-iphoneos/collectiontester-iPad.build/Objects-normal/arm64/collectiontester normal arm64
[ERROR] :  (2 failures)

Opening the generated Xcode project from the build directory shows the following errors in the warnings view. Hence the reason I suspected a linker error. But again, I am not familiar enough with the inner workings of it all

Hi, I had the same error... you just need to add the following:
  // add this in app.js / alloy.js to trigger the compiler flags of those SDKs
 Ti.UI.createListView();
 Ti.UI.createRefreshControl();

its because the Ti SDK detects if you use listview, tableview and refreshcontrol in your javascript code. if you dont it will not compile the sdks. therefore it fails. But if you add those to your app code, it will detect it and thereby it works.


allow object store wrapper as part of dataset construction param

Why?
We need a way to inject a customized object_store::ObjectStore into lance::io::object_store::ObjectStore.
We could go full java-style dependency injection and take a pre-constructed object_store::ObjectStore. But that seems to be way too big of a refactor. The refactor would probably break the assumptions built into base_path easily. This PR add a way to hook into lance::io::object_store::ObjectStore construction and allow callers to wrap the inner object_store::ObjectStore with custom logic.
What?

added a WrappingObjectStore trait which is a hook called after we construct object_store::ObjectStore from the uri provided.
added ObjectStoreParams and from_uri_and_params

tests all passed, doc test didn't run yet, going to land without retrying.


Fix evaluation

Hi @TE-StefanUhlich, just clarifying that this evaluator function is public-facing for local testing.
Verified that the real evaluator has it correct. 😅


Accept <label><input></label>

From the Google Chrome accessibility developer tools:
<!-- Good: using label-wrapped -->
<!-- In this case both "Address:" and the contents of the text field will be read. -->
<label>
  Address:
  <input>
</label>

:+1:


InsightAssistant (IT Demo)

InsightAssistant (IT Demo),
Include:
RAG retriever(optional)
API call Doc writer agent (reflexion)
Data privacy and
Security(plan in future)

postponed


ref(README): call vsnip# functions directly

Previously, there was a vim.fn.call invocation which was used to call vsnip autoload functions (assumedly, because they use the special # syntax). However, this can be done with vim.fn['vsnip#foo'] directly.

LGTM~.


feat: api reference design tweaks

A few design (styling) tweaks to the Construct Hub API reference. The main goal is to clean up and simplify the visual experience, improve spacing, simplify the color palette and make low-level headings (L4, L5, L6) stand out as headers.
Increase indentation in navigation bar
Before:

After:

Tweak styling of code blocks
Before:

After:

Improve heading visibility

Margins
Added light bottom border to all headings
Hidden excessive abuse of
 elements as styling tools
Light background for L5s

Before:

After:

Tweak styling of blockquotes
So they won't look like code blocks.
Before:

After:

Clean up

Make bold
Don't use a blue color because it can be confused for a hyperlink

Before:

After:

Personally not a fan of the new nav item spacing - feels like a lot of uneccessary white-space.
Before

After

Single-Line Renderer border removal has breaking impact on install snippet


Allow simulated noise for expectation values as well

Enable adding simulated noise to the computation of expectation values as well. This only makes sense when using a measurement protocol.

Resolved in #128


cmake .. && make failed

i have installed all the dependeces,but when i run " cmake .. && make“ ,it failed show:
[ 33%] Building CXX object CMakeFiles/pid.dir/src/main.cpp.o
/home/adminer/CarND-PID-Control-Project-master/src/main.cpp: In lambda function:
/home/adminer/CarND-PID-Control-Project-master/src/main.cpp:51:18: warning: unused variable ‘speed’ [-Wunused-variable]
double speed = std::stod(j[1]["speed"].getstd::string());
^~~~~
/home/adminer/CarND-PID-Control-Project-master/src/main.cpp:52:18: warning: unused variable ‘angle’ [-Wunused-variable]
double angle = std::stod(j[1]["steering_angle"].getstd::string());
^~~~~
/home/adminer/CarND-PID-Control-Project-master/src/main.cpp: In function ‘int main()’:
/home/adminer/CarND-PID-Control-Project-master/src/main.cpp:77:4: error: no matching function for call to ‘uWS::Hub::onMessage(main()::<lambda(uWS::WebSocket, char*, size_t, uWS::OpCode)>)’
});
^
In file included from /usr/include/uWS/Hub.h:4:0,
from /usr/include/uWS/uWS.h:4,
from /home/adminer/CarND-PID-Control-Project-master/src/main.cpp:1:
/usr/include/uWS/Group.h:69:10: note: candidate: void uWS::Group::onMessage(std::function<void(uWS::WebSocket, char, unsigned int, uWS::OpCode)>) [with bool isServer = true]
void onMessage(std::function<void(WebSocket , char , size_t, OpCode)> handler);
^~~~~~~~~
/usr/include/uWS/Group.h:69:10: note:   no known conversion for argument 1 from ‘main()::<lambda(uWS::WebSocket, char, size_t, uWS::OpCode)>’ to ‘std::function<void(uWS::WebSocket, char*, unsigned int, uWS::OpCode)>’
/usr/include/uWS/Group.h:69:10: note: candidate: void uWS::Group::onMessage(std::function<void(uWS::WebSocket, char, unsigned int, uWS::OpCode)>) [with bool isServer = false]
/usr/include/uWS/Group.h:69:10: note:   no known conversion for argument 1 from ‘main()::<lambda(uWS::WebSocket, char*, size_t, uWS::OpCode)>’ to ‘std::function<void(uWS::WebSocket, char, unsigned int, uWS::OpCode)>’
/home/adminer/CarND-PID-Control-Project-master/src/main.cpp:96:4: error: no matching function for call to ‘uWS::Hub::onConnection(main()::<lambda(uWS::WebSocket, uWS::HttpRequest)>)’
});
^
In file included from /usr/include/uWS/Hub.h:4:0,
from /usr/include/uWS/uWS.h:4,
from /home/adminer/CarND-PID-Control-Project-master/src/main.cpp:1:
/usr/include/uWS/Group.h:67:10: note: candidate: void uWS::Group::onConnection(std::function<void(uWS::WebSocket, uWS::HttpRequest)>) [with bool isServer = true]
void onConnection(std::function<void(WebSocket , HttpRequest)> handler);
^~~~~~~~~~~~
/usr/include/uWS/Group.h:67:10: note:   no known conversion for argument 1 from ‘main()::<lambda(uWS::WebSocket, uWS::HttpRequest)>’ to ‘std::function<void(uWS::WebSocket, uWS::HttpRequest)>’
/usr/include/uWS/Group.h:67:10: note: candidate: void uWS::Group::onConnection(std::function<void(uWS::WebSocket, uWS::HttpRequest)>) [with bool isServer = false]
/usr/include/uWS/Group.h:67:10: note:   no known conversion for argument 1 from ‘main()::<lambda(uWS::WebSocket, uWS::HttpRequest)>’ to ‘std::function<void(uWS::WebSocket, uWS::HttpRequest)>’
/home/adminer/CarND-PID-Control-Project-master/src/main.cpp:101:4: error: no matching function for call to ‘uWS::Hub::onDisconnection(main()::<lambda(uWS::WebSocket, int, char, size_t)>)’
});
^
In file included from /usr/include/uWS/Hub.h:4:0,
from /usr/include/uWS/uWS.h:4,
from /home/adminer/CarND-PID-Control-Project-master/src/main.cpp:1:
/usr/include/uWS/Group.h:70:10: note: candidate: void uWS::Group::onDisconnection(std::function<void(uWS::WebSocket, int, char, unsigned int)>) [with bool isServer = true]
void onDisconnection(std::function<void(WebSocket , int code, char message, size_t length)> handler);
^~~~~~~~~~~~~~~
/usr/include/uWS/Group.h:70:10: note:   no known conversion for argument 1 from ‘main()::<lambda(uWS::WebSocket, int, char, size_t)>’ to ‘std::function<void(uWS::WebSocket, int, char*, unsigned int)>’
/usr/include/uWS/Group.h:70:10: note: candidate: void uWS::Group::onDisconnection(std::function<void(uWS::WebSocket, int, char, unsigned int)>) [with bool isServer = false]
/usr/include/uWS/Group.h:70:10: note:   no known conversion for argument 1 from ‘main()::<lambda(uWS::WebSocket, int, char*, size_t)>’ to ‘std::function<void(uWS::WebSocket, int, char, unsigned int)>’
CMakeFiles/pid.dir/build.make:86: recipe for target 'CMakeFiles/pid.dir/src/main.cpp.o' failed
make[2]: *** [CMakeFiles/pid.dir/src/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pid.dir/all' failed
make[1]: *** [CMakeFiles/pid.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
who can help me
thank you very much!

I met same problem, compile from Mac,  can't be solved with uWebSockets(checkout e94b6e1) as https://github.com/udacity/CarND-MPC-Project/pull/3 .
my error log is similar:
[ 33%] Building CXX object CMakeFiles/pid.dir/src/PID.cpp.o
[ 66%] Building CXX object CMakeFiles/pid.dir/src/main.cpp.o
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:50:5: error: no matching member function for call
to 'onMessage'
h.onMessage([&pid](uWS::WebSocketuWS::SERVER *ws, char *data, size_t length, uWS::OpCode opCode) {
^~~~~~~
/usr/local/include/uWS/Group.h:63:10: note: candidate function not viable: no known conversion from '(lambda at
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:50:15)' to 'std::function<void
(WebSocket, char *, size_t, OpCode)>' (aka 'function<void (WebSocket, char *, unsigned long, uWS::OpCode)>') for
1st argument
void onMessage(std::function<void(WebSocket, char *, size_t, OpCode)> handler);
^
/usr/local/include/uWS/Group.h:63:10: note: candidate function not viable: no known conversion from '(lambda at
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:50:15)' to 'std::function<void
(WebSocket, char *, size_t, OpCode)>' (aka 'function<void (WebSocket, char *, unsigned long, uWS::OpCode)>')
for 1st argument
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:120:5: error: no matching member function for
call to 'onConnection'
h.onConnection([&h](uWS::WebSocketuWS::SERVER *ws, uWS::HttpRequest req) {
^~~~~~~~~~
/usr/local/include/uWS/Group.h:62:10: note: candidate function not viable: no known conversion from '(lambda at
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:120:18)' to 'std::function<void
(WebSocket, HttpRequest)>' for 1st argument
void onConnection(std::function<void(WebSocket, HttpRequest)> handler);
^
/usr/local/include/uWS/Group.h:62:10: note: candidate function not viable: no known conversion from '(lambda at
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:120:18)' to 'std::function<void
(WebSocket, HttpRequest)>' for 1st argument
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:124:5: error: no matching member function for
call to 'onDisconnection'
h.onDisconnection([&h](uWS::WebSocketuWS::SERVER *ws, int code, char *message, size_t length) {
^~~~~~~~~~~~~
/usr/local/include/uWS/Group.h:64:10: note: candidate function not viable: no known conversion from '(lambda at
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:124:21)' to 'std::function<void
(WebSocket, int, char *, size_t)>' (aka 'function<void (WebSocket, int, char *, unsigned long)>') for 1st
argument
void onDisconnection(std::function<void(WebSocket, int code, char *message, size_t length)> handler);
^
/usr/local/include/uWS/Group.h:64:10: note: candidate function not viable: no known conversion from '(lambda at
/Users/xhpan/Desktop/self_driving_research/CarND-PID-Control-Project/src/main.cpp:124:21)' to 'std::function<void
(WebSocket, int, char *, size_t)>' (aka 'function<void (WebSocket, int, char *, unsigned long)>') for 1st
argument
3 errors generated.
make[2]: *** [CMakeFiles/pid.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/pid.dir/all] Error 2

Closing due to no recent comments; we now have a Workspace in the classroom with uWS already all set up, so should be able to avoid this issue.

I got same error in Workspace in the classroom
cmake .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/workspace/CarND-PID-Control-Project/build
[ 33%] Linking CXX executable pid
/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>/usr/lib/libuWS.so: undefined reference to<EMAIL_ADDRESS>collect2: error: ld returned 1 exit status
CMakeFiles/pid.dir/build.make:120: recipe for target 'pid' failed
make[2]: *** [pid] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pid.dir/all' failed
make[1]: *** [CMakeFiles/pid.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


fix/BackOutOfRouteView

Changes
Set initial to false. This will cause the initial screen of the stack to not be the navigated screen. Instead it will be the initial route name set in the stack navigator.
Issue ticket number and link
Closes #266

I'll let @tylerhm approve this since idk how this works lol


centralagier

https://centralagier.wp.pl/elvenar/graj
Dan Pollock’s hosts file
https://github.com/MajkiIT/polish-ads-filter/issues/4803
my filters
https://gist.github.com/mat41997/809ef17633ba86197db6df03d6790f16
ubo 1.14.20 & ubo-pe 12.130
chrome 62.0.3202.94

Hi @mat41997, what is this about?

white, i see white


[BUG]: Serial type in PostgreSQL not recognized as having a default value

What version of drizzle-orm are you using?
0.26.1
What version of drizzle-kit are you using?
0.18.1
Describe the Bug
I have encountered an issue with handling PostgreSQL's serial types (smallserial, serial, and bigserial), it appears that Drizzle does not regard them as having default values, despite these types inherently including a default auto-incrementing behavior in PostgreSQL.
export const test = pgTable("test", {
    id: smallserial('id').primaryKey(),
});

type NewTest = InferModel<typeof test, 'insert'>;
// The inferred type for 'id' is number, when it should be nullable as it has a default value

Expected behavior
In the above example, I'd expect the 'id' field to be inferred as nullable for inserts because smallserial inherently provides a default auto-incrementing value.
Environment & setup
No response

Hello, I've came across the same issue and hacked around it by generating an ID in my app but I'm wondering if this is expected behaviour 🤔
How did you manage to solve or work around this @Nikola-Milovic ?

@wheelebin I also generate an id until this gets fixed

Ran into the same issue! I'm just going to send a raw SQL query. Assuming the migration did it's job correctly it should work as we would expect.

@AyBruno What exactly are you doing? Can you share the snippet

@Nikola-Milovic
I'm using the "magic" sql operator to send a prepared sql statement.
await db.execute(sql`INSERT INTO table (val1, val2, ... ) VALUES (${obj.val1}, ${obj.val2}, ... )`)
where I ensure that obj is of type Omit<InferModel<typeof table, 'insert'>, 'id'>
This is just what I figured out, not sure if it's recommended practice at the moment.

I don't quite follow as to how it relates to the given issue with serial types

The id column I'm omitting here is of type smallserial and since that field is not nullable in the type InferModel<typeof table, 'insert'>, I can't insert using db.insert(table).values(obj) without explicitly giving a value for the id which shouldn't be required.

Here's an update, InferModel<typeof table, 'insert'> is working correctly when I chenge my primary key, id, to be of type serial rather than smallserial. When I do this the inferred type correctly types the id field like so id? : number | undefined. When using the type smallserial, InferModel defines the id field with id : number, leading to the type error I was encountering.

I'm not sure how anyone is getting smallserial to even migrate. I'm immediately thrown this on push to db attempts
error: type "smallserial" does not exist
    at Parser.parseErrorMessage (C:\Users\fende\Repos\SportsAux\node_modules\.pnpm\registry.npmjs.org+drizzle-kit@0.19.13\node_modules\drizzle-kit\index.cjs:40722:98)
    at Parser.handlePacket (C:\Users\fende\Repos\SportsAux\node_modules\.pnpm\registry.npmjs.org+drizzle-kit@0.19.13\node_modules\drizzle-kit\index.cjs:40563:25)
    at Parser.parse (C:\Users\fende\Repos\SportsAux\node_modules\.pnpm\registry.npmjs.org+drizzle-kit@0.19.13\node_modules\drizzle-kit\index.cjs:40487:34)
    at Socket.<anonymous> (C:\Users\fende\Repos\SportsAux\node_modules\.pnpm\registry.npmjs.org+drizzle-kit@0.19.13\node_modules\drizzle-kit\index.cjs:40763:44)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 94,
  severity: 'ERROR',
  code: '42704',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_type.c',
  line: '274',
  routine: 'typenameType'
}```

despite `import { smallserial } from 'dirzzle-orm/pg-core`.

The case is also the same with `serial`.

Is this some beginners error? Fairly new to typescript and drizzle.

I'm not sure how anyone is getting smallserial to even migrate. I'm immediately thrown this on push to db attempts
error: type "smallserial" does not exist

despite import { smallserial } from 'drizzle-orm/pg-core.
The case is also the same with serial.
Is this some beginners error? Fairly new to typescript and drizzle.

I am also getting the same error. I use Express as the backend and just drizzle as my ORM. I use Postgres and Supabase for the database. This is a new project, yet I'm getting this error.
With this in mind, I tried using other data types like bigint, but there's no default function for that like defaultNow(), unfortunately.
Error:
error: type "smallserial" does not exist
at path_to_app\node_modules.pnpm\drizzle-kit@0.20.2\node_modules\drizzle-kit\bin.cjs:24378:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PgPostgres.query (path_to_app\node_modules.pnpm\drizzle-kit@0.20.2\node_modules\drizzle-kit\bin.cjs:25339:21)
at async Command. (path_to_app\node_modules.pnpm\drizzle-kit@0.20.2\node_modules\drizzle-kit\bin.cjs:61152:9) {
length: 94,
severity: 'ERROR',
code: '42704',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_type.c',
line: '270',
routine: 'typenameType'
}

@Nashtronaut @Ragudos i am facing same error. Did you find any solution?

@Nashtronaut @Ragudos i am facing same error. Did you find any solution?

Unfortunately, no. I did implement a workaround temporarily, but the default will not show up on your database but your editor if I'm not mistaken (It's been a few days since I finished this very small side  project).

@Nashtronaut @Ragudos i am facing same error. Did you find any solution?

No, I was never able too. I liked drizzle but ended up swapping over to supabase because I assumed to run into a few of these errors with no resolution.

Same issues happening for me, both with serial and other types. Drizzle Kit seems to be performing the migrations wrong.
Take this data type for example.
export const identity = customType<{
  data: number;
  notNull: true;
  default: true;
}>({
  dataType() {
    return "integer generated by default as identity";
  },
});

When running create table in Postgres the above dataType value should be applied. When not in a migration, Drizzle should treat it as "integer". I am pretty sure this is the same issue as the serial and smallserial problem. I can't get either one to compile.

Hey, I had the same error but with serial. I found a very strange fix for it and I don't know if it will work for everyone.

Comment out every serial field
Push
Uncomment the serial fields
Push again
This seems to work for me and the tables are correct. I'm not sure why this works, perhaps there is an issue with the code for generating the create table query, but not with the alter table query. This also seems to work with some other weird schema errors and I originally found this technique because I was having trouble with pushing composite keys.

I also just randomly got the error:

error: type "smallserial" does not exist

The exact same code was working before already.
I commented all uses of smallserial, run migration -> worked, uncommented all uses of smallserial again -> worked again.

Just to clarify, this issue is for the types returned. The issues with migrations and push are related to drizzle-kit and might be due to the fact that you can't change a column to/from serial.

I just investigated this. This is not an issue, I believe there are a couple misunderstandings here.
First of all, the issue under discussion is about the type that is inferred for the serial family of database types.
If you are running into migrations/drizzle-kit issues, those are not being tracked here.
The second thing I see here is the confusion around nullable and nullish and undefined:

The serial data type is a short syntax for integer generated by default as identity not null. That means that it's an auto incremented integer type that cannot be null.
In drizzle there is a very important distinction between null and undefined, although in JS both are kinda similar but not really, for drizzle null is the literal null value that will be passed to the database and undefined mean nothing will be passed to the database so that the database can insert the default value to that row.

@rogden suggested a trick to pass <table>.<column_name>.default to the values on insert, this just works by coincidence. This property is just a type convenience for the drizzle team and at runtime is actually undefined, so you might as well just not put <column_name> in the insert and you will get the same result.
Third, it's very important to point out that a serial column is a tricky one, you can omit it in the insert and get the next generated integer, you can insert any number you like including ones not unique (as long as it's not a primary key), but you CANNOT insert a null value into it.
I encourage anyone to do some tests for yourself in an actual db:
create table serial_test (
  id serial primary key,
  not_nullable serial not null,
  supposedly_nullable serial
);

insert into serial_test (id, not_nullable, supposedly_nullable) values (default, default, default)

insert into serial_test (id, not_nullable, supposedly_nullable) values (default, default, 5)

insert into serial_test (id, not_nullable, supposedly_nullable) values (default, default, null)

insert into serial_test (id, not_nullable, supposedly_nullable) values (default, default, 5)

The first insert will work and the values in the database will be 1, 1, 1.
The second insert will work and the values in the database will be 2, 2, 5.
The third insert will fail and wont insert anything to the database, but the last one will insert 4, 4, 5 (the 3 is skipped).

Lastly, for the people having problems with migrations and push commands, the serial type have some weird behaviors. So it's not drizzle's fault. Check here if you want to know about it.
Anyway, the types are working properly. I just did a couple type checks and they are all good:
export const myEnum = pgEnum('my_enum', ['a', 'b', 'c']);

export const users = pgTable(
	'users_table',
	{
		id: serial('id').primaryKey(),
		uuid: uuid('uuid').defaultRandom().notNull(),
		homeCity: integer('home_city')
			.notNull()
			.references(() => cities.id),
		currentCity: integer('current_city').references(() => cities.id),
		serialNullable: serial('serial1'),
		serialNotNull: serial('serial2').notNull(),
		class: text('class', { enum: ['A', 'C'] }).notNull(),
		subClass: text('sub_class', { enum: ['B', 'D'] }),
		text: text('text'),
		age1: integer('age1').notNull(),
		createdAt: timestamp('created_at', { withTimezone: true }).notNull().defaultNow(),
		enumCol: myEnum('enum_col').notNull(),
		arrayCol: text('array_col').array().notNull(),
	},
);

Expect<Equal<InferSelectModel<typeof users>, typeof users['$inferSelect']>>;

Expect<Equal<InferSelectModel<typeof users>, typeof users['_']['inferSelect']>>;

Expect<Equal<InferInsertModel<typeof users>, typeof users['$inferInsert']>>;

Expect<Equal<InferInsertModel<typeof users>, typeof users['_']['inferInsert']>>;

Expect<Equal<InferInsertModel<typeof users>, {
    homeCity: number;
    class: "A" | "C";
    age1: number;
    enumCol: "a" | "b" | "c";
    arrayCol: string[];
    id?: number | undefined;
    uuid?: string | undefined;
    currentCity?: number | null | undefined;
    serialNullable?: number | undefined;
    serialNotNull?: number | undefined;
    subClass?: "B" | "D" | null | undefined;
    text?: string | null | undefined;
    createdAt?: Date | undefined;
}>>;

Expect<Equal<InferSelectModel<typeof users>, {
    id: number;
    uuid: string;
    homeCity: number;
    currentCity: number | null;
    serialNullable: number;
    serialNotNull: number;
    class: "A" | "C";
    subClass: "B" | "D" | null;
    text: string | null;
    age1: number;
    createdAt: Date;
    enumCol: "a" | "b" | "c";
    arrayCol: string[];
}>>;

I'll close this issue as resolved, but feel free to reach out if you need to.

Lastly, for the people having problems with migrations and push commands, the serial type have some weird behaviors. So it's not drizzle's fault. Check here if you want to know about it.

Thanks for bringing the materials from stackoverflow, but I still didn't fully understand. And what is the essence of this link? Well, it's cool that we were shown how to fix it in 8 (a version that is not supported) or 12 versions, for example. I haven't checked, but even if it can be done, how does this apply to drizzle in general. I didn't see a moment at all where it would explain why the error occurs.  The only thing I saw was the solution to the problem, not why the error occurs. Shouldn't the drizzle-kit be aware of such situations and generate the correct migrations if necessary? I use orm because I don't want to write SQL code. I may not understand something because I'm more of a frontend developer, but in my opinion the link is not very useful

Shouldn't the drizzle-kit be aware of such situations and generate the correct migrations if necessary? I use orm because I don't want to write SQL code. Maybe I don't understand something because I'm more of an interface developer, but this link doesn't explain anything.

The issue here was about types in the ORM. Kit problems were not being tracked in this issue. We try to assign drizzle-kit label to drizzle kit issues.

The issue here was about types in the ORM. Kit problems were not being tracked in this issue. We try to assign drizzle-kit label to drizzle kit issues.

Okay, I understand. Is there a problem with re-migration and serial issues in the issues of the drizzle-kit itself or should I create it?

but for smallserial column is required on insert, why it has different behavior then normal serial?

I got the feeling this is not drizzle but db issue. Maybe your sequence is out of order and you can fix it like so:
SELECT setval('YOURSCHEMA.YOURSEQUENCENAME', (SELECT MAX(id) FROMYOURSCHEMA.YOURSEQUENCENAME) + 1, false);
this will fix your sequence forever.
And maybe just maybe you used same sequence on multiple tables. It is sort of error that happen as well? Just a thought.

I've seen a few people on this thread using supabase. You'll likely need to reset your db (start from a clean slate) and then push.
supabase db reset
npx drizzle-kit push
This will clear any data you have in your db so be careful. I only did this on local.


Implement predicates on range queries

Improve range queries by supporting predicates, for filtering documents
satisfying a given expression based on JSONPath or JXPath.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 4 Dec 2009 at 10:00

Terrastore now supports predicates on range queries as follows:

http://host:port/bucket/range?startKey=start&endKey=end&comparator=comparator&pr
edicate=type:expression

The "predicate" query parameter is made up of two parts: "type",
representing the bean name configured on the server side and
implementing the actual condition object, and "expression",
representing the actual expression to evaluate through the condition
object.

Right now JXPath (http://commons.apache.org/jxpath) predicates are
supported, here is an example:

http://host:port/bucket/range?startKey=start&endKey=end&comparator=comparator&pr
edicate=jxpath:/key[.='value']

Original comment by<EMAIL_ADDRESS>on 10 Dec 2009 at 9:12

Changed state: Fixed

Original comment by<EMAIL_ADDRESS>on 8 Dec 2009 at 9:37

Changed title: Implement predicates on range queries
Changed state: Started
Added labels: Type-Feature, Milestone-0.2
Removed labels: Type-Enhancement


Negative numbers passed through $Cast corrupted.

Test case:
$jsilcore.System.Int32.$Cast(-1)

Result:<PHONE_NUMBER>
Expected result: -1
Will provide test that will work from SimpleTest later.
Problem: inside integerCastFunction there is next string var result = (expression | 0) & max;. & max will definitely broke negative values.

Ahhh... gross. So it needs to be min/max?

Probably something like:
if (expression > 0)
  result = (expression | 0) & max
else
  result = ~(~(expression | 0) & ~min)

Not sure yet, need to test more.

We should also check if type is signed :)
if (min == 0 || expression > 0)
  result = (expression | 0) & max
else
  result = ~(~(expression | 0) & ~min)


Fix editor menu color

Closes #52

Change menu color (contrast ratio 6.58, meets minimum accessibility guideline)
Add slight letter-spacing to make small text more legible

Great work @ekaoddlass Thank you :+1:


Made changes to "Instruções"

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[ ] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Reason: You should not remove any of the code tags nor translate anything inside of them.
Thank you and happy coding.


[$500] Web - Room - Search list can be opened with CMD + K in public room as anonymous user

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to a public room as an anonymous user like https://staging.new.expensify.com/r/6874216302070473
Click on the search icon.
Close the login menu.
Use the shortcut CMD + K.

Expected Result:
Login menu will open when using the shortcut CMD + K, just like when clicking on the search icon in Step 2.
Actual Result:
The search list is opened when using CMD + K.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: v1.3.74-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/115492554/e89e0a30-f5e8-48b8-be03-200c3c445d27
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e7ac225db079b27f
Upwork Job ID:<PHONE_NUMBER>229685248
Last Price Increase: 2023-10-04

adding external.

Proposal
Please re-state the problem that we are trying to solve in this issue.

Anonymous user can access new chat page

What is the root cause of that problem?

Currently, when pressing "Ctrl + K" without login, we still allow the user to open the search modal https://github.com/Expensify/App/blob/7d1f5c64168d0bb70c204876a1da7ffa447e96d4/src/libs/Navigation/AppNavigator/AuthScreens.js#L167-L180

What changes do you think we should make in order to solve the problem?

When user pressing  "Ctrl + K", we need to redirect user to login modal like below:

this.unsubscribeSearchShortcut = KeyboardShortcut.subscribe(
            searchShortcutConfig.shortcutKey,
            () => {
                interceptAnonymousUser(() => {
                    Modal.close(() => {
                        if (Navigation.isActiveRoute(ROUTES.SEARCH)) {
                            return;
                        }
                        return Navigation.navigate(ROUTES.SEARCH);
                    });
                });
            },
            searchShortcutConfig.descriptionKey,
            searchShortcutConfig.modifiers,
            true,
        );

The interceptAnonymousUser function has been used in other sections in our source code, used to check if the user is an anonymous user:

const isAnonymousUser = Session.isAnonymousUser();
const interceptAnonymousUser = (callback) => {
    if (isAnonymousUser) {
        Session.signOutAndRedirectToSignIn();
    } else {
        callback();
    }
};

What alternative solutions did you explore? (Optional)

We can also disable the event listener when pressing "Ctrl + K" without login like:

 if (!Session.isAnonymousUser()) {
            this.unsubscribeSearchShortcut = KeyboardShortcut.subscribe(
                searchShortcutConfig.shortcutKey,
                () => {
                    Modal.close(() => {
                        if (Navigation.isActiveRoute(ROUTES.SEARCH)) {
                            return;
                        }
                        return Navigation.navigate(ROUTES.SEARCH);
                    });
                },
                searchShortcutConfig.descriptionKey,
                searchShortcutConfig.modifiers,
                true,
            );
        }

Result:
Solution 1:
Screencast from 29-08-2023 17:31:39.webm

got it Thanks let me raise it separately.

@0xmiroslav ya yes we need to hide that as well.

but when you click any menu on settings it will goes to login screen

any update on progress here @0xmiroslav ?

Thanks, over to you @AndrewGable !

@kushu7 requires payment offer (Contributor) - PAID $500
@0xmiroslav requires payment offer (Reviewer)fuow - paid $500
no urgency bonus due to 10 day merge time.
no reporting bonus due to applause report.

Yes this was on hold for 10 days, it was reviewed/merged in 3 days after the hold. cc @zanyrenney


Translate into Chinese: /help/faq/telemetry/prometheus-for-non-k8s.md

Translate into Chinese: /help/faq/telemetry/prometheus-for-non-k8s.md
Sync：/docs/setup/kubernetes/platform-setup/azure/index.md

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: gyliu513
If they are not already assigned, you can assign the PR to them by writing /assign @gyliu513 in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

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

Hi @Mr-Linus. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gyliu513
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS [gyliu513]

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


Minor 'el' translation improvements

Homekit integration only supports fan speed in English, if translated to other languages, we won't be able to control fan speed in homekit.

https://github.com/home-assistant/core/blob/7b462e1b8ee10c59e3a086de9af19a6d1c5263c5/homeassistant/components/homekit/type_thermostats.py#L122


Request for PayPal as an Alternative Payment Method

I would like to propose the addition of PayPal as an alternative payment method for supporting this open-source project. While the current payment methods (such as Patreon, credit cards, or others) are useful, adding PayPal can provide several benefits to the project and its contributors.
PayPal is known for its secure transactions, and many users already have PayPal accounts. Offering this option can make it easier for supporters to donate, subscribe, or contribute without hesitation, as they already trust PayPal.
Some regions have limitations when it comes to using credit cards or other payment gateways. By adding PayPal, you can remove potential barriers for people who want to support the project but don’t have access to the existing payment options.
You can send PayPal donations to : https://www PayPal.com/paypalme/gnomefoundation
For BLACK PYTHON DEVS ONLY, email<EMAIL_ADDRESS>for the donation information so we can notify GNOME of the purchase.

Because we are a hosted Non-Profit under GNOME, it is possible, albiet not preferred, for supporting Black Python Devs.
You can send paypal donations to - https://www.paypal.com/paypalme/gnomefoundation but you need to leave a comment that says "FOR BLACK PYTHON DEVS ONLY" and email<EMAIL_ADDRESS>with the donation information so we can notify GNOME of of the purchase.

Okay let me add that, do I add it on the issue or contribution for it?

I have updated it on the issue

@kjaymiller is the issue correct?


microsoft-playwright-testing: Adding new API version changes

Packages impacted by this PR
@azure/microsoft-playwright-testing
Issues associated with this PR
Integration changes with new reporter API version
Describe the problem that is addressed by this PR
Integration changes with new reporter API version
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


Sideloading Installation Failed

Attempting to side load using the manifest file example results in an "Installation Failed" message of "An internal server error occurred. The operation failed., Object reference not set to an instance of and obect. "  I this my fault or is there an omission in the documentation?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 52a55fe4-0fe1-858c-26a4-dddc3ee128ea
Version Independent ID: 0a643291-936f-b374-37fd-7db497c73cce
Content: Create an Outlook mobile add-in for an online-meeting provider (preview) - Office Add-ins
Content Source: docs/outlook/online-meeting.md
Product: outlook
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@paulghodgson Thanks for trying out this feature but sorry you hit this issue. However, the manifest example is actually an excerpt of a section of the manifest instead of a full manifest. We'll clarify that in the docs.
For more about manifests for Outlook, see Outlook add-in manifests and Add support for add-in commands for Outlook Mobile.
Let us know if this helps or if you hit any further issues.
Thanks.

I have a full add-in manifest that works fine for desktop, the issue here is that replacing the  element with a always results in a "An internal server error occurred. The operation failed., Object reference not set to an instance of and object. ".  According to the Yeoman generator the schema is valid, what seems to be lacking is away to debug this error, any ideas?

I have a full add-in manifest that works fine for desktop, the issue here is that replacing the DesktopFormFactor element with a MobileFormFactor element always results in a "An internal server error occurred. The operation failed., Object reference not set to an instance of and object. ". According to the Yeoman generator the schema is valid, what seems to be lacking is away to debug this error, any ideas?

Hi, I noticed this was marked as closed, but none of the links above helped me figure out what was wrong with my manifest so I just wanted to quickly share my solution in case anyone else stumbles upon this issue in the future.
We were running into the same issue when trying to add a <MobileFormFactor> element to our manifest, and in the end it turned out that if we just moved the <MobileFormFactor> host definition to be after the <DesktopFormFactor> definition it worked!
So our structure ended up being like this:
<Hosts>
  <Host>
    <DesktopFormFactor></DesktopFormFactor>
  </Host>
  <Host>
    <MobileFormFactor></MobileFormFactor>
  </Host
</Hosts>

Feels like both the docs and the error shown could be a bit clearer as neither stated anything close to this solution.

Thanks for pointing this out @Briix. Let me tag @Rick-Kirkham for awareness.

@Briix Do you really have <DesktopFormFactor> and <MobileFormFactor> each nested within its own parent <Host>? I'm surprised that works. They should be peers within the same parent.
You are correct about their relative ordering. For some reason <MobileFormFactor> never got included in our article How to find the proper order of manifest elements. I'll get that fixed.

@Rick-Kirkham It does work having them in their own parent <Host> but nesting them works just as well, as long as <MobileFormFactor> is still after <DesktopFormFactor>. Thanks for pointing that out :)
Maybe not important since nesting the <Host> elements shouldn't work, but your cli validation tool still validates the manifest as being correct even when it doesn't work because <MobileFormFactor> comes first.


General: Add documentation about course customization.

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Motivation and Context
Add course customization to documentation.
Description
Look at the new documentation: https://artemis-platform--5371.org.readthedocs.build/en/5371/user/courses/customizable/
Review Progress
Manual Tests

[ ] Test 1
[ ] Test 2

@ge65cer Thanks, I at least made one screenshot smaller now.


wsl hangs while doing operations on windows drives from linux

I had several hangs while doing operations such as running a devops python script that copies files between directories. Here is how starting ubuntu looks after hanging:

Bash cannot be killed from Task Manager or Process Explorer. The problem seemed really easy to trigger when I was working on a TrueCrypt drive. I assumed it might have something to do with TrueCrypt and unlinked it. Then it also happened on a regular drive that is linked in my home directory in linux.
My windows ver is: [Version 10.0.16299.19].
The hang is fixed by a system restart. One time, when I did system restart the system needed to be turned off from the power button because it hanged on restarting. Other times Windows restart worked ok.
Let me know if I can send any logs or additional information.

To leave an update. The problem does not occur if I used the linux filesystem, only when I symlink window drives and operate on them.

This happens to me as well using Node, working in the Windows file system from WSL. NPM installs fail almost every time once WSL has been running for more than a couple minutes. I end up having to completely shut down and re-start my development environment several times a day.
Doing an rm -rf node_modules has killed my entire PC about a dozen times in the past month or so. I'm also running 10.0.16299.19.
Something is seriously busted with the file system in WSL.

I just had to reboot my PC for the second time today due to disk intensive operations breaking WSL.
Maybe 2018 will be the year of the Windows desktop, when Windows is finally stable enough to use as a functioning workstation for developers. In the meantime, I would recommend Linux if you want a stable desktop OS with good software compatibility :)

It is very annoying that the bash process cannot be killed via task
manager. I even tried with process explorer to set the permissions but it
also didn’t work. At the end I resorted to make a copy of the windows files
to the Linux filesystem and it is working ok now.
On Wed, 1 Nov 2017 at 17:53, Jack Lewis<EMAIL_ADDRESS>wrote:

I just had to reboot my PC for the second time today due to disk intensive
operations breaking WSL.
Maybe 2018 will be the year of the Windows desktop, when Windows is
finally stable enough to use as a functioning workstation for developers.
In the meantime, I would recommend Linux if you want a stable desktop OS
with good software compatibility :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/WSL/issues/2613#issuecomment-341148345, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYqnN3ys--XzLV_a2iHdD0ShxpHPY2iFks5syJPggaJpZM4QJuSq
.

It is very annoying that the bash process cannot be killed via task
manager.

I had hoped for a /nukeinstance feature back in September 2016, #1086 (message), which would unceremoniously tear down the stack as a last resort (like a hard reboot). Basically the equivalent reloading the lxcore/lxsys drivers and restarting LxssManager. Just linking for posterity; it doesn't help your instant problem, but I had the similar feeling back when I was having to reboot my machine. Back then the root problem with mv was ultimately addressed and the killswitch idea quietly faded. It would probably not be straightforward to implement such a thing. Or, that's what I've assumed anyway.

I too have experienced such hangs from doing file system operations. One instance I traced to be trying to use chown/chmod, which caused it 100 out of 100 times.

Guys, please check if you have a windows junction somewhere in the path passed to rm -rf or chown. I've had problems with both leading to freezes. The workaround is to use a Linux symlink. I've posted the issue here: #2746

When running BuckleScript on watch mode, WSL crashes, and won't start to Bash prompt only recovers after a few restarts.
Running Ubuntu on WSL
Version 10.0.16299 Build 16299

My machine just crashed two times in a row doing a rm -rf node_modules inside of the WSL FS.

@rhinoceraptor - If you can follow the instruction from here for BSOD's, that would be great.
@superherointj - Can you please post the Windows ver (ver from a CMD) and the repro steps, that would be useful?

I've generated etl files following FAQ instructions:
bashdebug.zip
Current way to reproduce problem is to just use bucklescript/webpack in my project and eventually it crashes WSL. I can't say exactly what is causing this. I believe it might be related to symlink but it is a guess.

I am also seeing this issue when developing with Node/Webpack in WSL but the code directory in Windows.  I'm on Version 10.0.16299.371.

This also happens to me when using Node or Ruby, I'm on 17713

This was fixed in 17134. I'm able to kill any process I want under Task Manager, including init. So it appears there was a regression (hope it's fixed before next stable or I'll be forced to stay with current stable).

This is affecting me on my workstation. I'm on 17134. Not using symlinks or junctions, just prodding a few files with Python. Seems like all I/O eventually dies.

https://github.com/Microsoft/WSL/issues/2746
Was this fixed in #2746?

Let's call it #2746 for lack. There is no repro for "running a devops python script that copies files between directories" out of the gate.

WSL hangs (is idle) on first launch of WSL "WSL is installing, this can take a few minutes" and when doing apt install operations. I can proceed by hitting enter key but it happens frequently.

Add your project dir and C:\Users\username\Appdata\Local to Windows defender exclusion list.
It helps on some cases but not a permanent fix.

Was there a fix for this? I am having same issue with Ubuntu in general. I've uninstalled both VS COde and Ubuntu several times. Still have issue. Have only ubuntu installed, when open it works for few seconds/minutes and then it hangs and mutliple init, or bash, or env open in task manager making cpu 100%.

Exactly the same behavior for me as @GiancarloZ .
Couple minutes everything works. Then when opening bash or running command from already opened terminal - hangs, CPU usage 100%, bash and init processes cannot be killed. Only restart helps. Very frustrating.
The issue started today.

@lukasrusty I just tried using Debian instead of Ubuntu thinking that was the issue and I got the same problem. Maybe its the windows 10 Subsystem for Linux?

@lukasrusty check out thread below. Seems to have solved the issue.....for now.
https://github.com/microsoft/WSL/issues/4936


Add possiblity to connect memory via UI

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
A user should be able to connect different memory similar to how they are able to connect different Language Models or Vector Databases.
It should be listed as a new tab under this view: https://beta.superagent.sh/integrations
Acknowledgements

[X] My issue title is concise and descriptive.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

@bdqfork added a new issue for this. Get back to me if you have any questions or need any help.


Document GTM envParams from PR #114

Add the envParams option for Google Tag Manager introduced in PR #114 to the README file.

Thanks!


DDS-Router for Windows 10 build failed

Hi there,
I am encountering a single issue within DDS-Router build for WINDOW-10 OS version.
The compiling process succeed but one module failed to get build within multiple
modules, that "ddsrouter-yaml-validator" sems to failed as following log depict:
Can anyone give a clue what is missing from the build?
Your reply is greatly appreciated.
Thank you,
IK
==============Error log=================
C:\Users\imrank\DDS-Router>colcon build
Starting >>> ddsrouter_cmake
Starting >>> YAML_CPP
Starting >>> ddsrouter_yaml_validator
--- stderr: ddsrouter_yaml_validator
c:\users\imrank\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Finished <<< ddsrouter_yaml_validator [8.03s]
Finished <<< ddsrouter_cmake [10.0s]
Starting >>> ddsrouter_utils
Starting >>> ddsrouter_docs
Finished <<< ddsrouter_utils [8.48s]
Starting >>> ddsrouter_event
--- stderr: YAML_CPP
CMake Deprecation Warning at test/gtest-1.10.0/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at test/gtest-1.10.0/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at test/gtest-1.10.0/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
Finished <<< YAML_CPP [29.3s]
Finished <<< ddsrouter_event [12.0s]
Starting >>> ddsrouter_core
Finished <<< ddsrouter_core [4.38s]
Starting >>> ddsrouter_yaml
--- stderr: ddsrouter_yaml
CMake Error at C:/Users/imrank/DDS-Router/install/ddsrouter_cmake/share/ddsrouter_cmake/cmake/cpp_common/find_external.cmake:26 (find_package):
By not providing "Findyaml-cpp.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "yaml-cpp",
but CMake did not find one.
Could not find a package configuration file provided by "yaml-cpp" with any
of the following names:
yaml-cppConfig.cmake
yaml-cpp-config.cmake

Add the installation prefix of "yaml-cpp" to CMAKE_PREFIX_PATH or set
"yaml-cpp_DIR" to a directory containing one of the above files.  If
"yaml-cpp" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
C:/Users/imrank/DDS-Router/install/ddsrouter_cmake/share/ddsrouter_cmake/cmake/cpp_common/configure_project_cpp.cmake:51 (find_external_projects)
CMakeLists.txt:56 (configure_project_cpp)
Failed   <<< ddsrouter_yaml [1.03s, exited with code 1]
Aborted  <<< ddsrouter_docs [26.5s]
Summary: 6 packages finished [39.7s]
1 package failed: ddsrouter_yaml
1 package aborted: ddsrouter_docs
3 packages had stderr output: YAML_CPP ddsrouter_yaml ddsrouter_yaml_validator
1 package not processed

Hi @iekhanx
Some points:

It seems like you are using an old version of CMake. I strongly suggest to update to a 3.x version
The error you are encountering is that yaml-cpp is not well installed or it is not found from colcon to build the forward packages.

Check our documentation on how to install yaml-cpp for windows using CMake: https://eprosima-dds-router.readthedocs.io/en/latest/rst/developer_manual/installation/sources/windows.html#yaml-cpp
use colcon argument --event-handlers console_direct+ in order to see the logs of the compilation. With that, you could check if the library is being installed correctly and if the installed files are in the PATH to compile the ddsrouter_yaml.

Colcon it is not so stable for Windows, my suggestion is to install yaml-cpp in an aside workspace (using CMake for example) and then adding it to the path when compiling the rest of the library


Renamed launcher and scanner factory methods and simplified journald package

What does this PR do?

Renamed launcher and scanner factory methods.
Moved code around in journald package

Motivation
Refactoring
Additional Notes
Code has just be moved around, no functionality has been added.

Looks good, but ci is failing


Remove relative react-native paths

Fixes weird errors when used with jest
  ● Test suite failed to run

    TypeError: Cannot read property 'create' of undefined

      at Object.<anonymous> (node_modules/react-native-vector-icons/lib/icon-button.js:8:27)
      at Object.<anonymous> (node_modules/react-native-vector-icons/lib/create-icon-set.js:12:1)

Some details https://github.com/oblador/react-native-vector-icons/issues/469#issuecomment-505986855

This breaks compatibility with react-native-web/desktop


[FR] Let user define date for received order items

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

Problem statement
If I don't user InvenTree daily, I end up with wrong information. It happens clearly when I "receive a order item". I just can classify the item, but cannot overrule when I received it.
So if I even for one day forget to directly open the package and update InvenTree, I have wrong data.
Suggested solution
Let the user, at least optionally, overrule the receipt date of order items. On automatic order close, adapt the date.
Describe alternatives you've considered
Manual updates in the database (at least this is what I do now) -.-
Examples of other systems
No response
Do you want to develop this?

[ ] I want to develop this.

@lippoliv so you want to be able to adjust the "date received" for stock items received against a purchase order?

Yes :)

Not stale. Needs someone to take responsibility though :)


Exclude pages which are not articles

Please leave out from the sample the Talk pages and Editors personal pages for example.  They are not articles. Others are some lists and templates, they also should not be included in the sample.

Generally, we include those pages because vandalism and damage can happen there too.


coverage doesn't honor sourcemaps

Even though the sourcemaps generated in /build/src seem to be correct, there is an issue of the Coverage not being reported correctly by karma/istanbul.
The coverage itself is correctly determined, but the mapping back to the *.ts files is broken, resulting in the coverage being displayed/mapped to the original *.js files in the build folder. While this is already helpful it would be a lot nicer to see the actual coverage on the *.ts files again.
Lucky guess: The sourceRoot property might not be honored. This can be fixed in many ways and i'm not sure yet which one would be the best fit. There's remap-istanbul and alternatively karma-typescript, which might remove our last necessity on jspm as well.
PS: This broke when updating gulp-typescript and many other plugins that we cant afford to loose, so the old way might just not work anymore...
Up for grabs

I looked into karma-typescript, and swapping out the test transpilation pipeline with browserify.  Although tests ran, and it generated coverage, the original problem remained.

I looked into karma-remap-istanbul and remap-istanbul, even though they can produce correct coverage on original TypeScript files, they don't return the result to "karma-coverage".
My findings:

on preprocessors, element sourcemap doesn't have any effect what so ever in case of both inline source maps or external source map file.
I can get TypeScript code coverage using karma-remap-istanbul, but this doesn't return the results back to coverage so we can't see results on our IDE, but we can see in external HTML file which it creates.

No luck. Not sure what's happening here.

Today i had a look at the karma typescript preprocessor. It seemed to work like a charm, but in the end JSPM didn't play nicely. We could combine this with browserify maybe.
I'll try out the jspm transpiler again soonishly...

This has been solved by #54
Full IntelliJ integration will resolve itself with this https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FWEB-10303


Empty Polyline creates error

Right now when you create a polyline you have to add data to it, you cannot create an empty Polyline.  I just tested this with the latest dev version, and it is still crashing.

This should work:
L.polyline([]);

@yohanboniface Yes, it does: https://playground-leaflet.rhcloud.com/ros/1/edit?html,output

@MuellerMatthew Please note that the first parameter to L.polyline() is not optional according to the docs. So, an undefined value (which is different from an empty array) is expected to not work.


Generator cancelled - httpx.ReadTimeout

Hi! After I ran python3 /Users/friedahuang/Documents/eon/llama-agentic-system/examples/scripts/hello.py localhost 5001 --disable_safety, I encountered the following error. Any ideas?
For context, I'm using Apple M2 Pro
User> Hello
StepType.inference> Traceback (most recent call last):
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
    yield
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 249, in __aiter__
    async for part in self._httpcore_stream:
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 367, in __aiter__
    raise exc from None
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 363, in __aiter__
    async for part in self._stream:
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 349, in __aiter__
    raise exc
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 341, in __aiter__
    async for chunk in self._connection._receive_response_body(**kwargs):
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 210, in _receive_response_body
    event = await self._receive_event(timeout=timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 224, in _receive_event
    data = await self._network_stream.read(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 32, in read
    with map_exceptions(exc_map):
  File<EMAIL_ADDRESS>line 158, in __exit__
    self.gen.throw(value)
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ReadTimeout

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/friedahuang/Documents/eon/llama-agentic-system/examples/scripts/hello.py", line 34, in <module>
    fire.Fire(main)
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/fire/core.py", line 143, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/fire/core.py", line 477, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
                                ^^^^^^^^^^^^^^^^^^^^
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/friedahuang/Documents/eon/llama-agentic-system/examples/scripts/hello.py", line 18, in main
    asyncio.run(
  File<EMAIL_ADDRESS>line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/friedahuang/Documents/eon/llama-agentic-system/examples/scripts/multi_turn.py", line 58, in run_main
    async for event, log in EventLogger().log(iterator):
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/llama_toolchain/agentic_system/event_logger.py", line 51, in log
    async for chunk in event_generator:
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/llama_toolchain/agentic_system/tools/custom/execute.py", line 45, in execute_with_custom_tools
    async for chunk in system.create_agentic_system_turn(request):
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/llama_toolchain/agentic_system/client.py", line 84, in create_agentic_system_turn
    async for line in response.aiter_lines():
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 966, in aiter_lines
    async for text in self.aiter_text():
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 953, in aiter_text
    async for byte_content in self.aiter_bytes():
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 932, in aiter_bytes
    async for raw_bytes in self.aiter_raw():
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 990, in aiter_raw
    async for raw_stream_bytes in self.stream:
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_client.py", line 146, in __aiter__
    async for chunk in self._stream:
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 248, in __aiter__
    with map_httpcore_exceptions():
  File<EMAIL_ADDRESS>line 158, in __exit__
    self.gen.throw(value)
  File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ReadTimeout

Environment: ipython
Tools: brave_search, wolfram_alpha, photogen
Cutting Knowledge Date: December 2023
Today Date: 28 August 2024

INFO:     ::1:55142 - "POST /agentic_system/create HTTP/1.1" 200 OK
INFO:     ::1:55143 - "POST /agentic_system/session/create HTTP/1.1" 200 OK
INFO:     ::1:55144 - "POST /agentic_system/turn/create HTTP/1.1" 200 OK
role='user' content='Hello'
Pulling model: llama3.1:8b-instruct-fp16
Generator cancelled

excute[  ollama run llama3.1:8b-instruct-fp16 ]to warm in case of the time first time to load too long

excute[ ollama run llama3.1:8b-instruct-fp16 ]to warm in case of the time first time to load too long

Thank you!! It works now!

User> Hello
StepType.inference> Traceback (most recent call last):
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
yield
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 249, in aiter
async for part in self._httpcore_stream:
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 367, in aiter
raise exc from None
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 363, in aiter
async for part in self._stream:
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 349, in aiter
raise exc
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 341, in aiter
async for chunk in self._connection._receive_response_body(**kwargs):
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 210, in _receive_response_body
event = await self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_async/http11.py", line 224, in _receive_event
data = await self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 32, in read
with map_exceptions(exc_map):
File<EMAIL_ADDRESS>line 158, in exit
self.gen.throw(value)
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/friedahuang/Documents/eon/llama-agentic-system/examples/scripts/hello.py", line 34, in
fire.Fire(main)
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/fire/core.py", line 143, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/fire/core.py", line 477, in _Fire
component, remaining_args = _CallAndUpdateTrace(
^^^^^^^^^^^^^^^^^^^^
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/friedahuang/Documents/eon/llama-agentic-system/examples/scripts/hello.py", line 18, in main
asyncio.run(
File<EMAIL_ADDRESS>line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/friedahuang/Documents/eon/llama-agentic-system/examples/scripts/multi_turn.py", line 58, in run_main
async for event, log in EventLogger().log(iterator):
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/llama_toolchain/agentic_system/event_logger.py", line 51, in log
async for chunk in event_generator:
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/llama_toolchain/agentic_system/tools/custom/execute.py", line 45, in execute_with_custom_tools
async for chunk in system.create_agentic_system_turn(request):
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/llama_toolchain/agentic_system/client.py", line 84, in create_agentic_system_turn
async for line in response.aiter_lines():
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 966, in aiter_lines
async for text in self.aiter_text():
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 953, in aiter_text
async for byte_content in self.aiter_bytes():
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 932, in aiter_bytes
async for raw_bytes in self.aiter_raw():
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_models.py", line 990, in aiter_raw
async for raw_stream_bytes in self.stream:
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_client.py", line 146, in aiter
async for chunk in self._stream:
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 248, in aiter
with map_httpcore_exceptions():
File<EMAIL_ADDRESS>line 158, in exit
self.gen.throw(value)
File "/Users/friedahuang/Documents/eon/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout


butterknife-reflect behaves differently for @Nullable fields

We recently tried out butterknife-reflect to speed up debug builds and found an inconsistency between the reflection and the annotation processor library.
We were binding a view which was marked with androidx.annotation.Nullable and it worked correctly with the annotation processor, however when we tried the reflection lib it started to fail. This is because the annotation has a retention policy of CLASS, which means it doesn't need to be retained at runtime by the VM, so butterknife-reflect does not pick it up and throws an exception because the view is missing. It works when we switch to javax.annotation.Nullable, since that one has a retention of RUNTIME.
There's nothing Butterknife can do to change this behavior, but I think it should be mentioned either in the README of butterknife-reflect and/or the website, especially since androidx.annotation.Nullable is the recommended annotation.

Are you using 10.1.0? The reflection library no longer validates when required views are absent (you'll get an NPE when you try to access it anyway) as of that version.

We were using 10.0.0, I'll check the new version, thanks for the fast response


New release?

This ticket is to ask if I can help get v2.11 released.  It contains many useful features and some bug fixes that will help make the library safer for long running and multi-threaded processes.
Are any current bugs blockers for a new release?  Can I do anything else to help?  Sorry for my lack of familiarity with your release process.

Hi! #395 is the only issue that blocks v2.11, and I'll merge it as soon as tests pass.
I would greatly appreciate if you could be the "release manager" of v2.11 and do the first 4 steps of this checklist https://github.com/akheron/jansson/wiki/Releasing and open a PR with those changes. You should check that your changes look similar to earlier release commits, too.
After that it's very easy for me to cut a release by tagging and making the release tarballs.

I've completed the first 10 steps (everything up to git commit -m 'jansson 2.11).  I'm sure you'll probably rerun the valgrind distcheck but it worked for me on Fedora 26.
This is my first time dealing with libtool version declarations (src/Makefile.am and CMakeLists.txt).  I think I got it right but please double-check.


Windows 11 ARM64 - can't launch RVP

First off, hat's off to you, i love this player and the functionalities! i have a favourites list of 130 and love to just set it to shuffle thru them for a fast fresh experience. Thank you lots for this! i hope you continue to support us :D
As for my problem, i'm trying to run RVP on windows 11 ARM64, but i get this error when trying to run it:
This was with Version 1.50
Exception: LoadDLL failed: Mpv.NET.API.MpvAPIException:
Failed to load Mpv DLL. Error code: 1114
(A dynamic link library (DLL) initialization routine failed.
at Mpv.NET.API.MpvFunctions.LoadDIl(String dllPath)
dlIPath was: C:\Torrents\with funscript tools\win11
rvp\RVP-v1.50\RVP\ib\libmpv-2.dll
With version 1.41 i get this:
Exception: Failed to load Mpv DLL. .NET apps by default are
32-bit so make sure you're loading the 32-bit DLL.
I hope you can do anything with this info, let me know if i can give you more details or test anything.
I laso completely understand if you don't want to put time into fixing this.

Hey, thanks for your feedback!
I had another user reporting the same error, altough it was on a x86 windows 10 system. Ultimately, the root cause was some kind of incompability with the libmpv itself.
Therefore it would be awesome if you could try replacing my included libmpv-2.dll (which is a bit older now) with the latest version and see if it works with that.
You can grab it here: https://sourceforge.net/projects/mpv-player-windows/files/libmpv/
Simply choose the topmost mpv-dev-x86-x64 download, unpack the 7z file and replace the old libmpv-2.dll with the fresh extracted one under RVP\lib\

Hey, gladly :)
I just tried what you suggested. I downloaded the following file:
mpv-dev-x86_64-v3-20240901-git-7c672e3.7z
This is what i got as an error this time, i think it is the same error.
Exception: LoadDLL failed: Mpv.NET.API.MpvAPIException:
Failed to load Mpv DLL. Error code: 1114
(A dynamic link library (DLL) initialization routine failed.
at Mpv.NET.API.MpvFunctions.LoadDII(String dllPath)
dlIPath was: C:\Torrents\with funscript\tools\win11
rvp\RVP-v1.50\RVP\lib\libmpv-2.dll
If i try with the other Variants from the latest release:
i686:
Exception: LoadDLL failed: Mpv.NET.API.MpvAPIException:
Failed to load Mpv DLL. Error code: 193
0 at Mpv.NET.API.MpvFunctions.LoadDII(String dllPath)
dlIPath was: C:\Torrents\with funscript\tools\win11
rvp\RVP-v1.50\RVP\ib\libmpv-2.dll
mpv-dev-x86_64-20240901-git-7c672e3:
It is working!!! nice one my dude, thank you lots
I have one question for you, i have over 400 clips with scripts in a mess of a directory.
now i have about 150 favourites saved as a list in RVP. Is there any way you know of that would help me move/copy/export only my favourites to a specific directory?
Thank you so much for you help again. much apreciate your work.

Thanks so much for your effort! I will include the working libmpv in the next update!
For the list stuff; Currently there is no easy way. The only function is the "move file" button thingy but I see that this would require quiet some time/work for a whole list.
I liked the idea to move a complete list to a specified directory though, so I think about a way to implement that :)

Hey there,
the new update adds a feature to the listbrowser window.
You can now use "Move list" to either move or copy all current list entries to a specified location!
Just make sure to save the list afterwards as every edit made in the listbrowser is only for the temporary list and doesn't alter any of the saved files.

oh wow! thank you so much, i'll check this out right now :)

So i tried it, my 133 Favourites copied over from all the random places like a charm! thank you sooo much <3
the only feedback that i have for this option, is a checkmark to include the funscripts aswell ;)


Bring master up to date

I had a feeling this was a bad idea, but wanted to try it anyway. I was right, it was a bad idea.


Upload file to File Share

Good morning
Is there a way to upload files to File shares section, rather than Containers?

Hi @IgnatG ,
Great question. I am unsure at the moment, but I can look into it once I'm able to. If you find some details/info that can help extend this project to enable file shares, that would be very helpful
Thanks


gem files not found after bundle install - el capitan

I just updated my boxen from this upstream module and with or without my changes I see an error when I run boxen.
Below is a boxen run, and then a bundle exec gem list.. showing the gem is there.
 That's cool! Once
you're done, you'll probably want to submit a pull request and get back
onto master so that you can get some sweet, sweet updates again, though.

For more info on how the simple git-based updates work, have a gander at
https://github.com/boxen/our-boxen/blob/master/docs/updates.md

Could not find rake-10.3.2 in any of the sources
Run `bundle install` to install missing gems.

BrettsMacBookPro 福 /opt/boxen/repo ➤ 9fa4911|upstream_master⚡
4510 ± : be gem list

*** LOCAL GEMS ***

addressable (2.3.8)
ansi (1.5.0)
boxen (2.8.0)
bundler (1.6.3)
CFPropertyList (2.2.8)
deep_merge (1.0.1)
diff-lcs (1.2.5)
facter (2.4.4 universal-darwin)
faraday (0.9.1)
hiera (1.3.4)
highline (1.6.21)
json (1.8.3)
json_pure (1.8.2)
librarian (0.1.2)
librarian-puppet (1.0.9)
metaclass (0.0.4)
mocha (1.1.0)
multipart-post (2.0.0)
octokit (2.7.2)
open4 (1.3.4)
puppet (3.7.1)
puppet-lint (0.3.2)
puppetlabs_spec_helper (0.4.1)
rake (10.3.2)
rspec (3.2.0)
rspec-core (3.2.3)
rspec-expectations (3.2.1)
rspec-mocks (3.2.1)
rspec-puppet (1.0.1)
rspec-support (3.2.2)
sawyer (0.5.5)
thor (0.19.1)

My ruby environment might be a bit mangled I'm guessing, but using rbenv local to try a few different rubies, and rbenv system to try my system ruby,  nothing seems to get through this.
What am I missing here..   how could boxen report a missing gem, yet a bundle exec gem list show the exact version it wants... ???

@brettswift I just was able to successfully run boxen by rbenv use-ing, in my case, 2.0.0. I'm unsure if it was the fact that it was 2.0.0 or the fact that perhaps it was the Ruby version I initially used when I setup Boxen, or something else entirely, but was having the exact same issue as you were beforehand.

I ran into the same issue and, like @kulte points out, it seems to have to do with the fact that El Capitan system ruby is now 2.2.3 and boxen works best (only?) with 2.0.0.
$ mkdir ruby-test
$ cd ruby-test
$ rbenv local system
$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

Here's how I fixed it:
cd /opt/boxen/repo
rbenv install 2.0.0-p647
rbenv local 2.0.0-p647
gem install bundler
rbenv rehash
script/boxen

sorry for the delayed response, this worked on my home macbook, and just got it running on my work one. (I delay changes quite a bit here).
This fix might actually help me with a vagrant issue I'm having - specifically with beaker and rbenv and vagrant...  ruby paths are a pain in the butt!
A late Thanks


[docs] Add a small howto on setting up LSP/Emacs as a C++ IDE for working on the compiler code base.

I recently helped @aprantl to set this up on their machine, so I figured I
should just add it as a HOWTO for the benefit of additional engineers.

@swift-ci smoke test and merge

Thanks!
A link to https://emacs-lsp.github.io/lsp-mode/ would be great.
Did you miss flycheck?
I like
(setq lsp-diagnostics-provider :auto)
(setq lsp-headerline-breadcrumb-enable t)


Too many connections at the sever side

if i use mMeteor.connect(); in every actvity class then the connection is increasing at the server side is there any way to reuse the previous connection which we have established and if i don't use the mMeteor.connect() then in the particular actvity class  we are not able to subscribe and make a call

@ocram  please help in this regard

Duplicate of https://github.com/delight-im/Android-DDP/issues/118
It's obvious that the connection count increases if you establish a new connection in every single Activity. You have to use the MeteorSingleton class instead to manage connections for you.


Haxe api theme - display class name only

instead of the full path

Why does this show up as 4 commits?

Oh it's different templates files, I missed that.

Yeah im not a git sensai master yet.


@Synchronized uses this.FOO to access static locks instead of Self.FOO.

Migrated from Google Code (issue 643)

This is a simple fix, let's knock a 5 year old bug out for 1.20 :)


[70] Do not install unittest-xml-reporting==1.14.0 (main)

Necessary for testing on Ubuntu24.

Tests pass as expected. Octothorpe'd.

@FifthPotato - Please cherry-pick to 4-3-stable


Reconcile fails if cluster name contains "." with DigitalOcean profile

Steps to reproduce

Create a new cluster

$> kubicorn create test.io --profile do

Run apply

$> kubicorn apply test.io
2017-10-19T12:41:29-04:00 [✔]  Selected [fs] state store
2017-10-19T12:41:29-04:00 [✔]  Loaded cluster: test.io
2017-10-19T12:41:29-04:00 [✔]  Init Cluster
2017-10-19T12:41:29-04:00 [✔]  Query existing resources
2017-10-19T12:41:32-04:00 [✔]  Resolving expected resources
2017-10-19T12:41:32-04:00 [✔]  Reconciling
2017-10-19T12:41:33-04:00 [✔]  Using existing SSH Key [******]
2017-10-19T12:41:33-04:00 [✔]  Parsing bootstrap script from GitHub [https://raw.githubusercontent.com/kris-nova/kubicorn/master/bootstrap/vpn/openvpnMaster.sh]
2017-10-19T12:41:33-04:00 [✔]  Parsing bootstrap script from GitHub [https://raw.githubusercontent.com/kris-nova/kubicorn/master/bootstrap/digitalocean_k8s_ubuntu_16.04_master.sh]
2017-10-19T12:41:34-04:00 [✖]  Error during apply of atomic reconciler, attempting clawback: POST https://api.digitalocean.com/v2/droplets: 422 There was an error while trying to create your tags. Please try again.
2017-10-19T12:41:34-04:00 [!]
2017-10-19T12:41:34-04:00 [!]  Attempting to backtrack and cleanup created resources.
2017-10-19T12:41:34-04:00 [!]
2017-10-19T12:41:34-04:00 [✖]  Unable to commit state store: Nil cluster spec

                                                                                I'll be taking over this one. Dots are not supported in tag names but maybe I can find some workaround.

Possible fix to this: Add validation to check is there ".". We think we shouldn't replace "." with anything other .


failed to enable restake in desmos

When i trying to Failed to enable restake in desmos, it shows broadcast: Unsupported type: '/desmos.profiles.v1beta1.Profile'

Duplicate of #334


Fully support tags with Capital letters and spaces

Tags with Capital letters and spaces partially work now:
One post pages, they work as desired:

Displays with desired capitals and spaces on post pages
Links correctly to lowercase / hyphen URLs

In header bock and /tags page, display is also lower-case with hypens:

header tag block
/tags page

From looking at layouts/partials/header.html it seems like it's designed to work as the URL includes {{ $name | urlize }} but the link title and innerHtml are simply {{ $name }}. It looks like the tag has already been urlized before being added to Site.Taxonomies. Removing this looks like it should work.
It looks like they display correctly on posts pages because posts is reading them from the post without modification, but the header is reading them from a processed Site.Taxonomies list.
I still getting up to speed on Hugo. Is this something this theme can resolve or is this a Hugo level issue?
layouts/_default/single.html - displays correctly

{{ $tag }} shows upper case and spaces as desired
{{ $tag | urlize }} uses lower case with hyphens as desired

      {{ if isset .Params "tags" }}
        {{ range $tag := .Params.tags }}
          {{ $tag }}
        {{ end }}
      {{ else }}
          {{ i18n "noTag" }}
      {{ end }}

        {{ i18n "saveAsImage" }}

layouts/partials/header.html - displays with "URL slugs"

{{ $name }} uses lower case with hyphens - would like to change this to original tag name with upper case and spaces
{{ $name | urlize }} uses lower case with hyphens as desired

  {{ if .Site.Taxonomies.tags }}

    {{ range $name, $taxonomy := .Site.Taxonomies.tags }}
      {{ $name }}
    {{ end }}

  {{ end }}

I still getting up to speed on Hugo. Is this something this theme can resolve or is this a Hugo level issue?

After searching, the official docs don't describe how to normalize the tag name. But I found a link in Hugo Discourse with the same problem: https://discourse.gohugo.io/t/taxonomy-name-in-site-taxonomes/5531.
I think this solution can solve this issue and I already commit it in e06ac94.


[RL Unplugged] How to recover the sequential data

Hi, I am interested in testing my algorithm on dm_control dataset as benchmark and I am trapped in data loading part.
Since dm_control is a set of sequential control tasks and I have seen in dm_control_suite_crr.ipynb the CRR algorithm is using LSTM, I assume the dataset must have structure to store the time order of the data. But, when I try the demos in the repository, the dataset seem to be shuffled and I only get tuples like (s, a, r, s', a').
I am not familiar with tf.data.Dataset, so could anyone hint me out about how to recover the sequential structure of the data? Or, the sequential structure is not stored by the dataset at all? Thanks in advance!

I would also like to know this. It seems likely that the data is not stored chronologically though which is a pain.

Here's something that will help.
import collections
import functools
import os
import reverb
import six
import tree

import numpy as np
import tensorflow as tf

from acme import specs
from reverb import replay_sample

class DataLoader:
    def __init__(self, root:str, task:str, shards:int):
        self._root = root
        self._task = task
        self._shards = shards

    def load_data(self):
        def _build_sarsa_example(sequences):
            o_tm1 = tree.map_structure(lambda t: t[0], sequences['observation'])
            o_t = tree.map_structure(lambda t: t[1], sequences['observation'])
            a_tm1 = tree.map_structure(lambda t: t[0], sequences['action'])
            a_t = tree.map_structure(lambda t: t[1], sequences['action'])
            r_t = tree.map_structure(lambda t: t[0], sequences['reward'])
            p_t = tree.map_structure(lambda t: t[0], sequences['discount'])

            info = reverb.SampleInfo(key=tf.constant(0, tf.uint64),
                                    probability=tf.constant(1.0, tf.float64),
                                    table_size=tf.constant(0, tf.int64),
                                    priority=tf.constant(1.0, tf.float64))
            return reverb.ReplaySample(info=info, data=(o_tm1, a_tm1, r_t, p_t, o_t, a_t))

        def _parse_seq_tf_example(example, uint8_features, shapes):
            """Parse tf.Example containing one or two episode steps."""
            def to_feature(key, shape):
                if key in uint8_features:
                    return tf.io.FixedLenSequenceFeature(
                        shape=[], dtype=tf.string, allow_missing=True)
                else:
                    return tf.io.FixedLenSequenceFeature(
                        shape=shape, dtype=tf.float32, allow_missing=True)

            feature_map = {}
            for k, v in shapes.items():
                feature_map[k] = to_feature(k, v)

            parsed = tf.io.parse_single_example(example, features=feature_map)

            observation = {}
            restructured = {}
            for k in parsed.keys():
                if 'observation' not in k:
                    restructured[k] = parsed[k]
                    continue

                if k in uint8_features:
                    observation[k.replace('observation/', '')] = tf.reshape(
                    tf.io.decode_raw(parsed[k], out_type=tf.uint8), (-1,) + shapes[k])
                else:
                    observation[k.replace('observation/', '')] = parsed[k]

            restructured['observation'] = observation

            restructured['length'] = tf.shape(restructured['action'])[0]

            return restructured

        task = dm_control_suite.ControlSuite(self._task)
        path = os.path.join(self._root, task.data_path)
        filenames = [f'{path}-{i:05d}-of-{self._shards:05d}' for i in range(self._shards)]
        file_ds = tf.data.Dataset.from_tensor_slices(filenames)
        example_ds = file_ds.interleave(
            functools.partial(tf.data.TFRecordDataset, compression_type='GZIP'),
            cycle_length=tf.data.experimental.AUTOTUNE,
            block_length=5)

        def map_func(example):
            example = _parse_seq_tf_example(example, uint8_features={}, shapes=task.shapes)
            return example

        example_ds = example_ds.map(map_func, num_parallel_calls=tf.data.experimental.AUTOTUNE)

        example_ds = example_ds.map(
            _build_sarsa_example,
            num_parallel_calls=tf.data.experimental.AUTOTUNE)

        return example_ds

This will give you the dataset unshuffled.
If you don't want it to be in SARSA format, just delete lines:
        example_ds = example_ds.map(
            _build_sarsa_example,
            num_parallel_calls=tf.data.experimental.AUTOTUNE)