HNHacker News
TopNewBestAskShowJobs

novagameco

186 karma · joined December 23, 2023

submissionscomments
novagameco··on The Shen Programming Language
Tip for anyone trying to show off a language: put a hello world or fizz buzz on the front page
novagameco··on Microsoft is ending support for the Windows Subsystem for Android (WSA)
Your phone is still available and really cool. But it mirrors your phone instead of running the apps on your PC
novagameco··on Walmart is migrating the remaining F# code into Java
Mostly client SDKs for different RESTful HTTP APIs
novagameco··on Obsolete Occupations
"Cornjerker"
novagameco··on The Ladybird browser project
I think there are modern frameworks which render everything in webgl/webgpu with the canvas
novagameco··on Why I Live in IRC (2015)
I've tried to get into IRC but the public servers have so many dead channels. On the one channel I did find active someone called me a racial slur because I use Windows.

I wish there were more people using these alternative, somewhat decentralized services that weren't just tech people. Whenever I see some cool new fediverse technology or alternative protocl (e.g gemini), 99% of the conversation is just people talking about the technology itself. I originally joined facebook because I had friends on there, not so we could talk about the tech behind facebook

novagameco··on Zellij: A terminal workspace with batteries included
It's always interesting to me to see CLI users who are so invested in their development environment that they end up recreating the GUI IDEs they so disdain. Like vim users who insist that Jetbrains or VS Code is unnecessary after they configure vim with syntax highlighting, code completion, and gdb support with breakpoints
novagameco··on Apple iPod Shuffle USB interface pinout
I use this one:

https://www.amazon.com/dp/B01LZVDMEL

novagameco··on Apple iPod Shuffle USB interface pinout
I found a cheap MP3 player a couple years ago for like $30 on Amazon. It looks like a 2nd gen iPod nano and takes an SD card slot. I have literally never needed to charge it, the specs are so tiny.
novagameco··on Apple iPod Shuffle USB interface pinout
The build quality looks really cheap. Since it's only a kickstarter, I assume the 3D printed case is only for prototyping, but it doesn't look like it would last very long. For $250 I would expect a much better case than that
novagameco··on WebAssembly Playground
Yeah the problems it is meant to solve are not problems that most frontend developers have. Frontend developers are often constrained by development time and maintainability, not performance. Frontend developers care about expressing their code in the most succinct and maintainable way: how can I do something with the least amount of boilerplate possible? That's why we have frameworks: to standardize common patterns in web development and cut down on the amount of time required to build an application. Most frontend developers are not working on performance-heavy applications that require WASM, they're working on forms which get POST'd directly to an API somewhere that does all the real heavy lifting (or just serves as a CRUD interface to a database)
novagameco··on Bard's latest updates: Access Gemini Pro globally and generate images
Apparently, but when I use Dall-e 3 on OpenAI, the images it generates look like shit. Under-developed, with crappy eyes and hands, the kind of typical mutant stuff you see with AI generated Images. Bing seems to be much better at those types of details out of the box
novagameco··on The M2 is more advanced than it seemed
> It does not integrate at all with the host platform

SDL does in fact make system calls and have OS-specific code (DirectX implementation, Metal implementation), even if most of them don't directly manipulate OS UI controls, though it can initialize a window with a rendering context on any of its OSs.

I feel like you're missing the point that performance matters less than accessibility for UI frameworks. HTML and CSS are the most popular choices because a child can learn them quickly. Native apps aren't as popular because all the frameworks out there require you to be an engineer to use them.

> 1. the idea that it's "easier" simply implies lower understanding of what is being done and that you aren't considering any of the edge cases you still need to handle.

I don't see how that follows at all. HTML is declarative and powers most applications at this point.

> 2. Not sure what to say here, as I don't know your point? it seems more about the type system of your language and not at all related to the ui toolkit

Web browsers are very forgiving with HTML errors, native UI frameworks (especially those which simply convert the markup to imperative statements) often refuse to run entirely if there's a single markup error. A native framework which seeks to become as popular as HTML would need to be as flexible as HTML

> 3. html, css, and the DOM all have a very clear model for how and what a UI is, claiming it isn't means that you haven't apparently spent much time working in any other system. Much like I keep meeting people who say that they don't have an accent, everyone else does

