Rc
. Using Rc effectively also means using RefCell
. Q: If we assume i can cleanly use Rc in one case (the lifetime should exceed the lifetime of all users). What's your opinion on it?echo $?
after runningchmod +x map_extract
./map_extract (args)
usage: ./map_extract map [directory]
for m in ./*.map: do ./map_extract "$map" .; done
for m in ./*.map; do ./map_extract "$map" .; done
stuff
just brokeSystem(EnterGame)
because peer is not ready, but it would be ready if it sended this packet, wouldn't it?for m in ./*.map; do ./map_extract "$map" .; done
for m in ./*.map; do ./map_extract "$map" .; done
for map in ./*.map; do ./map_extract "$map" .; done
ddnet_engine_shared.lib(std-391022a4250a8b9a.std.feb3b897-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol __imp_NtCreateFile referenced in function _ZN3std3sys7windows2fs20open_link_no_reparse17h9b3d5753800c4b4fE [D:\a\ddnet\ddnet\debug\game-server.vcxproj]
ddnet_engine_shared.lib(std-391022a4250a8b9a.std.feb3b897-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol __imp_RtlNtStatusToDosError referenced in function _ZN3std3sys7windows2fs20open_link_no_reparse17h9b3d5753800c4b4fE [D:\a\ddnet\ddnet\debug\game-server.vcxproj]
ddnet_engine_shared.lib(std-391022a4250a8b9a.std.feb3b897-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol __imp_NtReadFile referenced in function _ZN3std3sys7windows6handle6Handle16synchronous_read17h609a485d92162e8dE [D:\a\ddnet\ddnet\debug\game-server.vcxproj]
ddnet_engine_shared.lib(std-391022a4250a8b9a.std.feb3b897-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol __imp_NtWriteFile referenced in function _ZN3std3sys7windows6handle6Handle17synchronous_write17h5e143db420a86fa8E [D:\a\ddnet\ddnet\debug\game-server.vcxproj]
EnterGame
[853/1122] Automatic MOC for target kviobjects
AutoMoc: C:/msys64/home/ewan/KVIrc/src/modules/objects/KvsObject_webView.h:0: Note: No relevant classes found. No output generated.
[854/1122] Automatic MOC for target kvioptions
ninja: build stopped: subcommand failed.
kysewan@Ewan11 ~/KVIrc (master) [1]> pacman -S mingw-w64-x86_64-qtwebkit
resolving dependencies...
looking for conflicting packages...
Packages (3) mingw-w64-x86_64-libxslt-1.1.38-1 mingw-w64-x86_64-woff2-1.0.2-2
mingw-w64-x86_64-qtwebkit-5.212.0alpha4-14
Total Download Size: 13.34 MiB
Total Installed Size: 81.55 MiB
:: Proceed with installation? [Y/n]
C:/msys64/home/ewan/KVIrc/src/modules/perlcore/libkviperlcore.cpp:67:10: fatal error: EXTERN.h: No such file or directory
67 | #include <EXTERN.h>
| ^~~~~~~~~~
compilation terminated.
2023-06-09 15:42:41 INFO server - processed System(Info { version: b"0.6 626fce9a778df4d4", password: Some(b"foobar") }) from p1, SystemReady
2023-06-09 15:42:41 INFO server - processed System(Ready) from p1, GameInfo
2023-06-09 15:42:41 INFO server - p1:d8 enters the game
2023-06-09 15:42:41 INFO server - processed Game(ClStartInfo { name: b"d8", clan: b"", country: -1, skin: b"twinbop", use_custom_color: true, color_body: 16711789, color_feet: 65535 }) from p1, SystemEnterGame(SystemEnterGameState { name: [100, 56] })
2023-06-09 15:42:41 INFO server - p1 fully entered the game
2023-06-09 15:42:41 INFO server - processed System(EnterGame) from p1, Ingame(..)
2023-06-09 15:42:41 WARN server - unprocessed System(RconCmd { cmd: b"crashmeplx" }) from p1, Ingame(..)
2023-06-09 15:42:41 WARN server - unprocessed System(EnterGame) from p1, Ingame(..)
2023-06-09 15:45:05 INFO server - processed System(Info { version: b"0.6 626fce9a778df4d4", password: Some(b"foobar") }) from p1, SystemReady
2023-06-09 15:45:05 INFO server - processed System(Ready) from p1, GameInfo
2023-06-09 15:45:05 INFO server - p1:<~{Barsik}~> enters the game
2023-06-09 15:45:05 INFO server - processed Game(ClStartInfo { name: b"<~{Barsik}~>", clan: b"Competen\'t", country: -1, skin: b"brownbear", use_custom_color: true, color_body: 1084928, color_feet: 9062655 }) from p1, SystemEnterGame(SystemEnterGameState { name: [60, 126, 123, 66, 97, 114, 115, 105, 107, 125, 126, 62] })
2023-06-09 15:45:05 WARN server - unprocessed System(RconCmd { cmd: b"crashmeplx" }) from p1, SystemEnterGame(SystemEnterGameState { name: [60, 126, 123, 66, 97, 114, 115, 105, 107, 125, 126, 62] })
2023-06-09 15:45:05 INFO server - p1 fully entered the game
2023-06-09 15:45:05 INFO server - processed System(EnterGame) from p1, Ingame(..)
fn add(a: i32, b: i32) -> i32 {
return a + b;
}
fn main() -> i32 {
let x = 2 + 3;
let y = add(x, 4);
return y;
}
fn add(a: i32, b: i32) -> i32 {
return a + b;
}
fn main() -> i32 {
let x = 2 + 3;
let y = add(x, 4);
return y;
}
(λa.b c)
= (λa.b) c
or = λa.(b c)
Y := λg.(λx.g (x x)) (λx.g (x x))
Y g
(λh.(λx.h (x x)) (λx.h (x x))) g
(λx.g (x x)) (λx.g (x x))
g ((λx.g (x x)) (λx.g (x x)))
g (Y g)
Y := λg.(λx.g (x x)) (λx.g (x x))
Y g
(λh.(λx.h (x x)) (λx.h (x x))) g
(λx.g (x x)) (λx.g (x x))
g ((λx.g (x x)) (λx.g (x x)))
g (Y g)
totally nice pls dont ban me
-network code in a lot of places probably\documentclass{article}
\begin{document}
$\lambda$
\end{document}
// This is not a 'real' interface, it doesn't interact with the kernel or extend IInterface.
// I just don't know which convention to use for an abstract class.
ListDirectoryCallback(const char *Name, int IsDir, int, void *User) { /* ... */ }
m_pStorage->ListDirectory(IStorage::TYPE_ALL, "whatever", ListDirectoryCallback, whatever);
"\\.[Pp][Nn][Gg]$"
(edited) CMassFileLoader FileLoader(client->m_pStorage, IMassFileLoader::LOAD_FLAGS_NONE);
FileLoader.SetLoadFailedCallback([](IMassFileLoader::LOAD_ERROR Error, const void *pUser) -> bool {
char Message[128];
switch(Error)
{
// handle load errors
});
FileLoader.SetFileLoadedCallback([](const std::string &ItemName, const unsigned char *pData, const unsigned int Size) {
// load skin
});
FileLoader.SetPaths(":skins");
FileLoader.SetMatchExpression("\\.[Pp][Nn][Gg]$");
FileLoader.Load();
(edited) CMassFileLoader FileLoader(client->m_pStorage, IMassFileLoader::LOAD_FLAGS_NONE);
FileLoader.SetLoadFailedCallback([](IMassFileLoader::LOAD_ERROR Error, const void *pUser) -> bool {
char Message[128];
switch(Error)
{
// handle load errors
});
FileLoader.SetFileLoadedCallback([](const std::string &ItemName, const unsigned char *pData, const unsigned int Size) {
// load skin
});
FileLoader.SetPaths(":skins");
FileLoader.SetMatchExpression("\\.[Pp][Nn][Gg]$");
FileLoader.Load();
(edited)void fn() {
static int wtf;
auto fn2= []{
// do stuff with wtf
};
}
same as
int wtf;
void fn2() {
//do stuff with wtf
}
void fn() {
}
(edited)if: github.event.pull_request.draft == false