[ Index ][ Official Thread ][ Bottom ]

(@snowyfox@pl.kotobank.ch) 30/03/20(Mon)10:29:38 id:1585578578 No. 1 [See All]

『Bottom-up emphasizes coding and early testing, which can begin as soon as the first module has been specified. This approach, however, runs the risk that modules may be coded without having a clear idea of how they link to other parts of the system, and that such linking may not be as easy as first thought. Re-usability of code is one of the main benefits of the bottom-up approach.』

(@snowyfox@pl.kotobank.ch) 30/03/20(Mon)10:22:11 id:1585578131 No. 1 [See All]

I'm starting to see less of creating base structures and trying to add systems on top of them, to more of deciding beforehand what systems I need, and then building base structures that support them
>I hope this is the right direction...

(@snowyfox@pl.kotobank.ch) 30/03/20(Mon)09:49:44 id:1585576184 No. 1 [See All]

Have to understand
>『(Distance) Heuristics for grid maps』 by Amit Patel

(@snowyfox@pl.kotobank.ch) 29/03/20(Sun)13:52:27 id:1585504347 No. 1 [See All]

『Truly intelligent enemies could change the face of gaming 』 by David Lumb

(@snowyfox@pl.kotobank.ch) 29/03/20(Sun)13:16:50 id:1585502210 No. 1 [See All]

omg are you kidding me.

(@snowyfox@pl.kotobank.ch) 29/03/20(Sun)13:25:01 id:1585502701 No. 2

It seems like it will be very useful for a game company to have a mathematician.

(@snowyfox@pl.kotobank.ch) 28/03/20(Sat)03:42:33 id:1585381353 No. 1 [See All]

How do you implement a set of items where each item is defined by each other?
>As a minimal example, have { countA, countB } and if you increase countA countB decreases and vice versa
>One way is to have a separate element 'count0' and changing countA, countB, etc. modifies count0 such that they update to that value. But what if that's not an option

(@loke@functional.cafe) 28/03/20(Sat)10:38:45 id:1585406325 No. 2

@snowyfox Somehow you want to describe the invariant, which is that a+b = x where x is some constant.

Of course, the solution to this is easy. Any change to a needs to introduce a corresponding negative change to b.

But what if you have the formula a+b+c = x? Now there is an infinite number of ways that the equation can be solved whenever any of the variables change.

(@loke@functional.cafe) 28/03/20(Sat)10:55:41 id:1585407341 No. 3

@snowyfox In my experience, a multi-dimensional array like that is very rare in Java. I would suggest that you try to model the data using classes instead. If for no other reason that it makes it much easier to see what your code is doing.

To me, when I do that, and start to build methods that act on that data, what you need to do tend to be much more obvious.

(@snowyfox@pl.kotobank.ch) 28/03/20(Sat)03:25:32 id:1585380332 No. 1 [See All]

Today I learned about:
>- TypeScript;
>- JS callback functions;
>- JS asynchronous functions;
>- The Spiral Model;
>- Extreme Programming; and
>- Scrum.

(@snowyfox@pl.kotobank.ch) 28/03/20(Sat)03:28:35 id:1585380515 No. 2

Planning to add in work queue:
>- One program in JavaScript
>- One project each using Waterfall, XP, TDD, and Scrum

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)11:45:12 id:1585323912 No. 1 [See All]

wow this is a very forgiving language. At the beginning it's basically a minimal C-style syntax interpreter
>Also I've gone through many parts of the syntax with the interpreter not shouting at me a single time. That's a good sign

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)11:45:49 id:1585323949 No. 2

The only thing it complained about was that I initially tried length(array) instead of array.length

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)06:52:33 id:1585306353 No. 1 [See All]

『A Coronavirus Explosion Was Expected in Japan. Where Is It?』 by Gearoid Reidy
>(Bloomberg link) https://www.bloomberg.com/news/articles/2020-03-19/a-coronavirus-explosion-was-expected-in-japan-where-is-it

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)02:40:26 id:1585291226 No. 1 [See All]

『Private Set Intersection』 by Avishay Yanai

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)01:30:54 id:1585287054 No. 1 [See All]

