Better HN
topnewbestaskshowjobs
Log inSign up

hackernudes

812 karma · joined May 15, 2017 (9y ago) · 279 submissions

Submissions

comment 2y ago · link · parent

Would client isolation prevent the attacker at the layer 2 level?

comment 2y ago · link · parent

Srht (Sourcehut) is a github-like service well-covered by HN.

comment 2y ago · link · parent

The commenter is talking about the 6 month trip to Mars in space, not on the surface.

comment 2y ago · link · parent

Dns A/AAAA record = IP address

Dns SRV record = IP:port

Not sure why SRV never really caught on for most internet stuff.

(Edit: SRV records are hostnames, not IPs, so I guess it takes two lookups?)

comment 2y ago · link · parent

100% of the USD value at time of bankruptcy.

comment 2y ago · link · parent

The author of the article is annoyed about waiting for the results to appear in a box that takes up almost the whole screen (obscuring the traditional non-AI results). The author also points out that sometimes the AI information is wrong.

comment 2y ago · link · parent

In my opinion the Linux kernel is the gold standard for makefile use (they call it kbuild).

It solves the cflags-changed problem by writing out the command used to build and updating it in the filesystem only if it has been changed (see "if_changed").

It has some external (to make) dependencies (a c program and numerous shell scripts) to make it work but it's great and can be relied upon!

It wouldn't be that crazy to get content-based dependencies working, especially looking at kbuild as an example.

comment 2y ago · link · parent

Could it be that the alternative is losing stuff forever?

comment 2y ago · link · parent

DSA = Directed Self-Assembly

comment 2y ago · link · parent

AMD employs people to write the open source drivers. They have access to internal resources. I think it is possible that the public docs are incomplete.

comment 2y ago · link · parent

No, they just removed the bullet points about what to include in a report. The 90 days part was in both versions.

comment 2y ago · link · parent

As long as government can't print more Bitcoin, I don't see the problem!

comment 2y ago · link · parent

Perhaps it could be used to break in to some locked devices.

comment 2y ago · link · parent

Care to share your opinion more clearly? PCIE is eating the world? More modular computing systems? None of that seems "big" to me so I am probably missing your point.

comment 2y ago · link · parent

There would have to be a canonical source of truth (with private key). Then one could be reasonably sure an update is blessed by the owner. Makes me think of nostr + git + torrent/ipfs.

comment 2y ago · link · parent

What about the lightning network? Or Liquid sidechain? There are lots of people working on scaling bitcoin so that it can be used like cash (low fees and anonymous).

When a user receives a payment in Cash App or Strike over the lightning network there is no way to track where that bitcoin came from. I haven't really tested that out yet, but I find the idea that bitcoin can be the rails of transferring value pretty compelling. Most people can still transact in fiat but with trustless interoperability between banks and service providers. And of course if people are happy transacting in units of bitcoin it can all be done in a trust-minimized way (with tradeoffs available for convenience, etc...).

But to your point, the government could crack down on the app stores and service providers to not support this kinda stuff.

comment 2y ago · link · parent

I guess what I'm asking is do they have to do it? I haven't tried reading any of the filings, etc... I'm wondering if someone has already done the work for me to say if this issue has been addressed by the SEC and/or individual ETFs.

comment 2y ago · link · parent

The only thing I am concerned about is "paper bitcoin" and rehypothecation. Is there anything published about how ETF entities might prove they have custody of the amount of bitcoin they claim (in other words, proof of reserves)?

comment 2y ago · link · parent

https://humungus.tedunangst.com/r/vertigo

Took way too long to find the link!

comment 2y ago · link · parent

Share your work? ;-) Are you doing something like adding "arch/wasm"? I'm just someone who wondered about how possible it was on a rainy day...

comment 2y ago · link · parent

The article mentions sslh which works like httpssh. It also possible to achieve this with haproxy like this:

    frontend https
      bind *:443
      mode tcp
      tcp-request inspect-delay 2s
      use_backend https_loopback if { req.ssl_ver gt 0 }
      default_backend ssh
