|
ground floor
|
# ¿ Oct 9, 2017 18:46 |
|
|
# ¿ Apr 29, 2024 02:06 |
|
wingdings is pretty bad imo
|
# ¿ Oct 9, 2017 20:16 |
|
cinci zoo sniper posted:i like fira code a good font. for idiots
|
# ¿ Oct 9, 2017 20:44 |
|
if theres one thing i want in a font its to make it even harder to distinguish (if x == 0) from (if x = 0)
|
# ¿ Oct 9, 2017 20:45 |
|
thats the sort of stupid rear end font you make when you first hear ligatures are a thing and you want to just smash characters together for literally no reason
|
# ¿ Oct 9, 2017 20:59 |
|
just use consolas nerds
|
# ¿ Oct 9, 2017 21:09 |
|
aoc in matlab is extremely easy (through the first 2 days at least)
|
# ¿ Dec 7, 2017 19:31 |
|
Sapozhnik posted:management is where they shuffle people off to in order to limit their ability to gently caress things up so you're safe m8 im averaging 20 hours of meetings a week lol and people are hesitant to admit that i am in management
|
# ¿ Dec 9, 2017 00:28 |
|
i do so little engineering at this point. when im not in meetings i spend like half of my time thinking about requirements and the other half herding cats
|
# ¿ Dec 9, 2017 00:51 |
|
[quote="AWWNAW" post="479272865"] not even a nice solid poop. we’re talking loose and sparse and with strange unescaped elements /quote]
|
# ¿ Dec 12, 2017 22:10 |
|
svn is terrible and the only interface is tortoisesvn which is also terrible
|
# ¿ Dec 19, 2017 01:57 |
|
redleader posted:counterpoint: it's fine literally nothing about tortoise is fine
|
# ¿ Dec 19, 2017 04:17 |
|
i dont understand dependency injection at all. somehow i can use this to switch between a testing and production database. somehow. at least my controllers now have a constructor that takes an interface instead of just creating the database access object themselves can i just like di a connection string to my database thing and use that? somehow? i don't understand anything
|
# ¿ Jan 23, 2018 20:39 |
|
i bet i need factories
|
# ¿ Jan 23, 2018 20:43 |
|
apparently appsettings.json can somehow contain this poo poo and then there's like multiple versions of appsettings.json like there's already a appsettings.development.json so maybe i just specify it differently in there and it all just works?!
|
# ¿ Jan 23, 2018 20:48 |
|
Bloody posted:apparently appsettings.json can somehow contain this poo poo and then there's like multiple versions of appsettings.json like there's already a appsettings.development.json so maybe i just specify it differently in there and it all just works?! update: it all just works lmao
|
# ¿ Jan 23, 2018 21:13 |
|
Sapozhnik posted:di isn't really what you want there unless it's to inject that config parameter into your database connection factory idk if its what im even using but my configuration blob is now visible to my database so it is sorting itself out properly idk this thing is probably a mess of antipatterns and nonsense but it Works For Me
|
# ¿ Jan 23, 2018 22:04 |
|
Night Shade posted:asp.net core has something like node_env in it, its default hosting templates load default values from appsettings.json, override with appsettings.$env.json, make config objects out of the result and register them in di yeah ASPNETCORE_ENVIRONMENT can be used to select from {development, staging, production} which is v nice and what im doin now
|
# ¿ Jan 23, 2018 22:41 |
|
i have an asp.net webapi project but now im wishing i had some basic views that i could show to browsers. should i: do a javascript in a html that hits my webapi endpoints and turn the json responses into pages (i do not know javascript) add MVC controllers or whatever and do some MVVM stuff alongside my existing webapi controllers somehow refactor my webapi controllers to return api responses or pages depending on http-accept headers or something?
|
# ¿ Jan 25, 2018 19:19 |
|
Shaggar posted:if all you want is a html representation of your api install swashbuckle to generate a swagger-ui this probably isn't the finished state of what i'm trying to do but this is extremely cool, good, and useful, thx
|
# ¿ Jan 25, 2018 21:30 |
|
Ciaphas posted:crossposting from the gray forums, just in case deprecate VB
|
# ¿ Jan 26, 2018 00:35 |
|
Ciaphas posted:but yeah if anyone knows a way to go from VB.NET code fragments to C# programatically, be it thru syntaxtrees or whatever, let me know 'cos it's gonna cost me a few weeks and some heartache if I can't idk you can probably coerce roslyn into doing something useful
|
# ¿ Jan 26, 2018 01:16 |
|
hi so i have my database right and im accessing it from my application. right now i guess im doing some kinda repository pattern? i've got a giant rear end database class thats just a shitload of dapper stuff. it feels unwieldy? maybe gross and bad? idk? i guess the alternative is like active record kinda stuff but idk that doesnt sound so great either, particularly in terms of dependency injecting this poo poo around so i can test things? what am i doing wrong in terms of database access patterns from this webapi project
|
# ¿ Jan 26, 2018 23:48 |
|
how do i decide where to split my repository classes presumably "arbitrary" would be a poor choice
|
# ¿ Jan 27, 2018 00:23 |
|
i use pgadmin and its buggy and not great
|
# ¿ Feb 13, 2018 19:36 |
|
i wrote a program that is 3 concurrent loops running in their own threads to emulate some real time devices and now i want to unit test it but idk how because its just some poo poo in some loop {}s
|
# ¿ May 15, 2018 20:20 |
|
i guess refactor the guts of the loops into their own functions and then test the functions?? or something?
|
# ¿ May 15, 2018 20:24 |
|
cool cool cool. now what if my code relies on udp ports and the system clock heavily
|
# ¿ May 15, 2018 20:27 |
|
gonadic io posted:How does it get data from external sources, and/or transmit its results. Those are the bits you need to mock/abstract so you can replace them with fake implementations for your tests gets data over two different udp sockets in two different threads and shares data via rust channels wihth a third thread that transmits results to a third udp socket
|
# ¿ May 15, 2018 20:36 |
|
cinci zoo sniper posted:my answer would be to write crude simulator of the system clock for the second part, but im not sure if thats right or feasible yeah presumably rust has a usable way of mocking std::time or something
|
# ¿ May 15, 2018 20:38 |
|
yeah but idk if i want my tests to run in real-time like the application does
|
# ¿ May 15, 2018 20:53 |
|
a fun approach from a reddit comment (https://www.reddit.com/r/rust/comments/4m92vy/unit_testing_in_rust/d3u4ew6/):code:
|
# ¿ May 16, 2018 16:07 |
|
cinci zoo sniper posted:remember https://github.com/raxod502/TerrariaClone ? this is autogenerated code thats been run through an obfuscator, right? right? or maybe a really bad decompilation??? please?
|
# ¿ May 16, 2018 16:26 |
|
CPColin posted:Impossible to tell, really. who actually reads things
|
# ¿ May 16, 2018 16:44 |
|
rust is really really good and every day that i use it i wish my full-time job was using it
|
# ¿ May 21, 2018 02:15 |
|
current terrible programmer status: forking a component of the rust standard library
|
# ¿ Jun 8, 2018 17:12 |
|
i use queues for multithreaded producer-consumer stuff, am i loving up
|
# ¿ Jun 24, 2018 19:31 |
|
yeah its definitely a distinction idk if its a germane one or not
|
# ¿ Jun 24, 2018 21:53 |
|
unrelated, i unironically want to do open-source rust stuff but lol i really dont know what to do or to contribute to
|
# ¿ Jun 24, 2018 21:53 |
|
|
# ¿ Apr 29, 2024 02:06 |
|
are mpsc queues bad
|
# ¿ Jun 28, 2018 00:22 |