I studied another entire chapter of C++. Hopefully I won't forget what I've learned

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)01:31:45 id:1585287105 No. 2

Stroustrup先生 strongly recommends using types for everything instead of manual control of memory - and generously uses interfaces and templates whenever operations are common.
>But so far the concepts seem manageable, I don't see why they would explode

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)00:25:51 id:1585283151 No. 1 [See All]

I don't understand...

1 posts ommited. Click [See All] to see the entire thread.

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)02:40:57 id:1585291257 No. 3 >>4

I have to learn the different types...

(@newt) 27/03/20(Fri)04:18:30 id:1585297110 No. 4 >>5

nah, it's easy. Adhoc is typeclasses in Haskell. Parametric is your generics from Java. Subtyping is inheritance, also from Java.

(@snowyfox@pl.kotobank.ch) 27/03/20(Fri)06:51:39 id:1585306299 No. 5

I make the connections now. Thank you

(@snowyfox@pl.kotobank.ch) 26/03/20(Thu)16:33:25 id:1585254805 No. 1 [See All]

I'm slowly getting accustomed to working with objects, systems and modules.
>I'm going to stay here for a while to practice making them and recognising them
>But I'm looking forward to eventually moving to learn different paradigms. Dealing with modules is tiring because I have to manage their semantics and interconnections all the time

(@snowyfox@pl.kotobank.ch) 26/03/20(Thu)16:34:32 id:1585254872 No. 2

I'm particularly interested in seeing how Lispers design their programs

(@snowyfox@pl.kotobank.ch) 26/03/20(Thu)11:18:19 id:1585235899 No. 1 [See All]

From some cursory readings of opinions about C++, it all sounds very fascinating but somehow Java sounds simple now.

(@snowyfox@pl.kotobank.ch) 26/03/20(Thu)08:54:27 id:1585227267 No. 1 [See All]

Okay I studied C++ for a while. It seems it and Java have similar ideas on program design

(@snowyfox@pl.kotobank.ch) 26/03/20(Thu)08:57:42 id:1585227462 No. 2

Stroustrup先生 said that header files should be used for holding a module's interface.
>In light of that, it seems like in Java, taking the time to separate interface and implementation classes is like separating header and code files in C++..

(@snowyfox@pl.kotobank.ch) 25/03/20(Wed)14:58:18 id:1585162698 No. 1 [See All]

先輩, do you recommend learning C++ in Windows NT

4 posts ommited. Click [See All] to see the entire thread.

(@dd@satania.space) 25/03/20(Wed)15:33:17 id:1585164797 No. 6 >>7

Ah. Doing native UIs on Windows can be difficult for some. You can try it out as a test

(@dd@satania.space) 25/03/20(Wed)15:40:25 id:1585165225 No. 7 >>8

By native UI on Windows, I mean manually doing the window layouts using GDI. Some tools exist (i.e. ResEdit, Visual Studio) to make resource files that has that data.

(@snowyfox@pl.kotobank.ch) 25/03/20(Wed)23:04:13 id:1585191853 No. 8

Wow this all sounds cursed. But it's a new paradigm
>thank you 先輩-

(@snowyfox@pl.kotobank.ch) 25/03/20(Wed)14:14:01 id:1585160041 No. 1 [See All]

『O’Reilly’s events business』 by Laura Baldwin
>『O'Reilly Media shutters its conference business forever』

(@snowyfox@pl.kotobank.ch) 24/03/20(Tue)22:29:31 id:1585103371 No. 1 [See All]

『Concerning Violence』 by Frantz Fanon

(@snowyfox@pl.kotobank.ch) 24/03/20(Tue)01:39:03 id:1585028343 No. 1 [See All]

Textbook author says that we should once in a while print our source code onto paper and make notes on them.

(@snowyfox@pl.kotobank.ch) 24/03/20(Tue)00:10:27 id:1585023027 No. 1 [See All]


(@snowyfox@pl.kotobank.ch) 23/03/20(Mon)23:26:23 id:1585020383 No. 1 [See All]