You're not understanding what I'm saying. You can run an ajax request and get some data, but to put that data into the UI would require you to run a query on the dom and manually set the innerHTML of the element to the new data. Some other UI frameworks will force you to bind specific variables or lists to a control in order to auto refresh when the bound variable changes. This is an opinionated framework: one which tells you how to manage updating the UI rather than allowing the developer to do it themselves. Such an opinionated framework would become more difficult for people to learn

> 4. Application development is conceptually complicated unless your application is not doing anything interesting. I'm also curious what makes a browser ui more "simple" than say Cocoa?

I have no experience with cocoa because I don't use a mac, but from what I can tell it requires you to know Objective C and run XCode. HTML requires, at the very least, notepad to write. It is extremely easy to get setup with HTML and start learning it as a lay person.

> 5. Sandboxing is a part of the OS, not the UI framework. All applications on iOS are sandboxed, that vast majority on macOS are.

You would want to make sure that programs written in this framework are sandboxed away from any resources. On Windows this means AppContainers and on Linux there are different implementations (snap, docker). But the host which runs and loads the UI should run all applications sandboxed by default (i.e: like a web browser)

novagameco··on The quiet death of Ello's big dreams
Well my experience with Mastodon has been that it's almost entirely tech people who are joining mastodon for the technical novelty. If every NPR/PBS station launched a social network concurrently, then people would quickly find other people on the platform to connect with
novagameco··on The case for single-stair multifamily
Change the code and it becomes way cheaper to renovate them. Turn them into dormitory style buildings with communal bathrooms and interior apartments with no outward facing windows
novagameco··on The quiet death of Ello's big dreams
I always thought it would be cool if every NPR/PBS station also ran Fediverse nodes of mastodon or whatever the Fediverse version of Facebook is. Would provide a public-funded option with more transparency
novagameco··on Apple's bad faith 27% tax on web purchases
You can easily sideload apps on android with only one setting change. This alone makes Android better than iPhone
novagameco··on Apple's bad faith 27% tax on web purchases
Well the iPhone is a worse device than a flagship android already, so I think it would still remain popular because of the fashion aspect of being an apple user
novagameco··on The M2 is more advanced than it seemed
With an imperative style, you need to learn a programming language before you can start making applications. With HTML, you can start making applications immediately by just writing HTML, and then you can learn the programming language (javascript) later. It's a barrier to entry for non-engineers
novagameco··on The M2 is more advanced than it seemed
It is totally possible to have a "runs on anything" UI framework; it simply has to have bindings for every applicable platform. SDL does this, for example, in 2D Graphics. Java has a few "run anywhere" UI frameworks, and Microsoft has .Net Maui (as well as the 3rd party avalonia UI). The problem with most native frameworks, however, is they are nowhere near as flexible as HTML and CSS (which many pre-teens taught themselves as a way to customize their tumblr and myspace pages). Other frameworks, by comparison, require programming knowledge or more setup than just a text editor (usually requiring an IDE and the rest of your toolchain).

I can see native software making a comeback if it is:

1. Declarative: only software engineers like imperative UI systems

2. Flexible: some frameworks (like any of the XAML-based ones) are strongly typed and you can only combine certain XAML elements with other certain XAML elements, and will fail to compile entirely if you mess something up

3. Unopinionated: HTML, CSS, and Javascript don't require you to implement any particular paradigm for getting data on the screen; that is left up to the coder

4. Dead ass simple: the litmus test is that a 7th grader should be able to learn the basics of it on their own, and the tooling should be ideally no more complicated than a text editor

5. Totally sandboxed: You can't trust 99% of frontend devs with security

The people you need to appeal to are not hardcore software engineers, but hobbyists and newbies, since they end up being the majority of frontend devs anyways.

Honestly I think you could get pretty far with just adding declarative languages (read: XML) to existing native frameworks, like gtk and Win32.

novagameco··on The M2 is more advanced than it seemed
Then nobody will go back to making native apps
novagameco··on The M2 is more advanced than it seemed
Maybe when native languages manage to come up with a single good UI framework
novagameco··on CLI user experience case study
Powershell cmdlets make the CLI really nice to use; you declare the variables in your program parameters and then hitting tab will auto-suggest/auto-complete them for you, and you can generate help docs for each cmdlet as well
novagameco··on Why more PC gaming handhelds should ditch Windows for SteamOS
Within DirectX I like the usage of types compared to OpenGL, where everything is GLuint. I like the explicit management of state and the use of views on resources to bind the same memory to different contexts. I vastly prefer HLSL to GLSL also. I know there's vulkan, but my experience was going to DirectX 11 from OpenGL 3+

