Better HN
topnewbestaskshowjobs
Log inSign up

elesiuta

249 karma · joined Dec 16, 2021 (4y ago) · 105 submissions

Submissions

comment 2w ago · link · parent

This has been annoying me too, and I was getting pretty close to turning on chat history having forgotten why I disabled it.

Thanks for the reminder OP!

comment 1mo ago · link · parent

Funny I started with switching my Debian/Ubuntu servers to Fedora coreos first, then that got me installing Bazzite on my gaming PC, and now I have some variant of Fedora atomic on all my machines.

comment 1mo ago · link · parent

I'm currently working on this [1] and can almost support this exact workflow. However the multiple agent orchestration is a sequential state machine, and other than network which can be set for tool states, filesystem access is still set only for the entire state machine.

[1] https://github.com/agent6-dev/agent6

comment 1mo ago · link · parent

> sandbox all filesystem operations and strictly limit ANY deletions outside of specified scopes, regardless of operating system

> enforce snapshotting of the entire repo on every operation for easy rollbacks and minimal lost work

These are some of the primary goals I had when creating agent6 [1] although I only plan on supporting Linux, and possibly Mac in the future.

> carefully consider a structure for presenting plans to the user where, rather than provoking immediate alert fatigue by asking for checks on every action, make structured plans which can be submitted to the user as a group of actions and reviewed and approved as a batch

I like this idea and may steal it! I already have something similar where questions are deferred while you're away and can be checked in batch upon return.

[1] https://github.com/agent6-dev/agent6

comment 2mo ago · link · parent

I'm working on a coding agent with built in sandboxing to restrict network access or filesystem access of commands run. It also has a few other interesting features I haven't seen in other agents and I'm currently focusing on polishing the UX across its cli, tui, and web ui. It's not quite ready for use yet and I've only recently begun dogfooding it. https://github.com/agent6-dev/agent6/

I also recently resumed working on picosnitch, a per executable network monitor for Linux. I rewrote the UI, ported the core from BCC to BPF CO-RE, and used AI to benchmark the completeness and accuracy of it. I let AI decide the tests entirely on it's own to hopefully eliminate any of my bias and published the results here [1]. It identified one gap I'll be fixing in the next release, and is currently the most complete and accurate bandwidth monitor on Linux.

[1] https://elesiuta.github.io/picosnitch/comparison/

6.

Show HN: Agent6 – coding agent with jailed commands and editable state machines(github.com ↗)

2 points · by elesiuta · 3mo ago · discuss

comment 4mo ago · link · parent

Same here, I suspect the majority of people with average to small hands could never really one hand phones (with a good enough screen size) in the first place so it makes less difference to them.

comment 1y ago · link · parent

> Otherwise, many of the best games are VR-additional that can be played flat as well, like Elite: Dangerous, DCS, or the racing games.

Also Skyrim VR was breathtaking, especially with mods to improve the scenery and clunky menus.

comment 1y ago · link · parent

I really enjoy that roller coaster feeling both in real life, and in VR games like Jet Island and Windlands.

I'm pretty interested in this and would like to participate in a study as well if given the opportunity. I think one of the potential causes and solutions is it being a self-fulfilling prophecy that may be overcome with self-efficacy as described here [1] for seasickness. My only evidence is that I never knew motion sickness was a possibility when I first tried VR, and my friends with the worst motion sickness were worried about it before they even tried VR, even if they never got seasick or carsick.

From the article and other comments, they also mention figure skating which I never thought of before, and I play ice hockey which is likely similar enough. For reference I've been playing VR since 2016 and never once experienced motion sickness, from any style of game/locomotion.

[1] https://psycnet.apa.org/doiLanding?doi=10.1037%2F0021-9010.8...

comment 2y ago · link · parent

If they're on the same network, cross platform, open source airdrop alternative https://github.com/localsend/localsend

comment 2y ago · link · parent

I use python more often than tools like awk, which I often forget the syntax of, so I made pyxargs to quickly run python code in the shell for small tasks like this

  sp current | pyxr -0 -g "(Artist)\s+(.+)\n(Title)\s+(.+)" -p "{3} by {1}"

comment 2y ago · link · parent

Are you looking for something like a call graph?

There's pyan3 [1] which although doesn't support python 3.7+, I've still had luck with v1.0.4 which works better for me than its most recent version with python 3.11, but there can be some weird issues though depending on your code style.

A quick search also turned up crabviz [2] which has support for more languages than just python.

[1] https://github.com/Technologicat/pyan

[2] https://github.com/chanhx/crabviz

comment 3y ago · link · parent

Great article, I've always been impressed by this too. It's neat that it sounds like even amateurs with nothing but a regular DSLR can contribute to this as well.

> By precisely timing the duration of the occultation from many sites simultaneously, they can refine their knowledge of the size and shape of the asteroid.

> Betelgeuse is the 10th brightest star in our skies (+0.5 magnitude), so observers need only modest equipment to participate.

> the easiest way to capture the event is to use a simple DSLR camera on a tripod ... video frames must have a short (few-millisecond) exposure time ... Millisecond accuracy timing is crucial ... [an app] for timestamping occultation observations is called Occult Flash Tag (Android) or AstroFlashTimer (iPhone)

comment 3y ago · link · parent