Today I learned about 'try-with-resources'!
>It's a special initialiser for a try block that you can only use for instances of AutoCloseable, so it's rare in general purpose code.

(@snowyfox@pl.kotobank.ch) 23/03/20(Mon)23:17:07 id:1585019827 No. 1 [See All]

Tip 1: Save a subset of the data as an abridged version to test the parser on..!
>Tip 2: Look for the data dictionary when reading the data file is too difficult !

(@snowyfox@pl.kotobank.ch) 23/03/20(Mon)08:56:38 id:1584968198 No. 1 [See All]

"In my humble opinion the value that separates amateurs from professionals is that velocity is a direct function of quality. The higher the quality, the faster you go. The only way to go fast is to go well.
>Novices believe that quality and velocity are inverse. They think that hacking is fast. They haven't yet recognized what professional developers know all to well: that even a little bit of hacking is slower than no hacking at all.
>Every time you yield to the temptation to trade quality for speed, you slow down. Every time."
>『Vehement Mediocrity』 by Robert C. Martin

(@snowyfox@pl.kotobank.ch) 22/03/20(Sun)20:24:01 id:1584923041 No. 1 [See All]

C's equals operator always copies - either a reference or a value, even of a whole struct

(@snowyfox@pl.kotobank.ch) 22/03/20(Sun)01:14:59 id:1584854099 No. 1 [See All]

Dice roll with different odds.
>I can use this in an RPG for enemy AI

(@snowyfox@pl.kotobank.ch) 22/03/20(Sun)02:20:05 id:1584858005 No. 2

It took me forever to get this far
>I don't like Common Lisp..

(@snowyfox@pl.kotobank.ch) 20/03/20(Fri)01:44:56 id:1584683096 No. 1 [See All]

「Classes will define a set of data items that can be used to store information for the particular implementation of the class, and will specify a set of interfaces that declare the methods used to manipulate the state. A class will also contain the code that is used to implement the methods declared in the interface. This code may include additional implementation-specific “helper methods” that are not declared in the interfaces. In this way classes provide the concrete details of a particular implementation of some set of interfaces.」 - Jim Waldo, about Java
>Waldoさん says that the program as a system should really be laid out as interfaces, and that classes should just be implementations.
>This also explains why 'extends' and 'implements' in Java are used the way they are.

(@snowyfox@pl.kotobank.ch) 19/03/20(Thu)23:32:27 id:1584675147 No. 1 [See All]

kanryo simashita

(@snowyfox@pl.kotobank.ch) 18/03/20(Wed)21:06:06 id:1584579966 No. 1 [See All]


(@snowyfox@pl.kotobank.ch) 18/03/20(Wed)08:13:50 id:1584533630 No. 1 [See All]

Today's topic. I don't really understand it yet

(@snowyfox@pl.kotobank.ch) 18/03/20(Wed)04:23:51 id:1584519831 No. 1 [See All]

The intro looked really bad but then the first scene is like this??
>(Code Lyoko)

(@vaartis@pl.kotobank.ch) 18/03/20(Wed)04:25:47 id:1584519947 No. 2

the whole thing is a combination of 2d and 3d, the real world is 2d like this, looks real good, and the virtual 3d world is.. 2001 3D, it's not horrible, but it's not on the same level

(@snowyfox@pl.kotobank.ch) 17/03/20(Tue)23:50:11 id:1584503411 No. 1 [See All]


(@loke@functional.cafe) 18/03/20(Wed)01:23:37 id:1584509017 No. 2

@snowyfox The benefit is that you can build the application by starting with the UI. Remember that in Visual Studio, you at least used to start out by being presented with a UI designer and then you added code in callbacks directly linked to things like buttons and other types of interactive elements.

In this way, applications was literally a GUI with some functionality behind it, which is completely opposite to how Unix applications were built.

Windows was completely built on this mindset, so IPC functionality bolted on top the graphical applications as an afterthought, and this lives on to this day in the form of Powershell, which is really nothing more than than a commandline interface to the .Net API's, which in turn is an evolution of the COM stuff, which is essentially a way to add an API to a GUI program.

[ Top ] [ Index ] [ Next ]