HNHacker News
TopNewBestAskShowJobs

akdev1l

844 karma · joined October 27, 2023

submissionscomments
akdev1l··on GrapheneOS is the only Android OS providing full security patches
The Linux kernel cannot be relicensed. Linus does not hold copyright to most code.
akdev1l··on “Boobs check” – Technique to verify if sites behind CDN are hosted in Iran
You can do that with AWS if you really want to.

It will cost you a ton.

akdev1l··on Windows drive letters are not limited to A-Z
/usr/bin vs /bin distinction is not relevant as all major distros have gone usrmerge for years now so /bin == /usr/bin (usually /bin is a symlink)
akdev1l··on GitLab discovers widespread NPM supply chain attack
For what it’s worth, the recommended way of getting credentials for AWS would be either:

1. Piggyback of your existing auth infra (eg: ActiveDirectory or whatever you already have going on for user auth) 2. Failing that use identity center to create user auth in AWS itself

Either way means that your machine gets temporary credentials only

Alternatively, we could write an AWS CLI helper to store the stuff into the keychain (maybe someone has)

Not to take away from your more general point

We need flatpak for CLI tools

akdev1l··on Firefox 147 Will Support the XDG Base Directory Specification
> It shouldn't take a custom script cleaning up after every special snowflake that decided to use some arbitrarily-named directory in $HOME.

Not to take away from your point but I shall introduce you to systemd-tmpfiles

no scripts needed, it can clean up for you if you keep a list of directories/files to clean up

akdev1l··on Firefox 147 Will Support the XDG Base Directory Specification
You could try flatpak Firefox, if that works for you then it takes care of that
akdev1l··on Denx (a.k.a. U-Boot) Retires
Seems that it will be maintained by those using it (eg: companies and hobbyists alike)

U-boot will not die from this

akdev1l··on Steam Frame
Devices with internal batteries basically have embedded expiration dates.

Standard AAA or AA can be rechargeable so you don’t need to keep buying more. I’d suggest buying like a 100 pack or something, they’re not expensive.

akdev1l··on Oxy is Cloudflare's Rust-based next generation proxy framework (2023)
I literally know an engineer that works on the storage layer for R2 and even he wouldn’t agree that it is better than S3

He wouldn’t disclose any details to me but from point of view S3 was best in class

akdev1l··on Advice for new principal tech ICs (i.e., notes to myself)
on the contrary it seems like title deflation as Amazon principal engineers typically work at a higher level than staff at most other orgs (at least I remember a Microsoft principal would be basically an Amazon L5-6 level)
akdev1l··on Advice for new principal tech ICs (i.e., notes to myself)
L6 is a senior engineer - typically effecting change and setting direction within a development team (or small group of related teams)

L7 is a principal engineer - typically effecting change at org level which will impact many teams

akdev1l··on Today is when the Amazon brain drain sent AWS down the spout
> you can keep overworking yourself as serf on fiefdoms in which I might own shares, and increase the value of my portfolio for me, so I can draw even more passive income every month

Yeah, I guarantee you that the guy who worked at Amazon as a Principal Engineer for 10 years has a bigger portfolio than you.

levels.fyi says $967k/yr average compensation at that level.

akdev1l··on Leaving serverless led to performance improvement and a simplified architecture
It gets really complex in this workflow to even achieve something like “file coprocessor successfully” on the client side with this approach

how will your client know if you backend lambda crashed or whatever? All it knows is the upload to s3 succeeded

Basically you’re turning a synchronous process into asynchronous

akdev1l··on iPad Pro with M5 chip
> I'm assuming if you're consuming that much YT content you've moved to a premium account or something?

Yes

akdev1l··on iPad Pro with M5 chip
Except the iPad battery will last longer and will not kill your phone while you do stuff

>inb4 buy a battery bank

akdev1l··on Leaving serverless led to performance improvement and a simplified architecture
A lot of people don’t know about compilers, bash scripts and libraries.
akdev1l··on Leaving serverless led to performance improvement and a simplified architecture
The way to work around this issue is to provide a presigned S3 url

