24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions
https://www.bitecode.dev/
Email: contact at bitecode.dev
152.
You can find the bash manual in the Epstein files(bsky.app ↗)
5 points · by BiteCode_dev · 9mo ago · discuss
comment 9mo ago · link · parent
That includes:
Dependency on US-hosted digital services (emails, chat, calendars, ticket systems, online editors, file hosting, sync services, payment providers) — e.g., Gmail, Google Docs.
Dependency on third-party authentication providers — e.g., login via Google, Apple, Facebook, Twitter, GitHub, and iCloud on iPhones.
Dependency on US cloud infrastructure providers — e.g., companies relying on Amazon Web Services (AWS) and Microsoft Azure.
Dependency through supply chain partners who rely on US tech — e.g., digitization partners using AWS/Azure impacting invoice processing.
Dependency on US-based business IT software and data services — e.g., banks using Microsoft LDAP, accountants using Dropbox, telecoms storing data in Oracle data lakes.
Dependency on US-controlled operating systems on user devices — e.g., Windows, macOS, iOS, Android.
Dependency on US-designed chips in most devices — e.g., Qualcomm, Intel, AMD, Nvidia, Apple chip hardware.
comment 9mo ago · link · parent
But seriously, this is my main answer to people telling me AI is not reliable: "guess what, most humans are not either, but at least I can tell AI to correct course and it's ego won't get in the way of fixing the problem".
In fact, while AI is not nearly as a good as a senior dev for non trivial tasks yet, it is definitely more reliable than most junior devs at following instructions.
comment 9mo ago · link · parent
This loading is not nearly as seamless as a regular app starting back up.
For a regular app, you have the app loading, and the os cache helping with it. If you do your job half correctly, it loads as a block almost instantly.
For a web app you have the web browser loading, the the display of the white viewport in a flash, then the app loading in the browser (with zero os cache to help with so it's slower). It needs then to render. Then restoring the scroll (which is a mess with a browser) and the state as much as you can but you are limited with persistence size so most content must be reloaded which means the layout is moving around. Not to mention JS in a browser is not nearly as performant as a regular app, so as your app grows, it gets worse.
comment 9mo ago · link · parent
You still can't have a "share to" target that is a web app on iOS. And the data your can store in local storage on safari is a joke.
Of course, forget about background tasks and integrated notifications.
In fact, even on Android you miss features with web apps, like widgets for quick actions, mapping actions to buttons and so on.
And no matter how good you cache things, the mobile browser will unload the app, and you will always get this friction when you load the web app on the new render you don't have on regular apps.
comment 10mo ago · link · parent
We haven't evolved for that. Our brain is trying to figure out a narrative between two things following each other. It needs time to process stuff. And there is so much shock it can absorb at once. So many "?!" and open loops in a day.
I made a TikTok account to at least know what people were talking about. After 3 months, I got it.
And I deleted it.
I felt noticeably worse when using it, in a way that nothing bad for me, including the news, refined sugar and pron, ever made me feel. The destruction was more intense, more structural. I could feel it gnarling.
In a way, such fast feedback is good, because it makes it easy to stop, while I'm still eating tons of refined sugar.
comment 10mo ago · link · parent
Taleb has a nice bit on that, explaining that if something exists for long, it must have enduring beneficial properties, and if you think it's stupid, you are the one having a blind spot.
Dawkins led to the same conclusion: stuff that works stays and multiplies. You may not like it, but nature doesn't care what you think.
It's true for entities, systems, traits, concepts...
Everyone mocks Karens, until your flight is delayed and that insufferable lady tires up the staff so much that everyone gets compensation.
I dislike lying but it works, and our entire society is based on it (but we call it advertising).
Don't like mysandry? Don't understand why nature didn't select out ugly people? Think circumcision is dumb?
All those things give some advantages in some context, to such an extend it still prospers today.
In fact, several things can be true. Something can be alienating, and yet give enough benefits that it stays around.
A huge number of things are immoral, create suffering, confusion, destruction, even to the practitioner themselves, and yet are still here because they bring something to the table that is just sufficient to justify their existence.
See your friend making yet again a terrible love choice, getting pregnant, and stuck with a baby and no father? From a natural selection standpoint, it could very well be a super successful strategy for both parties. The universe doesn't optimize for our happiness or morality.
comment 10mo ago · link · parent
All MacOS, iOS, Windows and Android are all produced by the USA. Virtually all chips as well.
It is foolish to assume there are not backdoors in every one of them.
Meaning we should assume the USA can shut down the entire Europe's IT if they really want to.
Then you got the authentication systems, security software (antivirus, proxies like cloudflare, crowdstrike and so on), the various Saas (docs editors, drives, ticket systems, chats...), the payment systems (including Visa and swift, but also Paypal, google pay, stripe, etc), the software stores, the root DNS, the SSL root certificates and a ton of network hardware.
Given the current political situation, it's a very bad spot to be in.
comment 10mo ago · link · parent
The DOM API may have been very messy at creation, but it is also very handy and powerful, especially for binding to a live programming visual environment with instant remote update capabilities.
comment 10mo ago · link · parent
The wonderful animation is brought to you by <marquee>
169.
Official military GPS status site displays urgent advisory(gwcc-ws.cce.af.mil ↗)
2 points · by BiteCode_dev · 10mo ago · 3 comments
comment 10mo ago · link · parent
But it has been "damn, that's a pretty good sandbox we all can compile to".
And of course, it means we can now have safe Python execution services from user input thanks to stuff like pyodide now.
comment 10mo ago · link · parent
- Improved incentive for the IT and medias industry. Users and viewers are the customers again.
- Removal of the culture of normalized lying that infects everyone to the point people don't see it anymore.
- Natural selection of product by actually asking people for money. Can't pay 2 euros / month for facebook? It deserves to die.
- Redirection of resources from marketing to useful things. Billions going back to R&D, quality control, etc.
- Brand forced to rely on quality and word of mouth again. No more temporary product trick. No more "one month brand lifetime" hack. No more "PR will save this disaster".
- Improved skin in the game. And you will see less reputation-damaging behavior because of this. Think twice about doing A/B testing, fake sales, use too many notifications. You need those saavy power users to spread the word now.
- Disappearance of old and new artificial social norms solely created by marketing firms to sell stuff that parasites our reality. No need for everybody to look the same, no need for diamonds for engagement rings, no "whole white family having breakfirst in a big house and everything is clean and they are all happy and hot" to sell coffee, no "big red guy with a beard" created by coca cola.
- Getting back on specs. You can't sell perfume and cars on an vague idea anymore.
- Children won't get conditioned from a young age to want stuff they don't need, think ideas they don't really have, and adopt behaviors that are harmful for them just so that a marketer can get 3% more engagement.
- Creating massive volume of bad content will not be a successful strategies anymore, since it's not about displaying ads. So content quality go up.
- Streets get nicer, with no more ads display. Clothes as well, with no more big logo making you look like a billboard.
- No more ads in your mail box! And you can redirect the money from the gov marketing budget to actually find email spammers as well.
- Removal of a huge means of accumulation and centralization of power. Right now, it's pay to win, and the more money you have, the more you can run ads, the more you can sell. Which means a small local shop cannot easily compete with a big one. But without ads, it's actually close to its own clients, and has an advantage to get their attention organically.
- People get back some part of their attention span.
The benefits are not superficial; they are immense!
Ads are a plague on our societies.
Evolving as humans requires us to find a way to ban them.
I doubt I will see it in my lifestyle, but we need to get rid of this parasite if we want to go to the next level.
comment 10mo ago · link · parent
- there are bigger contexts
- the test suite is much longer and slower
- you need to split worktree, resources (like db, ports) and sometimes containers to work in isolation
So having 10 workers will run for a long time. Which give plenty of time to write good spec.
You need good spec, so the llm produce good tests, so it can write good code to match these tests.
Having a very strong spec + test suite + quality gates (linter, type checkers, etc) is the only way to get good results from an LLM as the project become more complex.
Unlike a human, it's not very good at isolating complexity by itself, nor stopping and asking question in the face of ambiguity. So the guardrails are the only thing that keeps it on track.
And running a lot of guardrail takes time.
E.G: yesterday I had a big migration to do from HTMX to viewjs, I asked the LLM to produce screenshots of each state, and then do the migration in steps in a way that kept the screenshit 90% identical.
This way I knew it would not break the design.
But it's very long to run e2e tests + screenshot comparison every time you do a modification. Still faster than a human, but it gives plenty of time to talk to another llm.
Plus you can assign them very different task:
- One work on adding a new feature
- One improves the design
- One refactor part of the code (it's something you should do regularly, LLM produce tech debt quickly)
- One add more test to your test suite
- One is deploying on a new server
- One is analyzing the logs of your dev/test/prod server and tell you what's up
- One is cooking up a new logo for you and generating x versions at different resolutions.
Etc.
It's basically a small team at your disposal.
comment 10mo ago · link · parent
I have hosting that regularly shut down my servers based on legal demands from jurisdictions that should have no reach my service whatsoever, or on total bogus claim.
If I refuse to act, they shut me down. If I'm late in acting, they shut me down.
Zero check on the legitimacy on the claim, zero trust in my debunking the claim.
The reality is, it's not economically viable to do so. I'm not giving them enough money to be worth it. So as long as I'm a small actor, anything that looks remotely legit is just processed as-is with no recourse.
The entire world can basically impose its view on me as long as they find a convincing way to tell my hosting "you are at risk".
And it's not one single provider either. Most of them do that: domain name, vps hosts, proxies, caches, etc.
The system is broken.
175.
First LLM Coded Redis PR Opened by Antirez(github.com ↗)
5 points · by BiteCode_dev · 10mo ago · discuss
comment 10mo ago · link · parent
Some of those number are very important:
- Set membership check is 19.0 ns, list is 3.85 μs. Knowing what data structure to use for the job is paramount.
- Write 1KB file is 35.1 μs but 1MB file is only 207 μs. Knowing the implications of I/O trade off is essential.
- sum() 1,000 integers is only 1,900 ns: Knowing to leverage the stdlib makes all the difference compared to manual loop.
Etc.
A few years ago I did a Python rewrite of a big clients code base. They had a massive calculation process that took 6 servers 2 hours.
We got it down to 1 server, 10 minutes, and it was not even the goal of the mission, just the side effect of using Python correctly.
In the end, quadratic behavior is quadratic behavior.
comment 10mo ago · link · parent
I can't stand books that start with a half-baked Python tutorial. It's not only wasting the time of people who know, but worse, it's wasting the time of people who don't.
Because a one-chapter explanation on the topic is always going to be so superficial that the people who actually need it will never have the details they actually require to get up to speed. You will give them the illusion of understanding, only to let them hit a wall the first time they try any.
Before uv, install python package was a topic that required a lot more than a quick intro, explaining virtualenv, branching depending on OSes, even backtracking how to source the Python installer.
Better to just say "mastering this is a requirement prior reading the book" and be done with it.
There are full books on the topic that can actually help.
Replace this useless chapter with more content to which the book is actually dedicated.