HNHacker News
TopNewBestAskShowJobs

unilynx

1,604 karma · joined August 8, 2017

Developer at WebHare. To contact append Gmail to the username
submissionscomments
unilynx··on SSH3: SSHv2 using HTTP/3 and QUIC
I doubt QUIC is easier than TCP to build on. But it's much easier to get your new protocol through firewalls and other middleware when using port 443 than trying to introduce a new port (or worse: a new protocol number)
unilynx··on In Defense of RAM
Exactly this. I enjoyed the 2015 MacBook for its size and weight and still having usability, and find it a pity that there wasn't really ever a followup to it. It makes the airs look bulky.

But most users are probably disappointed and expected more from it, so I understand why they weren't able to continue that line

unilynx··on Apache HTTP Server 2.4.58 (CVE fixes)
Well have you seen oauth1? So much trouble to be able to support non-secure HTTP.
unilynx··on Why the average lifespan of a smartphone is only three years
Or fix it over the three next years, if that is the average lifespan.
unilynx··on Honey, I shrunk the NPM package
I think the article points out that there are no easy wins at all. Sure, you could try to update the compression algorithm any time it gives a small, easy win (and as others have pointed out, his approach to comparing algorithms is debatable)

The interesting part of the article to me is: okay, now that we have a better compression option, how do we deploy it to an existing ecosystem? And suddenly we're looking at a 4 year migration path!

No easy win at all.

unilynx··on In Digital Ocean, S3-like space keys can access all your buckets
Teams have separate billing per team. Other platforms would call them ‘organization’
unilynx··on Google assigns a CVE for libwebp and gives it a 10.0 score
It is. and so is WASM, but both probably aren't fast enough
unilynx··on A currently maintained fork of SSHFS
Compilation used to be slower, and one 5K line file would be noticeably faster than 10 500 line files, not to mention possibly having to build extra header files to connect them together. That would encourage larger files.
unilynx··on Just got a MacBook Pro for work; what are your tips?
If you do anything in editors or edit command lines in the terminal, maximise the keyboard repeat rate and minimise the repeat delay.
unilynx··on Farewell EC2-Classic, it’s been swell
I would interpret 192.254.33.12/16 to mean 'host 192.254.33.12 in a /16 subnet'.

That's also the notation `ip` on Linux supports

unilynx··on PostgreSQL Lock Conflicts
It's a common issue with PG documentation, google often leads you to documentation for old versions (or it's an indication that these versions are actually still highly relevant)

Fortunately PG is very good at keeping the documentation structure the same between major versions and provides crosslinks to the proper documentation for all PG versions on (almost?) all pages

unilynx··on US must land astronauts on the Moon again
That's basically the plot of "For all mankind", although they managed to find some intermediate goalposts before Mars
unilynx··on JSON Schema Store
they're not comparable at all. you can't embed a null into a string

\u0000 works fine with firefox with the proper syntax

  JSON.parse(`"\\u0000"`)
  "\u0000"
and jq supports it too

  printf '{"null":"\u0000"}' | jq
  {
    "null": "\u0000"
  }
unilynx··on JSON Schema Store
You can't safely send zero bytes over XML even with UTF-8 encoding. Not in practice:

  echo '<zero>&#0;</zero>' | xmllint -
  -:1: parser error : xmlParseCharRef: invalid xmlChar value 0
  <zero>&#0;</zero>
            ^

  printf '<?xml version="1.0" encoding="utf-8"?><zero>\0</zero>' | xmllint -
  -:1: parser error : Premature end of data in tag zero line 1
  <?xml version="1.0" encoding="utf-8"?><zero>
                                            ^