Have the users upload to s3 directly and then they can either POST you what they uploaded or you can find some other means of correlating the input (eg: files in s3 are prefixed with the request id or something)

I agree this is annoying and maybe I’ve been in AWS ecosystem for too long.

However having an API that accepts an unbounded amount of data is a good recipe for DoS attacks, I suppose the 100MB is outdated as internet has gotten faster but eventually we do need some limit

akdev1l··on Pop OS 24.04 LTS Beta
Universal Blue has this too
akdev1l··on A shift in developer culture is impacting innovation and creativity
Interesting.

for me it feels like I have to spend all day fighting with folks who are constantly “holding it wrong” and using libraries and frameworks in really weird/buggy ways who then seem completely uninterested in learning.

In my free time I love working on my own projects because I don’t have to deal with this bullshit and I can just craft things finely without any external pressure.

akdev1l··on How Container Filesystem Works: Building a Docker-Like Container from Scratch
network isolation is very important too, that’s what lets people run 4 containers all listening on port 80

process isolation is less prominent

akdev1l··on How to build a coding agent
Haven’t tried many but the LLM cli seems alright to me
akdev1l··on Rolling the dice with CSS random()
To generate random number in a specific range you need to do something I always forget and need to google.

    Math.floor(Math.random() * (max - min + 1)) + min;

(Google AI summary says this is the thing)

The CSS function would be random(min, max)

Also the CSS function seems to take a number of steps, it is not immediately obvious to me how to do that with Math.random()

akdev1l··on Do not download the app, use the website
We have really complex web applications like Photopea.

They work fine performance-wise. The example of Reddit’s website being shit is just pointing out that Reddit’s website is shit.

Google maps web applications also works really well. Both Photopea and Google Maps are far more complex than reddit.

At this point I am sure reddit’s website is shit so people are forced to use their app so they can track users better. Not because of some underlying limitation of web technologies.

akdev1l··on Do not download the app, use the website
> Those apps are universally hated because of it.

Maybe they are hated by nerds on reddit and hackernews.

I gather most people are just using the apps and have no idea how they’re built.

akdev1l··on Do not download the app, use the website
Most apps on Mac are not on the App Store

You download a DMG file or something, then you drag and drop some icon into your “applications” folder

It is kind of dumb. I haven’t seen any graphical package manage interface to handle this.

akdev1l··on AMD CEO sees chips from TSMC's US plant costing 5%-20% more
Tldr; yes they are kind of cooked
akdev1l··on Systemd has been a complete, utter, unmitigated success
That it is a Turing complete language and now people can add all sorts of crazy logic

I don’t want to have to evaluate a shell script to figure out how a system service is supposed to start

akdev1l··on Kiro: A new agentic IDE
Tried to use this to create a minimal bootloader and kernel that prints hello world in x86

There was never a point in which it successfully did anything.

1. Tried to use macOS’s toolchain (m2 laptop so this is not going to work to build x86 binary)

2. It tried to fix that and failed multiple times.

3. Eventually I gave up on it trying to fix itself and told it to just use a container with Fedora Linux on it to work around the issue.

4. It created Dockefile for Fedora 39 (current is 42)

3. It still fails to recognize that we are on aarch64 and we need x86 so the container it built was not correct anyway lol

I imagine “minimal bootloader + printing hello” is quite represented in the training set as there’s thousands of projects like this on GitHub.

If it cannot deal with basic things like this, I legitimately don’t get all the comments here praising it

akdev1l··on Kiro: A new agentic IDE
From my understanding Anthropic is independent but they offer Claude as an offering through Bedrock
akdev1l··on Systemd has been a complete, utter, unmitigated success
#!/sbin/openrc-run

depend() { need net }

# Export some ENVs for it export SERVER_ADDRESS="0.0.0.0:8088"

name="my-program" description="My program" command="/usr/local/bin/my-program" # If it does not know how to background iself command_background=true pidfile="/run/${RC_SVCNAME}.pid" # To have logs output_log="/var/log/${RC_SVCNAME}.log" error_log="/var/log/${RC_SVCNAME}.err"

It seems that it still uses Turing-complete shell scripts as configuration. Hard pass.

← PreviousPage 7 of 13Next →