HNHacker News
TopNewBestAskShowJobs

CyberRabbi

1,650 karma · joined August 8, 2020

submissionscomments
CyberRabbi··on A Chip to Bridge the USB 2 – USB 3 Divide
> I still regularly panic or oops my kernel with dodgy USB devices

All intuition differences aside, if you are basing your intuition on whether a usb bug is in the kernel based on your experience dealing with dodgy devices, then shouldn’t your intuition agree with mine? Root cause tends to be dodgy hardware

CyberRabbi··on A Chip to Bridge the USB 2 – USB 3 Divide
I’d be willing to bet my life that the kernel’s more than a decade old and globally deployed XHCI implementation is not the cause of his USB issues.

Is it technically possible that usbmon will say that it sent proper data to the device when in fact it didn’t due to a bug in the kernel XHCI stack? Yes it is. Is it likely? very much not.

Usbmon was invented for this exact use case: debugging usb issues under the assumption that there is no fault in the kernel’s usb stack. It should be used before even considering a USB protocol analyzer. Basic intuition tells us it’s a hardware issue, either controller, hub, or device.

CyberRabbi··on Twitter's new Tor onion service
How does the news in the last three weeks refute my comment?
CyberRabbi··on Twitter's new Tor onion service
There are certainly examples of political dissent that are not regularly banned by Twitter but that doesn’t negate the fact that there are also examples of political dissent that are regularly banned by Twitter, which is the point of the OP.
CyberRabbi··on A Chip to Bridge the USB 2 – USB 3 Divide
Whether it’s the device or the host controller is irrelevant here. The OP claimed the fault was in the kernel’s XHCI implementation. Usbmon is enough To rule out the kernel in vast majority of instances. That is the subject of this thread. No one ever claimed usbmon can differentiate between errors in the host controller or device. “Hardware issue” includes both and does not include the kernel.
CyberRabbi··on Twitter's new Tor onion service
Twitter does not permit tweets that question or invalidate the official information coming out about COVID.

“You may not use Twitter’s services to share false or misleading information about COVID-19 which may lead to harm.”

https://help.twitter.com/en/rules-and-policies/medical-misin...

Only blessed dissent is permitted.

CyberRabbi··on A Chip to Bridge the USB 2 – USB 3 Divide
That’s exactly my point. The OP claimed that the kernel’s XHCI support is faulty, usbmon will rule that out.
CyberRabbi··on Twitter's new Tor onion service
IMO this is not very useful because any speech for which you’d want anonymity will likely be banned on Twitter anyway.

You can jump through the hoops of procuring anonymous email address and phone numbers but in the end Twitter will ban any real political dissent. Cf. Last two years.

CyberRabbi··on A new speed milestone for Chrome
Chrome with only about a dozen tabs open can take up to 16GB of memory. There is no defense for this. It only gets worse as time goes on and as more tabs are opened.

I have 64GB of memory total and about 16-32 of it is in use for virtual machines, which is reasonable.

How much total memory do you expect the average computer to have?

CyberRabbi··on A Chip to Bridge the USB 2 – USB 3 Divide
TBH that sounds like your hardware is bad. I’ve had issues like this and when I did the tcpdump of the usb traffic (using usbmon), the hardware is always malfunctioning in response to correct messages sent by the kernel.
CyberRabbi··on A new speed milestone for Chrome
IMO Chrome desperately needs to minimize its memory usage.
CyberRabbi··on Russians are trying to flee – data from Google Trends
> But hey, keep swallowing that Russian propaganda...

To what exactly are you referring? Everything I wrote in my comment is true. RT is factually banned on Telegram.

CyberRabbi··on Russians are trying to flee – data from Google Trends
Yet RT is still banned on Telegram.
CyberRabbi··on Russians are trying to flee – data from Google Trends
Those are all primarily western platforms. Even if they did show what you are claiming, it wouldn’t prove your point. RT is blocked on Telegram and YouTube for instance.
CyberRabbi··on Why Kreya isn't open source
No one is disputing their involvement with open source. The point has been made and it should be evident to anyone who understands how rational decisions are made.
CyberRabbi··on Why Kreya isn't open source
> Why do you claim that it's a "meaningless statement"?

