HNHacker News
TopNewBestAskShowJobs

hexmiles

664 karma · joined December 28, 2016

submissionscomments
hexmiles··on Scrcpy 2.0 mirrors Android devices with audio forwarding
Not really unless you count Ethernet as wired, in that case there are plenty of tools that work and is probably your best option (thing like parsec, nomachine, or even steam remote play).

As far as I know scrcpy only work because android devices works as USB device/gadget and can be connected to a host, two computers will work both as host and cannot be connected directly. You could do it with something akin to the Raspberry Pi that can work as a USB device instead of a host, but I don't know of any software that does directly(without emulating a network connection, and if you emulate a network connection you could use one of the many sofware for screen sharing) if i remember correctly even scrcpy use ADB to emulate a TCP connection.

hexmiles··on My daughter's school took over my personal Microsoft account
We also have some (a lot) problem with Teams, to the point that I started recommending my colleagues to use it from a browser and nuke cookie and other data every time the authentication stopped working.

Basically when we login we need to use the "personal account" but sometimes it will not ask what account to use and automatically choose the wrong one, and once it gets stuck in this state i didn't find a way to fix it.

hexmiles··on Toshiba HD-DVD firmware archive
Kinda... The story (of Betamax) is a bit more complicated than that, the main reason of why it failed is that Sony did not understand the market where it was selling.

