HNHacker News
TopNewBestAskShowJobs

bradford

988 karma · joined May 20, 2009

submissionscomments
bradford··on Redesigned Notepad for Windows 11
Those applications are absolutely not suitable for text editing because they have a tendency to mangle the text encoding and other CR/LF characters.

(I generally don't think it's too odd for an OS to ship with a text editor of some kind. I don't use notepad much but there are a few times that it's been a life saver.)

bradford··on The Next ‘Lab Leak’
China has routinely been opaque, blocking investigations over all sorts of things. I don't like it either but I think it's premature to use it as evidence of malice on China's part.
bradford··on Part of Windows 11 is a revamped Windows Subsystem for Linux
thanks! last time I checked it required installation of beta drivers which wasn't something I was very excited about doing.
bradford··on Part of Windows 11 is a revamped Windows Subsystem for Linux
I was a bit disappointed when I tried using a package in WSL and found that CUDA wasn't supported.

It wasn't entirely clear from from the article, but I hope these updates fix that.

bradford··on New Microsoft Study of 60k Employees: Remote Work Threatens Innovation
MS Employee here, and, on a personal level, I'm absolutely feeling a lack of creativity.

Although, I'm not sure it's due to the lack of hallway/water-cooler conversations. I personally feel that I have less time to unconsciously process my problem space (specifically during my transit commute).

bradford··on Pausing “Instagram Kids” and building parental supervision tools
> "teach them that why and how it's bad so they themselves keep a distance. My parents did his very effectively with me and my siblings"

Perhaps your situation is far from universal, and you are fallacious in assuming that it will work broadly?

I remember being younger, before kids, and I thought "ah, if my children ever misbehave, I'll just logically explain why they should behave differently". It was naïve of me then to assume this would work. I was biased by my own experiences.

It didn't occur to me how irrational any individual might be, and the situation is worse now, with corporations better adept at exploiting that irrationality as part of their business model.

bradford··on China has forbidden under-18s from playing games for more than three hours/week
There's an obvious pattern where every generation has had their activities scrutinized (and often feared) by the parent generation, and the scrutiny/fear is usually not justifiable.

That said, a pattern is a pattern until it isn't, and I think it's fair to ask what criteria you'd use to evaluate the cost/benefit of some activity on a cohort of individuals that lack a fully developed frontal lobe.

Some questions going through my mind as I've witnessed my children during quarantine:

1. Does the activity negatively impact the individuals ability to satisfy other obligations (academic, fiscal, personal-care, etc)?

2. Does the activity require only a shared interest, or is active participation required? if the latter, what's the time demand of the participation?

3. If the individual ceases the activity, will they maintain relationships with the individuals they participated with?

4. Can proficiency in the activity translate to other endeavors?

5. does the idea of taking a break from the activity cause anxiety or stress?

I let my kids play the games because I want them to have some autonomy, but online games in particular result in greater negative answers for these questions than other activities (including offline games).

Curious about your observations... do you find there's no difference between online vs. offline?

bradford··on China has forbidden under-18s from playing games for more than three hours/week
both online/offline games can skew your internal reward/reinforcement system, but online games have a kind of social pressure that I just don't see with offline.

Social circles are established around online gaming; my teenager feels like he's letting his friends down if he doesn't spend enough time with 'The Clan'. His 'membership' with the group is at risk if he doesn't contribute his time.

It's made life somewhat difficult as a parent, to say the least.

bradford··on U.S. Officials in Germany Hit by Havana Syndrome
Were that the case, I think the NSA/CIA would have been able to figure it out.

