|
DELETE CASCADE posted:materialized views: cool and also good gently caress yeah
|
# ¿ Aug 9, 2018 08:40 |
|
|
# ¿ Sep 10, 2024 19:46 |
|
CRIP EATIN BREAD posted:do all the project euler puzzles in x86 assembly. you'll be a bit flipping wizard in a few days. jesus I can't even imagine coding a sieve of eratosthenes in assembly
|
# ¿ Aug 12, 2018 19:22 |
|
cool! thanks for the effort, I'll study it carefully tomorrow to see if I learn anything
|
# ¿ Aug 12, 2018 22:20 |
|
going through the Design Patterns book as a p-langer is very masochistic imo, I'd save that for later, preferably after you at least dabbled into java a bit.
|
# ¿ Aug 13, 2018 11:01 |
|
a couple of online courses that made a huge impression on me: CS212 Design of Computer Programs by Peter Norvig is probably my favorite course ever. it's kind of a unique course on algorithms/data structures but a lot more pragmatic. he also introduces a lot of design patterns in a sneaky way, if you plan to really get into that it'll definitely help to already have the general intuition that Norvig gives you here. if that's a heavy course to you maybe give it a pause and try CS101 Intro to Computer Science, it's a way more basic course but it touches on a lot of intermediate topics that you may not be familiar with. Programming Languages by Dan Grossman is a great intro to PLT. It's about learning 3 languages and their key ideas (SML, Racket and Ruby). it forces you to think about a lot of stuff you never really think about in introductory p-lang courses (typing, mutability, scoping, dispatch etc) compared to CS212 this is hella formal and academic so it may or may not be your cup of tea. Starting with SML may be a huge shock but is totally worth it. I really like this course better than just learning just one fp language in isolation because it puts other paradigms side by side to give you a better perspective. Symbolic Butt fucked around with this message at 16:52 on Aug 18, 2018 |
# ¿ Aug 13, 2018 12:25 |
|
now someone should post about SICP and the smart dog book and we're cool
|
# ¿ Aug 13, 2018 12:30 |
|
my new dog posted:whats the point of tests I need a shirt of this
|
# ¿ Aug 14, 2018 08:48 |
|
pangstrom posted:Whoa. If that guy ever asked me if I had kissed a girl I would kill myself. what
|
# ¿ Aug 14, 2018 08:48 |
|
that's a good analogy
|
# ¿ Aug 14, 2018 09:05 |
|
there's so many questions, like how is it harder to parse arrays than json objects
|
# ¿ Aug 15, 2018 12:00 |
|
gonadic io posted:b+c always. Its a lifestyle choice also brute forcing a solution may lead you to a more optimal path to refactoring
|
# ¿ Aug 15, 2018 14:08 |
|
MALE SHOEGAZE posted:people doing the emulator 101 thing: what's the ac flag in the condition codes? I thought it stood for adjust carry
|
# ¿ Aug 15, 2018 14:11 |
|
lmao
|
# ¿ Aug 15, 2018 17:04 |
|
Slurps Mad Rips posted:This is actually pretty neat. setjmp/longjmp error handling in stuff like lua means you need to compile these C libraries as C++ just so destructors run and that's a nightmare. That said, this code is deffo c++11/c++14. result_of_t was deprecated in c++17 and removed for c++20. this is me reading this:
|
# ¿ Aug 16, 2018 14:27 |
|
Schadenboner posted:How can I get myself to a place where any of what you guys are talking about makes any sense? Symbolic Butt posted:Programming Languages by Dan Grossman is a great intro to PLT. It's about learning 3 languages and their key ideas (SML, Racket and Ruby). it forces you to think about a lot of stuff you never really think about in introductory p-lang courses (typing, mutability, scoping, dispatch etc) I don't recall if it goes through historical stuff like lisp-2 namespaces, but it definitely puts you into a place to understand what tef is rambling about
|
# ¿ Aug 18, 2018 16:55 |
|
meatpotato posted:just wanna thank symbolic butt for posting about that programming languages coursera class earlier in this thread. i'm learning to weird via sml and liking it a lot
|
# ¿ Aug 25, 2018 20:45 |
|
I agree on point one, C++ exceptions are atrociously bad
|
# ¿ Sep 2, 2018 02:21 |
|
DONT THREAD ON ME posted:i'm learning about quaternions now because i'm thinking seriously about game dev. they're cool imo. btw 3b1b just started releasing a series of videos on quaternions, it's some amazing stuff https://www.youtube.com/watch?v=d4EgbgTm0Bg
|
# ¿ Sep 12, 2018 19:39 |
|
maybe in 30 years someone will find a neat application of octonions in programming, it'll be rad
|
# ¿ Sep 12, 2018 19:54 |
|
the1percent/the99percent
|
# ¿ Sep 13, 2018 14:10 |
|
in my opinion the all_tiles_connected method is just begging to be broken into at least 3 methods there
|
# ¿ Sep 13, 2018 22:53 |
|
animist posted:jonathan blow is mad about rust: I'm the voice he does here: https://www.youtube.com/watch?v=4t1K66dMhWk&t=711s
|
# ¿ Sep 14, 2018 15:19 |
|
I watched almost all of it, around 30min he finally gets to the main point which is this:Jonathan Blow posted:it seems like a little bit of Stockholm's syndrome to me where it's like "oh the borrow checker is so good because it made me program in this certain pattern. but the real reason the borrow checker is not complaining anymore is just that I managed to turn it off but I didn't realize that that's what I did" and he isn't 100% sure if that's what's really going on, which is fine but I'm not sure why he is wrapping this query in an 1 hour long video rant btw this is a pattern that I noticed about rust programmers before and in the end maybe he kinda has a point here but just lol at jblow
|
# ¿ Sep 14, 2018 19:02 |
|
comedyblissoption posted:the only way you "turn off" the static borrow checker is wrapping your stuff in abstractions like RC (like reference-counted smart pointers) though, and rust idioms typically don't require you to do this his thesis is something like "she unwittingly wrote an arena-style memory allocator to fool the borrow checker" which seems to be the usual way to go in games written in C++ anyway. but anyway I still didn't watch the original video by the rust programmer yet but I'm beginning to suspect that she didn't really imply what he's saying she implied, that the "righteous borrow checker guided her to do the right design".
|
# ¿ Sep 14, 2018 20:12 |
|
Sapozhnik posted:What is an ecs entity component system
|
# ¿ Sep 14, 2018 21:25 |
|
crazypenguin posted:blowhard is mad because Rust got lots of attention, and he feels he deserves all that attention because he feels he's the hottest poo poo ever. in the end that's really the gist of it it clearly hit a nerve. a rust programmer talking about game programming, oh my, time to be a condescending rear end in a top hat to this woman, nitpicking a strawman argument.
|
# ¿ Sep 14, 2018 23:02 |
|
CPColin posted:Edit: Beaten because I was trying to figure out what the gently caress font that was. It's either Kabel or Koblenz, apparently. oh cool I'm not the only one feeling bugged by the font
|
# ¿ Sep 16, 2018 01:54 |
|
Finster Dexter posted:yeah wow this http status code discussion sure is riveting please don't httpshame in the terrible programming thread
|
# ¿ Sep 21, 2018 18:17 |
|
well tbf c++ is kind of bad so that may have been a good call
|
# ¿ Sep 22, 2018 04:00 |
|
"#pragma once" used to be a bit problematic on GCC so people avoided it for a while iirc fake edit: from https://gcc.gnu.org/gcc-3.4/changes.html quote:File handling in the preprocessor has been rewritten. GCC no longer gets confused by symlinks and hardlinks, and now has a correct implementation of #import and #pragma once. These two directives have therefore been un-deprecated.
|
# ¿ Sep 27, 2018 02:31 |
|
I'm learning Q now https://twitter.com/symbolicbutt/status/1049358129987801088
|
# ¿ Oct 8, 2018 19:48 |
|
Zlodo posted:phonetically Q is butt in french so it makes sense lol current q report: working with dates feels really nice but q is hella weakly typed so this is biting me a lot like check this out code:
|
# ¿ Oct 13, 2018 01:25 |
|
ColTim posted:Is that the one where if you negate it the code gets run async? yes!
|
# ¿ Oct 13, 2018 17:29 |
|
Doom Mathematic posted:You're in luck! Parsing C++ source code is famously straightforward. this is one cruel post
|
# ¿ Oct 19, 2018 23:08 |
|
Peeny Cheez posted:Srsly. Perl has at least one protobuf implementation. it would be really weird if it hadn't to be honest, that's a totally perl thing to have an implementation of everything
|
# ¿ Oct 27, 2018 20:35 |
|
lol gently caress newtonsoft.json, it was one of my constant headaches from my C# days
|
# ¿ Oct 27, 2018 21:59 |
|
Soricidus posted:it’s ok if you’re rigorous with type annotations and don’t try to do “clever” things everyone seems to get a bit crazy when they first learn about some metaclass bs
|
# ¿ Nov 15, 2018 20:31 |
|
I'm trying to learn of good ways to debug embedded C lately, it's kicking my rear end
|
# ¿ Nov 18, 2018 06:07 |
|
hackbunny posted:you can add a c++ wrapper in front of a c library/api, and express lots of constraints that are left implicit in c, and make them explicit and enforced at compile time, again with zero overhead compared to handwritten code this sounds like a neat idea but I never encountered something like this, most of the time I see is just a shallow wrapper to make everything more OOP or something I'm familiar with a couple of instances where c++ forces you to be more explicit than c and I'm not sure how I feel about that. like you have to be a little more pedantic with casting and type signatures have to be more precise because of overloading
|
# ¿ Dec 2, 2018 16:57 |
|
|
# ¿ Sep 10, 2024 19:46 |
|
I solved every AOC problem in less than 24h this year!
|
# ¿ Dec 25, 2018 07:56 |