HNHacker News
TopNewBestAskShowJobs

thedracle

298 karma · joined September 17, 2019

submissionscomments
thedracle··on Proposed futex2 allows Linux to mimic the NT kernel for better Wine performance
I mean, the futex2 proposal has been around for over a year.

A lot of the history and discussion can be found here: https://lkml.org/lkml/2021/4/27/1208

I personally feel like the kernel maintainers have been very conservative over the years regarding the introduction of new system calls, but then again I've maybe gotten used to the trauma of being familiar with windows internals.

thedracle··on Modern C++ Won't Save Us (2019)
I think the biggest problem with C++ is the lack of explicit safety requiring you understand the internal mechanisms of how everything works in order to make use of almost anything, combined with extremely high levels of abstraction.

The high levels of abstraction are powerful, but quickly become footguns to the uninitiated (and the initiated alike at times).

> Figuring out how to do something safely can be quite difficult. It can involve solving puzzles, and often involves rewriting things at several levels, especially when threads are involved.

I think this gets to the core of really closing the gap. While the "insider" knowledge of C++ is really understanding the internal workings of these abstractions so you don't do something stupid with memory, the "insider" knowledge of Rust is knowing the specific patterns and routes that will work with the safety features of the language rather than against it for solving various problems.

I can still say for me I spend a lot of time 'exploring' Rust, having the compiler bitch at me, and tweaking things about until they work.

Sometimes it can be extremely frustrating, and given I have the insider knowledge of C++ with 20+ years experience, it's easier for me to just drop in and do exactly what I want to do (because I know it's safe... or at least I think it is ;) )

That being said, I'm very excited for languages like Rust, but there is still a gap of cost/benefit between it and C++ for the time being, at least for my professional use.

thedracle··on Bash-LSP: A language server for Bash
I have used this for years, and I have it mapped to copy into the clipboard on the various OSes I use it on.

