HNHacker News
TopNewBestAskShowJobs

trevcanhuman

295 karma · joined April 19, 2021

"Whatever you do will be insignificant, but it is very important that you do it." -Mahatma Gandhi

Wu wei

CONTROL your vices

vice (Merriam Webster) \ ˈvīs \ Definition of vice (Entry 1 of 4) 1. b: a moral fault or failing 2. : BLEMISH, DEFECT 5. : an abnormal behavior pattern in a domestic animal detrimental to its health or usefulness.

carpe diem

I am trevor. I am a doer and a coder. I blog too.

https://blog.thetrevor.tech

My website:

https://trevcan.github.io

[ my public key: https://keybase.io/trevcan; my proof: https://keybase.io/trevcan/sigs/gaGODiC5XmrRYXSbvMfTz5vWjr5Jeoyg21fWDgR8x-I ]

submissionscomments
trevcanhuman··on Software Jailbreak for Any Kindle
Yep. This is for [e]Kindles. It's a screen reader that uses e-ink screens that save a lot of power and barely have any of that blue light that hurts your eyes.

It's just grey-scale colors.

Completely different from Fire Amazon tablets.

trevcanhuman··on Software Jailbreak for Any Kindle
Nice, would you mind sharing more info on the benefits of jailbraking it? Apart from gaining root access, is there an ecosystem to still view my saved books, pdfs, maybe even other programs / text formats ?
trevcanhuman··on Git.io deprecation: Active links to be maintained in a read-only state
Not directly. According to github, only `github.com` and `*.github.io` links were enabled.

But one could set up an html on github pages that redirects to the 'real' URL.

trevcanhuman··on Ask HN: Share your personal site
omg, you're 17! I am as well, see my comment [0].

the only thing I know about Tcl is that git uses the tcl language to generate the git gui and gitk programs.

[0] https://news.ycombinator.com/item?id=30939560

trevcanhuman··on Ask HN: Share your personal site
I have a blog[0], I write stuff. I don't have a job yet but I blog about my personal life and on technical problems, feelings, and stuff.

I also have a website with other things here and there [5].

The blog itself is literally a git repository, browsable here[1]. Whenever I push, it runs a git hook that executes build commands. The blog is composed of markdown files.

All the blog can be rebuilt by following the instructions and is meant to be as platform-agnostic as possible, meaning you could host it under any webserver under any path, links are relative, etc.

The blog system I use is blogit [2]; originally created by Pedantic software but has been heavily modified by yours truly[4]. Under the hood it's literally a makefile, unix `sed,grep,etc` to make tagging and other static stuff. It uses the markdown parser discount[3] to parse markdown into html. It is fully static and you can deploy it and just put a simple python http server on it. I use lighttpd, because I have some services set up.

[0] https://blog.thetrevor.tech/

[1] https://git-trevcan.duckdns.org/trevcan.github.io.git/

[2] https://pedantic.software/git/blogit

[3] https://github.com/Orc/discount

[4] I have this repo: https://git.trevcan.duckdns.org/blogit.git/ but it's not updated, check out the blog repo, the blogit makefile is there.

[5] https://thetrevor.tech/

trevcanhuman··on Speedcam Anywhere – catch speeding drivers from your smartphone
> FWIW, speeding causes actual deaths of members of society

It's more the culture and actions that go around it. Speeding's bad when you're not paying attention. Even driving slowly is bad if you're in the overtake lanes. I think it's much more about paying attention to one's sorroundings. I'm not saying this should apply near residential homes, but I do speed on highways because I can go fast and I only overtake through the left-most lane; I use blinkers, I light cars to let them know. I don't overtake in curves. I don't put people in danger. I don't go through yellow/reds. But to be honest, my situation is probably far more different that in the US, I live in Mexico. Most people here do speed and there's barely any authority to stop vehicles from speeding.

trevcanhuman··on End the Streaming Struggle with Plex
I'd argue that the post you link to should be flagged. The title is editorialized.

If it were indeed the original title, I'd flag this one.

trevcanhuman··on Tell HN: My kid's school installed spyware and I can't remove it
i don't think you can. I had one of these chromebooks too, which I paid for. But my school did not want to remove the 'school policy' so now it's locked and even other accounts are 'watched' and managed by the school's policy. Last time I tried to create an account it wouldn't let you create it unless you provided an email.
trevcanhuman··on Inclusive Coding Bot on GitHub
As veggietales [0] once said, "In the future, entertainment will be randomly generated."

[0] https://www.youtube.com/watch?v=j4Ph02gzqmY

trevcanhuman··on Start Self Hosting
I have a home server. It runs on a 2013/14 HP Pavillion laptop. I am indeed a linux user. I currently have arch linux installed on it. I run a blog at [0] and use a dynamic dns provider.

I must say, it has not been easy at all. I learned a lot of things. I did not attend any school lectures to learn this. I am still in high school, but thanks to the beauty of the internet and a ton of effort I was able to get a static blog working, learned a lot about free software, how sometimes just using certain web servers is just too complex.

The main web server is at [0]. It runs on my home internet connection. Thankfully they do allow for port forwarding. But it's certainly a good exercise to understand how much we give for granted to giant and sometimes small corporations.

I've learned to write and express my feelings among lots of other technical knowledge.

references

[0] https://blog.trevcan.duckdns.org/

[1] https://trevcan.duckdns.org/

trevcanhuman··on Show HN: I built an open-source web hosting platform for static sites
I think it'd be a great fit to introduce some kind of 'git' hooks that could work just like github actions.

Currently, I have a static blog served @ [0] and it is literally a git repo that runs git hooks. I think the project you're doing is awesome, but it would be nice if it could be tuned, e.g. choose my markdown processor of preference, etc.

the git repo for the blog is here: [1]

My blog uses a forked tool called blogit (made by pedantic.software) and it's makefiles and a standard markdown processor with raw html templates for headers, footers, etc.

I haven't actually used this but I think it's promising: (mkws.sh) [2]

just spitballing some ideas here and there. Nice project.

references

[0] https://trevcan.duckdns.org/blog/

[1] https://git-trevcan.duckdns.org/trevcan.github.io.git/

[2] https://mkws.sh/

trevcanhuman··on Don't ask to ask, just ask (2019)
yeah, lol I just realized he is dead. Nice joke. But he was kind of an ass in that interview so yeah.
trevcanhuman··on Don't ask to ask, just ask (2019)
Very short message, but concise.

I think it very much relates to the sentiment of Nardwuar's TEDx talk: [0]. He's an interviewer. He's interviewed practically everyone alive with music, from Nicky Minaj to Kurt Cobain and back! almost every genre !

And you know what the message is from his talk ? Just ask.

You wanna do an interview with X person ? Just ask, do it!

He doesn't wait for anyone to push him, he wants to do something, he does it. He interviewed Billie Eilish and even interviewed Cobain before the 2000s !

refs

[0] https://www.youtube.com/watch?v=HkSUazeI2nM

trevcanhuman··on Some tiny personal programs I've written
Why are they not ? This is more of an ethical dilemma. I agree with @ munificient. I could probably list a lot of things that do a lot of bad for the environment.

But making everything hyper-efficient and reducing on EVERYTHING we almost possibly do just takes away our basic freedoms. I'm not saying you're wrong about not having dogs. I have one myself but yeah, you're right. It's like having a child. But I like being able to choose having it or not.

trevcanhuman··on Show HN: iPod Clickwheel.js
I actually use a variant of the Clickwheel on a daily basis.

I use a synaptics touchpad on a Thinkpad T490. There are Linux programs that allow you to control the properties of your touchpad. And guess what? Synaptics allows for 'circular scrolling'. I've seen it also written as 'chiral' scrolling.

But yeah, it works almost the same.

docs on how to set it up: [0]

[0] https://wiki.archlinux.org/title/Touchpad_Synaptics#Circular...

trevcanhuman··on Mathematically correct breakfast: How to slice a bagel into two linked halves (2009)
You mean the Vi Hart ? What a small world.
trevcanhuman··on Ask HN: Replacement for Stack Overflow jobs section?
Have you also been added to random job mailing lists ?

A few hours after I posted my first comment on the ‘who wants to be hired’ post I got ‘referred’ by another person (whom I don’t know) to a jobs site.

trevcanhuman··on What happened to my career after 2010? (2021)
Nice. I imagined the story as it went through. I definitely felt connected to it. This guy definitely is a good writer. I also wrote about my feelings quite recently [0]. I talk about how i went through some bad feelings and how I went back up. But I'm still in high school and never had a real job, if that matters.

[0] https://trevcan.duckdns.org/blog/hello.touch.html

trevcanhuman··on Ask HN: Who wants to be hired? (March 2022)
Hello, this is a shortened version. See more: [0]

  Location:    Toluca, Mexico.
  Remote:      Yes
  Willing to relocate: Yes
  Technologies: C, Linux, Java, wpilib, webservers, C#, Unity3D, html.
  Résumé/CV: https://trevcan.duckdns.org/blog/hireme.cv.html
  Email: heror0484 [at] protonmail [dot] com
  Github: trevcan https://github.com/trevcan
  Languages: English (C1), native Spanish, basic French.
  INTERNSHIP: yes, please. (probably won't be able to take a full-time job)

[0] https://trevcan.duckdns.org/blog/hired.hn.html
trevcanhuman··on Ask HN: How to get a high school internship?
Hello. Yes, I do have a contact page here: [0]

It is kinda hidden, sorry about that. It’s only linked on the ‘about’ page of the blog.

Email is preferable. Alternate email:

  heror0484 [at] protonmail [dot] com

References

[0] https://trevcan.duckdns.org/blog/contact.html

trevcanhuman··on Is Grammarly a keylogger? What can you do about it?
Related blog post I made:

http://trevcan.duckdns.org/blog/rant-writing-tools.html

It talks more about morality and not legality.

trevcanhuman··on Ask HN: How to get a high school internship?
Yep, I’ve read a little here and there on multi threading but haven’t actually tried it out. I’ll look more into it later in the day.

I’ll definitely try it out using some http library and see if that works with the url shortening and all.

trevcanhuman··on Ask HN: How to get a high school internship?
Nice. You’ve just inspired me to write an email just about five minutes ago to a CEO.
trevcanhuman··on Ask HN: How to get a high school internship?
You're very right. I still don't know what I want it for. Of course I'd like to learn, money is (fortunately) right now not a problem for me but I would like to get an actual job, since I've actually never had one.

Right now one of the projects I've been working on is a URL Shortening service and a simple app that returns your HTTP Headers.

I'm trying to write it in Plain C. It's certainly hard. I can imagine exactly how I'd do it in NodeJS (you can define the POST and get methods directly and stuff). But I definitely want to learn how to do it from a high-enough low-level language. The problems I'm having right now are not being able to process HTTP POST requests correctly. The code is here [0].

references

[0] https://github.com/trevcan/short

trevcanhuman··on Is RT.com being censored in the West?
Maybe it’s your ISP ? From a Mexico I can access it just fine.
trevcanhuman··on Ask HN: What is your “I don't care if this succeeds” project?
I have a web server. Runs on a home internet connection (fiber, around 200 mbps). I run a blog [0] and some other stuff on the site.

I set up everything myself. From getting a dynamic DNS service with duckdns, to configuring web servers with nginx, then figuring out that it’s very complex and that lighttpd works just fine.

I’ve also learned about Linux server administration. I’m also running some services I built myself like a tiny webserver accessible from here [1].

Also, I have a git repo @ [2] and used to have an archive box instance but I’m having some trouble with docker.

Additional info on the blog:

It uses markdown. The discount version, the closest one to the first proposed standard [4]. Also, it uses blogit. My own fork actually, accessible thru the git repo. Very simple. Uses git, if you don’t track a file it isn’t deployed. The blog itself is a git repo and in theory you could view the history of my whole blog thru git. Also, whenever I push to the server repo it deploys automatically and runs a git hook that just executes the blogit command and lighttpd merely serves static files so yeah, pretty cool.

Not to brag or anything but I am amazed at how much the internet has helped me. I am still a high school senior but like programming and got into Linux like a year and a half ago and I’ve just learned so much on my own and with the help of the internet.

I did not take any formal classes to do any of this, but thanks to free knowledge I was able to do all this. I ain’t trying to share or promote some propaganda, just my thoughts and me kinda spitballing here.

So yeah, that’s it. I have a list of possible project ideas on my blog as an article. I’d love to start out with a simple url shortener. No fancy data structures, no sql, no Db, plain C with sockets, maybe a linked list and maybe less than 500 LOC ?

[0] https://trevcan.duckdns.org/blog/

[1] https://trevcan.duckdns.org/short

[2] https://git-trevcan.duckdns.org

[4] https://archlinux.org/packages/extra/x86_64/discount/

.PS yeah I skipped [3] because why not.

trevcanhuman··on Show HN: Coffeehouse, one-on-one voicechat with random HN users
Waited about 10 minutes and did not work. From what I’ve read it’s because it only connects you if you’re connected to the same server, but OP has like 20-something distributed servers so that might not play very well.
trevcanhuman··on Reading on smartphone affects sigh generation, brain activity, and comprehension
I’d advice setting up a password store[0] which does allow to get OTP codes right on the same device, but of course, it kinda defeats the purpose of 2FA but I still use it for not so important stuff.

[0] https://passwordstore.org

trevcanhuman··on Show HN: RootMy.TV
Nice, I’ve heard of it but my model is older so I can’t install it as far as I know. I’ll try rooting it maybe in a few days.
trevcanhuman··on Will you write HTML with us tomorrow?
I agree but I honestly just don’t like discord. Most of the times I use it on my mobile and my computer it chugs resources like if there was no tomorrow. But this is just my opinion and yeah, it was just a suggestion, I wouldn’t have refused to join if it were only on Discord. Although for the event in question I was not able to attend because I overslept.
← PreviousPage 3 of 5Next →