« first day (3564 days earlier)      last day (1383 days later) » 

12:34 AM
lol @Lapys I still sometimes code in Notepad++
Especially for HTML, CSS, and JS, but sometimes in C++ too
@rightfold did you wake up late, maybe your sleep schedules messed up
that can make me feel sick
 
1:26 AM
StackOverflow before StackOverflow
 
 
3 hours later…
4:28 AM
@Lapys
Yeah, I still stumble upon sites that look like that sometimes
for obscure bugs and compiler errors haha
has anyone done machine learning in C++?
 
 
2 hours later…
6:28 AM
Yeah i do a lot of machine learning in C++, or specifically use C++ fot inference
 
 
3 hours later…
9:02 AM
@sehe I already solved the problem, thanks for the help :D
 
 
4 hours later…
1:25 PM
@MyWrathAcademia Good news! Part 4 of "C++ for Java programmers" is coming August 1st, covering the 3 pillars of Object-oriented programming: Encapsulation, Inheritance and Polymorphism.
 
user1804599
I see unnecessary heap allocations. This is unacceptable. You might as well write it in Haskell.
 
user1804599
const input    = "3.14 A";
const lexer    = new Cilpru.Calculator.Lexer(input);
const result   = Cilpru.Calculator.parse(lexer);
const expected = { magnitude: 3.14, unit: { s: 0, m: 0, kg: 0, A: 1 } };
assert.deepEqual(result, expected);
 
user1804599
Writing a unit-aware calculator.
 
user1804599
TypeScript with all the strict flags and all the other strict flags is really nice.
 
I was going to say, has rightfold finally gone insane and embraced JavaScript?!?
 
user7659542
What s the opposite of OOP?
 
1:53 PM
POO
 
user7659542
@fredoverflow badum tss
 
user7659542
non-OOP?
 
Coding Horror: Your Code: OOP or POO?
I don't think OOP has an "opposite". You could simply not do it and pick another paradigm. Procedural, Functional, Logic...
 
user7659542
oh ok..
 
Note how I wrote "..." as if I knew any other paradigms besides those :D
 
user7659542
1:54 PM
What do C and asm belong to?
 
Procedural, I would say.
 
user7659542
Isn't C more functional?
 
C doesn't even have lambda expressions, let alone closures.
 
user7659542
Or is model based design considered functional?
 
I don't know what "model based design" is.
 
user7659542
1:56 PM
According to wikipedia, C is indeed procedural
 
user7659542
@fredoverflow model based programming/design is like simulink or scade
 
user7659542
or labvieuw
 
Never heard of those. Can you write real, useful programs with them?
 
user1804599
haha labview
 
user7659542
Aircraft software runs model based software
 
user7659542
1:58 PM
BMW and Airbus use Scade
 
user7659542
I consider filght software to be quite useful
 
user7659542
So, yes.
 
user1804599
Tomorrow I’ll get a shelf to put all my electronic components in.
 
user7659542
k
 
@traducerad Does model based programming include something like proofs for maximum safety?
Or why would you want to do it.
 
user7659542
2:11 PM
@fredoverflow multiple reasons. From a business standpoint you win time because in the aviation industry companies or required to write multiple levels of requirements. The so-called low level requirements are very tedious and time-consuming to write. By using Scade they don't have to write those requirement
 
user7659542
Besides this that tool is certifiable for aviation standards
 
user7659542
Next to this, for very mathematical stuff like control systems (eg for motors) it is much easier to use model based design systems rather than write everything in C/C++
 
user7659542
And yes it is probably considered safer. Because the code being generated by the blocks you are using has been tested over and over again and it is one of their big selling points
 
user1804599
5:54 PM
I feel sad.
 
7:01 PM
@TelKitty Now you can buy arms for your chicken(s)
 
user1804599
7:19 PM
Lol so many questions on electronics.se about lighting are tagged lightning.
 
user7659542
7:56 PM
Wondering why you cannot eat dead chickens
 
user7659542
Apparently you have to kill them in order to eat them
 
user7659542
you cannot eat them if they died from age
 
8:50 PM
@traducerad It's hard to tell whether it was from age or disease. So when they aren't "fresh kill" they have to be checked.
Even in the industry I bet they do sample checks
@KanishkTanwar Not even sharing the result? Or the challenge :)
 
9:11 PM
@fredoverflow Thank you for letting me know. I look forward to it :)
 
user1804599
10:09 PM
I want to generate sounds from logs in real time.
 

« first day (3564 days earlier)      last day (1383 days later) »