HNHacker News
TopNewBestAskShowJobs

aninteger

915 karma · joined June 9, 2011

submissionscomments
aninteger··on Retrofitting spatial safety to lines of C++
Meh.. I kind of don't think so. The reason you and I keep ending up on haveibeenpwned has likely nothing to do with Rust or C++.
aninteger··on JSON for Classic C++
> This library supports building with C++11. I haven't tried compiling it with an older standard, but I imagine it might work.

I believe it does require C++11, due to std::nullptr_t and r-value references (&&), but that might be it. It's not a show stopper though since everyone should have a c++11 compiler now (even Ubuntu 14.04 LTS, which still has paid support I believe).

> One thing I like about the C++11 compilers like GCC 4.9 is they build code magnificently faster than recent editions

Kind of reminds me of gcc 2.95 which people kept around for the compiler speed. They would use gcc 3.x for the warning support and then compile with gcc 2.95 after fixing the warnings :).

aninteger··on US Interest Burden Hits 28-Year High
It's not working great for Japan either. Kyoto is practically bankrupt. Inflation unbearable for Japanese citizens. Wages stagnant. With aging population and low birth rates I don't see how or when it gets better anytime soon for them.
aninteger··on Rust panics under the hood, and implementing them in .NET
The lack of a debugger (except for Microsoft's propriety one in VS Code) probably limits the language a bit on open source operating systems.
aninteger··on Rust panics under the hood, and implementing them in .NET
> Nowadays CLR almost feels to have changed into C# Language Runtime, given the C# centric decision on modern .NET design.

Definitely! VB.Net is basically "dead" and F# will never really reach critical mass.

aninteger··on Window Maker: X11 window manager with the look and feel of the NeXTSTEP UI
This is mentioned in the WINGs documentation here: https://www.windowmaker.org/docs/wings.html

Also I was under the impression that GNUstep's Wayland support was experimental at best. I believe it's very incomplete, at least that's what the readme says: https://github.com/gnustep/libs-back/tree/master/Source/wayl...

aninteger··on The U.S. wanted to knock down Huawei. It's only getting stronger
Not in the military at all. The military asks for an exception each year.

https://www.lightreading.com/security/the-us-is-moving-very-...

aninteger··on Llama 3.1 in C
> My cat is funny. "Funny cat," I say, walking up to it. "What are you up to?" It sits up straight and looks at me with a tilted head, as if to say, "What's wrong with you?" Sometimes I just have to laugh at how funny a cat can be. So I say, "Okay, you're funny. I'll give you some treats." It stretches out a little and I give it some treats. It eats them up quickly and starts

This is kind of like 3rd grade English. What would be required to go beyond that?

aninteger··on CrowdStrike debacle provides road map of American vulnerabilities to adversaries
We're all waiting for your anti-malware Rust Win32 kernel module...

Ok, but seriously I don't believe this will ever happen and I don't really think this is a language debate nor do I want to engage in one.

This is about putting critical infrastructure connected to the internet that's running an operating system that you can't trust out of the box. Since the Windows OS is susceptible to so much malware you need all these third party services (which you also can't trust or audit, but it's absolutely better than not having anything) on top of the OS.

There was a whole host of companies that had zero problems, not because they're using Rust, but because they have much better security practices and quality infosec employees.

aninteger··on What we should do about the mentally ill homeless
As a country we're already trying this in NYC with the migrants. Some are given homes in shelters and others in local hotels. I believe some receive a small stipend (according to Newsweek a family of four can receive $1400).

It's not a perfect system, but it's better than leaving them homeless. Maybe it's the model we need to follow for our own homeless.

aninteger··on U++ – Cross-Platform App Development Framework
I attempted to use this in the past but ran into problems (it could be time to revisit it though).

1. It's pretty tightly integrated with their custom IDE. There was no CMake or Meson or anything else to use another IDE.

2. I ran into a strange issue where menu bars didn't render on a obscure X11 window manager (cwm, the OpenBSD one). Qt, GTK, FLTK Apps had no problem here.

aninteger··on T2 Linux 24.5 Released for 25 architectures
I looked at this T2 distro a few years back, because it still had support for 32-bit PowerPC and Debian discontinued support for that with Debian Stretch (I believe Debian Jessie was the last one to support PowerPC). I was using a MacMini (with PowerPC) and didn't really enjoy compiling complex software on that machine as it only has 256 MB of ram and still used a spinning disk HDD (instead of a SSD). The hardware finally died a few years ago, but at that time I would only consider distros or versions of Unix with binary packages which left me with Debian and OpenBSD (and maybe NetBSD?).
aninteger··on T2 Linux 24.5 Released for 25 architectures
This is good, but what would be great is binary packages for those 25 architectures.
aninteger··on Show HN: Brutalist Hacker News – A HN reader inspired by brutalist web design
Kind of like a Craigslist (CSS style / layout) + HN (which actually might be pretty awesome).
aninteger··on How to Structure C Projects: These Best Practices Worked for Me
I've always preferred Stephen Brennan's approach mentioned here: https://brennan.io/2020/05/08/meson/

This is the approach I take with my C and C++ projects, although I've swapped meson out for CMake. I still have my CMake projects generate pkg-config files as well so that I don't force CMake on any consuming projects (just because I suffered with CMake doesn't mean you have to, although you can as well :))

aninteger··on Apple is turning William Gibson's Neuromancer into a TV series
I really enjoyed the Neuromancer book so hopefully Apple can make something of quality. Unfortunately, I can't say the same for The Peripheral, which was an ok book, but got a strange TV show adaptation (and I wasn't surprised at all to see it get cancelled after one season).
aninteger··on The Real-World Locations of 14 Sci-Fi Dystopias (2014)
While I'm terrible at predicting the future, I find this hard to believe. I think screening your DNA is something maybe upper/middle class parents might do. I do not believe it is being done by those that cannot afford it.
aninteger··on Oregon pioneered a radical drug policy. Now it's reconsidering.
> Mendenhall said people are pointing at Measure 110 and saying it's the reason for Oregon's problems, "when in reality it is our decades-long, underbuilt system of behavioral health, substance use disorders, shelter and affordable housing – that are the primary drivers."

Ok, sure but if you can't expect the decades-long, underbuilt system of behavioral health to change quickly they may have to rollback/repeal measure 110.

I'm glad measure 110 allowed them to build a 16 bed detox center, but it seems like building those is also a "decades-long" process (?). A quote in the article indicates that one person "drove 250 miles from Eastern Oregon to Recovery Works because it's where she was able to get a bed". I am happy that she was able to get treatment but this also seams to indicate that the treatment options are underbuilt.

The other major problem is getting people to make the decision to voluntarily use them. I don't know how they solve that...

aninteger··on .NET on Linux: What a Contrast
They have attempted to remove it here but Docker really works much better when WSL2 is present (or maybe Docker and WSL2 share the same technology underneath). My employer has been trying to remove docker as well but it's sort of a requirement for development.
aninteger··on Wine 9.0 RC5 – Run Windows Applications on Linux, BSD, Solaris and macOS
IDA Pro Free version (5.x). I use it because I'm more familiar with it than Ghidra.
aninteger··on Before-and-after images show how Greenland's glaciers have rapidly retreated
This reminds me of the story Alaska Public Media ran about the Mendenhall glacier also receding so quickly it might be gone by 2050 [1].

[1] https://alaskapublic.org/2023/08/07/crammed-with-tourists-ju...

aninteger··on Archive your old projects
> Be neat to get a little VM up on my site running some of these but I suspect it might be a pretty large undertaking.

It might not be too bad. I feel like there are a lot of little web assembly projects running on various sites that you could easily use. For a retro project I am working on I needed the MASM 5.00 reference manual and the site had PCjs running on it. Archive.org has there own web assembly emulator as well.

aninteger··on ReactOS Newsletter 103 – Late 2023 News
> It's probably a good space for someone to start from scratch and make a competing NT implementation.

It's certainly not competing but SerenityOS probably has more mind share and development than ReactOS. However I do not know how well Serenity runs on real hardware or if that's even the focus. Overall Serenity has a similar aesthetic without the backwards win32 compatibility. Maybe someone will port wine to SerenityOS...

aninteger··on Stars have vanished without a trace. where did they go?
They clearly went to GitHub ;).
aninteger··on Parents are teaming up to delay their children's first cell phone
It's more about reducing the peer pressure that kids feel when their friends have phones.

While it's great for a child to have it in an emergency, these days phones are more likely to be used as a constant stream of TikTok, Reels, or YouTube shorts by children.

aninteger··on Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message
This is news to me and I don't think this is true... or it's maybe hidden away somewhere. I am a Fi subscriber using a Google Pixel phone but YouTube premium is still $13.99/month.
aninteger··on 86Box v4.0
I'd love to see this as well. I think for your purposes you could extend the emulator backed remakes article (which I still reference from time to time) you did a while back.
aninteger··on DOS/4GW made Windows 95 game compatibility easier, but with higher stakes
Not by default, it does require a flag (-za99).
aninteger··on When to invest in marketing
"We Spent $1,500,000 on Ads Without Getting a Single Customer" but they did get the top #1 spot on Hacker News so maybe that's all they wanted? Just wine about spending all this money (poorly) and make a post about it and get free advertising with a trip to the front page of Hacker News.
aninteger··on Windows 9x and Word 9x at 800x600 resolution. Spacious. Comfy
You can get this today again using the FOX toolkit (http://www.fox-toolkit.org/). This is probably my favorite lightweight toolkit. Patches gladly welcomed for a11y and Wayland.
← PreviousPage 2 of 13Next →