HNHacker News
TopNewBestAskShowJobs

bumblebritches5

17 karma · joined March 18, 2015

submissionscomments
bumblebritches5··on 40% of Google users now connect via IPv6
What's the point of Starlink?

with 4G/5G home internet, there's no real point anymore.

bumblebritches5··on When I was labeled a ‘troubled’ teen, I obliged
Sounds like the rich kid version of me.

Parents students and teachers treated me like shit throughout elementary school, went to a new school and decided I wasn't gonna take it anymore.

Started misbehaving and getting suspended literally all the time, had over 400 disciplinary actions on my school recorded, got expelled from a few schools then expelled from the whole district, as in they just wouldn't let me go to that high school at all...

Turned myself around after choking my sister when I was 15 and damn near got arrested for it.

As in, I was sitting in the back of a cop car, not handcuffed but they patted me down, bawling my eyes out.

Thankfully my sister didn't say a word to the cop and that's when I decided I had to change.

bumblebritches5··on Android 13 virtualization lets Pixel 6 run Windows 11, Linux distributions
This is about Fuchsia.

First Google is gonna run Fuchsia on Linux, then linux will be removed entirely.

that's what this laying the groundwork for.

bumblebritches5··on Upgrading a motherboard’s BIOS/UEFI (the hard way)
I had a similar issue like 5 years ago.

I just called up ASUS and shipped the board to them, I paid the shipping cost and they reprogrammed the BIOS for free, besides shipping.

bumblebritches5··on Type-Safe Printf for C
> - I wanted a form to register new types, so it could work for user-defined types;

> - the C pre-processor knows nothing about lists that can be expanded multiple times;

I'm actually working on both features as Clang extensions.

#repeat, a preprocessor directive to loop, can be combined with _Pragma(push_macro/pop_macro) to create lists by redefining a macro.

and currently #increment, though I think I want to expand on this so that other macros can be redefined more easily to create lists via push/pop macro.

The reason push_macro/pop_macro pragmas can't work, is the macro has to be undefined and redefined, and the value then pushed onto a stack in the compiler.

and you can't redefine a macro in the body of another macro directly.

so I've been thinking about maybe a _Pragma(redefine_macro(MacroToRedefine, NewValueForRedefinedMacro))

but I don't want it to be limited to the _Pragma area of the compiler, I want it to be eventually standardized.

I've been talking to a friend at WG14 who suggested making it a "Preprocessor Expression, like `__has_c_attribute` and `defined()`

So that's the area I've been working on recently for the Increment/Redefine PE lately.

bumblebritches5··on Ask HN: Best way to prepare a codebase for open-source?
To remove secrets you can use git filter-repo to rewrite commits
bumblebritches5··on Intel C/C++ compilers complete adoption of LLVM
Not anymore, they changed that in the last few years
bumblebritches5··on Senators introduce bipartisan antitrust bill to promote app store competition
Yes, third party app stores are mentioned explicitly.
bumblebritches5··on United States vs. Google
Except Google didn't build those things except search.

They bought Android in 2005, Youtube in 2004? and all of their other, non-search successes.

bumblebritches5··on Statement Regarding the Zen Programming Language
Xcode dev here, I have a certificate with a free account.

You only need to pay for it if you distribute your app on the app store.

bumblebritches5··on C’s Biggest Mistake (2009)
Walter, I honestly just can't trust your judgement on the future of C or C++, because all I ever see is you pushing D anytime you comment.

This seems like just another gimmick to push D tbh.

bumblebritches5··on Massacring C Pointers (2018)
that's a K&R style function definition.

modern syntax is:

    char *Combine(char *S, char *T) {

        ...
    }
which means the Combine function returns a string (char pointer), and takes as arguments two strings, S and T.
bumblebritches5··on Modern C
I've lately been getting segmentation faults for not casting math with diff signs, so pretty much anything can cause it.
bumblebritches5··on Modern C
Jens Gustedt wrote this, he's very involved in ISO WG14, the group that creates the C standard.
bumblebritches5··on Ask HN: Who is hiring? (September 2020)
Is remote an option? I've got 5 months left of my lease in Portland, moving isnt an option.
bumblebritches5··on Ask HN: Who wants to be hired? (September 2020)
Location: Portland, Oregon.

