Better HN
topnewbestaskshowjobs
Log inSign up

cipherboy

700 karma · joined Sep 28, 2015 (11y ago) · 204 submissions

Head of OpenBao Development @ ControlPlane.

The BUSL-1.1 is not OSS.

My views are my own, not that of any past, present, or future employer.

https://cipherboy.com

https://github.com/cipherboy

alexander.m.scheel@gmail.com

Submissions

comment 4y ago · link · parent

If you visit the site in most (desktop) browsers, you can usually click the lock icon, navigate through various intermediate steps (Firefox is Connection Secure -> View Certificate) and find details about the cert or download it (hidden in the middle).

$ openssl s_client -showcerts -connect <host>:<port>

also does it from the command line.

92.

Learning to Play Settlers of Catan with Deep Reinforcement Learning(settlers-rl.github.io ↗)

3 points · by cipherboy · 4y ago · discuss

comment 4y ago · link · parent

And to be even more pedantic, the function works because it is applied on an event listener... When null[1] is evaluated (in the right side of the || of the conditional), it produces a TypeError... which in effect (due to no catch and evaluation continuing in a parent/event-driven scope) is essentially equivalent to an empty return in this specific context.

What fun! :-)

Edit: apparently as also mentioned https://news.ycombinator.com/item?id=30268412

comment 4y ago · link · parent

In a browser console:

> const match = /^\/[js]\/(\d+)\/?$/.exec("something")

> undefined

comment 5y ago · link · parent

Sure, but some distros (read: Fedora that I know of) use this as a source of truth for their TLS Root trusts. Means the scope is larger than just Mozilla and they'd (hopefully) coordinate with downstreams and others prior to changing this.

Best would be if they shipped a reference parsing library for whatever format they do use is. :-)

comment 5y ago · link · parent

From the article, one use case they explicitly call out is code signing verification.

Parties like Apple use x509/PKI certificates for code signing. A third-party application COULD use this trust DB for code signing verification. If an application is signed with a (root) cert trusted by this DB, it is allowed.

Mozilla is saying woah: we only validate CA's TLS Server and S/MIME requirements (for CAs in our root DB). They don't validate that an arbitrary CA in their root DB has proper code signing certificate issuance procedures. So this theoretically application is in the wrong and they consider it a high severity vulnerability.

But I agree, there's an open question about _who_ is using the DB this way.

comment 5y ago · link · parent

I'm thinking about adding encrypted file support to my pass wrapper, p, but I've not really found a good argument to support breaking mobile apps (such as https://github.com/android-password-store/Android-Password-S...).

You'd have to manually look up the entries in a lookup table to resolve obfuscated names back to readable names... Or upstream support for whatever format is devised. I dunno.

comment 5y ago · link · parent

How much memory is enough for 1? Back on Fedora 32, on a system with close to a year of uptime (it was attached to my TV), gnome-shell consumed nearly 20GB of RAM on a 32GB system! And I rarely interacted with it (outside of watching the occasional concert on it). Most of the time was spent on the lockscreen, with the TV on a different input.

Perhaps this falls outside the category of "any memory condition"... :)

Though, it was responsive. :D

Needless to say, I think 1 is harder than expected. Fedora has made some recent changes on the OOM killer front though, perhaps those are closer to what you're interested in.

comment 5y ago · link · parent

>

comment 5y ago · link · parent

I own three Model Ms: my grandfather's 87, a '89, and a later Lexmark ('95? too lazy to look). The latter two were given to me by a colleague; they saw (what I can only assume to be, based on their original condition) extensive use at IBM before I cleaned them up. He had 7 others.

I've bolt modded the Lexmark for the day my grandfather's finally needs to be done. But all three have well withstood the test of time: my grandfather's still has most all of its rivets 33 years later. It was his only keyboard at home AFAIK; I've been using it for the last 5 years.

> The Model M has no replaceable parts.

Is categorically false. The stems, keycaps, springs, and membranes can all be replaced quite easily. Unicomp sells replacements. Many have also modded them to replace the controller with something more modern. You just need to find the right hex driver.

Just because there aren't lots of manufactuers (like with oh, say, Cherry-compatible switches or QMK boards) doesn't mean they aren't repairable or moddable.

Don't disagree with most of the rest of your points but... n=3 (+7?) data points, I've never heard of a barrel breaking under normal usage. And cleaning drinks is optional once it is dried :-) The '87 and the '89 both had coffee stains and functioned just fine. I mostly cleaned the barrel plate and moved on with usage. If I bolt mod either, I'll probably clean the membranes.