[I'm a bit baffled by the comments that are simply assuming incompetence from these organizations.]

bradford··on Modern SQL
Great post: I found the problem/solution approach super helpful. I've used some of the more recent features, but have missed grouping sets, recursive CTEs, and MATCH_RECOGNIZE. hope to put these in application someday.
bradford··on U.S. and key allies accuse China of Microsoft Exchange cyberattacks
Everything you said would be true if today's accusations were a pretext for armed conflict, but I don't believe we've reached that level of escalation. Do you?

Accordingly, I don't find comparison to prior wars helpful for discussion. Obviously opinions here may differ...

bradford··on U.S. and key allies accuse China of Microsoft Exchange cyberattacks
I'd ask that we be more thoughtful on this and evaluate separate allegations on their own merits. Why do you think invoking Cheney's statement is relevant to this discussion?

As an aside, I'm not sure what's more frustrating:

Witnessing the Bush administration circa 2001-2004 be called out on these lies, by numerous entities, and still march inexorably toward armed conflict, or...

having to witness these lies being used to disingenuously discredit any future allegations made by the US.

bradford··on Global minimum corporate tax: 130 nations to support U.S. proposal
> it sounds great to say, "Make the corporations pay their share!"

the Global minimum tax rate is only tangentially related to the 'make corporations pay their share' problem. The real problem is a 'race to the bottom' where corporations will shop around and put tax headquarters in the country with the smallest tax rate (i.e., Ireland).

> I suspect in most cases the tax burden is just shifted

The big question for me is: is it really a significant tax burden? or do the companies choose nations with the lowest tax rate because they are seeking a competitive advantage, and thereby inducing all their competitors to make a similiar choice?

the minimum tax rate is trying to level the playing field in this regard.

bradford··on The media's lab leak fiasco
> funding for research that created this virus?

The very question demonstrates part of the problem here: there are ways that it could have been 'released' by the lab without being 'created' in the lab (or any lab). It's not clear to me that people are aware of this when the lab origin theory is discussed. Please don't prematurely make an assumption about what was going on in the lab.

It's possible that some researcher went into a cave, took some biological samples from bats back to the lab. Thereafter, lack of proper protocol led to an infection that resulted in the pandemic.

Embarrassing for China? yes, and I'd imagine they'd want to cover it up (although such accidents have happened at other worldwide facilities).

bradford··on Florida governor signs bill to ban Big Tech 'deplatforming'
> If there was a healthier and broader marketplace of forums that people spoke on,

> 99% of all political discourse is concentrated on a single digit number of social media platforms,

let's not blur discourse from the banned candidate/politician with discourse by the population at large.

Any candidate could be banned from Twitter, but that doesn't stop discussion about said candidate on any platform. The candidate can still respond on other platforms and subsequent discussion can still ensue.

I can only guess Florida's motivation on this is but I have a hard time believing that protection from election influence is the primary factor.

bradford··on Florida governor signs bill to ban Big Tech 'deplatforming'
I don't see it pointed out in this article, but the de-platforming ban appears to be limited to state political candidates:

"The new law will ... impose fines of $250,000 per day on any social media company that de-platforms candidates running for statewide office. It would also impose a $25,000 a day fine on companies that de-platform candidates running for local offices. ... DeSantis said any Floridian can block a candidate they don’t want to see online and it’s not up to Big Tech companies to make those decisions for the public."

Seems odd to take such a moral stand on this issue, but only offer protection to political candidates/politicians.

(from https://nbc-2.com/news/state/2021/05/24/desantis-signs-bill-...)

bradford··on Bird song sonographs show distinct drawing patterns
> Which is akin to dragging a single finger across different piano keys. Only a single frequency, or note, played at a time.

I think there's a key difference.

Assuming this is the spectrogram of single note being played on the Piano (https://soundshader.github.io/hss/gallery/piano/2.jpg) (which I can't be certain of, since the audio sample wasn't provided). Seems like a single piano note fires on multiple frequencies, and our ear 'aggregates' them so we hear it as a single note.

Songbird belts out a single frequency at each point in time. We still hear a single note but there's nothing to aggregate.

At least that's my interpretation of the parent comments. Again, can't be sure.

bradford··on Flu has disappeared worldwide during the Covid pandemic
We were warned of bad outcomes if precautions weren't taken. Precautions were taken, and the worst outcomes were avoided. This doesn't invalidate the prior warning.

I don't want to assume bad intentions on your part but I'm not really sure what you want us to conclude from these posts... elaborate?

bradford··on Association of sleep duration in middle and old age with incidence of dementia
I'd add tobacco use and UV exposure to that list (anecdotal of course).
bradford··on Include-what-you-use: A tool to analyze includes in C and C++ source files
Curious, I was under the impression that ctags offers a 'jump to definition' functionality, but little more. (i.e., 'find all references' isn't supported).

Is that correct? Do you use if for functionality beyond the 'jump to definition/jump back to previous context'?

bradford··on Include-what-you-use: A tool to analyze includes in C and C++ source files
Thanks! I read about using LSP/Clangd with vim via [coc](https://github.com/clangd/coc-clangd) and I think that's the path I'll try going down.

Other responses, thanks for your input. Just want to clarify that I have tried VS and VSCode with limited success (sometimes search works, sometimes it doesn't, and my biggest gripe is an occasional lack of transparency into what's going on under the cover). I think any solution is going to require some investment on my part and LSP sounds like a good investment.

bradford··on Include-what-you-use: A tool to analyze includes in C and C++ source files
semi related, but I'm coming back to C++ after a long hiatus (15 years). I realize this is probably a newb question...

The code base I'm working in is very large and I have a recurring problem where I see a term (class/variable/etc) being used in a cpp file, and want to know which header file contains the definition.

What's the quickest, easiest way to do this?

I've been using grep, but the size of the code base, combined with the large number of #includes in each cpp file, makes this inefficient.

I believe I can use ctags/vim, but I last used that circa 2000 and I'm curious to know what other static analysis solutions have cropped up since then.

Does IWYU address this scenario? I'm using clang as a compiler if that's at all relevant.

bradford··on Ask HN: What are some “10x” software product innovations you have experienced?
Reading your comment (and replies to) is a bit interesting because I almost never see an admission that Linux is anything but gods gift to humanity. (yes, I exaggerate, bot not too much). It's nice to see more reflection and honesty about various annoyances that came with it.

I remember being told (circa 2005) that my PC issues would be resolved if I just switched from Windows to Linux.

I tried Linux a few times back then, and it never stuck. I would hit some small issue that I couldn't solve and eventually I'd give up and go back to Window (which certainly had its own problems, but I wasn't under any illusion that it was a flawless)

I use Linux more now (mostly as part of WSL) and I really enjoy it when I get to use it.

bradford··on 5k Year Old Bog Oak Table: Digging up 4k-year-old trees for furniture
> Can't it be manufactured to the same beauty using wood from today's trees?

I work with wood, and I'd like to think the answer is yes. While bog oak does have a special beauty to it (I can't think of another wood that's similar), most wood species have their own special qualities, and I wouldn't say that bog oak is inherently any more beautiful than walnut/cherry or many other varieties.

Bog oak is notable for its rarity and difficulty in handling. This drives up the cost and makes it coveted. But beauty really is in the eye of the beholder.

bradford··on Blender 2.92
It's hard to say. Blender has a very rich feature set and it's not easy knowing if it will be relevant for your role.

I picked it up as a hobbyist/artist and I really enjoyed it. I haven't used the modelling capabilities in my day-job, but I have used the video-editing capabilities to make instructional videos that were useful in my day-job. For that alone I'm glad that I picked it up.

bradford··on Show HN: I wrote a book about using data science to solve “everyday” problems
I'd love to see a few sample pages from the book (in addition to the snippets that were on the page you linked to).
bradford··on Letters from House members to cable providers [pdf]
> Whether it's "inflammatory" speech or "misinformation"--these rules will not be applied even-handedly.

When one source of disinformation has a contribution to negative outcomes, It's going to draw more scrutiny. As long as that happens regardless of content-origin, it's the kind of even-handedness that I'd hope for.

You mention Maddow, and, while I don't watch her, If her show's content possibly contributed to a putsch, I'd hope that someone would look into it.

Media has been full of crazy for decades now and authorities typically look the other way until some significant event occurs. January 6th was very significant, and if Fox/oann/newsmax had a role in it, I'd like to know. Bringing up Maddow and other opinion sources seem like whataboutism here.

bradford··on Parler is back online after a month of downtime
A phone isn't being used alone though. It's just one part of a 2FA system, right?
bradford··on My preferred .NET console stack
> This looks like a hefty amount of boilerplate to achieve practically nothing.

I have yet to find a good way to avoid boilerplate in handling command line input on my console applications.

My naïve self feels that it should be standard, and yet every console application operates with different nuances. It's also a part of code that I see a disproportionate amount of bugs/feedback on (for sufficiently complicated programs). I see developers consistently underestimate the work required on handling command-line input.

I don't think this guys solution is a silver bullet but I'm happy to see the methods.

bradford··on Infosec implications of the US Capitol physical breach
I've watched the video and I agree. My take:

there's a large security perimeter that's already been breached, and the video shows one chokepoint of the perimeter that hasn't yet been breached.

The officers at that checkpoint know what the situation is: They aren't going to do any good in an open space surrounded by a mob of thousands. They are moving back to a more defensible position (presumably where they can buy time to evacuate the Congress floors). They are calmly walking because breaking into a jog could incite the mob further.

I don't see them opening the gates.

← PreviousPage 3 of 8Next →