HNHacker News
TopNewBestAskShowJobs

adamdusty

514 karma · joined January 21, 2021

submissionscomments
adamdusty··on Unified Shader Programming in C++
When I was working on a game engine, I came across a few papers trying to do the same thing. I think it's more than worthy of academic study. It's no different than any other compiler research.

The problem isn't just compiling C++ to glsl. The problem is taking c++ and allowing you to write your shader as part of your program. Right now, you essentially have 2 options: you can write one shader that does everything and use the actual data passed to it to conditionally run what you want, or you build a shader composition system that takes small chunks of code and pieces them together based on what data you want to pass to it. Thats overly simplified, but a kind of high level view. There are a few talks from bungie detailing the work they put into their shader system so that technical artists could have a smooth workflow.

Ultimately, your engine can't handle custom shaders without the engine user also writing code for the cpu side, unless you have a AAA sized engine team that develops a compiler to achieve that.

adamdusty··on Making bracket pair colorization faster
Of those, Qt is the only one with acceptable performance and ootb visuals.
adamdusty··on I'm working on open source full time
Are you trying to say that Siemens MES on silverlight isn't innovative?
adamdusty··on ExpressVPN employees complain about ex-spy's top role at company
I have never in my life met anyone that has an iPhone or a Mac because Apple is processing everything on the device itself. People have iPhone and macs for 2 reasons. iMessage and because Apple is a premium brand that even that richest of richest people use. The money Apple would lose if they started mining your data like Facebook would be indistinguishable from random noise.
adamdusty··on Prometheus Fuels (YC W19) Closes Series B with $1.5B Valuation
The website really glosses over the part where they turn alcohols into gasoline. Is this an existing technology that is already available? I dont know as I'm not really plugged into energy generation technology.

Also, it says that Titan turns 9 millions kilotons of CO2 into 1 million gallons of gasoline. Does it actually do this or is that what they expect it to do?

adamdusty··on Lesson of ivermectin: meta-analyses based on summary data alone are unreliable
Is there any evidence that intelligence is genetic? I dont think your height was stopping you from getting to the NBA, nor is that even remotely obvious. You may find your height to be discouraging, but you could have very well possessed the potential to play professional basketball. You'd be 3 inches taller than Muggsy Bouges who played for 14 seasons, 1 inch taller than 13 year vet Earl Boykins, and the same height as slam dunk contest champion Spud Webb.

Colleges might be letting more people through, but I dont think people are any dumber. Some people just aren't concerned with understanding everything they come across. Some kids go to college for no other reason than that's what they're supposed to do. If they cared they would be able to learn just as much as you or anyone else.

adamdusty··on The Framework is the most exciting laptop I've used
I dont know about laptops but I've been running Ubuntu on a ryzen 1600 since the couch came out and haven't had any issues.
adamdusty··on What's the deal with tab size (8 spaces) in the GitHub UI?
It's definitely not the standard. It's a standard for one project that started decades ago.
adamdusty··on Hyperbaric oxygen therapy reverses hallmarks of Alzheimer’s disease and dementia
I disagree. Its more just sensationalization by journalists. The actual paper talks more about an existing model for mice and how their findings are consistent with the model. The most outrageous claim they make is that the study demonstrates the efficacy of HBOT on Alzheimers, which is technically the truth but misleading in the sense that it demonstrates how effective it could be.

The authors should be happy to have added to ongoing alzheimers research. Their actual claims are much less bold than the article makes them out to be.

adamdusty··on Libreddit: Private front-end for Reddit written in Rust
> This being written in Rust tells me it's probably going to be fast/lightweight. Go would be a similar expectation. If it's written in Rails I'd have different expectations. Python or Node might fall somewhere in the middle.

Which is exactly why the language doesn't matter. It being written in rust doesn't tell you anything, and serves only to evoke some predisposition you have for rust. There's nothing in rust that stops users from writing horrible algorithms. This reddit front end could send separate requests for every letter it loads for all you know.

