Better HN
topnewbestaskshowjobs
Log inSign up

diffuse_l

792 karma · joined Feb 24, 2017 (9y ago) · 105 submissions

Submissions

comment 1y ago · link · parent

This reminds me that I once worked in one city, and attended university in another city.

At some point, there were train lines works that lasted for a few years, which meant that almost any train ride was delayed. You got a ticket back for half an hour delay, and two for a full hour.

In addition, my workplace paid me a set amount of money to cover ttain travel expenses for each work day.

I think that for most of my studies I effectively didn't pay for train travel, and had time to work while on the train.

You did have to wait in line to get the ticket after the train ride, and the train officer wasn't too happy about giving out tickets, bit it usually worked...

comment 1y ago · link · parent

Trilinear might be possible, but then you'll still need per pixel derivatives, no?

comment 1y ago · link · parent

You can estimate mip levels per triangle and subdivde them based on the wanted mip level across z lines, instead of doing the calculation per pixel. It's a bit wonky, but can work, at least for the bigger triangles.

I've linked some code that does something along those lines for mipmapping [1].

[1] https://github.com/Gil-AdB/REVIVAL/blob/0da65f18a34b74575a89...

comment 1y ago · link · parent

I'm not sure about the exact hardware setup used here, but is it possible that something like valgrind would have helped here?

I guess not, as the seems to run on the microcontroller, but I remember getting at least some warning from valgrind in similar situations

comment 1y ago · link · parent

Another story: I was abroad, and someone got my card details and made purchases for thousands of $ in a different part of the country that I don't usually visit and certainly doesn't purchase there stuff for that amount of money.

Nobody even cared, but a payment I made for 2 euros wasn't accepted becuase reasons, and every online purchase needed some authorization.

When I called them, they said they'll look into the purchases. Well, they cancelled the purchases quite fast, but the surrealism of it all...

comment 2y ago · link · parent

My take is that auto primary advantage isn't optimizing for typing, it's optimizing for refactoring.

comment 2y ago · link · parent

There is another point to consider here. The state of anti-virus solutions before Microsoft released Defender was horrible (probably still is).

It was full of ad infested solutions, which would crash your computer from time to time.

Defender at least was reasonably performant and tended to be stable.

You could say that since they had access to kernel source, they were better informed, but I guess if there was an API, the provided documentation would solve the issue (not necessarily, not everyone bothers to read the docs).

But then you get back on how to enforce equal and open access for everyone (the EU did try to make Microsoft open the Word file format, but turned out it was so complicated and documented in legacy code only, that Micorsoft had trouble giving useful docs)

Anyway, as you said, it's complicated...

comment 2y ago · link · parent

He wrote this piece in 1989, and then went on and designed Monkey Island 2, which did things like having solutions to puzzels depend on other puzzels in differnet islands in the most annoying way possible, on purpose.

So you have that...

comment 2y ago · link · parent

Descent used a different trick, of drawing even-z lines (one division per line), which meant drawing diagonal lines.

comment 2y ago · link · parent

He talks about rosetta not implementing nested pointer enter instruction. For newer apps, there is also the issue that rosetta doesn't implement AVX and newer instructions, due to patent issues

comment 2y ago · link · parent

[1] for example

[1] https://danluu.com/anon-benchmark/#:~:text=Over%20the%20year....

comment 2y ago · link · parent

This reminds me the time when Linus said that linux will be hard to port to other architectures, since it is tightly coupled with the 386 architecture...

comment 2y ago · link · parent

I'm pretty sure you could do this using hardware performance counters, but I never actually tried, so I might be wrong

comment 3y ago · link · parent

The author did say he's removing the article for now, and he'll upload a fixed article later [1].

[1] https://mstdn.social/@osnews/111335189028196715

comment 3y ago · link · parent

I believe that fibers are considered more trouble than they worth? [0]

[0] https://devblogs.microsoft.com/oldnewthing/20191011-00/?p=10...

comment 3y ago · link · parent

You may have missed a few.

But it generally seems like a good idea, similar to headlines ending with a question mark.

comment 3y ago · link · parent

My guess is that C# will be much better, since it has support for Value types.

Wasn't Java supposed to get support for Value types some time ago?

comment 3y ago · link · parent

In the enlarged photo of the ROM transistors, the transistor in the third row, second column, seems like it should be marked as disconnected.

Should it? Or is there something I'm missing in the way the transistors are connected?

comment 3y ago · link · parent

Regarding the more convenient alternative - as I understand it, it was using assembler and compiler that can run on a modern system, and only passing the floppy image between the host and the vm, instead of running the development tools inside the vm.

50.

Undefined Isn't Unpredictable(os2museum.com ↗)

1 points · by diffuse_l · 4y ago · discuss

51.

Does (E)IP Wrap Around in 16-bit Segments?(os2museum.com ↗)

14 points · by diffuse_l · 4y ago · 1 comment

52.

Area 5150 IBM PC Demo(youtube.com ↗)

7 points · by diffuse_l · 4y ago · discuss

comment 4y ago · link · parent

There is a difference between asking if you want to change something, and going and changing this something without the user consent.

comment 4y ago · link · parent

Cool, much easier for me than the English version.

It could be nice to treat ending letters the same as regular letters (on the keyboard), similar to the way crosswords work in Hebrew.

comment 5y ago · link · parent

See here: [1][2] for something that might get you started. Have fun!

[1] https://github.com/stackgl/shader-school

[2] https://github.com/stackgl/webgl-workshop

comment 5y ago · link · parent

Reminds me of this: https://youtu.be/oZIzreiseMk

I'm not sure if their analysis is accurate, but it's sure fun to watch :)

comment 5y ago · link · parent

It reminds me of Omniscent [0], a 4k intro from 1997, that used similar techniques.

[0] https://youtu.be/G1Q9LtnnE4w

58.

Pangrammatic Autograms (2019)(yawn.io ↗)

17 points · by diffuse_l · 5y ago · 1 comment

59.

Fixing Rendering Bugs in Dead Rising PC(icode4.coffee ↗)

1 points · by diffuse_l · 5y ago · discuss

1234