Better HN
topnewbestaskshowjobs
Log inSign up

thedracle

298 karma · joined Sep 17, 2019 (7y ago) · 99 submissions

Submissions

comment 5d ago · link · parent

I wonder if decision models can help bridge the gap between prose, and schema or a lint rule.

The problem with strong typing is sometimes you enforce a rule that is too rigid.

A good example is with UTC: suppose you use strong typing to enforce across ALL datetime fields that they must be UTC.

Then you need to store a birthday. A birthday stored as a UTC timestamp will show up a day early for users in another timezone.

With Agents people are starting to enforce a lot more prose style requirements in their AGENTS.md or CLAUDE.md files, which have the advantage of being nuanced and flexible.

The problem is these natural-language rules are prose, often ignored by agents, or arbitrarily applied.

Perhaps a natural language rules-engine that runs everything through a decision model asking "Does this meet this criteria" has the strength of both.

The validator could be enforced by a script to run on every commit, and it could instead enforce "All date fields should be stored in UTC, except for instants or local dates."

It could even enforce things like "we never store PII in any field not in our secure-store," and other high-level criteria.

comment 1mo ago · link · parent

Thanks for the feedback! This was one of the areas where CoScreen was strong.

We will take your feedback and see what we can do.

comment 1mo ago · link · parent

Yeah, Datadog sunset CoScreen in July.

You can view it here for nostalgia reasons: https://web.archive.org/web/20260828162646/https://coscreen....

comment 1mo ago · link · parent

It's crazy because we dogfood Petal daily, and did so with CoScreen while it was alive... and we absolutely cannot live without it.

I'm in Utah, and Till is in CA, so it's vital to our daily work.

Truly I don't understand how people do remote work or collaboration these days... maybe they don't? Or maybe Zoom/Meet are good enough (I really truly think they aren't, it's an abusive horrible experience every time I am forced to use Zoom or Meet for anything).

There just seems to be something sticky about them, but the people who try a CoScreen, Tuple, Pop, or other tool designed around collaboration I think become converted permanently, but getting people into that funnel is very very hard.

comment 1mo ago · link · parent

Lol. Yes, all of the Mic-drop crap.

We can work on it. Obviously it's Till and I working on the copy, and unashamedly we are using Claude to help expedite it so we can focus on the fun stuff... but yes, I absolutely hate this crap too.

comment 1mo ago · link · parent

Haha. I think I know who this is, and I won't out you, and thank you so much for your support over the years!

Maybe you can contribute some of your private innovations upstream to Petal ;)

comment 1mo ago · link · parent

One of our engineers is working on a very low latency video/audio mode for gaming. The truth is Petal isn't yet as tuned as say CoScreen was for low latency.

It's on our product roadmap to have a mode to support this though.

Some of our engineers have discussed a totally p2p iroh based video transport and other ideas.

LiveKit was the fastest/easiest way to get it to market, and it was something Till and I volunteered to pay for at the moment so we have an off-the-shelf cloud offering that is free and usable.

From that perspective it has worked great.

comment 1mo ago · link · parent

Better late than never!

Given CoScreen's very recent demise, we felt this space deserved some love still.

Hopefully you try it out some time, and provide feedback.

9.

Show HN: Petal, open-source CoScreen/ScreenHero finally free(petal.live ↗)

228 points · by thedracle · 1mo ago · 41 comments

comment 3y ago · link · parent

> when exceptions would add no overhead

Isn't the overhead for C++ exceptions quite significant, especially if an exception is thrown?

Exception handling can also increase the size of the binary because of the additional data needed to handle stack unwinding and exception dispatch.

I think a number of optimizations are made quite a bit more complex by exception handling as well.

comment 3y ago · link · parent

I mean, it's outperforming C as well in that particular benchmark.

Lies, damn lies, and benchmarks?

I can at least say, the performance difference between C, C++, and Rust, is splitting hairs.

If you want to write something performant, low level, with predictable timing, all three will work.

I'm spending a lot of time building projects with Rust & C++ these days. The issue/tradoff isn't performance with C++, but that C++ is better for writing unsafe code than Rust.