Another option is to use TLS SNI (Server Name Indication) like a virtualhost-style ssh server (https://www.haproxy.com/blog/route-ssh-connections-with-hapr...). You can use the 'openssl' command in your ProxyCommand which is pretty readily available.

comment 2y ago · link · parent

Nice, for some reason I never thought about the CONNECT method like a reverse proxy instead of a forward proxy.

However, CONNECT wasn't good enough for me. I did ssh over websocket to bust through a corp proxy (it inspected https connections with a custom CA).

I modified socat to serve my ssh server over websocket through apache. I also used it on the client end with openssh's ProxyCommand. I keep meaning to upload that patch, but there are other options around (websocat, for example).

comment 2y ago · link · parent

Maybe similar to https://github.com/moul/quicssh

I've done ssh over websocket before (to bypass a corp proxy)... been thinking about it a lot lately. I would love if mosh got support for different transports than just udp and it would be cool if the initial handshake could be done over http instead of ssh.

comment 3y ago · link · parent

It could be doing dns over https (DoH).

comment 3y ago · link · parent

Gotta be this one https://www.youtube.com/watch?v=9STiQ8cCIo0 ("Unreal Super Hero 3" by Kenet & Rez)

It has been stuck in my head for years and I was able to find it now!

comment 3y ago · link · parent

I updated a comment I wrote earlier about what nix is. Always remember to keep your mind and body pure (I kid, but purity is a common theme in nix).

Nix is a programming language plus utilities. It is designed for packaging software in a reproducible way (https://github.com/nixos/nix/).

Each package is called a "derivation", which is a function that takes inputs and makes output. The inputs are everything that is needed to make the output. It is "pure functional" package management - for the same input arguments, the same output will be produced. Nix is really fast because each derivation is hashed and cached and the language is lazy-evaluated.

Builds are "hermetic", meaning only the inputs specified in the derivation are available at build time. Contrast this to some packaging systems, where the build is done against some staging area where packages get installed as they are built and the output can depend on the non-deterministic order that packages are built.

Nixpkgs (https://github.com/nixos/nixpkgs/) is a large collection of recipes for existing software. It contains both rules to build software as well as "modules" to configure it or extend it. NixOS the linux distribution is also part of nixpkgs. There are lots of design patterns here and it can go pretty deep. There are also tons of hacks and patches and workarounds to make software conform to the way nix works. Nixpkgs also has a lot of useful library modules built in.

Nix is the latin word for snow. Nix "flakes" are a way to combine multiple flakes as inputs as well as pin their version. Kind of like pipenv/requirements.txt or "cargo lock" or "yarn lock" but for anything.

The output of derivations go in the "nix store" which is a path like /nix/store/<hash>/, so all sorts of software can co-exist (think multiple incompatible versions of the same library) and can be referenced in a fixed way.

Any kind of software can be packaged as a ".nix" file. It's really common to make a "shell" for software. For example, today I wanted to run GIMP (the image editor). I didn't have to install it in a traditional sense. Instead, I ran 'nix shell nixpkgs#gimp -c gimp'. That makes a shell environment for the "nixpkgs#gimp" derivation, including adding /nix/store/12naig12mnhrzpn88bvvw2vakyd18sjq-gimp-2.10.34/bin to PATH, and runs a shell script command (gimp). Nix makes sure to fetch all the outputs and runtime dependencies of the gimp package for me (which are cached locally and on the internet).

comment 3y ago · link · parent

Related to mosh (mentioned in the article), something has been bouncing around my head a lot. Why don't terminal emulators already work the way mosh does, decoupling the terminal part and the rendering part?

I assume it is possible to ingest a stream of terminal data much faster than rendering it (obviously keeping track of what is needed to render). Then the render loop can happen independently at a certain framerate, like a game engine. It is quite frustrating when a verbose 'cat' or 'find' slows my terminal emulator to a crawl drawing each line.

(edit: it just occurred to me that maybe this would break scroll-back in the terminal emulator... hmm)

comment 3y ago · link · parent

00/12 is the description. The rest of them are 01, 02, etc...

It all works great if you are actually subscribed to the mailing list. The kernel "lore" site has a better interface to the mailing lists and can download stuff as mbox files - https://lore.kernel.org/all/20220329165900.1139885-1-ascull@...

There is also a service called "patchwork" that collects these patches in a web page format

comment 3y ago · link · parent

Does that use gnome for the wayland compositor? Not sure what you mean by compiz in this context -- I thought that was an X11 window manager. I see wayfire is a "spiritual successor" of compiz based on wlroots.

I am using sway + wlroots + xdg-desktop-portal-wlr on my system.

1
567
10