Yep, and from my experience too (made a tool that monitors network traffic with eBPF [1]) in addition to those issues there is also a sizable latency hit.

[1] https://github.com/elesiuta/picosnitch

comment 3y ago · link · parent

I think this is still reasonable, attackers may have a database of leaked keys (e.g. if you ever accidentally commited to GitHub, or ever ran a malicious script which uploaded it), which they then try on random servers.

comment 3y ago · link · parent

I require both key and password to login, and have fail2ban rate limit password attempts.

This gives sufficient notice to fix things if a key were to become compromised.

comment 3y ago · link · parent

I had the same issue and found floss picks worked well, but after a while the pins just became too worn. Thankfully my new phone has wireless charging.

comment 3y ago · link · parent

> I get that they're not the same device, but is it really 2.1x the device that the 13 is?

It looks like you're using an average lifetime of 9 years for the 2.1x factor. I rarely see phones past 6 though and that's approximately how long they receive updates for.

I've also never seen a used iPhone that cheap where I am. Here a new 15 max is $1450 and a used 13 max is $1000.

Using a 6 year life:

$1000 / (6-2) = $250

$1450 / 6 = $242

So if you use a phone to the 6 year point, you are paying less for a better device, and without any unknown damage or wear. Migrating less often to a new device is also a small time saver. Even if you go to 9 years, the new iPhone is only 1.13x more.

comment 3y ago · link · parent

I thought the biggest issue wasn't with the models themselves, but how Zillow decided to apply and act on them, which is why it didn't work in practice.

So on average their predictions may have been pretty good, but since each transaction also depends on the other party to accept their offer, and whether they get outbid, most of their predictions where the offer actually goes through would be on the tail end of where they slightly overestimated the price.

This tweet from the article summed it up nicely

> Zillow made the same mistake that every new quant trader makes early on: Mistaking an adversarial environment for a random one. https://twitter.com/0xdoug/status/1456032851477028870

I was lucky to make and learn from that mistake pretty quickly with some algorithmic trading on much smaller amounts. With housing transactions being much larger and slower, you wouldn't learn this lesson until it was too late. Models never perform as well in practice as they do in theory, and you need to remember to account for both known unknowns and unknown unknowns.

comment 3y ago · link · parent

> I too can never remember jq syntax when I need to. I usually just end up writing a Python script

Same here! That's why for small things I made pyxargs [1] to use python in the shell. In another thread I also just learned of pyp [2] which I haven't tried yet but looks like it's even better for this use case.

[1] https://github.com/elesiuta/pyxargs

[2] https://github.com/hauntsaninja/pyp

comment 3y ago · link · parent

Thank you! My original use case was for running ffmpeg in directories with encodings that broke xargs, and later added the py/pyev flags which basically swapped subprocess.run() with exec()/print(eval()).

I didn't really highlight it in the documentation but it can also run commands in parallel as multiple windows in a multiplexer so it's easier to checkup on their progress or interact with them.

comment 3y ago · link · parent

I have never heard of pyp before, looks neat!

I made something similar myself, pyxargs [1], which doesn't have all the magic of pyp, but although being geared towards more xargs like usage, it also functions somewhat similarly.

For example, although not as clean as the magic variables x, l or line, you can use '{}'

  ls | pyp 'x[:3]'  ==  ls | pyxargs --pyev "'{}'[:3]"
Overall the syntax of pyp looks much better, and the --explain feature is nice since pyp seems to do a little more for you under the hood (the closest pyxargs equivalent being --dry-run). I think I'll start using pyp myself when not running commands over multiple directories of files or in parallel.

[1] https://github.com/elesiuta/pyxargs

comment 3y ago · link · parent

> weights of a model, that a domain expert can tweak by hand

This sounds similar to how image recognition was done before deep learning [1]

[1] https://www.youtube.com/watch?v=8SF_h3xF3cE&t=1358s

comment 3y ago · link · parent

> "Games for Windows Live", which was so bad I don't even try replaying the games that still require it

If it's even still possible to install/activate them. Whenever any of them became available on Steam I would rebuy them there just for the convenience.

comment 3y ago · link · parent

Similar to bandwhich, I recently created a snap of my own bandwidth monitor, picosnitch [1]. However I was only able to get it working with classic confinement due to there being no snap interfaces for fanotify or BPF kfuncs. Unfortunately this meant it couldn't be published on the store.

I already packaged it for nearly every distro, but unfortunately most don't have dash [2] in their repos so the user needs to install it separately, and I was hoping that snap would be an easier solution for that.

[1] https://github.com/elesiuta/picosnitch/blob/master/snap/snap...

[2] https://repology.org/project/python:dash/versions

comment 3y ago · link · parent

Just added one now!

comment 3y ago · link · parent

> ostree is what everyone should be using

I currently use Ubuntu for my server, and I see there's ostree in my repos, I haven't gotten around to trying it yet but I'd like to just start versioning my system as is with it. If that's too difficult/not possible to do, then I intend to switch my server over to Silverblue at some point because I really like the idea behind ostree.

comment 3y ago · link · parent

Thanks!!! It'll probably still be a while till I can get started on this (if I do), but I just created a new repo for this here if you (or anyone else) wants to get started before me! https://github.com/elesiuta/conways-game-of-chess
1234