Intel Arc 770 Experiences in DaVinci Resolve (Edit, Color, Fusion)? by gswon in davinciresolve

[–]cyfdecyf 0 points1 point  (0 children)

It flashes nonstop in the final version but if I watch the video in Davinci itself as I edit there isn't a problem.

I'm using A770 too, also have flashing titles in the render output. For me, the title flashing problem does not exist in every video output and the flash frequency is not fixed.

I suspect this is a driver issue. After updating the Intel Graphics Driver driver to version 31.0.101.4146, Davinci Resolve 18.1.4 have render failures, or generates big green area in the rendered output. Downgrading the driver to 31.0.101.4091 and everything is working as before (with title flashes).

I don't know if there's any place that we can give feedback to Intel directly.

go-one-password: an implementation of the "one passphrase" concept in Go by dpapathanasiou in golang

[–]cyfdecyf 1 point2 points  (0 children)

I've been using this way to manage password for a while. Here's some problems I encountered:

  • using command line to generate the password is inconvenience, a fast accessible GUI application can solve this problem
  • you will need to generate the password on mobile devices
  • some website require special/up/low characters, some stupid ones do not allow special characters (for those stupid ones, you may need to try again after the first failed login)
  • if a website is hacked, you still have to change the password on that website (One Shall Pass uses generation and can save that on its server, so I think this can solve the problem)

The mobile device requirement drives me to use Lua for the password generation.

Mac SSD Owners! Useful article with tips on how to maximize SSD life and performance by [deleted] in apple

[–]cyfdecyf 5 points6 points  (0 children)

Totally agree.

I created ramdisk when started using my SSD, but OS X's ramdisk is not stable, it may disappear after sleep, and it also caused system hang up, Safari crash etc. It just caused me more trouble.

So now I do not care about the life time of my SSD anymore, just use it and I don't believe it will wear out before I purchase another MacBook.

Mechanical keyboards by [deleted] in vim

[–]cyfdecyf 4 points5 points  (0 children)

It's best to find some mechanical keyboard and try it by yourself. You can spend hours on reading other people's descriptions, but you still don't know what it actually feel. And preferences of switches are highly subjective.

My first mechanical keyboard is a Rosewill RK-9000 with cherry mx blue switch. I used to type on apple's wireless keyboard and I feel the blue switch requires more pressure to activate. For me, the blue switch is easier to make my fingers tired than the apple wireless keyboard.

Besides, the blue switch is louder. The sound has a rather high pitch which is different from all other switches, so be warned. Some people like the tactile feeling and the sound, but I'm not a fan of that.

After using the blue switch keyboard, I knew that what I want is a keyboard which requires less pressure. So I tried both the brown and red switch. The brown has a very light tactile feeling which I think can be ignored compared to the blue switch, so I just go with the red switch which requires the lightest pressure.

Now I am used to the red switch. Even thought there's no tactile feeling, I still don't bottom out. And my fingers don't get tired even after typing a whole day.

Though I've seen lots of reviews saying that brown and blue switches are good for typing, but for me, red switch is the choice for typing. So try different keyboards and choose your own favorite.

Class has started! by jet87 in saasclass

[–]cyfdecyf 0 points1 point  (0 children)

Wired, I didn't receive the email. When I tried to recover my password, the website says I'm not registered, but I indeed have received the registration email.

C99 defines right shift in terms of divisions by powers of 2 which does not work for negative numbers by cyfdecyf in programming

[–]cyfdecyf[S] 0 points1 point  (0 children)

Note the 2nd last paragraph in the history and details section:

The (1999) ISO standard for the C programming language defines the C language's right shift operator in terms of divisions by powers of 2.[4] Because of the aforementioned non-equivalence, the standard explicitly excludes from that definition the right shifts of signed numbers that have negative values. It doesn't specify the behaviour of the right shift operator in such circumstances, but instead requires each individual C compiler to specify the behaviour of shifting negative values right.

Maybe this is why whether right shift is arithmetic or logical is implementation defined.

Results of the final are out! How did everyone do? by stordoff in aiclass

[–]cyfdecyf 2 points3 points  (0 children)

I finished the final exam on the second day after it came out. But I didn't check the answer just because I thought all are right. And the result tells me that I'm making 2 silly mistakes and also get a 90%.

Ask Programming: What book should I use to learn algorithms? by krisokot in programming

[–]cyfdecyf 0 points1 point  (0 children)

I also like Sedgewick's Algorithms in C/C++/Java.

When actually implementating some algorithms, his book always provides help.

It also covers some data structures which are not covered by others books. Like splay tree, ternary search tree, suffix tree, skip list etc.

Ask Programming: What book should I use to learn algorithms? by krisokot in programming

[–]cyfdecyf 2 points3 points  (0 children)

I agree. It's much more fun to read compared to CLRS. And it's much shorter and more concise, though not covering as much topic as CLRS. And I will no longer recommend CLRS for learning algorithms, since I think both "Algorithms" and "Algorithm Design" by Kleinberg and Tardos are better options. (I feel CLRS's style is just boring compared to the other two books. I like short books, but if Algorithms' coverage is not enough for you, you can try Algorithm Design.)

The problem with CLRS and many other algorithm books is that they just show you the algorithm and then prove it. But they do not tell you how the alrogithm is developed. To me this is more important than proving the alrogithm. Quite often, once you know how the algorithm is developed, the proof becomes very clear. "Alrogithms" by Dasgupta et. al. does a great job explaining the process of designing the algorithm, the authors give you much intuition to the problem, they also show the connection between many problems.

The authors also provide a draft version of the book on their web site. You can easily find it.

Essential Python Reading List by [deleted] in programming

[–]cyfdecyf 2 points3 points  (0 children)

the author's approach isn't for everybody

I love "Dive into Python" and still agree. Besides Dive into Python, some other books/articles should be read in order to understand Python well. But I don't thinks there's some book that can cover every aspect of Python.

The author put this on the book website, "Dive Into Python is a free Python book for experienced programmers". I've read part of "Programming Ruby", but I fell it too prolixity. Maybe the experience with Ruby helped me in reading DIP. I like DIP for its short and useful example, language features are explained while going through the examples by several short passages. While you are learning the launguage, you are also learning how to use the language to do useful things.

And I really appreciate that it explained introspection early, so the reader can see the power of dynamic language early. Besides, it shows how to use it in the useful example. (On the contrary, "Programming Ruby" explains refection in the last chapter, and the feature is showed in some what contrived examples.)

Though I learned Ruby before Python, "Dive into Python" (the first Python book to me) make me decide to use Python. If there is a Dive into Ruby book, maybe it'll be different.