HNHacker News
TopNewBestAskShowJobs

ghgr

1,807 karma · joined November 26, 2012

CTO & Co-Founder at REClosure

Email: eduardo <at> alisio-computing <dot> eu

LinkedIn: https://www.linkedin.com/in/eduardo-pena-vina-6a684966/

submissionscomments
ghgr··on Care Doesn't Scale
I think you might be referring to this comment: https://news.ycombinator.com/item?id=41952570
ghgr··on Show HN: Vomitorium – all of your project in 1 text file
As an alternative to (npm -g)'ing here some potentially useful coreutils one-liners I've been using for a similar purpose:

- Dump all .py files into out.txt (for copy/paste into a LLM)

> find . -name "*.py" -exec cat {} + > out.txt

- Sort all .py files by number of lines

> find . -name '*.py' -exec wc -l {} + | sort -n

ghgr··on Making a Flute-Controlled Mouse
Ha! In case you're one of today's lucky 10,000 https://en.m.wikipedia.org/wiki/John_Draper
ghgr··on Gakken Ex-System
Reminds me of Scatron (sold in Spain in the 90s)

https://jvgavila-com.translate.goog/aypetronic.htm?_x_tr_sl=...

ghgr··on Qubes OS 4.2.0 has been released
I've been using QubesOS for years, and I highly recommend it. Not only for security (which of course), but also for the cleanliness of not polluting your computer with a myriad of dependencies for projects you just tried once.

And of course, the high-risk activities that we all have to do at some point (now at least their risk is limited to their virtual machine) :

  - curl|bash or similar 
  - pip install, npm install etc
  - run any random github project
  - sudo install the drivers of my Brother printer
  - install zoom
  - plug random cheap USB devices to eg update their firmware
ghgr··on What is the point of a public key fingerprint?
I'm not sold on this argument. Why is a 40-char long fingerprint better that verifying the last 40 chars of the public key?
ghgr··on Ash Framework
In case someone needs more context (like I did):

Ash Framework is a declarative, resource-oriented application development framework for Elixir. A resource can model anything, like a database table, an external API, or even custom code. Ash provides a rich, and extensive set of tools for interacting with and building on top of these resources. By modeling your application as a set of resources, other tools know exactly how to use them, allowing extensions like AshGraphql and AshJsonApi to provide top tier APIs with minimal configuration. With filtering/sorting/pagination/calculations/aggregations, pub/sub, policy authorization, rich introspection, and much more built-in, and a comprehensive suite of tools to allow you to build your own extensions, the possibilities are endless.

For those familiar with Phoenix, you can think of Ash as a declarative application modeling layer designed to replace your Phoenix contexts.

[1] https://github.com/ash-project/ash

ghgr··on Ask HN: What are some self-hosted photo organizing/sharing programs?
If you want something easy to deploy, zero maintenance (almost) and with a tiny footprint I can't recommend PiGallery [1] enough. Also good mobile support.

I tried some of the fancy alternatives here suggested, but they insist in doing it their way. PiGallery just displays your folder structure as Albums, simple as that, whereas others like Photoprism keep ruminating in the background doing their AI, which I personally don't need.

Pair that with a good backup strategy with e.g. restic and you're ready to fly.

[1] https://bpatrik.github.io/pigallery2/

ghgr··on PDF Tool – Modify PDFs in the browser without uploading
I've been using pdfarranger for years without issue. It's even available in the Debian (and probably Ubuntu) repositories (sudo apt-get install pdfarranger)
ghgr··on Launch HN: Rubbrband (YC W23) – Deformity detection for AI-generated images
And his coffee should be boiling
ghgr··on Tor is not just for anonymity (2022)
Fun fact: the bald eagle scream heard in most movies and television shows is actually the call of a red-tailed hawk.

https://www.clickondetroit.com/news/local/2023/03/28/do-you-...

ghgr··on Quora offers now AI-generated answers too
Looking for info about the intel gathered by tampering undersea cables (since most traffic is encrypted nowadays) I stumbled upon a Quora thread. The interesting part is that the first answer is by their "Sage AI bot", which in addition to offering an answer, it suggests followup questions.

(Not associated with them in any way, I just found it interesting).