Fully agree that the Model F is more solid than the Model M. But the Model M feels a lot more solid to me than most anything modern.

Maybe I just got high-quality builds?

comment 5y ago · link · parent

AFAIK, nobody has suggested removal of OCSP from end-entity certificates. This article you linked (and the comment you wrote) is purely about removal from intermediate CA certificates.

The majority of OCSP traffic will probably be for end-entity certificates; most OCSP validation (in browsers and cryptographic libraries) is end-entity validation, not leaf-and-chain.

Removal of intermediate CA's OCSP is probably not really relevant to their overall OCSP performance numbers (and if it was, it was likely cached already).

comment 5y ago · link · parent

Fedora has considered and largely executed on the same:

https://fedoraproject.org/wiki/Changes/Stop_Building_i686_Ke...

We still build packages for it, e.g., https://koji.fedoraproject.org/koji/buildinfo?buildID=166966...

Some other related discussion: https://lists.fedoraproject.org/archives/list/devel@lists.fe...

comment 5y ago · link · parent

I believe OP is more insinuating that the combination of (ip, user identity {username, cell number, real-world identity}) is an attractive data source for such an agency.

Of course they already have all government IDs. But tying it to a username helps correlate data across other services, and additionally if the user checks from mobile phone or other device, tying it to recent IPs could also be useful. OPSec could prevent some of that, but how many users are doing that?

Just a thought. Not an endorsement.

comment 5y ago · link · parent

> I've never seen last one in real life, maybe it has some critical flaws I am failing to see?

Doesn't Kerberos solve this with s4u2self and s4u2proxy and other delegated credentials?

I'll admit it isn't quite the exact same, but the general idea is the same.

comment 5y ago · link · parent

I could be wrong, but I believe the twitter poster is referring to this event from 2019:

https://www.vox.com/policy-and-politics/2019/10/23/20929080/...

https://www.wired.com/story/republicans-storm-scif-national-...

&c.

comment 5y ago · link · parent

CNN: https://www.cnn.com/politics/live-news/congress-electoral-co...

Ctrl+F for windows.

comment 5y ago · link · parent

> I have a feeling CNAs are bringing this kind of low effort zero regard for false positive fatigue bullshit to CVEs. Might as well just rip that bandaid off now and stop trusting anything besides the debian security mailing list.

