HNHacker News
TopNewBestAskShowJobs

hojjat12000

396 karma · joined February 28, 2018

submissionscomments
hojjat12000··on Fixing a bricked Framework laptop
It's interesting to read this. Because I recently had something similar happened to me and I had mixed feelings like the author here.

I have the original Framework 13, but I have almost changed everything inside of it (motherboard AMD 7840U, wifi 7, ram 96GB, ssd, better hinge, the CNC shell, hdmi dongle v3, APU Fan, speakers v2, webcam v2). I still was using the original battery and it was at 60% health. So, I decided to update to the 61W battery.

After changing the battery, I decided to turn on the battery charge limit to keep the battery at a cool 60% charge to increase its lifespan.

First interesting thing I faced was realizing that Framework has 2 methods for the battery limit implementation. You have to use framework-tools and set it on the ec instead of the standard Kernel module. The kernel allows you to set the min and max, but the ec just allows you to set the max, and it will automatically set max-5 as the min.

But what was more frustrating, was realizing and when it gets to that threshold it constantly discharges 5-9W until it gets to the min and then charges the battery again back to the threshold. So, if you set a threshold it keeps charging that 5% once an hour, instead of parking the battery and waiting for the natural discharge to get to the min (which should be days later, since when you're plugged in the battery is not used for anything, it's like your laptop is off, not sleep, off).

But the good thing is the ec code is open source, I found the code, dug into it, found a bug, fixed it, flashed it, and for the past 2 weeks my battery is working perfectly.

I opened a PR, then found a multi hundred forum post of people talking about something similar with no proper solution, or any fixes in the ec. And my PR has been sitting there with no attention from Framework. Setting a battery threshold is actually worse for your battery because of this bug, but nobody is in a rush to fix it!

So, I'm mad that Framework operates this way, their circuitry, power delivery, and software is flawed (just read the forum thread[1]). On the other hand I'm happy I can see the code, find the bug, and fix it at least for myself! Feels like the hardware version of Linux! If you are technical, you can literally change how your kernel behaves. You can't recommend it to your Mom, but you definitely prefer it to the closed alternatives.

[1] https://community.frame.work/t/tracking-battery-flipping-bet...

hojjat12000··on Good Tools Are Invisible
Somebody wanted you to try their favorite tool, so they showed you how easy it is to do weird things in it. That doesn't mean they're using it because they can do puzzles!

If you're a programmer, you enjoy being able to get most of your editing done in your editor without going into the menus and digging for a feature, or searching a store for a plugin that allows you to do that. Of course if you have used your editor for years, and you know all the menus, shortcut keys, and have all the necessary plugins added, then you're fine!

Vim or Emacs allow you to learn some fundamental small tools and mix them to get your job done. Sublime and others allow you to find exact tools for those jobs that others put together. At the end, 10 years later, they're the same.

You're not better. They're not better.

hojjat12000··on Show HN: 3D Binpacking Algorithm Visualized
From this repository:

A 3D bin packing algorithm originally ported from https://github.com/keremdemirer/3dbinpackingjs, which itself was a JavaScript port of https://github.com/wknechtel/3d-bin-pack/, which is a C reconstruction of a novel algorithm developed in a U.S. Air Force master's thesis by Erhan Baltacioglu in 2001.

hojjat12000··on Valve says Counter-Strike 2 for macOS not happening, there aren't enough players
Imagine playing CS on an streaming service! People are chasing more FPS and better hardware to see their opponent a millisecond sooner, talking about tick and subtick impact on the game.

Playing single player games on a streaming service is fine, but competitive games? I don't think that's gonna get too much traction.

