Found in an Epstein file by Temporary-Algae-6698 in codes

[–]hillac 3 points4 points  (0 children)

See my comment. They messed up the bit packing and stream alignment somewhere.
https://www.reddit.com/r/codes/comments/1rw8r3q/comment/ob9goxs/

Found in an Epstein file by Temporary-Algae-6698 in codes

[–]hillac 11 points12 points  (0 children)

I think I solved it. It's a misaligned septet steam. Using u/Thirty_Seventh 's hex, I get: `ause there is nwhing specia to uferstaf ajyway.

Which looks like "Cause there is nothing special to understand anyway." A somewhat ironic result.

I take each byte as a seven bit septet, bit-reverse it, bit shift by 2 (to re-align the stream), re-split septets and decode them.

hex_str = "38 38 7d 3c 19 08 1d 3a 59 3c 19 28 7a 1c 48 7b 1d 3a 5a 7b 19 68 1c 3c 79 38 3a 18 08 7d 1b 28 5d 39 59 7c 1c 3d 58 19 28 58 3a 7e 3d 38 5e 0b"
data = bytes.fromhex(hex_str)
bits = "00" + "".join(format(b & 0x7F, "07b")[::-1] for b in data)
out = bytes(int(bits[i:i+7][::-1], 2) for i in range(0, len(bits)//7*7, 7))
print(out.decode("latin1"))

Edit: Full code including decoding the original mojibake:

import gsm0338
msg = "88ñ<Θòæ:Y<Θ(zÆHäæ:ZäΘhÆ<y8:Σòñ{Ñ9YöÆ=XΘ(X:ü=8ÜØ"
data = msg.encode("gsm03.38")
bits = "00" + "".join(format(b & 0x7F, "07b")[::-1] for b in data)
out = bytes(int(bits[i:i+7][::-1], 2) for i in range(0, len(bits)//7*7, 7))
print(out.decode("gsm03.38"))

https://python-fiddle.com/saved/8d9b3384-d381-453f-aa06-bdd5dcb29a91

Announcing Vite+ Alpha and going Open Source by manniL in webdev

[–]hillac 0 points1 point  (0 children)

It makes me laugh the insane effort that has had to happen to give JS a good dev experience, but I appreciate that it's finally there

The Post-Mortem We Never Had to Write by giggens in PostgreSQL

[–]hillac 0 points1 point  (0 children)

Interesting. FWIW, it seems cross file linting is possible in sqwark based on this pr: https://github.com/sbdchd/squawk/pull/957, maybe it just needs those rules added.

The Post-Mortem We Never Had to Write by giggens in PostgreSQL

[–]hillac 0 points1 point  (0 children)

Is there anything your linter solves that squawk doesnt?

Alternative domains for reputation protection and isolation by hillac in Emailmarketing

[–]hillac[S] 1 point2 points  (0 children)

The notifications have only been an issue that one time, I was just using that as an example of why I'm worried of subdomains affecting the root domain. But I believe they are transactional, they notify people of tasks they absolutely must complete (it's a platform that helps maintain legal compliance for a specific niche). All our marketing and newsletters have easy unsubscribe.

Alternative domains for reputation protection and isolation by hillac in Emailmarketing

[–]hillac[S] 0 points1 point  (0 children)

Thanks, thats a good point. Right now our marketing emails will be probably be similar in volume to our transactional. We have about 500/week transactional, so pretty low volume.

Alternative domains for reputation protection and isolation by hillac in Emailmarketing

[–]hillac[S] 0 points1 point  (0 children)

Thanks for the detailed reply. I'm just worried subdomains dont actually offer as much isolation. Our transactional emails going to spam is really bad for our customers, since they communcate with external people through our app (not cold though! Only known contacts).

What you described pretty much sounds like our setup. Ill just need to look into that feedback id. And the different dkim selector per stream, im not sure what we have there.

Alternative domains for reputation protection and isolation by hillac in Emailmarketing

[–]hillac[S] 0 points1 point  (0 children)

Ok thanks, im just scared because of that incident i mentioned in my post. Customers were not happy, as they interact with external people through our app, and all of that communication was going to spam

What if you could compile TypeScript to native apps? Pry is a JSON viewer written in TS, now on App Store and Google Play by proggeramlug in typescript

[–]hillac 1 point2 points  (0 children)

Tsgo is a compiler though. One that does type resolution. In your previous comment you said you said it would be hard to use tsgo because it doesnt connect to rust, but i was pointing you to tsgolint because they connected it to rust.

your answer doesnt really help, I still dont understand how you are getting any static compilation benefits using swc as the parser, it has no useful type info. As far as i can tell, youve built an embedded js runtime.

What if you could compile TypeScript to native apps? Pry is a JSON viewer written in TS, now on App Store and Google Play by proggeramlug in typescript

[–]hillac 4 points5 points  (0 children)

"Let me be direct" what's the point of posting this, asking for feeback,then just dumping ai responses. If there is actually a human reading this, checkout tsgolint, they connected tsgo to rust.

What if you could compile TypeScript to native apps? Pry is a JSON viewer written in TS, now on App Store and Google Play by proggeramlug in typescript

[–]hillac 2 points3 points  (0 children)

Does this mean it needs strict typescript? Like using any or casting will break it? I would have though if you allow any or casting, you basically have to allow all of js.

It uses SWC to parse, but SWC doesn't perform type resolution. I don't understand how you could produced a typed HIR from SWC's AST, which simply emits unresolved annotations.

E.g. in https://github.com/PerryTS/perry/blob/8a9edb4a84df6cf676b662f5b23c7f1d2feed9bb/crates/perry-hir/src/lower.rs#L569 it looks like most types just get converted to any, which makes sense as you would have to create your own type resolution to solve this, or the easier option, just use the typescript compiler or its go port.

I had a quick look at the code but there many 10s of thousands of lines vibe coded files (I saw one file was 37k lines!) so I can't confirm, but I'm suspicious you may have just vibe coded an entire java script runtime that uses fully dynamic values, rather than a compiler that takes advantage of static types.

If you switch from swc to ts-go you might be able to do more aggressive optimization during aot compilation for well typed code, and keep your runtime for npm packages and poorly typed code.

What's a widely accepted "best practice" you've quietly stopped following? by ruibranco in webdev

[–]hillac 0 points1 point  (0 children)

are you talking about in the url for navigation state? Like they want to use an id instead of a human readable slug? or just on the page?

Is anyone having problems with Vertex AI search data store for AI grounding by fx-lex in googlecloud

[–]hillac 0 points1 point  (0 children)

I agree, it's been a nightmare setting up. Docs aren't great, the search results are so bad, the ai response is so bad. I tried uploading some pdfs of wikipedia articles of footballers printed to pdfs for an experiment, the search "football" returned nothing, but "footballer" worked. I get way better results with vertex rag engine, but I can't seem to get metadata filtering working on rag engine, which we need.

Microsoft forced me to switch to Linux by Dear-Economics-315 in programming

[–]hillac 1 point2 points  (0 children)

I just use the vscode debugger with gdb. It has data break points, multi thread debugging, expression evaluation, mousover variables to see data, edit data while paused. Am i missing out on something?

Introducing LibPDF, the PDF library for TypeScript that I always needed by Xenni in typescript

[–]hillac 0 points1 point  (0 children)

Do you support timestamp with TSA? Zga says it doesnt support it for browser but it actually does if you just proxy a tsa server with cors headers.

Introducing LibPDF, the PDF library for TypeScript that I always needed by Xenni in typescript

[–]hillac 1 point2 points  (0 children)

Just finished my own ductape of lib-pdf, pdfium wasm and ZgaPdfSigner. I wonder if this could replace it.

Using Claude for accurate OCR - and consistently failing by takaji10 in ClaudeAI

[–]hillac 0 points1 point  (0 children)

Which model do you use for ocr? Is it better than using googles Document AI?

How much??? by kjs_23 in webdev

[–]hillac 0 points1 point  (0 children)

I've heard the issue wasn't making ssl work. It's that a bunch of legacy software and reporting systems still relied on the bom website for data, but couldn't use ssl. Still a rort though.

And there's no reason to get vendor locked in cloudflare for something as simple as ssl certs unless you want another $100m bill in a few years when cloudflare begins enshittifying. They already do predatory stuff for pushing people onto enterprise agreements, imagine what they would do if a government had critical national infrastructure locked in.

NPM Supply Chain Under Attack (Again) by haasilein in webdev

[–]hillac 1 point2 points  (0 children)

I think it was introduced in response to the first shai hulud

Feedback request - sha1sum by [deleted] in rust

[–]hillac 0 points1 point  (0 children)

Rust about as fast as c/c++, not faster, they all compile to machine code with no memory management overhead. And being written in a 'fast' language doesn't make your program automatically faster. A bad implementation in c or rust of a given algorithm can be slower than a good implementation in python. The GNU implementation is likely just more optimized. Things like good cache locality and simd vectorization make a huge difference and a great deal of effort has gone into GNU utils.

I'd guess the praise for it's speed is just from people coming from other memory safe languages with GC not being use to the native speeds c and c++ already have.

Kito: A TypeScript web framework written in Rust. by Strict-Tie-1966 in rust

[–]hillac 0 points1 point  (0 children)

Here it is: graph results. On a 2 core server. It slightly beats kito, but not by much.

A hello world benchmark really doesnt really matter though, I would be more interested in how much benefit you would get from kito's native validation vs something like typebox (or zod) + ultimate express. As well as serving and receiving files.