HNHacker News
TopNewBestAskShowJobs

Zelizz

148 karma · joined May 11, 2017

submissionscomments
Zelizz··on Seattle Surveillance Technologies Up for Public Review
Unless they purposefully produced hash collisions by truncating the hash, they've just traded one unique identifier for another one. The information they throw away is not very hard to recreate, you just need to discover an individual person again (provided that the MAC hasn't changed), hash it, and now you've got the hash->MAC mapping for that individual, and you can look at their location history.
Zelizz··on Inventor May Have Cured Motion Sickness Without Drugs
Sounds like you might have issues with large field-of-view. Halo was designed to be played from a couch looking a TV somewhat far away, so it has a fairly narrow FOV. I know that at least some of the games you listed (Portal, Portal 2) have configurable FOV. Portal in particular also introduces a particular kind of motion blur to deal with the high-speed movement and rotation in that game, and you could have issues with that.
Zelizz··on 9cc: A Small C Compiler
Where would one go to find more of this conventional Makefile wisdom? I've had so many issues trying to use make the "right" way (flexible, clean, terse, etc.).

I feel like one of the best ways to acquire this wisdom is to post a project with lots of mistakes and let people tear it apart.

Zelizz··on MacLua5.3: Classic MacOS port of Lua 5.3
Don't they still have that? Isn't that what the .DS_Store folders are for? I feel like I used to do that with USB drives to use on school computers.
Zelizz··on A Kindergartener’s Best Computer Is About to Die
I wrote a number of essays in high school on my iPad (the first one) using the touchscreen keyboard. I also did digital painting using the Brushes app and my finger (later with a touchscreen stylus), and made some simple music tracks using piano and looper apps. On the original iPad, with software that was basically available since launch.

Nowadays I do computer graphics for fun, and I want to be able to create full applications, so I lug around my MacBook, but I have no doubt if I upgraded from my venerable iPad 1 I could find apps that let me play with shaders, or web-apps that let me do quite a bit more.

Zelizz··on Intel Publishes Microcode Patches, No Benchmarking or Comparison Allowed
Apple already got a huge number of developers to transition their apps to 64-bit ARM with the iPhone, I feel like if they made it simple enough they could get a critical mass on the desktop just as quickly.
Zelizz··on Craft: A simple Minecraft clone written in C using OpenGL shaders
I think you're right, actually. There are occasions where you use a feature that's ostensibly supported, but it needs to be emulated by the driver in software (I think geometry shaders might have been this way on some OS/hardware combination). This is where some of OpenGL's reputation for fast/slow paths comes from.
Zelizz··on How Fast Is a PS/2 Keyboard?
I managed to get "76/100 (76%) — Confidence : 99.99%" for the 1ms test. I wonder if headphone quality makes a difference?
Zelizz··on Diablo devolved – magic behind the 1996 computer game
It would probably be better to port to SDL2, which can then use whichever rendering backend is best for your platform.
Zelizz··on Introducing Surface Hub 2
https://blogs.windows.com/devices/2018/05/15/meet-surface-hu...

"The new Surface Hub 2 is sleeker, more agile and more affordable to fit any workspace or work style."

No info on exactly how much more affordable.

Disclaimer: I work at Microsoft (but not on this).

Zelizz··on Introducing extended line endings support in Notepad
Pretty sure that Google is advertising a service that you might pay for, whereas Microsoft is adding a new feature (in reality, many features) to an OS you already paid for.

Full disclosure, I work for Microsoft, this post doesn't reflect my employer in any official capacity, etc.

Zelizz··on Site with future Vulkan tutorials for beginners
OpenGL is still very relevant, and it works on more hardware than Vulkan. You can get very good performance out of OpenGL if you try to follow AZDO practices, and it'll be good practice, should you later decide to learn Vulkan.
Zelizz··on Robinhood Opens Cryptocurrency Trading
Damn, I thought I finally had a good place to buy DOGE.
Zelizz··on JPMorgan, BofA Ban Cryptocurrency Transactions on Credit Cards
They could, but you could have already transferred the funds to another wallet they don't control.
Zelizz··on Retrotechnology – PC desktop screenshots from 1983-2005
That's one of the reasons that I'm actually a little excited for Moore's Law coming to an end. For years it has been more economical to program quickly and somewhat wastefully, leaving many people with slower computers behind. Now the economics are changing, and the competition will be in creating the most efficient software, to everyone's benefit.
Zelizz··on Simplistic programming is underrated
You probably want to use the conceptually simplest construct your language / standard library offers. In Python that's enumerate. In C, that'd be the standard for loop. In Java that'd be the enhanced for loop. People reading your code, familiar with the language, should have to learn as little as possible to understand it.

