Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-10-20 00:00 and 2024-10-21 00:00
Avatar
chillerdragon BOT 2024-10-20 01:36
Yes
Replying to @jxsl13 ChillerDragon you alive?
01:37
I used to do that back in the days when I was a Mac user. But it might have changed by now.
Avatar
I did not see nothing in the setting about the app
Avatar
GitHub BOT 2024-10-20 09:15
Reported by meep on discord. He apparently uses a driver from around 2020 that also worked without problems. Not tested/confirmed by me

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no ...
Avatar
GitHub BOT 2024-10-20 09:52
efc1d2d Don't block drivers before 2.0.137. - Jupeyy d923e58 Merge pull request #9158 from Jupeyy/pr_unblock_less - Robyt3
Avatar
extends Node var Bank = 0 var Cookie = 0 var CookiePerClick = 1 var Clicked = 0 var CookiePerSecond = 0 var save_path = "res://savegame.save" func load_game(): var file = FileAccess.open(save_path, FileAccess.READ) Cookie = file.get_var($"/root/Global".Cookie) func save_game(): var file = FileAccess.open(save_path, FileAccess.WRITE) file.store_var(Cookie) func _ready(): load_game() while true: $"/root/Global".Cookie += $"/root/Global".CookiePerSecond await get_tree().create_timer(1).timeout save_game() it gives me an error "Attempt to call function 'get_var' in base 'null instance' on a null instance" when running my game, it crashes, does anybody understand why? (edited)
10:23
func load_game(): var file = FileAccess.open(save_path, FileAccess.READ) Cookie = file.get_var($"/root/Global".Cookie)
10:23
file.get_var($"/root/Global".Cookie) is the problem
Avatar
Looks like file is null, which would indicate that the file could not be opened successfully
Avatar
Ирисочка 2024-10-20 12:57
bot can talk here?
12:57
Ah no
12:57
Bad bot
Avatar
Avatar
Ирисочка
Bad bot
:(
feelsbadman 1
Avatar
can someone on windows with chrome 129 or higher test a new trashmap feature for me? you should see this option on https://trashmap.ddnet.org
13:47
i couldn't test it on windows yet
Avatar
hey bad bot
Avatar
Avatar
Mʎɹ シ
hey bad bot
:C
Avatar
bot
13:50
good bot
Avatar
Avatar
Mʎɹ シ
good bot
:3
Avatar
MilkeeyCat 2024-10-20 15:08
@Learath2 where is a good place to put symbol table in a compiler? Currently I have it in Block(it contains vector of statements and symbol table
Avatar
getting this error after updating macos: cargo:warning=src/../include/cxx.h:2:10: fatal error: 'algorithm' file not found
15:12
trying to compile 99% ddnet ccode base
15:13
running: env -u IPHONEOS_DEPLOYMENT_TARGET "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-std=c++11" "-o" "/Users/john/Desktop/Development/ddnet-insta/build/release/build/cxx-06d76dbfffd32258/out/src/cxx.o" "-c" "src/cxx.cc" cargo:warning=In file included from src/cxx.cc:1: cargo:warning=src/../include/cxx.h:2:10: fatal error: 'algorithm' file not found cargo:warning= 2 | #include <algorithm> cargo:warning= | ^~~~~~~~~~~ cargo:warning=1 error generated. exit status: 1
15:14
maybe someone has got an idea how to fix
Avatar
Avatar
MilkeeyCat
@Learath2 where is a good place to put symbol table in a compiler? Currently I have it in Block(it contains vector of statements and symbol table
I would have 2 probably. A block local symbol table and a TU local (or technically global) symbol table for symbols that will be getting exported or shared
15:53
Or maybe a single symbol table that grows and you search in a lifo manner (edited)
Avatar
Avatar
Learath2
I would have 2 probably. A block local symbol table and a TU local (or technically global) symbol table for symbols that will be getting exported or shared
MilkeeyCat 2024-10-20 18:26
I just wanted to know if it's ok to store the symbol tables in the same struct as statements
18:26
I want to refactor the parser to only generate ast and do nothing with the symbol table
Avatar
Avatar
jxsl13
running: env -u IPHONEOS_DEPLOYMENT_TARGET "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-Wall" "-Wextra" "-std=c++11" "-o" "/Users/john/Desktop/Development/ddnet-insta/build/release/build/cxx-06d76dbfffd32258/out/src/cxx.o" "-c" "src/cxx.cc" cargo:warning=In file included from src/cxx.cc:1: cargo:warning=src/../include/cxx.h:2:10: fatal error: 'algorithm' file not found cargo:warning= 2 | #include <algorithm> cargo:warning= | ^~~~~~~~~~~ cargo:warning=1 error generated. exit status: 1
deleting /Library/Developer/CommandLineTools/SDKs/ and reinstallling xcode/commandline tools seems to have fixed the problem...
Exported 33 message(s)
Timezone: UTC+0