Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
84 views

I added following and followers by using intermediate model, it's ok but does not correctly specify objects in the intermediate model. I expect the user who follows must to be in the user_from field ...
3 votes
1 answer
58 views

I have a type which semantically behaves like a stream but doesn't actually implement the futures_util::Stream trait. Instead, it has a method get_next which repeatedly returns a Future yielding the ...
0 votes
1 answer
106 views

I'm writing a program that operates on a Vault object. This Vault object contains a directories field which is a vec of Directory objects. So something like this struct Vault{ directories: Vec<...
0 votes
1 answer
54 views

I have an entity public class ExpenseCategory { public int Id { get; set; } public string Label { get; set; } = string.Empty; public int? ParentId { get; set; } public ExpenseCategory?...
1 vote
1 answer
114 views

I have a certain API I have to use: struct API; struct Ctrl; impl API{ fn get_stream(&self) -> (impl Stream<Item = i32> + '_, Ctrl) { (futures::stream::iter(1..=5), Ctrl{}) // ...
0 votes
2 answers
106 views

Hellow, I'm trying to build a tibble by a mutate operation that needs a self reference filter. My objectie is to get the maximum value of a variable for all the available values of that variable that ...
1 vote
1 answer
70 views

I am trying to apply the table permissions system SurrealDB offers to enable row-level security in its tables, but am seeming to fail with a simple example: DEFINE TABLE node SCHEMAFULL TYPE NORMAL; ...
0 votes
1 answer
42 views

A have an external array-like interface I want to implement interface ListOf<T> { readonly length: number; readonly [index: number]: T; item(index: number): T | null; // note the parent ...
0 votes
1 answer
154 views

I have a class called Person that has an attribute called friends from which is a list of type Person. Actually, I am going to create a many-to-many relationship between the Person class and itself. ...
0 votes
0 answers
88 views

I'm trying to recreate this structure (from https://github.com/ac-custom-shaders-patch/acc-extension-config/wiki/Other-Things-%E2%80%93-Custom-AI#drawing-debug-lines)... struct cai_debug_lines { int ...
0 votes
1 answer
69 views

Let's say I have some datatypes, and I want a function gimmeThis() that simply returns this. Currently, the code in main() does not compile, because the result of gimmeThis() is MyClass. How can I ...
0 votes
1 answer
234 views

UPDATE 2024年03月16日: Provided code that produces the correct output, but is still not tail-recursive. How can I create a tail recursive merge method in Scala on a self-referential tree structure (or is ...
1 vote
1 answer
282 views

I'm working on subqueries in the Google Data Analytics Course. There are many places you can rent bikes from. These places are bike stations. The query is to calculate the difference between average ...
1 vote
0 answers
214 views

In my project I have a bunch of models, that are all derived from the class 'Entity'. Simplified, this means they all have the following properties: public Guid Id { get; set; } public DateTime ...
1 vote
0 answers
86 views

I have a list of arguments of different types: value_info args_array[10]; value_info is defined as follows: typedef int int_type; typedef float float_type; typedef double double_type; typedef bool ...

15 30 50 per page
1
2 3 4 5
...
41

AltStyle によって変換されたページ (->オリジナル) /