Also, the thing about Betamax having superior quality is a bit overblown, while Betamax at speed 1 (or A, I don't remember what it was called) DID have better quality, nobody used it! (and Sony discontinued quite quickly, favouring speed 2 and 3) since the recording time was so low.

(also the professional Betamax format is a completely different beast from the consumer one, at some point it switched to being digital)

hexmiles··on Ask HN: What are these strange random strings spamming my blog?
I think it is a reference to the show "person of interest" where an A.I. use an office (and is human) to literally print and type back is memory, in order to evade a constraint pose on its memory capabilities
hexmiles··on The bottom emoji breaks rust-analyzer
i think it also depend on the social group/context. in some place the word bottom kinda lost some of his "sexual" connotation and become just a "fun" world for submissive/unassertive.

(to be clear i also think is okay not to like this kind of language)

hexmiles··on How a heat pump works
I don't know if it applies everywhere, but two factor come to mind: the (somewhat recent) change in energy and gas price did make heat pump a lot more competitive with more traditional heating solutions, and recently there are a lot of economic incentives (at least, here in Europe) to renovate house for energy efficiency, which make solar panel and heat pump very attractive.
hexmiles··on Show HN: TunnlTo – Windows WireGuard split tunnel client built with Rust, Tauri
I also would love to know how it was able to do it. I tried implemented something similar for an application, but I wasn't able to tunnel only selected application in the end I use a SOCKS proxy and manually configured the application that I wanted to use it, but it would love a less "hacky" way to do it (not all app support SOCKS proxy).
hexmiles··on Htmx in a Nutshell
Hi, on the subject of hypermedia: I recently saw your talk when you showed hyperview.org as an alternative to HTML for mobile use case.

As someone who is very interested in the space, are there other hypermedia implementation (if is the right word) that you found interesting? Or do you have some pointer for those who want to explore this space?

Personally I really want some kind of hypermedia framework for terminal application, since I often need to work with hardware (or bandwidth) where the only interface is a terminal, and I never feel productive with manually writing the application code, having to reimplement a new client every time.

Also thank you for htmx, I started using for a couple of project, and it really is refreshing. Especially kudos for the various example, that really helped making it "click".

hexmiles··on Subtext – A multi-user BBS server for classic macOS
Thank you,
hexmiles··on Subtext – A multi-user BBS server for classic macOS
Can someone explain what this line in the feature section mean?

Telnet brute-force IP banning by sending UDP packets to a firewall host

hexmiles··on Being Ridiculed for My Open Source Project (2013)
I noted something similar with colleague and friends. I really seem to bring out the worst in people, I'm not sure what it is.

Recently I had a conversation with a friend that it is always really considerate and nuanced in every conversation (and other social network), except, Twitter where it becomes kinda vicious, or it managed always express an opinion in the most polarizing way possible. I didn't seem to realized it until I show some of the tweet it posted.

hexmiles··on AlphaFold's database grows over 200x to cover nearly all known proteins
Could not be just bruteforce? Nature operates on a much bigger temporal scale than us.
hexmiles··on Show HN: Reduce SQLite database size by up to 80% with transparent compression
It depends on the data and application,

I use a similar approach for compressing data that go in a couple of database/store. Having control on when and how to compress data can significantly improve performance, also, it sometimes makes sense to keep compress data even in memory since it can allow you to make better use of it.

Also keep in mind that often you can't control the filesystem.

One use case for which I am working right now is that I have is storing highly repetitive data on a very slow flash storage, (that technically support compression, but it is slow and with not great compression ratio), I can significantly improve performance.

edit: grammar

hexmiles··on Flipper Zero – Portable Multi-Tool Device for Geeks
Just received mine (today).

What is also amazing is the community, there are already custom firmware, extension and guides

You can find a list here: https://github.com/djsime1/awesome-flipperzero

hexmiles··on A Quick Look at QUIC Censorship
It is required to send a sni in clear at every connection? In theory, after the first connection, you should be able to just fully encrypt the entire packet by using the certificate (public key) of the website. If that is the case, is it possible to "preload" a list of keys into the useragent to avoid having to pass the SNI in clear? I understand that is not always practical, but can it help against censorship?
hexmiles··on Windows 9x Video Minidriver HD+
if i remember correctly it's a feature of the driver, basically you can set resolution higher than what is supported by your screen and it will create a sort of virtual screen that is "mapped" to the real one via panning.

Probably the gpu/driver don't recognize the resolution as supported by your monitor. It's should be possible to override that and set a custom resolution but i don't remember how... Sorry.

hexmiles··on The Game Boy Sewing Machine (2020)
It's fun seeing how the Game Boy was attempted to be used like a smartphone.

Today a lot of appliance use smartphone for user interaction in the same way this sewing machine used the Game Boy.

It makes me think the smartphone revolution was inevitable...

hexmiles··on SQLite in Go, with and Without Cgo
My primary use case is windows and embedded. Also sometimes while the compiler is easy to install, make c compilation work seamlessly across multiple machine with unreliable vendor toolchain or weird path issue where the compiler can't find the correct header/library are not that uncommon.
hexmiles··on SQLite in Go, with and Without Cgo
> Isn't the whole point of a native Go/whatever version to avoid the interop penalty?

CGO require a c compiler (not always easy available) and make cross-compilation harder

hexmiles··on ANSi Web Browser concept (2012)
Yes, but it should support also support more interactive/complex elements like forms and menus and (maybe) some scripting.

I want to be able to create relative complex interfaces, without resorting to explicitly coding them (like i'm doing now).

hexmiles··on ANSi Web Browser concept (2012)
I kinda wish there was an alternative hypertext to html focused on terminal rendering.

I would love to be able to write cui the same way i wrote web pages. right now the best solution seem to use a text-based web browser, but the are kinda limited, (i didn't find a good way to render menus for example) This seem closer to what i want

hexmiles··on Tell HN: There needs to be a “right to speak with a human”
As someone what worked in the Customer service/care industry, my two cent:

Honestly the ability to talk to a human will not solve much if anything, most problem could be solved by extremely automatic system, not even ticket system are really needed.

The main problem is the lack of the ABILITY of solve a problem. A very simple example: one common problem that user have is not having access to some kind of documentation, like bills, contract, recepits etc... now this is very simple problem to solve, except that as operator i didnt have access to the system to recover this kind of documentation! So, i could not help them, keep in mind that i could see the documentation just we did not have the ability to send it to the customer. I wasn't even a security problem since we could verify the identity of the costumer (to the point that we could make administrative changes to their contract) simply the software did not have the button "Send copy to customer".

This is just a very simple example, but i could write here an entire book of situation like that. Most of the time i know how to solve a problem but i can't.

NOW, how we solve this? From my point of view we need two thing, the first one is more money put into the customer service/care department, right now is a race to the bottom to a unsustainable point. But also we need to rethink HOW we handle support from the ground up, right now is often a complete separate department, often outsourced, that cannot in any way "talk" to the rest of the company!! This make solving problems often impossible, since we don't have an "API"(way) to solve a specific problem, (i asked for MONTHS... to have the ability to see some configurations of customer account, i could already see every form of personal information, including numbers and the european-equivalent of a social security number, but not the language selected for the UI) the support functions need to be bake-in into the product from the initial design, not as an afterthought.

Until we change how we think about support functionality and consider the support agent job with the same "respect" (i'm not sure this is the right word) as the one of an engineer the ability to talk with a human will not help you.

edit: Also the number of times i was talked-down from the Engineering department that blame everything on the "stupid-user" is infuriating!! Sometimes user make mistake, YOUR software/service NEED to be able to handle that!

edit: grammar

hexmiles··on YouTube reinstates Right Wing Watch
it's an interesting approach, since you can personalize the moderation, that I see used in some communities but is not perfect. The implementation that I see requires good tagging (where you mark what tag are you not interested in) or has poor discoverability and high manageability cost (where you have to find the correct blocklist, and this blocklist has to be constantly updated).

More importantly, it doesn't solve the other problem: I don't want to use a website that supports a certain ideology or promotes dangerous content. So the website operator needs to have some sort of serverside moderation otherwise part of the community will not comfortable using it.

Some imageboards use both system, a client-side taglist that hide undesirable comment, and some "server-side" rules about what is generally allowed. I don't think client-side only moderation is sufficent

hexmiles··on PCG32: The Perfect PRNG for Roguelikes (2018)
I also don't understand, i solved (what i think is) the same problem by having a master rng whose output seeded individual rng, one for map generation, one for enemy ai, one for loot, etc...
hexmiles··on Initial preview of GUI app support for the Windows Subsystem for Linux
in my case i couple of app that have windows equivalent, but i also install them inside linux for better io performance.

The main one is sublime merge since, while i can access my wsl repository form windows, doing so is very slow. instead i have smerge on both windows and linux to access the respective filesystem.

I admin it is a bit confusing at times...

hexmiles··on Wireless USB
i have one, so it is possible for usb 2. it also worked quite well and didn't require special driver.

I'm not sure about usb 3.

hexmiles··on Ask HN: Can build CRUD apps, what now?
I admit I was never in this exact situation, so I'm not sure if what i have to offer can help, but I can relate to the feeling of "something being outside of my capability".

What I don't understand from your post is what your end goal is? Why do you want to learn low-level stuff like building compilers or operating systems? Is it for work? Desire to improve yourself? What can help you better depends on the answer to this question.

I can offer a couple of pointers I hope they can help:

1. I was frustrated by my lack of understating of low-level concepts and how it prevented me from understanding the more complex pattern. The thing that clicked from me was building a small CPU and related hardware (timer, VGA frame-buffer, etc...), I don't remember which site/guide I follow, but today ben eater videos or nand2tetris seems good choices.

I also read a lot about game console programming (GameBoy color in particular), a lot of that low-level concepts were really a lot simpler to grasp with the visual demo to demonstrate. I'm also constantly surprised how much concepts like interrupt, how a mmu works, etc... are useful even when writing high-level code like I'm doing now.

2. Stop considering Databases, compilers, and operating systems as a single unit to learn. They are made of a lot of smaller and simpler components that together form a system. And while when are together seem very complex, often when divided into smaller part became a lot easier to learn even if the total "complexity" remains the same. Take compiler, for example, there is code generation, optimization, and syntax parsing. Instead of trying to build or understand a compiler start by learning the basics of parsing, for example by building a simple chatbot (one of the first things I wrote was an IRC bot), evolve it to understand more complex queries (for example SQL).

Related to this: One thing I could not understand was how big relational databases, like MySQL, worked, a lot of the literature on the topic seem to have a perspective that didn't help me (like the math behind it). The ah-ha moment to me was with sqlite and seeing that at the base was a simple key-value store, and everything else was built on top of this. One takeaway, for me, was that when you feel that you don't understand something, maybe you are asking the wrong question! in my case I keep searching "how relational databases work" instead of what I was really interested in "how relational databases are implemented".

3. I would not start with a thing like "the dragon book", from what I see is an extremely complete book about "everything you need to know about compiler" (hasn't read it, so correct me if I'm wrong). Book like that can seem intimidating and you risk of reading a lot of material without really learning and I feel more like an "information dump". Search for smaller book or course that are an "introduction" to compiler instead of the "everything you need to know", they may not teach you everything, but you will have a better understating of "core" concepts that allow you to tackle more complex topics a lot easier.

Side note: in the specific case of compiler search for a book/course that focuses on building an actual small language! The book my professor gave to me only had a disjointed example for each topic. Something like "crafting interpreter" with a precise goal is MUCH easier to understand while teaching the same concept.

Hope this can help, or at least a starting point for a discussion.

edit: formatting

hexmiles··on Raspberry Pi Floppy Controller Board
I see a problem tho, the floppy don't go nicely with the car enviroment and they will probably become unreadable pretty fast.

I had a similar idea but i wanted to embed small nfc tag into some floppy disk and use a broken floppy reader that i own with a tag reader inside the gut of the reader reusing only the eject mechanism and the led, (i will be missing the nice motor noise tough...).

I'm also experimenting with other cartridge-style meccanism

hexmiles··on Raspberry Pi Floppy Controller Board
from experience, most of those are really not that great, they tend to have a lot of problem reading disk and often refuse to even acknowledge the presence of a disk that my other devices (i keep a couple of old computer around for this purpose) read fine, and they don't always support lower density disk. I highly recommend ibm usb disk drive, they work much more reliably and you can find them for very reasonably price (i bought 10 of them), also they support more formats.

But if you want to read floppy from home computers (and the various format/disk layout that they use) the only solution that i found is KryoFlux or Greaseweazle.

If someone know of others "modern" floppy disk controller please share.

hexmiles··on SQLite is not a toy database
> "No, the issue is it doesn't have high availability features: failover, snapshots, concurrent backups, etc."

I think it has concurrent backups via the backup api: https://www.sqlite.org/backup.html

← PreviousPage 3 of 6Next →