hojjat12000··on Newest Linux Gaming Predictions for 2023
This comparison is pretty unfair! SteamDeck is as open as it gets! The last thing left for Valve to do finish mainlining the drivers (they have done a few in the past few months).
hojjat12000··on Framework Laptop 16
It's a qmk keyboard, you can literally map CapsLock+H/J/K/L to be your arrow keys!
hojjat12000··on ViperGPT: Visual Inference via Python Execution for Reasoning
Have you been to Github's trending page in the last few months? It's like Chatgpt turned conscious and is using humans to take over the world!
hojjat12000··on Biohazard: Iconic symbol designed to be “memorable but meaningless” (2016)
pirates...
hojjat12000··on Tell HN: Firefox Is an awesome browser right now
I also suggest using Tab Session Manager. Sometimes I save a session and close everything and start working on a different project, but I know I can go back to my previous session and continue the previous project. I'm not afraid of losing any tabs because it also has an autosave.
hojjat12000··on Bank of America has lost Zelle transfers for many customers
My girlfriend also lost 3000. Somehow money was sent from her phone to someone in Texas. We contacted chase and they said "you did it" so no refunds. But we didn't! She works from home and there is no other IP other than her phone in her Chase account. So how did this happen? We filed a complaint with the Police and tried to figure out what we can do through other channels. Turns out nobody cares!
hojjat12000··on System76 AMD-Only Laptop Returns
As far as support goes. System76 would be your best bet. You can also checkout HP Dev One (which comes with System76's Pop!_OS).
hojjat12000··on Nix on the Steam Deck
Well that's what Steam does too. Creates a whole new Wine prefix with specific tweaks for this specific game to make it work. Pretty similar if you ask me.
hojjat12000··on Accidental Google Pixel Lock Screen Bypass
Oneplus used to be good. But the experience and the OS is not the same. If you want Dex. Why not Samsung? I have a Pixel 6 (which I regret trading my Onplus6t for) and my next phone probably will be a samsung. The new ones are pretty stable and not as bloated as they used to be.
hojjat12000··on Your Organization should run its own Mastodon server
Mastodon Mafia? Please enlighten us.
hojjat12000··on A Big List of Mastodon Resources
No it doesn't. It's a "different" social network, it's not an exact clone of Twitter. There is a need for a primer for the flock of the new users to get them up and running ASAP.

If people don't like Windows 11 and decide to switch to Linux, they need posts that help them settle down. It's a "different" OS.

hojjat12000··on Abstracting over ownership in Rust with higher-rank type bounds?
> Rust community to communicate in such a way that Rust is never wrong

Just read about Async Rust to see how critical of Rust the Rust community can be!

hojjat12000··on Rust 1.63
Except for Libc. I compiled a rust program on Ubuntu 20.04 and tried to run it on Ubuntu 18.04, and bam.... a piano fell on my head! Consequences.
hojjat12000··on 15.ai
They named their tts "Deep Throat"? Why would you?
hojjat12000··on The new and upgraded Framework Laptop
You don't "NEED" to upgrade your chassis. Even if you do, it's just one piece out of the 3 pieces for your chassis. You'd be upgrading your motherboard and CPU. You can reuse your wifi, storage, ram, your expansion cards, your display, your speakers, your keyboard, your touchpad, your battery, powersupply, cables...

That being said, you don't need to upgrade from 11th gen to 12th gen. Maybe in a few years when 11th gen isn't cutting it for you anymore you can upgrade to 15th gen.

It's great that they provide a path for upgrading, but the more important thing here is having more recent hardware for someone who wants to buy a framework in 2022.

hojjat12000··on Tell HN: Have just discovered that I can use any key as Ctrl on my keyboard\
I'm gonna blow your mind now:

- You can have multiple layers

- You can choose "a" to act as your control key when held down, but create a "gaming" layer that disables this feature, so you'd have your "WASD" direction keys back for the game and hold them down to move around.

- You can have a mouse layer, which mean if you hold down a key, some other keys will control your cursor. I normally use this to scroll up/down (mouse scroll buttons) wherever page up/down keys don't work.

- You can add snippets and macros to some keys to automate something you type a lot (your email for example).

- You can configure the keyboard in a way that your finger don't need to travel more than one key away from the home row.

hojjat12000··on Why Not Rust? (2020)
Wait, you're complaining that the people who used Rust to write a production software enjoyed it so much that they want that experience for all other softwares too? They enjoyed it so much that they told others? and others who also enjoy writing code in this language want to work for you? Are you saying you're afraid that "too much of a good thing" could cause issues for you?
hojjat12000··on YouTube deleting comments who criticize their hiding of the dislike count
The same thing is happening to me right now. Maybe something is wrong in Youtube! My comments are about Youtube and it's under a video that the person is angry that their views are going down (JayzTwoCents). But I can see it being deleted! I have seen multiple content creators also mentioning something like "if you leave a comment and it gets deleted it's not me, youtube is doing it and I don't know why" in the past week.
hojjat12000··on Complete saying was “The Jack of All Trades is a Master of None, But ” (2019)
Whenever I see something like this, I wish people would add a reference. I tried to find the "original" quote. But wikipedia says there is no instance of it before 21st century. So, "Jack of all trades" was the original -> compliment. "master of none" got added later -> made it not a compliment. "but better than master of one" got added more recently, to make to a compliment again. Funny enough, this comment on a medium post is also one of the references in the wikipedia page: https://en.wikipedia.org/wiki/Jack_of_all_trades,_master_of_...
hojjat12000··on The Linux Experiments YouTube channel has been terminated
At the bottom of that page it says:

"Proposed preface to Animal Farm, first published in the Times Literary Supplement on 15 September 1972 with an introduction by Sir Bernard Crick. Ian Angus found the original manuscript in 1972."

So, I don't think this was written during WWII.

hojjat12000··on Ask HN: Offline Learning Resources for Children
I know you said iMac, but if you are OK installing Linux on it, I think Endless OS* is what you're looking for:

* https://endlessos.com/home/

hojjat12000··on I do not agree with Github's use of copyrighted code as training for Copilot
Researchers in our lab created a huge dataset of facial expressions from images on the web, annotated it and published the URLs to the images and the annotations for research but made sure to search only for images with proper licenses. I don't think that you are allowed to just go download any old image and train on it. I understand the many many people do it, but it's not legal (as far as I know, please correct me if I'm wrong).
hojjat12000··on Use Alacritty instead of Termite
I also read some of their interactions with people having issues on Gnome Wayland. I recently switched to Tilix. I realized multiplexing makes me a lot faster than gpu powered terminal. and if I'm supposed to use tmux, then alacritty is a lot slower with tmux and loses it's "speed" (it's another issue on their page that I had fun reading all the way through)
hojjat12000··on Send: A Fork of Mozilla's Firefox Send
Naive question: The github page says 62% of the languages used in this repo is FreeMarker. I checked the repo and every file I look at is js, what and where is FreeMarker?
hojjat12000··on IN Stunning Reversal, NASA Halts $2.9B Contract with SpaceX
SpaceX wasn't a thing. They liked to be. Then they became (because of hardwork and billions of dollars in highly criticized government contracts). No one can just become a competitor out of nowhere. They need a push. I hate to see SpaceX be the only private company with internet satellites, or the only private company with access to the moon and Mars.
hojjat12000··on Private Home Directories for Ubuntu 21.04
Pop OS is great. Of course I had some issues with UEFI stuff (since they don't use GRUB) but their website had great tutorials for NVMe SSDs. And you have flatpak instead of snap (so no snap folder in your case). But most importantly, they have a killer tiling extension for Gnome. It is superb.
Page 1 of 4Next →