Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jblow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
271.
▲
by
jblow
10y ago
I am assuming that your caret bar may be overlapping text in some way, or that there is a background bitmap that you might be alpha-blending against, etc. Basically I don't want to make an assumption that might break if the UI gets nic
272.
▲
by
jblow
10y ago
I will also say that this is not an academic argument for me; I am in the middle of writing yet another immediate-mode GUI right now, for the game editor I am working on. Every day I am freshly glad that I am doing things as IMGUI instead o
273.
▲
by
jblow
10y ago
Ehh, game engines are not really retained-mode in the way you mean. There isn't usually a cordoned-off piece of state that represents visuals only. Rather, much of that state is produced each frame from the mixture of state that serves
274.
▲
by
jblow
10y ago
It seems reasonable this might be true, but it's not. In video games we went down the road of retained-mode graphics APIs (declarative-type things, so that they can do the kinds of 'global optimization' you mention) but we ab
275.
▲
by
jblow
10y ago
None of the 3 things you said are true. I recommend you get some experience in rendering before you mislead people too much with these kinds of comments. In reality the problem is trivial, you set up a scissor rect (or explicitly mask the p
276.
▲
by
jblow
10y ago
"With the GPU the only viable option for rendering blinking caret is to redraw the whole window." Sorry, that is plainly false. There is nothing preventing you from treating an offscreen buffer just like any other buffer of non-di
277.
▲
by
jblow
10y ago
Having done TM as well as Vipassana (discussed in the original article) and other meditations, I do not recommend TM. You will do just fine (or better) with other things. TM happens to have some famous exponents (e.g. David Lynch) but I fin
278.
▲
by
jblow
10y ago
"it is very easy" but have you ever actually measured whether it does, and whether the resulting performance is high?
279.
▲
by
jblow
10y ago
If you are solving an easy enough problem, then sure, you can use a crappy technical foundation. You can use anything if the problem is easy enough. The point of engineering is to solve actual hard problems.
280.
▲
by
jblow
10y ago
What I said is true for almost every kind of game. POV of the camera has nothing to do with it. The main exception is low-number-of-player token-ring style games like RTSs with tons of units. Those usually simulate in lockstep, with the ful
281.
▲
by
jblow
10y ago
UDP provides massively better quality of service for realtime data wherein there aren't usually dependencies between particular pieces of data. For example, if you are transmitting the position of some guy in a world, N times per secon
282.
▲
by
jblow
10y ago
SpaceX has 5000 employees and they design, build, launch, and LAND rockets.
283.
▲
by
jblow
10y ago
Is your test mostly waiting on a mechanical hard drive? If so, then "2.5x slower than cp" could mean "a very large amount slower than cp" once you remove that overhead. Whereas I have not done your specific test, I know
284.
▲
by
jblow
10y ago
Windows has incremental linking and it's still too slow. But it's faster than non-incremental linking, yeah.
285.
▲
by
jblow
10y ago
Linkers are mind-bogglingly slow. I don't understand why they are so slow. lld is still slow, it is just less slow than the other linkers. This is not to disparage anyone working on linkers or say they are not smart. I think they just
286.
▲
by
jblow
10y ago
10 years ago, the rhetoric was "electric cars will never work, because they won't ever be able to go 200 miles and there's no infrastructure, and they drive like golf carts, ha ha!". Now it's "well it doesn
287.
▲
by
jblow
10y ago
Accusing someone of "virtue signalling" instantly ends any possibility for reasonable discussion, because it's a stark violation of the Principle of Charity. https://en.wikipedia.org/wiki/Principle_of_cha
288.
▲
by
jblow
10y ago
It's not specific questions that are important so much as the process. You want the questions to be tailored to the candidate. See this example: https://www.youtube.com/watch?v=cfyWvJdsDRI
289.
▲
by
jblow
10y ago
Hahaha, I guess it's a big misunderstanding. You wrote: "Nobody really wrote software rendering like that beyond CG classes". I read this as a claim that nobody in general wrote software renderers. When by "like that&quo
290.
▲
by
jblow
10y ago
Wrong, wrong, wrong, wrong. Wrong. People in the video game industry wrote tons of this stuff. We would spend weeks figuring out how to get one or two instructions out of the rasterizer or scanline converter, etc. I know this because I was
291.
▲
by
jblow
10y ago
But it's DATA SCIENCE. You know it's SCIENCE because they called it SCIENCE.
292.
▲
by
jblow
10y ago
Sure it will involve time investment on my part, but I want a visualization tool to help lighten that investment and help me come to the understanding more quickly.
293.
▲
by
jblow
10y ago
If you're going to say that, then hand-coded memory allocation is just an implementation detail for a garbage collection algorithm. True in some sense, but mostly useless. Come on.
294.
▲
by
jblow
10y ago
I am very interested in program visualization, but I think trying to visualize things at this level is just nutballs. Anyway, it's the wrong problem. I don't need help understanding x * 3 + y. I need help understanding what these
295.
▲
by
jblow
10y ago
This feels to me like moving the goalposts. But come on, I have used emacs for 25 years, and on a daily basis it stalls for annoying amounts of time while I am just doing something simple like editing a .cpp file. Today. In the year 2017.
296.
▲
by
jblow
10y ago
I agree ... it doesn't make any sense to me that an employer should have anything to do with supplying healthcare to employees. It just makes the system more complicated. I'd be happy with simplifying that out. But this doesn'
297.
▲
by
jblow
10y ago
I know several people who have emigrated from some of the above countries to the USA, because running a small business is extremely painful (see for example France). If you think about companies as "us versus them", where "us
298.
▲
by
jblow
10y ago
Definitions of class boundaries vary slightly depending on who you're talking to, but in general, "upper class" means you do not have to work for a living, plus you are plugged into the social network of upper-class people.
299.
▲
by
jblow
10y ago
When I was in college in the early 90s, unix systems were nonstop-paging quite often, and lisp systems would frequently pause while you were interacting with them, for nontrivial amounts of time, like multiple seconds. And that was the 90s,
300.
▲
by
jblow
10y ago
Usually I have upgraded, but I currently have no intention of buying an iPhone 7 or later, unless they fix something! For me it's a double whammy. I don't like the lack of headphone jack, and whereas I feel like I could manage gru
More ›