I especially like the vim like keybindings for visually selecting text blocks (although some things don't quite work the same).

thedracle··on The case for trailer parks
This is the situation my Dad is in.

He owns the trailer, but the park jacks up the rent. So he's caught behind not being able to afford the cost to move his trailer, and the steadily increasing rent which is slowly driving him further into poverty.

I've tried to help him out of it, but he won't accept any help.

thedracle··on CoScreen: Screen Sharing for Engineers
We use a custom native compositor on both of the current supported operating systems.
thedracle··on CoScreen: Screen Sharing for Engineers
I realize your skepticism to my original answer, but I am 100% earnest about our intentions regarding Linux. It isn't a secondary concern for us, and we know how important it is for engineers.

Most of the developers on our team are avid Linux users.

My previous job was writing eBPF security drivers and device drivers, and I have used Linux for years.

Linux is very near and dear to our hearts, and when I say it's on our roadmap, I mean it.

thedracle··on CoScreen: Screen Sharing for Engineers
"Thanks for taking the time to answer my bad question sincerely!"

No problem! It's actually a great conversation starter.

"With CoScreen, would "hey, can we check the logs real quick?" become as simple as the other peer clicking the window to add it to the session?"

Basically yes, there is a tab that shows above your window.

At the moment we have a shared context space, so your windows have a relative location that is based on the layout of the remote screen.

Ultimately this helps in like the pair programming scenario you make above, but is a weakness in other situations: we are working on a model that will let you break all of the window locations apart, or relatively translate the position of another user's windows wherever you want.

"I'd love to try this out eventually, joining a new team soon and perhaps I can pull it off there if/when pairing needs arise!"

We'd love to hear your feedback. We rely heavily on our community to determine our development path, so please reach out to us when you do, and leave feedback!

thedracle··on CoScreen: Screen Sharing for Engineers
<.< Oh no, my past is catching up with me...
thedracle··on CoScreen: Screen Sharing for Engineers
CTO of CoScreen here.

One of my first forays into video conferencing was programming nTouch Mobile for Sorenson Communications: https://www.sorensonvrs.com/ntouchmobile

Which was a video conferencing application for performing VRS for deaf and hard of hearing users, originally on the first Android G1, and the first iPhone.

I'm extremely interested in accessibility, and I can say seeing people get together, laugh, chat, and play, via nTouch was one of the most fulfilling moments of my life.

People make products greater than the sum of their parts, and if CoScreen could be helpful in one of these avenues, we would love to explore it.

thedracle··on CoScreen: Screen Sharing for Engineers
CTO of CoScreen:

I use TMux/Vim like this, and I totally agree if everyone is using similar tooling, screen/Tmux is good enough for sharing code.

Try CoScreen for non-invasive video/audio chat in that case, and don't use the screen sharing features.

It's made to get completely out of your way, to be persistent in the background.

And if you want to share an emulator, or documentation in Chrome, it's a click away.

Eventually we will build integrations with VSCode livesharing and other IDEs as well.

We want to help developers get things done they way they want to.

thedracle··on CoScreen: Screen Sharing for Engineers
Thanks for the feedback: Ubuntu LTS will definitely be one of our first supported targets.

We hope to provide some universal binary, but ultimately our testing and in-house resources for verification are limited, and we dogfood our solution every single day on every one of our supported platforms.

It will be interesting to see how widely adopted Wayland will become: CoScreen is very dependent on a lot of display server/OS level wizardry that honestly was unexpectedly difficult to achieve.

thedracle··on CoScreen: Screen Sharing for Engineers
CTO of CoScreen here.

I think it's a really good question and not snarky at all.

This is honestly one of the biggest hurdles I think we have towards adoption.

We have bet a lot on the benefits of producing frictionless remote app-level sharing.

At the moment you can share one application, or your entire desktop with other tools. Then there is the friction of allowing sharing, asking for sharing, or even down to just knowing where the remote user's cursor is at.

CoScreen eliminates all of that. Anyone can share any window at any time. You see their shared cursor over your window that is translated into the adjusted coordinate space for that window.

You can be discussing a piece of code, share vim in Alacritty, or iTerm. The remote user looks up some documentation, and immediately shares it with you. Or you have a Android/iOS emulator that you want to immediately preview your work in.

Basically you're working in a shared working space more analogous to what you would experience in the office.

It's a paradigm shift from video conferencing, and traditional screen sharing tools that I think has to be experienced to be understood.

That being said it's going to be a great challenge to make this experience more transparent, and we are actively working on different scaling modes, the ability to move windows independent of remote users, and other concerns that we think will take it to the next level.

Our goal is to facilitate things like pair programming by fading into the background and just letting you continue with your normal workflow while not thinking about the tooling behind it.

thedracle··on CoScreen: Screen Sharing for Engineers
CTO of CoScreen here: It has been a grueling labor of love to get where we are, and there still is a lot of work ahead of us. And we can only acknowledge the shoulders of the giants we obviously stand on, like Doug Engelbart.

Linux is definitely on our roadmap.

We want to know which distros are you most interested in for us to officially support first?

thedracle··on CoScreen: Screen Sharing for Engineers
Coincidentally we're based on 8x8.vc, and good friend with the folks at Jitsi.

It's an amazing product.

We're considering in the future opening up the ability to point CoScreen to your own private Jitsi deployment (Technically this is possible today, but through our unsupported inspector tool).

So your video won't touch any of our infrastructure.

thedracle··on CoScreen: Screen Sharing for Engineers
Venturebeat article on seed round funding, and general public release, including windows:

https://venturebeat.com/2021/03/25/coscreen-exits-stealth-to...

thedracle··on CoScreen exits stealth with $4.6M, multi-user screen sharing for macOS/Windows
We definitely have Screenhero envy at CoScreen here: we have big shoes to fill!
thedracle··on CoScreen exits stealth with $4.6M, multi-user screen sharing for macOS/Windows
Thanks!

CTO of CoScreen here, really looking forward to hearing what you think about it.

thedracle··on ZZT: Epic’s First Game
I downloaded ZZT off a BBS when it came out, and to begin with it wasn't particularly impressive.

I remember switching into edit mode on the 'Town of ZZT', and tweaking the responses of the characters.

I was learning to program with Turbo C++ at the time, and actually it was ZZT's 'OOP' that really helped connect some of the concepts in my brain to what Objects were (although ZZT's objects were really sort of Actors that responded to, and could send messages).

I would come back over the years, and I remember on IRC in 94' there was a pretty vibrant community writing games.

What I loved doing was exploiting various ZZT bugs. You could for instance place the player object next to another object, and the next time the player moved they would warp to the object. You could then 'zap' the player object to release them.

One thing you could do is place a stairway to another level, and place the player object on the stairway, and the player would remain on the original level, but the graphics for the other level would be overlaid on it.

I used this to make an RPG engine, where the ASCII art for different encounters were on these other levels, and there was a special level that would basically clear portions of the ascii art to reveal the selected enemy.

There were all sorts of clever hacks developers came up for checking health by converting it to torches, and back, and all sorts of other crazy things.

thedracle··on JaaS: The team that builds Jitsi can now also run it for you
Jitsi is open source, so you can look at the exact mechanics of their billing counter to answer your question:

It's all orchestrated from here: https://github.com/jitsi/jitsi-meet/blob/master/react/featur...

Which generates the MAU ID via:

react/features/billing-counter/functions.js:80

/* * Returns the stored billing id (or generates a new one if none is present). * * @returns {string} */