ghgr··on QubesOS – A reasonably secure operating system
I highly recommend it. Since I tried it a couple of years ago I can't imagine working without it. Examples of things that I can't imagine doing in any other system:

  - curl|bash or similar 
  - pip install, npm install etc
  - run any random github project
  - sudo install the drivers of my Brother printer
  - install zoom
  - plug random cheap USB devices to eg update their firmware

In addition to that you can easily restart frozen VMs without restarting the whole system, keep backups of your VMs (very handy when restoring or changing PCs), reinstall some VMs if you mess up, etc.

Not suitable is for GPU intensive work, though (although if you have a dedicated GPU in theory you can assign it to a VM).

ghgr··on Self-hosted photo and video backups directly from your mobile phone
I'm very satisfied with PiGallery2. I'd love to try PiGallery3, but I can't find it. Could you share the link for the project, or was it a typo? (hope not!)
ghgr··on Amazon Ring cameras used in nationwide ‘swatting’ spree, US Justice Dept. says
Regarding the robot vacuum you can have the best of both worlds if you get a compatible device and flash an open-source firmware, like Valetudo [1]. You can operate the device by pressing a button, and you can configure it from a locally-hosted webapp (it doesn't need internet access).

[1] https://github.com/rand256/valetudo

ghgr··on Ask HN: What prevents a company from hiring remote employees internationally?
> - Lack of legal presence. Having no legal entity in the country you're hiring in is a non sequitur, and setting up a legal entity per-country-per-hire is not scalable (beyond setting up the entity itself, you need to be aware of local labour laws, your tax obligations, insurance, etc.) I think Deel (https://www.deel.com/) has already solved this.

Just to add that Deel costs are from $599 per contract / month, so I wouldn't say that this problem is solved, especially for a startup trying to hire abroad.

ghgr··on Ask HN: What are some blog posts that you have enjoyed going through?
Playing to Win: https://www.alicemaz.com/writing/minecraft.html

A beautifully narrated real story about hacking the economy of Minecraft.

ghgr··on Show HN: Wa-tunnel – HTTP Tunneling through Whatsapp
> If too many people cheats to torrent/4K/whatever, the carriers will need to readjust the plans for the system continuing to works (= prices will go up)

This hypothesis assumes that carriers can increase prices and the public will still pay them. If so, it follows that they are now leaving money on the table, which sounds unlikely.

I think it was Tim Hardford who wrote about something similar in his book "The Undercover Economist", in the context of the spectrum auctions in the different countries.

ghgr··on MilkyTracker
MilkyTracker is an open source, multi-platform music application for creating .MOD and .XM module files. It attempts to recreate the module replay and user experience of the popular DOS program Fasttracker II, with special playback modes available for improved Amiga ProTracker 2/3 compatibility.

https://milkytracker.org/about/

ghgr··on LibRedirect: Redirect YouTube, Twitter, Instagram to privacy friendly services
Although the extension by default requires full access to all the websites you visit, in Chromium you can limit its permissions to a list of websites (for example twitter.com, reddit.com, etc.). Does anybody know if such a thing is also possible in e.g. Firefox?
ghgr··on Show HN: MyNotifier – Simple Notifications
Does it require Google Services for push notifications on Android? (like e.g. Pushover)
ghgr··on Sending spammers to password purgatory
You can check in their GitHub repo [1] the list of reasons to reject your password (classified by level of "InfuriationLevel"). Some examples:

'Password must contain at least 1 primary Simpsons family character'

'Password must contain at least 1 Nordic character'

'Password must contain at least 1 Greek character'

'Password must contain at least 1 primary Griffin family character'

'Password must contain at least one emoticon'

'Password when stripped of non-numeric characters must be a number divisible by 3'

[1] https://github.com/troyhunt/password-purgatory-api/blob/mast...

ghgr··on PiBox: a tiny personal server for self-hosting
> Where are you getting these measurements from?

I made them myself with a kill-a-watt. The consumer grade PC's idle at ~60W, meanwhile the Dell PowerEdge R710 I have here with me idles at ~250 W.

ghgr··on PiBox: a tiny personal server for self-hosting
With the current electricity prices in Germany you'd be paying around 30 €/month for a 100 W always-on server. And enterprise servers idle at around 200-250 W, so there's that.

Compare that to a RPi that idles at ~5 W.

ghgr··on Ask HN: In these uncertain times, how do you handle anxiousness
I stumbled upon this insightful comment in Reddit and I think you might benefit from it [1]:

-- hi OP. Hey i am 66 (I still can't believe that number, haha. Luckily I am still super healthy). I was in 2nd grade when president Kennedy was shot in the head, live on national television. His brain flew out into his wife's lap. It set off a wave of assassinations (president's brother, MLK, etc). I grew up knowing that the yellow and black triangles symbol meant "fallout shelter" and we were supposed to go there in case of nuclear attack. We did "duck and cover" drills in elementary school. Hide under your desks. Once, they sent us home with pamphlets about nuclear attack preparation. OK don't laugh, the pamphlet said "wear loose white clothing in case of nuclear detonation. Don't look directly at the explosion." They flew warplanes overhead once per week after bedtime, faster than the speed of sound, and we would hear the "sonic boom" which scared the crap out of me. It rattled the windows, shook the house. People were truly panicked, using their life savings to dig holes in their backyard, and building and equipping "bomb shelters" to try to survive nuclear fallout. It didn't feel like that stuff was ever resolved, it just faded from attention, it was buried by other distractions both negative and positive. Wasn't too much later the government had a giant meltdown that scared the crap out of everyone. It was right as I came of voting age, haha! Oh my god. Watergate, it was called. Huge corruption scandal, everyone was just breathless with shock and disgust and fear. At that time people around me trusted the government to be solid enough to remain (seemingly) just, and we learned it could seemingly recover, at least back then. Around this time we were also in a totally illegal war, and we had a freaking lottery to decide which 18-year-olds would be forced to go fight the Viet Cong in the jungles of southeast asia. High school grads coming back in body bags, kids running away to Canada to avoid getting roped into the army. And hippies happened, communes, free love, weed -- all of which caused the older ones to lose their minds because society looked to them to be coming apart. Some of us died. Most of us lived. You are living the stories you will tell young people, when its your turn to comfort them. None of this is to minimize what you are sensing around you! You are awake and aware, you are not overreacting. I am so sorry. I wish I could just listen to you for a couple hours. You are having one of those wakeup moments. We all will be each having our own wakeup moments. Our job is to comfort each other when we feel like this. We will all adapt and do our human best to cope with whats coming. Help each other not freeze in place, but take the most intelligent and resourceful steps we can muster. The system is unable to help, its unreliable --

[1] https://old.reddit.com/r/NoStupidQuestions/comments/v9l0j6/i...

ghgr··on figlet – a program for making large letters out of ordinary text
I love figlet! I use it to generate the ssh banner in every server I set up. Not just for the l33t factor ;) but also to quickly confirm visually which host I'm connecting to (specially when multi-hopping, where you can see the whole chain of hosts). It works not only with pure ssh, but also with tools working on top of it (scp, rsync, port forwarding... I'm not sure if even sshfs).
ghgr··on Simple software things that are actually very complicated
Thanks for sharing! It brought back to my mind this project of mine (more like a "wish" than an actual project) to build the current technology tree (like Age of Empire's or Factorio's) as a sort of wiki. And of course the wonderful essay by Leonard E. Read "I, Pencil".
ghgr··on Show HN: Oldest Search – Search for the oldest result on internet
Some of you found cases where it says that something is more recent than it actually is.

I find it funnier when it finds results that are older than the real thing. How's that possible? For example, for "Tiktok", first result:

Make Your Day - TikTok: 9 Feb 1996 ...

ghgr··on Mail Tester
That's a great site and I used it in the past with great success. Just be wary that even having a 10/10 it doesn't mean that your email won't land in the spam folder. It's been happening to me with Microsoft (Hotmail/Outlook) for as long as I maintained my own mail server. After trying everything (even contacting them just to get a nofix automated answer) I decided to go with Migadu.
ghgr··on Ask HN: Why isn't there a Google competitor emerging?
PageRank is a neat algorithm that recursively weights incoming links based on their own incoming links. So a link from HN has more weight than from a small blog. And how does it know that HN should have more weight? Well, because there are many important sites pointing back to HN. And how does it know that those sites are important? And so on...

But AFAIK Google no longer uses PageRank, or at least not the same version as we know it.

← PreviousPage 2 of 6Next →