Because whether or not they “love open source” has no bearing on rationally deciding whether or not they should release one of their products as open source.

The only function of that statement as far as I can tell is to ingratiate themselves to the reader, i.e. “we’re on your team!” That type of desperate signaling communicates a lack of confidence in their rationalization, which in turn makes it seem disingenuous.

CyberRabbi··on Why Kreya isn't open source
> To you, the bar to be able to claim "we love open-source” is to have every single thing you make be open-source?

No, my point is that it’s a meaningless statement in this post and that it diminishes the apparent significance of the rest of the post.

CyberRabbi··on Why Kreya isn't open source
> Might as well just say what they really love which is money.

Thanks for understanding my point. They are just saying they “love open source” to ingratiate themselves to the reader but it’s a meaningless statement because who wouldn’t love free work? The entire article that follows comes off like a long-winded rationalization. They would be better off saying “we don’t open source our product because we don’t want to” I would respect that more and it would save me time.

CyberRabbi··on Show HN: WAPM – WebAssembly Package Manager
With NPM I can install packages, develop with them, and then use webpack to bundle everything into a single JS file. How can I bundle the WAPM packages I install into a single WASM file?

Also is there a way to use the WAPM packages I install from emscripten? How would I import these packages from C?

CyberRabbi··on Why Kreya isn't open source
> First off, we are huge fans of open source projects.

This one sentence makes the whole post come off as disingenuous to me. Who isn’t a fan of free work?

CyberRabbi··on The internet was designed with a narrow waist
Any person regardless of gender can have a narrow waist. A waist is not a gendered body part. https://en.wiktionary.org/wiki/waist
CyberRabbi··on The internet was designed with a narrow waist
Most wireless transmission protocols use generic modulation techniques that in theory can be put together using a software package like GNU Radio.

In theory GNU Radio could be the narrow waist for all wireless transmission protocols. It isn’t practical yet but it’s a possibility. Instead of rewriting a new wireless stack each time we just use GNU radio and specify our specific signal blocks.

The analogy is similar to IR being the compiler’s narrow waist.

CyberRabbi··on As JetBrains we condemn the attacks taking place
> I say this as a person who is 100% against this invasion

Thanks for clearing that up. There are commenters on HN who have a vested interest in Russia taking eastern Ukraine.

CyberRabbi··on As JetBrains we condemn the attacks taking place
JetBrains is one of the bravest developer tools companies in the space. Please support them. Bravo!
CyberRabbi··on Moving the Linux Kernel to Modern C
Wouldn’t it be the normal course of events that infrastructure would be based on decades old established technology…?
CyberRabbi··on Current hardware trends make C++ exceptions harder to justify
I see a difference between bugs and design flaws.
CyberRabbi··on Is C++ Doomed?
I also doubt it
CyberRabbi··on Is C++ Doomed?
Exceptions are the only way. You can workaround this by using static factory methods.

The herbceptions proposal for “deterministic” exceptions addressed this issue well IMO.

CyberRabbi··on Current hardware trends make C++ exceptions harder to justify
> and audio handlers should never lock mutexes yet I have seen my fair share of them in the wild.

They are incorrect. Only bounded-time synchronization primitives can be used. E.g. lock-free queues.

> every thread or event loop should always have a catch-all handler at top level.

Two things. 1) There should be no reason for a properly coded real time audio loop to have a top level handler because exceptions should not be thrown because they cannot be guaranteed to be handled within the necessary time constraints.

2) top level exception handlers divorced from context cannot be handled, only ignored. Ignoring exceptions is very dangerous because there is generally no way for the top level handler to be sure that the rest of the program is in a correct state (unless it knows all code is exception-safe, which is rare). Continuing to run can result in data corruption. Exceptions leaving the context that has the information to handle them is a programming error, just like a failed assertion.

CyberRabbi··on Is C++ Doomed?
His point is that C code often calls into C++ code. This is always incorrect unless the C++ entry point is guaranteed not to throw an exception. This is especially bad since this is not automatically checked by default.
← PreviousPage 5 of 34Next →