export function getBillingId() {

    let billingId = jitsiLocalStorage.getItem(BILLING_ID);

    if (!billingId) {
        billingId = uuid.v4();
        jitsiLocalStorage.setItem(BILLING_ID, billingId);
    }

    return billingId;
}
thedracle··on 90% of Everything Is Crap
I can decidedly say that more than 90% of literal crap is crap.
thedracle··on Show HN: CoScreen 1.0 – radically different pair/team programming
CTO & CoFounder of CoScreen here.

Thanks for your feedback, we will definitely make it more prominent that single monitor use is definitely a viable use case.

The best experience is definitely with a secondary monitor, that was the original conception of the product, but we have a model of tab-based sharing, and a mechanism to hide windows of specific users, as well as focus the windows of a specific user (click their profile picture), that have made interacting with it on a single monitor a lot more intuitive and nice.

Many of our developers use it exclusively with a single monitor.

thedracle··on Apple Terminates Epic Games' Developer Account
Maybe it shouldn't be true for every video game console.

But even then --- a mobile phone has analogues with other computing devices that are more open.

thedracle··on Rolling blackouts in California have power experts stumped
I would imagine with the amount of financial exposure these power companies have now regarding wild fires, it's not exactly in their best interests to try to push their infrastructure either.
thedracle··on Chinese Hackers Have Pillaged Taiwan's Semiconductor Industry
Beyond normal system logs --- you can set up auditd to track very specific things, like executables, files being written to, copied, modified.

I work on endpoint protection software that goes deeper, using ebpf and a driver for older kernels to track specific syscalls, and look for things like permission escalations, forking and then doing naughty things, for instance. It's more meant for aggregating this data to a backend that then analyzes it and provides a panel that alerts security folks to unusual behavior.

thedracle··on US to ban transactions with ByteDance and WeChat in 45 days
I'll be sure to keep you posted.
thedracle··on The Difficulties of Tracking Running Processes on Linux
I wrote an eBPF security monitoring tool for an endpoint protection solution that is surprisingly similar to your proposed solution of walking the dentry tree for obtaining the command path.

It basically takes a block of memory, and splits it in a static array of arrays, and then walks the dentry tree, copying each portion of the path into it.

It then follows and decodes the mount path in a similar way, and it's fully recomposed in user space into a single path.

I could have done the mount path in userspace too probably by just passing some identifier.

thedracle··on US to ban transactions with ByteDance and WeChat in 45 days
And these Chinese companies have the option of refusing to operate in the rest of the world.

It sounds like you don't have a problem.

thedracle··on The Birth of New Spain
In the memoirs of Bernal Diaz Del Castillo, there were already several Spanish people living in the Yucatan when Cortez first landed in Veracruz.

He documented evidence that some of these diseases had already made their rounds around the Americas before Cortez ever stepped foot on the continent: "Xicotencatl made various other offers of his services in the name of his country. This Xicotencatl was a tall man, broad shouldered, and well built, with a large fresh coloured face, full of scars, as if pitted with the smallpox."

A specific case of smallpox did arrive later, according to the conquistador, on one of the ships sent by Governor Velázquez to capture Cortez (the ships were captured instead by Cortez, and their supplies used to take the Mexican capital): "But to return to Narvaez. He happened to have a negro servant with him ill with the smallpox, through whom this terrific disease, which, according to the accounts of the inhabitants, was previously unknown in the country, spread itself through New Spain, where it created the greater devastation, from the poor Indians, in their ignorance, solely applying cold water as a remedy, with which they constantly bathed themselves; so that vast numbers were cut off before they had the blessing of being received into the bosom of the Christian church."

He goes on to document several contact dying from Smallpox afterwards. It does seem highly likely however though, that the moment Columbus made his expedition around the Caribbean, the introduction of these novel diseases already had likely begun spreading in waves through the Americas.

thedracle··on How Did Vim Become So Popular?
I think this is the truth for me.

I have learned hundreds of tools and IDEs over the years, and nearly every one is defunct and not used any more.

Every minute I've invested in learning vim has remained relevant and useful.

thedracle··on How Did Vim Become So Popular?
This is true for me too, I would often use Vim to basically do quick modifications, and use an IDE for refactoring/completion, and code navigation.

Recently a lot of quality plugins have been made leveraging Microsoft's languageserver capabilities to provide many of these features for NeoVim/Vim:

https://github.com/neoclide/coc.nvim

In many cases it's better than an IDE because the code-inspection, linting, etc etc, can be done using the same exact tools as what your CI is using behind the scenes.

Also, having a languageserver for Rust/C++/JavaScript/TypeScript/Bash etc etc, all configured through coc avoids a lot of the jumping between IDEs/editors/tools to get reasonable completion and code navigation between each.

← PreviousPage 3 of 4Next →