I could make an awful enumerate implementation in C:

    #define enumerate(item, array) for (int i = 0; i < sizeof(array)/sizeof(array[0]); i++) { item = array[i];
    #define enumerate_end }
    ...
    enumerate(int number, numbers)
        printf("Number is %i\n", number);
    enumerate_end
...But then everyone reading it would have to go read my enumerate definition, whereas they'd understand the regular for loop immediately.

I think higher-order functions are a great tool when they're used to remove complexity. The tricky part is that your reader needs to already understand how they work. If adding the definition of a higher-order function would make your code longer than simply not using it, I think it's a bad case to use it.

Zelizz··on Pixelmator Pro released
I think I made a thread about that on their support forums maybe 5 years ago? They're never going to fix it.
Zelizz··on Against an Increasingly User-Hostile Web
Or you could distribute tokens mined from a computer that's plugged in somewhere, or even purchased with normal currency. But I'm not sure I'd want to navigate a web where I'm constantly making purchase decisions with every hyperlink.
Zelizz··on Games Look Bad: HDR and Tone Mapping
Deferred rendering is on the way out, in my opinion. With the advent of clustered forward rendering, we can get many, many lights without having to do multiple passes, cram everything in the gbuffer, use a single shading model for the whole scene, and be limited to screen-space anti-aliasing like FXAA and TSAA.
Zelizz··on Apple Watch vs. Android Wear: Why all other smartwatches suck for women
One more reason to be sad about the demise of Pebble :'(
Zelizz··on Handmade Hero – A complete game live-coded from scratch
He also has some pretty cool articles on finding all walkable areas of the map ("walk_monster.cpp")and how he improved the grass planting system:

https://mollyrocket.com/casey/stream_0006.html

https://mollyrocket.com/casey/stream_0015.html

Zelizz··on Forthcoming book seeks to visualise, locate and expose many numbers stations
Heh, broadcast random numbers at a slow, steady rate, set a bot to watch for news headlines including certain military keywords, have number station start broadcasting furiously.
Zelizz··on The Great Tree-List Recursion Problem (2000)
You could always clone the tree into a new linked-list if you wanted to keep things purely functional, but that would add needless complexity and still not make it easier to create a correct implementation.

Functional programming as a paradigm makes sense when you want to limit the context a programmer has to be aware of when working on a problem, but in this case recursion and imperative programming accomplish the same goal.

Zelizz··on iPhone 8 Plus: The best smartphone camera we’ve ever tested
What were the 10 phones above the iPhone before?
Zelizz··on Bringing the web up to speed with WebAssembly
Oh man, with Lua in the browser, I'd actually start to write web stuff again. And we could get a really nice fast port of Love2D running!
Zelizz··on Polygonal Map Generation, HTML5 Version
Reading through these articles and the linked papers was both thrilling and disheartening. Thrilling, because it's a huge amount of information that is immediately interesting and useful to me. Disheartening, because I have been working on similar things for two years now and always feel like I'm struggling more than the authors.
Zelizz··on Blender 2.79 released
That can be done pretty easily with adaptive subdivision and displacement mapping. You could also just create a super high-poly mesh manually and paint in the dents.
Zelizz··on Overthinking Fizzbuzz with Monoids
We can go a little shorter with C :)

    main(i){for(;i<101;puts(printf(i%3?"%d\r":"fizz",i)&&i++%5?"":"buzz"));}
Zelizz··on Sublime Text 3.0
In my opinion, Linux desktop environments have historically been missing small but important details, like proper escape angles in menus, and comprehensive / nicely organized settings pages, adding friction to the user experience. My more recent experience with Debian and Ubuntu has been much better though.
Zelizz··on Sorting with GPUs: A Survey
Why not calculate the unchanging intermediate results in separate functions so that you can pass them as arguments to the final function?
← PreviousPage 3 of 4Next →