And not in theory: https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-well-form...

  Character Range

  [2]    Char    ::=    [#x1-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] /* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */
  [2a]    RestrictedChar    ::=    [#x1-#x8] | [#xB-#xC] | [#xE-#x1F] | [#x7F-#x84] | [#x86-#x9F]
unilynx··on JSON Schema Store
JSON and XML both support UTF-8. Neither supports embedding arbitrary binary data directly, especially if that data is not valid in your current character set
unilynx··on JSON Schema Store
The 'service' is basically hosting this file: https://www.schemastore.org/api/json/catalog.json - you could host that locally and point your software to it, modifying the other URLs where needed

It's a pity the catalog format doesn't support an 'import' or relative URLs for schemas - would have made local extensions a bit easier.

unilynx··on ISPs complain that listing every fee is too hard, urge FCC to scrap new rule
Both of these things are rates set by the government. If they weren't charging VAT on the fees, they would just recalculate the base fees accordingly
unilynx··on Unpacking Google’s Web Environment Integrity specification
> Remember when Apple killed Flash? I heard it was because they wanted people to use their app store more instead of us playing games in the browser, so they could make more money

The original iPhone which killed flash didn’t even ship with the App Store. They assumed we’d only be using web apps.

It’s in the original Steve Jobs presentation when he announced the iPhone.

unilynx··on Got called to a professor’s office after a complaint his SPARC4 was running slow
The interesting part is that it occurred to no one to just reboot and see if that fixes it. Apparently systems were a lot stabler.
unilynx··on G/O media will make more AI-generated stories despite critics
The detection needs to be almost perfect for it not to be worth it for the AI to simply retry until it's passed the detection.
unilynx··on Firefox has surpassed Chrome on Speedometer
I’ve tried to find something like this multiple time over the past years, but it seems browsers do their best to protect bookmarks from extensions

It seems the only way are tools that directly edit each respective browsers setting files (ie from the command line) but I’d rather not go down that path.

unilynx··on Dropped iPad implicated in fatal Rotak Chinook helicopter crash
But if you know there's always going to be an iPad around the cockpit, you can advise the pilots to have a fixed method of securing it

Of course there's always something else that can go wrong, but a big part of why flying is so safe today is that they've gone through a lot of trouble to enumerate and mitigate everything that has gone wrong in the past

unilynx··on OpenSSH has some peculiar handling around command line arguments
Oh wow, good to know it's that broken. I still had figuring out how to properly quote SSH command lines on my todo list because I've got some shell wrappers that try to transparently execute stuff inside containers on remote machines and they weren't dealing right with spaces and quotes (think trying to build `remote @server sql <statement>`)

It's weird that this has been known for over a decade, and noone ever added a 'pass on the argv[] array unchanged' in all that time

Now that I know I can't fix this in stock openSSH I think I'll just look into throwing argv[] into a base64 encoded JSON array and somehow have jq fix and exec it on the other end.

unilynx··on Windows Update Restored: Fix Windows update on Windows 95, 98, ME, 2000, and XP
But what’s the point ? Most vulnerable Linux servers are hosting blogs or dns servers. They’re only useful to run a crypto miner or host a phishing page, and for that you probably don’t need to go further than exploit a wordpress bug. No need to go for the kernel or even root.

Whereas a desktop often has users on it who enter banking details or corporate login credentials. Much juicier targets.

unilynx··on TypeScript please give us reflection/runtime types
What I really miss is a way to extract type information directly from the compiler. Ie to have a ‘macro’ that takes a type as an input and returns a readable text or a json structure describing that type

It still wouldn’t be runtime typing, the compiler would just insert a constant wherever you use such a macro so I don’t think it would conflict with typescript’s goals. But it would make it a lot easier to build extra checks when deserializing data - or just give richer debug information.

But it would probably be hard for eg esbuild to support such a feature if tsc adds it. So I couldn’t use it anyway :)

unilynx··on SQLite-based databases on the Postgres protocol? Yes we can
The article explains they needed to fork SQLite to be able to intercept the WAL.
unilynx··on Google is selling all my personal information in Google Domains to Squarespace?
> Like what approvals does Google need to release Bard

Well, for one they still need Ireland's DPA approval before they release it to the EU.

unilynx··on Bun 0.6
import.meta.main (whether the current file is the 'main' or just being required) looks interesting and like something I have wanted in the past, but not sure if it would actually be a good idea.

was it ever offered for standardisation?

unilynx··on Delimiters won’t save you from prompt injection
Ironically FTP is especially buggy (directory listings), broken (hard to traverse NATs) and insecure
unilynx··on Apple passwords deserve an app
You can share folders in Notes
← PreviousPage 3 of 19Next →