Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @m_ninepoints
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @m_ninepoints
-
Prikvačeni tweet
0/n) How to learn graphics programming (but not in a hurry): self-study edition! This thread is highly opinionated, and not what I went through (technology changes), but what I would recommend today. You don't need all of the following to get a job...
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
A good way to ascertain someone's mathematical and emotional maturity at the same time is to ask about his or her thoughts on the tits group. I offer no other commentary aside from this tweet https://en.wikipedia.org/wiki/Tits_group
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
What I'm curious about is, why is this not an "all-hands-on-deck" situation where it's obviously the highest priority to fix? Welcoming any takers on something that should actually be higher priority.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Visual Studio being 32-bit is such a drag. Lord knows you could use the additional registers. Hitting the memory cap and dealing with its slowness is vexing.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
For heisenbugs though, even printf can fail if it disrupts the timings enough!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Oh and of course, I forgot to mention. The main legitimate use cases for printf to me are: 1) You need to get data from a remote/user machine. 2) You are debugging something inherently racey (heisenbugs). 3) The data is complicated enough that you need a better representation
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Can't inspect state because the code is optimized? Push a pragma to disable optimizations and recompile ONCE. Then step and inspect to your heart's content. printf works, but my unpopular 2cents is that if you constantly reach for it first, you're building a bad habit. (2/2)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Debuggers in this day and age can watch/print values just as well as printf can. They can inject code at runtime. They can watch memory addresses. They DON'T REQUIRE A RECOMPILE. They are scriptable. They let you examine all surrounding state. (1/2)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
People that swear by using printf exclusively for debugging, I have an unpopular opinion for you. You are likely A) not as productive as you could be, B) working with a trivial codebase that is fast to compile, or C) are actually debugging races which need a serialized log (0/2)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Also, random SIMD tip. If you need to negate or zero SIMD components, consider a logical operation instead of a mul if at the tail end of your computation. The throughput is cut in half (1 cpi vs .5) but the latency is improved from 4-5 cycles to 1!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
If you're coming to SSE4 from SSE2/3, don't forget to consider the blendps/d instructions which have better reciprocal latency than shufps/d. Cross-lane swizzles are worse than selection masks, so pack your floats accordingly!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
What if you wanted to make a process run at startup? What if you wanted to create a shortcut to an executable with different arguments. Frankly, these things have obvious solutions in BOTH linux and windows, but I doubt most people are actually fluent in both
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
(branch) The number of "hidden" things are innumerable. For example, consider what you would do if your OS of choice complained that a file was being locked and cannot be read/written. What tool would you reach for? Chances are, it's non-obvious to someone on the other side
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Both platforms, to me, have strengths and are equally viable, and being dogmatic about one's view is like learning a foreign language but complaining that it isn't like your native tongue (fin)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Summarizing, if you are considering a transition from one to the other, realize that "months of effort" do not equate AT ALL to "years of exclusive use." Realize that going in one direction, is just as hard for the other party to move in the other direction (13/n)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
On the flipside, Linux devs on Windows "don't know where things are." Where was that registry key? Where is that Windows service defined? A lot of names change too. Symlinks are "junctions" and commands need to get remapped. (12/n)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Windows developers suddenly on Linux don't know UNIX (*cue Jurassic Park theme*). Things linux devs take for granted like find, chown, xargs, awk, sed, systemctl, sysctl, du, df, etc are difficult to discover and themselves take time to learn (11/n)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
On Linux at least, tiling WMs map better to just living in a terminal for everything, because the terminals are great (see Windows "Command Prompt" for a terminal that is *not great*). However, there is a learning curve... (10/n)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Which brings me to desktop/tiling window management. Windows uses a desktop manager, end of story. In Linux, you have a great deal number of choices. Anecdotally, I dislike every Linux desktop manager, but I LOVE tiling WMs (9/n)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
VS is likely easier to pick up, but doing things that are easier in LLDB/GDB (like scriptable debugging) tend to be more opaque. However, if you only know the feature set you're familiar with, you may never know what you're missing (for both sides) (8/n)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Tooling is another big one. Visual Studio is a *great debugger*. LLDB and GDB are also *great debuggers*. That said, I only know a small handful people that I would consider competent in both. (7/n)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.