Remote: It'd be nice, but not a must have.

Willing to relocate: No, I just moved here from Michigan a month ago.

Technologies: C, C++, Shell Scripting (Bash), Probably other things I've forgotten about.

GitHub: https://github.com/MarcusJohnson91

LinkedIn: https://www.linkedin.com/in/MarcusJohnson91

bumblebritches5··on Convicted of sex crimes, but with no victims
Uh, in 6th grade a theater worker mistook me for a college student, and he was about college age...
bumblebritches5··on Tell HN: C Experts Panel – Ask us anything about C
I taught myself C from just reading code and trying to contribute to a few projects right out of high school, no books, no school.

So I don't think C has a very high learning curve, C++ on the other hand...

bumblebritches5··on Tell HN: C Experts Panel – Ask us anything about C
Looks like that proposal is dropping support for K&R function declarations, is that right?
bumblebritches5··on Tell HN: C Experts Panel – Ask us anything about C
Hey guys,

How likely would the standard be to accept a proposal to add compile time reflection to the preprocessor, or even adopt C++'s constexpr?

My use case is creating a global array in a header from static compound literals in multiple source files at compile time, and outside of some crazy clang-tblgen type solution, or very platform specific linker hacks, it's completely unsupported by C.

bumblebritches5··on Checkm8 – Bootrom exploit for many iOS devices
Do you have iBoot's source code from the leak a while back?
bumblebritches5··on LLVM 9.0
Inline assembly is part of the C11 standard as Asm("assembly goes here")
bumblebritches5··on C2x: the next real revision of the C standard
u8 exists for string constants, but not character constants.

they're proposing to add u8 as a character constant prefix.

bumblebritches5··on Axolotl Genome Slowly Yields Secrets of Limb Regrowth
I just looked up how large the human genome is in bits (when the 4 bases are packed into 2 bits per base) the size of our genome is about 770MB.

Is the Axolotl's genome really 42.5 times larger than ours?

bumblebritches5··on How long would it take to create a Windows 1.0 capable machine from scratch?
> Oh, so it's a BOM?

Kinda? It isn't limited to just the byte order tho, but I can see it.

> Why integrate it into the code unit if you're only going to have one of them?

There would be multiple code units, just 1 of the mini headers/BOM.

With that comment I was trying to contrast it to UTF-8 which has those 2 leading bits of the continuation code units set to `0b10`, it wouldn't have that.

bumblebritches5··on How long would it take to create a Windows 1.0 capable machine from scratch?
That's precisely what I meant with your UCS-2 comment.

What do you mean by variable width? the 4 bit header would be limited to the first code unit, the following ones would just be pure codepoint values.

and that's a good point, I as picturing it as the top 4 bits that describe the format, so the header's byte order would be field, but the actual codepoint value would be encoded with whatever byte and bit order the header indicated.

bumblebritches5··on How long would it take to create a Windows 1.0 capable machine from scratch?
because it's the top 4 bits... you read that as a byte, then read X bits more to get the rest of the code unit.

yup and yup.

UTF-8 is capped at 21 bits, theoretically it can support up to 6, but it's not allowed to because of UTF-16.

This format would allow 28 bits to be encoded as 8, 16, and 32 bit code units.

There would be no surrogate pair nonsense, simply write all the non-leading-zero bits into as many code units you need as well as the 4 bit header, and you're good.

I'm not saying it'll ever happen, I know it won't, but if we could go back in time...

bumblebritches5··on How long would it take to create a Windows 1.0 capable machine from scratch?
the code unit size, byte order, and how many code units are in that codepoint.

you can fit all of that information into 4 bits when you just care about minimizing the size of that mini header.

I know that, because I got bored and made up a quick proposal on it, not that I expect anyone else to even look at it.

bumblebritches5··on How long would it take to create a Windows 1.0 capable machine from scratch?
Nah, fuck 8 bit code pages in general.

have it use Unicode line endings (or, if Unicode has to be recreated, do IT right, and have it use 28 bits for codepoints and 2 bits describing the format).

bumblebritches5··on Validating UTF-8 strings using as little as 0.7 cycles per byte
HTTP headers are not anywhere near 1kb of text.

the packet's themselves are only 1.5kb.

Page 1 of 2Next →