-DCMAKE_EXPORT_COMPILE_COMMANDS=1
to cmake commandhttp.cpp:(.text+0x4fc): undefined reference to `curl_easy_getinfo'
/usr/bin/ld: CMakeFiles/engine-shared.dir/src/engine/shared/http.cpp.o: in function `CHttpRequest::OnCompletionInternal(void*, unsigned int)':
http.cpp:(.text+0x16b8): undefined reference to `curl_easy_getinfo'
I guess this comes from https://github.com/ddnet/ddnet/pull/8063-DCMAKE_EXPORT_COMPILE_COMMANDS=1
to cmake command -DCMAKE_EXPORT_COMPILE_COMMANDS=1
to cmake command signed char
, char
and unsigned char
are three different typeschar
has a sign or not depends on the platform, but AFAIK independent of that, it's a type different from signed char
and unsigned char
unsigned char
or uint8_t
for bytes, and char
for text-i
and -i''
isn't exactly the samea4fbe0e
Add curl_easy_getinfo
to fake curl - heinrich5991MlirAttribute mlirLLVMDISubroutineTypeAttrGet(MlirContext ctx,
unsigned int callingConvention,
intptr_t nTypes,
MlirAttribute const *types) {
SmallVector<Attribute, 2> attrStorage;
attrStorage.reserve(nTypes);
return wrap(DISubroutineTypeAttr::get(
unwrap(ctx), callingConvention,
llvm::map_to_vector(unwrapList(nTypes, types, attrStorage),
[](Attribute a) { return a.cast<DITypeAttr>(); })));
}
unsigned char
if you mean bytes and char
if you mean stringschar
is signed char
or unsigned char
char
is signed or notsigned char
or unsigned char
AFAIKsigned char
, unsigned char
and char
are distinct types iircchar
is one of the other 2 under the hood)char
really is on the concrete platform/compiler ^^char
just at the API boundary if it wanted to be internally oblivious of char
's signednesschar
btwsigned char
and unsigned char
is on a 1-bit-byte architecture ^^char
btw char
must be able to store [A-Za-z0-9]
IIRC// else path is only for the internal state
pub fn cancelable(mut self) -> Self {
if let TaskState::WaitAndDrop | TaskState::CancelAndDrop = self.task_state {
self.task_state = TaskState::CancelAndDrop;
} else {
panic!("the cancelable call has no effect on this task, because it was not part of the task queue. Use the join handle directly.");
}
self
}
// in the Drop impl:
TaskState::CancelAndDrop => {
let mut inner = self.io_batcher.borrow_mut();
let task = Self::drop_task(self.queue_id, &mut inner);
#[cfg(not(target_arch = "wasm32"))]
task.abort();
#[cfg(target_arch = "wasm32")]
task.cancel();
}
`
so i do it over the join handle of tokio (and whatever i use on wasm) and they simply support aborting as a function call.let http = io.http.clone();
io.io_batcher
.spawn(async move {
http.download_text("https://master1.ddnet.org/ddnet/15/servers.json")
.await
})
.cancelable()
sv_gametype iCTF
sv_rcon_password youradminpass
sv_map openFNGBeat64
add_vote "ctf1" "sv_map ctf1"
for ctf1 for examplesv_map openFNGBeat64
mkdir build && cd build && cmake .. && make -j69
alias bam='mkdir build && cd build && cmake .. && make -j69'
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
ur lsp will work//
root@debian-ryzen ~ # fdisk -l
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZVL2512HCJQ-00B00
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6a118ee3
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 2048 67110911 67108864 32G fd Linux raid autodetect
/dev/nvme0n1p2 67110912 69208063 2097152 1G fd Linux raid autodetect
/dev/nvme0n1p3 69208064 1000213167 931005104 443.9G fd Linux raid autodetect
Disk /dev/nvme1n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZVL2512HCJQ-00B00
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3aebf455
Device Boot Start End Sectors Size Id Type
/dev/nvme1n1p1 2048 67110911 67108864 32G fd Linux raid autodetect
/dev/nvme1n1p2 67110912 69208063 2097152 1G fd Linux raid autodetect
/dev/nvme1n1p3 69208064 1000213167 931005104 443.9G fd Linux raid autodetect
Disk /dev/md1: 1022 MiB, 1071644672 bytes, 2093056 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 31.97 GiB, 34325135360 bytes, 67041280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 443.81 GiB, 476539322368 bytes, 930740864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@debian-ryzen ~ # fdisk -l
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZVL2512HCJQ-00B00
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6a118ee3
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 2048 67110911 67108864 32G fd Linux raid autodetect
/dev/nvme0n1p2 67110912 69208063 2097152 1G fd Linux raid autodetect
/dev/nvme0n1p3 69208064 1000213167 931005104 443.9G fd Linux raid autodetect
Disk /dev/nvme1n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZVL2512HCJQ-00B00
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3aebf455
Device Boot Start End Sectors Size Id Type
/dev/nvme1n1p1 2048 67110911 67108864 32G fd Linux raid autodetect
/dev/nvme1n1p2 67110912 69208063 2097152 1G fd Linux raid autodetect
/dev/nvme1n1p3 69208064 1000213167 931005104 443.9G fd Linux raid autodetect
Disk /dev/md1: 1022 MiB, 1071644672 bytes, 2093056 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 31.97 GiB, 34325135360 bytes, 67041280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 443.81 GiB, 476539322368 bytes, 930740864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
smartctl
ata[0-9]
in dmesg and it'd take you around to the relevant stuffsmartctl -t short <device>
for the short selftest yeahsmartctl -a
near the bottom, but the short test is very short smartctl -l selftest <device>
to see just thatSELECT SUM(Time) FROM record_race WHERE Name="Learath2" GROUP BY Name
.tar.zstd
files unpacks to 12Gindex.html:1 Access to image at 'https://skins.zillyhuhn.com/skin/uhd/greensward.png' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
.tar.zstd
files unpacks to 12G ┌─skin───────────────┬─name──┬─seconds─┐
│ greyfox │ Teero │ 1338835 │
│ nanami │ Teero │ 418895 │
│ twinbop │ Teero │ 281705 │
│ napoleon │ Teero │ 153260 │
│ Master_of_disguise │ Teero │ 145535 │
│ greensward │ Teero │ 139650 │
│ mermyfox │ Teero │ 128055 │
│ nanami_glow │ Teero │ 111390 │
│ flokes │ Teero │ 75800 │
│ brownbear │ Teero │ 73805 │
└────────────────────┴───────┴─────────┘
(edited)┌─skin───────────────┬─name──┬─seconds─┐
│ greyfox │ Teero │ 1338835 │
│ nanami │ Teero │ 418895 │
│ twinbop │ Teero │ 281705 │
│ napoleon │ Teero │ 153260 │
│ Master_of_disguise │ Teero │ 145535 │
│ greensward │ Teero │ 139650 │
│ mermyfox │ Teero │ 128055 │
│ nanami_glow │ Teero │ 111390 │
│ flokes │ Teero │ 75800 │
│ brownbear │ Teero │ 73805 │
└────────────────────┴───────┴─────────┘
(edited)┌─skin────────────┬─name───────┬─seconds─┐
│ glowfox │ MilkeeyCat │ 1739245 │
│ whis │ MilkeeyCat │ 1099860 │
│ pajamafrog │ MilkeeyCat │ 108215 │
│ santa_brownbear │ MilkeeyCat │ 71915 │
│ bluekitty │ MilkeeyCat │ 16540 │
│ default │ MilkeeyCat │ 12815 │
│ Monopole │ MilkeeyCat │ 8760 │
│ gigachad │ MilkeeyCat │ 7000 │
│ tfm_mouse │ MilkeeyCat │ 4070 │
│ santa_default │ MilkeeyCat │ 2705 │
└─────────────────┴────────────┴─────────┘
┌─skin───────────────┬─name──┬─seconds─┐
│ greyfox │ Teero │ 1338835 │
│ nanami │ Teero │ 418895 │
│ twinbop │ Teero │ 281705 │
│ napoleon │ Teero │ 153260 │
│ Master_of_disguise │ Teero │ 145535 │
│ greensward │ Teero │ 139650 │
│ mermyfox │ Teero │ 128055 │
│ nanami_glow │ Teero │ 111390 │
│ flokes │ Teero │ 75800 │
│ brownbear │ Teero │ 73805 │
└────────────────────┴───────┴─────────┘
(edited)State : clean, degraded, recovering
now if my other drive doesn't fail until my raid recovers I'll be goldenunsigned char
or uint8_t
for bytes, and char
for text -pie
is such a flag