Red Hat (my employer), Canonical, and SUSE are also CNAs. I can only speak to ours, but I think our prodsec team does a great job with the resources they've been given. Nobody is perfect, but if you take the time to explain the problem (invalid CVE, wrong severity, bad product assignment, ...) they consistently take the time to understand the issue and will work with whatever other CNA or reporter to fix it. Generally we have a public tracker for unembargoed CVEs, so if it affects us and isn't legitimate or scoped correctly, you might get somewhere by posting there (or the equivalent on Ubuntu/SUSE's tracker).

Perhaps it is just the nature of the open source community Linux distros are a part of, though, that lets them apply it to CVEs as well.

Doesn't help with personal reports though. :-)

Curious, did you get CVE assignments against your personal site? 0.o

comment 5y ago · link · parent

Comcast is the reason I disabled IPv6. They'd frequently route traffic over IPv6 to... Nowhere. Websites of major tech companies such as Google and GitHub would occasionally get routed wrong and just... Hang. It's like they black holed outbound IPv6 traffic. The traceroute6 output would quit displaying new routes.

Never had that problem on IPv4. So I ended up disabling it.

(I do have an unrelated issue that sometimes they can't route traffic between two customers in the same general area. Traffic tends to go out to the west coast Comcast DCs and get stuck, never comes back. We're midwest).

comment 5y ago · link · parent

> and delete it another way in another place (git rm).

I use `rm` all the time in git repos... Just `git add` when it is time to stage changes.

comment 5y ago · link · parent

Not all client-side encryption schemes are end-to-end or at-rest encryption schemes though. Trivial counter example: TLS.

comment 5y ago · link · parent

>> you want the finger to land normal to the board for any given string.

>

> It's not clear to me why that would be.

Tone and tension. You have to use a lot more force to push the string down, if you hit it at an angle. To clarify, I mean normal mostly in the plane perpendicular to the string (across the body). If your elbow is rotated too far backwards and you're trying to play on the G string, your finger will end up nearly parallel with the fingerboard. To reach the G string, you'll have to extend the fingers (at least, with my sized hands). Do not avoid the higher string though, as this too will affect tone.

The strongest and also most relaxed hand position is naturally curled (mostly a fist, but you can't really play the left hand that way... You can the right hand however). By rotating the elbow, you preserve that relaxed hand position on all strings in lower positions.

> When I decided I didn't have time to maintain both a Baroque and a modern technique, I ended up merging them. Haven't used a shoulder rest in years, but I do use a low, center mount chinrest with a gel pad on it.

When you seek left hand balance, you want to minimize downward force, so you can apply equal upward force with your thumb (this is roughly balance). With a shoulder rest (or I fear, a tall chin rest), you can also apply supporting force via the chin and the rest, but that's a source of tension if you're not careful.

You can still perform many shifts with little downward pressure, if you leave the thumb immobile during the shift (either moving before or after). Some shifts where both move are still possible. After lots of practice (perhaps less for you, since you are already accustomed to playing without a shoulder rest -- I wasn't yet), you can get it to a minimum even in Concertos like the Tchaikovsky.

> I don't have access to a music library anymore, so the Babitz stuff looks like it might be hard to find, but the Martinic-Jercic book looks really interesting. Thanks!

I have a PDF of the Babitz that I scanned while at school if you are curious. It's a collection of his short articles in other publications. And to clarify in case it might not've been obvious, I studied under Boro. I don't have any monetary interest in his book, but I do think he made a lot of sense.

comment 5y ago · link · parent

Same, middle school here. Took a game dev course over the summer through the local technical college. The book recommended it, IIRC. Ran it the little bit I was still somewhat on Windows before switching fully to Linux. Now it is vim and gcc...

comment 5y ago · link · parent

OP was using frets, so I mentioned tapes... :-)

Fundamentally, technique differs a lot based on size of the player. Ricci vs Perlman vs Shaham vs Midori vs Hahn vs Paganini, they all make the technique looks effortless. And the a lot reason why is because they've spent a lot of time removing bad tension from their playing.

While elbow positioning does matter, it is more a function of string and third vs fifth hand position. The fingerboard is curved, not flat, and you want the finger to land normal to the board for any given string.

Look for the work of Sol Babitz, or if you can't find it, Borivoj Martinic-Jercic's forward to his exercises.

For me, what helped the most was removing the shoulder rest during practice. You become accutely aware of the the delicate balancing act that needs to occur, and the forces you put on the instrument. With time, you can develop balance in the left hand and achieve better dexterity than before. For anyone with sufficiently long neck, you can no longer rely on continual holding, and need to support the instrument (in fixed position sections) via the thumb. This encourages you to release pressure on the digits as you play. :-)

But like OP said, they're happy so why mess with what works for them. :-)

P.S. what rep are you working on? Feel free to drop me an email if you're interested in discussing more.

comment 5y ago · link · parent

\o fellow violinist here. Never thought about frets, but a lot of people (myself included) started with tape on their fingerboard. Usually it'd only go to about 2nd position at most. You have a reference point for where to place your finger, but it doesn't impact pitch (and prevent vibrato) as much as a fret would.

Just something to think about... :)

comment 5y ago · link · parent

https://dl.acm.org/doi/abs/10.1145/2463676.2467797

Might be what I was thinking of. I'm sure you can find other publications as well. I'm no longer at University and I've lost touch with that professor so I'm not sure their current research.

comment 5y ago · link · parent

I'm a little rusty but I swear I saw a partial homomorphic encryption scheme for aggregates and analytics. I want to say Enigma conference, '16 or '17? Maybe by Boston University.

The benefit being that while you can run any computatio with a FHE, PHEs are generally faster.

IIRC Microsoft was also doing research on PHEs.

comment 5y ago · link · parent

rr is nice when it works, but I've only had it work on a single system of mine (recent Intel). gdb is portable and works most anywhere. If you're looking at other architectures, you'll almost certainly have a gdb port but probably won't have a rr port.

It looks like some changes have been made recently:

- https://github.com/rr-debugger/rr/issues/1373

- https://github.com/rr-debugger/rr/issues/2034

comment 5y ago · link · parent

There's also shortcuts to enter and leave tui mode:

https://sourceware.org/gdb/current/onlinedocs/gdb/TUI-Keys.h...

(I never start with gdb -tui but usually end up there for a little bit).

As the author pointed out, this hijacks arrow keys, so you have to use readline editing:

https://sourceware.org/gdb/current/onlinedocs/gdb/Readline-B...

https://sourceware.org/gdb/current/onlinedocs/gdb/Readline-M...

Fortunately, there's a lot of stuff that uses readline so it is all very portable.

comment 5y ago · link · parent

Is a like -> is like a?

Like never appears in the original article.

1234567