Within Win32, it's similar though there's an overuse of HANDLEs. I like initializing things as structs and I like that ComPtrs provide built in memory management. A lot of posix APIs feel underpowered (semantically designed around reading files from tapes), and Microsoft often provides a safe _s version of most of them (Yes, some of which are part of the C standard library and some of which are not). There are various Win32 APIs I like (IOCP, for example), and it's all tied together with MSVC and the static analyzers available to the compiler (SAL). I don't think GCC has anything even close to SAL. I also haven't found a C++ IDE I like nearly as much as Visual Studio. I used to hate jetbrains UI but I actually tried IntelliJ recently and they redesigned the entire thing to be quite nice now, so maybe clion is nice (but I'm not willing to pay for it).

I also VASTLY prefer powershell to bash

novagameco··on Pixar to undergo 20% layoffs in 2024
At the very least, layoffs should be seen as an indication of failure. Sundar Pichai should not be making as much money as he is with the amount of layoffs they did
novagameco··on Twitch layoffs: Amazon-owned livestreaming platform cutting workforce by 35%
Then you'll probably disagree with me when I say that I think the world wide web in general has had a net zero impact on the world. I believe it's had as many positives as negatives. Perhaps if we could've frozen it circa 2005 it would be an overall positive but I'm not convinced it's as good as we all believe it is
novagameco··on Why more PC gaming handhelds should ditch Windows for SteamOS
I'm worried that SteamOS would make Linux to default target and game development platform and that a lot of tooling would shift in the direction of Unix-likes and the Windows + DirectX ecosystem would wither as a result. I want windows to continue to be a good platform for game development and not have to move over to an ecosystem I find really grating
novagameco··on Why more PC gaming handhelds should ditch Windows for SteamOS
I'm not talking about the industry in general, I'm talking about my personal preferences. I like to use C++ with Visual Studio and DirectX. I would hate to find myself in a position where I had to develop everything in Linux for compatibility reasons. I hate the fact that some web dev tools only run on Linux or Mac right now and I have to use WSL2 (bun), I would really hate to see game dev go the same direction. Personally, I like Windows as a platform and I don't go out of my way to target Linux or Mac
novagameco··on Why more PC gaming handhelds should ditch Windows for SteamOS
If compatibility isn't an issue (I have yet to have any compatibility problems with my Steam Deck), I don't see why they shouldn't move to SteamOS. However, I fear a future in which people develop games on Linux targeted directly at SteamOS: I find C++ development to be far better with First party Microsoft tools (Visual Studio, MSVC, DirectX, DirectXTK) than on Linux. I vastly prefer Microsoft style APIs to Linux style APIs (DirectX over OpenGL especially, though Vulkan is ok), and I have yet to find a C++ development environment that I like as much as Visual Studio. With solution files, vcpkg, and project files native to Visual Studio, managing projects and dependencies has become a breeze in Windows. Comparably, few IDEs on Linux provide comparable debugging tools or good UI (CLion being the only one I can think of, though I personally hate most of Jetbrains' UI) and cmake is such a poorly designed tool and syntax to me, I would hate to have to deal with it directly than just having vcpkg manage the builds and dependencies for me (though I think vcpkg is compatible with Linux). I don't mind targeting Linux as a platform via Proton, but I would really hate to have to write Linux specific bindings for a game
novagameco··on Opinion: Why pushing STEM majors is turning out to be a terrible investment
In general, I think it's a bad idea to try to orient our entire education system to push everyone into a job that only 1% of people will end up doing. Instead of teaching python to kindergarteners, we should start specializing students earlier. Rather than having everyone take the same classes up to about the age of 20 (your first 2 years at college being mostly pre-requisites and gen ed), we could adapt strategies from European education systems which allow specialized high schools in the mid-early teens. Even more, I think students should have more control over what they learn and when. The idea that we could push tens of millions of teenagers into the same narrowly focused job and have ALL of them come out with the same good outcome is just educational malpractice.
← PreviousPage 3 of 5Next →