https://www.p99conf.io/2022/09/07/uninitialized-memory-unsaf...

comment 3y ago · link · parent

Datadog | Senior Video Conferencing Engineer, Backend Systems Engineer | Full-time | Remote (US) |

Description:

My team @ Datadog is actively looking to hire a Senior Video Application Engineer, and a Backend Systems Engineer, to work closely with the CoScreen (www.coscreen.co) team on developing our next generation remote collaboration tool.

Anyone with experience with real-time media streaming, video conferencing, and WebRTC, particularly with low-level skills (If you’ve integrated with or ripped into the low-level details of libwebrtc, ffmpeg, gstreamer, pion, etc etc) we’d love to chat with you.

Also if you’re a low level developer with experience developing desktop applications, particularly with Rust, or C++ skills, we’d love to hear from you. We are looking for someone who can work on a diverse set of challenging and interesting problems, from remote application control on OSX and Windows, to maintaining Rust based backend infrastructure.

Senior Video Conferencing Engineer: https://careers.datadoghq.com/detail/5103763/?gh_jid=5103763

Backend Systems Engineer: https://careers.datadoghq.com/detail/5103658/?gh_jid=5103658

Tech stack: Rust, C++, Typescript, Electron, WebRTC, XMPP, Jitsi.

Compensation: $130000.00 - $300000.00, plus a competitive equity package, and may include variable compensation.

Contact: ben.papismedov@datadoghq.com, jason.thomas@datadoghq.com

comment 3y ago · link · parent

Sorry I missed this.

We still aren't using hardware accelerated encoding. It's the last, and biggest contributor to CPU we see after profiling.

Moving to Rust was more of a decision for safety, than for performance, since most of the code we ported to Rust was in C++ already. The good news is we didn't see dramatic differences in performance between C++ and Rust.

Rust has a bunch of highly optimized, fantastic libraries, that helped with testing, profiling, and evaluating hardware acceleration/SIMD.

We will be putting together a blog about our experiences with Rust & C++, that goes into the nitty gritty of the good, the bad, and the ugly of our experiences here.

A great deal of the optimizations came from better profiling, better tooling, and a focus in that area. There is still a ways to go, and we are continuously working on improvements in this area.

Rust has been an incredible tool on reducing the work required to maintain, and change, core components, and we have even been able to have Rust target a static cylib library, and linked it in from a large C++ library.

The really great thing with Rust is it has a very minimal runtime, and integrates well with C++. It's not an all-or-nothing proposition to integrate it into a project. The maturity of the tooling, third party libraries, the build and package system, have been incredibly useful tools.

comment 3y ago · link · parent

We're good friends with the Jitsi guys, and I have worked with Jitsi for many years now.

Here is a interview I did of Emil Ivov, the founder of the Jitsi project:

https://www.youtube.com/watch?v=7nODpF8JjHE

comment 3y ago · link · parent

Jason Thomas, former CoScreen CTO here.

I am an avid Synergy user, and what they have accomplished in terms of direct mouse/keyboard input synchronization is very impressive, and I use it on a daily basis.

I can say however, it's very different than CoScreen and what CoScreen seeks to achieve, and is performed in a technically different manner.