adamdusty··on Maintain It with Zig
You wouldn't because you already know Rust. The mental overhead of Zig is essentially zero if you already know C. Also, generics and other syntax is cleaner in my opinion, but that doesn't matter that much.
adamdusty··on Maintain It with Zig
The build system for zig is essentially the same as CMAKE just in Zig and entirely undocumented.
adamdusty··on Libreddit: Private front-end for Reddit written in Rust
Because it being written in rust is only added to the title to attract the attention of evangelists. The rest of us don't care what its written in.
adamdusty··on A big hurdle to fixing the chip shortage: substrates
The margin isn't high enough on substrates to make buying and maintaining the process worth it.
adamdusty··on Why can an ad break the Windows 11 desktop and taskbar?
She can do whatever she wants with her stuff. I told her I could run it back for her if she wanted when I saw she was on 11 but she said she liked it.
adamdusty··on Why can an ad break the Windows 11 desktop and taskbar?
This happened to my girlfriend's laptop that she uses for school. By the time they released this fix I had already backed up what she needed, wiped the SSD, and installed a clean version of windows 10. After that, we'll both be on windows 10 as long as possible.
adamdusty··on Nuitka: An extremely compatible Python compiler
He is pointing out that it isn't necessarily a constraint, just an improvement of the product by using more performant systems.
adamdusty··on China has forbidden under-18s from playing games for more than three hours/week
It's a human right to play online video games?
adamdusty··on Portal Windows for Electron
Users don't care anymore. Phones have 12GB of RAM. A $500 laptop will have plenty of RAM, CPU power, and storage for the average user to not even notice anything. HN and reddit are the only ones who can't seem to grasp the idea that it's not 1995 anymore, and apps taking even 1-2 GB of RAM isn't that big of a deal for the average user.

Do I want my CAD software as an electron app. Obviously not, but for most applications electron is just as good an option as anything else.

adamdusty··on Show HN: Duedilly.io – Accuracy of Reddit Trading Ideas
Among themselves? Why wouldn't they? No one is obligated to participate.
adamdusty··on Where are the robotic bricklayers?
We have not automated driving. Phoenix is step one but there are parts of the world that get weather other than sunshine. Yeah those cars are cool, but the roads in Phoenix are better than any other major city in the US, the weather is binary, sun or rain, the city is modern, and the stop lights communicate with audi (I think its audi) cars and you can see when it's going to turn green on the instrument display. Phoenix is the absolute ideal place for self-driving cars. Again, its a great achievement. They are doing great work, but I think it's a stretch to make the general statement that we've automated driving.
adamdusty··on Zig cc: A drop-in replacement for GCC/Clang (2020)
I think LLVM will still be required for release builds.
adamdusty··on Master’s degrees are the second biggest scam in higher education?
One of the admission requirements is that your company sponsors you as outstanding with potential within the organization. Another requirement is that you are already or will soon be an executive. This makes me assume the salary increase is due to the fact that they only accept people that are positioned to get big salary increases.

Also the fees page suggests that it costs at minimum, 550k, and if I'm reading it correctly, 1.5m.

https://emba.hkust.edu.hk/admissions/fees/

adamdusty··on Physically Based Rendering in Filament
Without looking at the code, I doubt it. Real-time reflections are generally done with offscreen rendering and cube maps. The objects being reflected are still rendered, you just can't see them because they aren't in the projection/view space.
adamdusty··on GOP Rep. on cyber committee dumped MSFT shortly before $10B contract scrapped
The article glosses over huge details. It sounds like he bought options back in May and some time between May 26 and June 21, he used the position to sell an options contract which the buyer exercised on June 21. I'm not highly educated on the market, but it doesn't seem that unusual to me.
adamdusty··on Germany fines YouTube for removing video of anti-lockdown protest
I don't think it's unreasonable for companies with publicly available communication platforms be required to abide by laws in the countries they make those platforms available in. If youtube decided that they would host videos in germany on an invite only basis, it would be different.
adamdusty··on All public GitHub code was used in training Copilot
I'm more surprised that people don't care about the telemetry aspect. It's an extension that sends your code to an MS service, and MS promises access is on a need-to-know basis.

I don't care if MS copies my hobby projects exactly, but I'm not sure my employer(defense contractor) would even be allowed to use a tool like this.

I think it looks cool though. I will probably try it out if it is ever available for free and works for the languages I use.

adamdusty··on Libgccjit AOT Codegen for Rustc
As far as I can tell, yes. There is a "GPL licensed" footer at the bottom of the libgccjit page[0].

[0]: https://gcc.gnu.org/wiki/JIT

adamdusty··on The State of Python Packaging in 2021
Python package management is one of the reasons I can't stand using the language. I'm a self taught developer, and I mostly make specific tools for my coworkers to analyze data and keep track of production manufacturing. When I pick up a language, the last thing I want to do is fight the package manager, especially on distribution. I'm also not fond of how pipenv, an inferior tool to poetry, gets pushed by PyPA seemingly due to the creators involvement with the PSF, but that's just my opinion/speculation.

Rust package manager is good. C# with dotnet cli is by far my favorite set of tools, however I do wish you could publish nuget packages as source libraries.

adamdusty··on Bring back menus, QR codes are terrible
The article gives reasons why it is an imperfect solution.
← PreviousPage 4 of 6Next →