CoScreen injects mouse interaction and keyboard presses directly into a window on OSX (if it isn't a weird type of window like an emulator, or something that captures and handles input on a very low level).

Synergy simulates mouse movements/events directly over windows, interfering with the position/location and current state of the remote cursor. It's much more like a remote mouse-driver for a lack of a better comparison.

In many ways this is more performant, simpler, and works on a wider variety of windows right out of the box.

On another level it interferes more with remote users, and prevents multi-player collaboration.

I definitely could see us producing a mode that is LAN focussed and which provides synergy like behavior, but the current remote collaboration is really geared from a UX perspective around multi-player in CoScreen.

comment 3y ago · link · parent

For a full blown Linux client, we haven't yet set that date.

We are working on a headless Linux client that will allow you to stream first pty/terminals, and then windows, into a CoScreen from Linux systems.

It's going to be a very small utility, and we hope to provide access to it by May/June.

This will eventually evolve into a full blown client.

In the meantime we will have a web client which will work on Linux released shortly, it's currently being privately tested within DataDog.

comment 3y ago · link · parent

We are using WebRTC for both Audio/Video and screen sharing.

The Audio/Video are using VP9 SVC, and are a pretty typical configuration, using Jitsi as the backend.

The screen sharing is accomplished via a combination of libwebrtc and native Rust.

comment 4y ago · link · parent

I always look for practical application.

I think cutting through the hype-train is something every engineer learns with time, but some times there are diamonds to be picked out.

At least for my own anecdotal experience, Rust has lived up to a lot of the hype for the time-critical low-level projects I was formerly performing with C/C++.

comment 4y ago · link · parent

There was a time when memory was conventionally expensive, memory allocation of large blocks was slow, and small blocks was much faster (malloc would find a small block faster than a large one on a highly fragmented heap).

Before having gigantic caches that would engulf nearly any sized contiguous list, linked lists were sort of vogue, frugal, and thought of as being fairly performant.

comment 4y ago · link · parent

The reality hammer hits quite a bit harder when people are playing the "fake it until you make it" game with C++ versus other languages as well.

comment 4y ago · link · parent

I started as an embedded software engineer in the early 90's, and at the time there were lots of well paying jobs compared to other software engineering diciplines.

In the 2ks/10's, at least in my area, embedded jobs dried up. Mobile development produced a lot of very high performance SoCs that were cheap, and had high quality already developed middleware layers (Android for instance). They sort of conquered a lot of the embedded media processing space I was an expert in.

As a result I jumped ship to mobile, but it was much higher level programming far away from the SoC, and most of the lower level code was being written in China/South Korea.

This basically meant for the engineers that weren't able to shift, they basically weren't scouting around for, or finding other jobs (in general).

So even though there is a small pool of engineers with these skills, a lot of people left the embedded space at a time when some of those jobs are starting to shift back, leaving a shortfall, but also a pay gap.

comment 4y ago · link · parent

I'm really surprised at how stable and widely supported Rust's FFI is.

I have several C++ projects that integrate a portion written in Rust, where the Rust project produces a .a file that is ultimately linked with clang into a larger C++ project.

I definitely agree Rust has a long road to adoption in embedded/low level systems, and particularly areas with custom compilers/toolchains that rely heavily on system specific undefined behavior.

But it's a lot closer than I had thought it was a year or so ago.

comment 4y ago · link · parent

HireVue AI Assessment.

comment 4y ago · link · parent

Now is the time to hone your skills in a highly in-demand area, with little competition.

Get Linux on your computer, study the Linux kernel, and learn about EBPF.

Write some monitoring software using EBPF, learn all about it. Learn about the Linux Kernel, and LDD.

Then apply for jobs in these areas, be ambiguous about your on-the-job experience.

Speak competently when you get the interview about the tech, the companies that are hiring for these skills are desperate to hire for them, there aren't people with these skills falling out of trees.

It's a bad time in the industry, but unemployment is something like 2.3%. There is a position out there for you.

comment 4y ago · link · parent

So many creational design patterns rely on static factory methods too.

I'm not really sure what they're on about.

comment 4y ago · link · parent

I imagine part of the strategy should be to use the funds from the tax to counter the negative effects of the product.

This was an effective strategy for smoking. Stopping ads for soda, and similarly producing ads that inform people of the risks of high amounts of soda consumption with the tax.

comment 4y ago · link · parent

AFAIK Pharo is a fork of Squeak, which is much more open about it being a smalltalk programming system implementation.

https://squeak.org/

comment 4y ago · link · parent

The dish soap method worked best for me. But the best method was getting lasik, now my old glasses are in a drawer gathering dust.

comment 4y ago · link · parent

This is so beautiful.

Super cool not having manual thread joining code.

comment 4y ago · link · parent

I would guess just having a lot of blockchain experts on staff, and since the blockchain is pretty much an open, unencrypted, public ledger; analyzing it is a pretty natural and not entirely unethical thing to do.

I think the issue is really just working with ICE, and the ethical concerns that brings up.

1234