Better HN
topnewbestaskshowjobs
Log inSign up

BiteCode_dev

24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions

I write to save you time and effort when dealing with Python:

https://www.bitecode.dev/

Email: contact at bitecode.dev

Submissions

comment 3y ago · link · parent

Yes, but that's the problem, isn't it.

Fallout 1 and 2 were master pieces precisely because they let you write your own story more or less.

You could finish Fallout 1 without killing anybody, or massacre any young kids with a sadistic touch. You could go directly to the end game zone using stealth, or fast run to a ghoul infested city to save them for annihilation with the right timing. And when you succeeded in what you believed was your final mission, you were betrayed by your own family and discovered that's where the game really started! Hell, you could win the game by enrolling in the end boss team or convince him to suicide!

Bethesda's fallout is nothing like that, it's a vanilla yogurt. Fallout 3 is a disgrace of hidden linearity where children are immortal and the world is mostly static. Characters are Manichean and simplistic. The conclusion of the scenario falls so flat it's not even on the C major scale.

Writing a good Fallout is not following the game story, which is very vague, but rather embracing the twisted spirit, ludicrous humour and weird lore of the universe. If they go full "the boyz" + "z nation", amazon could pull it off. Not so much if they go "ring of power" + "the walking dead".

You cannot write a good fallout story with good vs bad characters.

comment 3y ago · link · parent

Doesn't matter. Whether you use Python, JS, PHP or Ruby, you will need to reach millions of users before perfs become a problem for a typical web app because the hot path are almost never coded in the language.

It's not a ruby thing, it's just that servers are beast nowadays, and cheap.

And devs are more expensive than ever.

comment 3y ago · link · parent

Counter point, spacex wouldn't do this: https://news.ycombinator.com/item?id=37995119

comment 3y ago · link · parent

You can use shiv to make any script with deps a single file

comment 3y ago · link · parent

If you are an american citizen, you are taxed no matter where you live.

comment 3y ago · link · parent

Stability, long time horizons, can adapt the law to their need, a communication on patriotism, no incentive to squeeze money out of every step, employees protection...

Every weakness can be a strenght depending of the context. Good profiles that would not consider working in high pressure, high risk envs like spacex can be interested in gov projects.

comment 3y ago · link · parent

This stack could be the basis of a software to share things no matter your connectivity situation.

You fire it up, it scans things around. Local network? It uses that. Not local but internet, it uses that. Nothing but BT, you can still detect people around, chat and exchange files.

People could be identified by public keys and that's it, not need for an account, signaling done by zeroconf/bt-scanning/bittorent.

Basically a solution to the current chat nightmare.

But the amount of work is overwhelming, even with this.

comment 3y ago · link · parent

No government is going to "take on spacex" because what works for spacex is to act in all the ways, good and bad, a gov entity would never do.

Such projects would work much better if they would instead relyon the strength of govs instead of being a fish trying to follow a bird.

Of course, attempting to do it anyway and failing miserably while transferring the public money into parasites is a very gov thing to do.

So it will happen.

comment 3y ago · link · parent

Can it work over bluetooh, or with custom "mic to headphone sound-driver protocols"?

Does it include discovering peers on a local network or around you?

Do it handle signaling?

comment 3y ago · link · parent

I can last years with only Python, so those little detours won't expend as far as React.

It's more likely that I will do something like "a full web app from installing the OS on a fresh laptop to coding it to hosting it on server".

It would also be more beneficial: plenty of tutorials for individual techs, rarely they teach you how to integrate them together and go beyond the toy example on localhost.

But for that I need a better platform than substack. Therefore that's not going to happen anytime soon.

comment 3y ago · link · parent

There are already plenty of good resources for pure JS, I have no added value here.

comment 3y ago · link · parent

Create your own VM for execution and rendering, then make sure it runs only trusted signed code. Skip the dom and js entirely.

It's a black box, so ad blockers wouldn't be able to target anything in there without very hard reverse engineering.

We know it's possible because the community can hack the playstation and xbox. We also know it takes a lot of time and resources.

Unlike the consoles, they can just upload a new blob and suddenly, it becomes so expensive for adblock to keep up we lose it.

It will also be super expensive for google, but they can afford it.

comment 3y ago · link · parent

Which means eventually they will do something desperate like using WASM on the all pages or requiring DRM trusted by a TPM chip.

And adblockers won't work anymore.

We are loosing control over the client a little bit more everyday, and given the new generation know only locked down devices, they don't even notice.

comment 3y ago · link · parent

Having to figure it out is not specific to a generation. My generation had magazines and forums. Then came out google and SO. Now chat gpt.

The difference is where you start figuring things out.

Before, you needed to figure things out at your level, because it was the immediate area of mystery.

Now this level is generally solved, you need to figure things out at a different level:

- filter out the mass of irrelevant information, the out dates one, and the one from spam

- understand how all those complex abstractions interact. We have good resources on how each work individually, but the carthesian product of the monsters we build with them, we obviously don't

- debug some things that don't work when the magic fails, way below your level, or behind a service, where nobody is looking

The problem before was scarcity of info, lack of standardization and roughness of systems.

Now it's abundance, opacity and too much sophistication.

But everybody still have to figure things out. Just no the same challenges.

comment 3y ago · link · parent

You can actually see this with new frontend devs.

They know only full SPA frameworks, they have never seen a dump of an HTTP message, headers and verbs are abstract things to them. Hell, many of them don't know you can have fully functional websites with zero JS, including payment, video, login, etc.

I started to write an HTMX tutorial (https://www.bitecode.dev/p/a-little-taste-of-htmx-part-1) because I noticed a lot of young coders don't understand what to do with it. They read the tweets saying it's nice, but when they look at it, it makes no sense to them.

It's really fun because I now remember how some senior coders looked at me, knowing nothing about compilation. I was struggling with Python packaging because before wheels, it required compiling a lot on linux, and it failed often. For them it was obvious: just install the headers, look you need the dev packages, wait, you don't have gcc?

Nowadays I happily patch nginx source code and compile it manually, but it took a lot of work to learn a minuscule chunk of what all those guys knew by heart.

Because they started with assembly.

comment 3y ago · link · parent

There are a things you can try to see if this solves the problem:

- don't do full P2P, keep twitch as a central server, and delegate only part of the load to P2P to those with good connection, with progressive roll in as buffering grows

- get a 2 minutes padding between the live and actual video streaming, so that you have a decent buffer and margin of maneuver to switch back to twitch server

- create an OBS clone that does streaming and video client with less ads as you said, but that act as an optimized node that works even when you don't what a video (the more you accumulate up time, the less you see adds, you get points, etc)

comment 3y ago · link · parent

Not it can't.

It's way too big and the subs are way to siloed to exist without search.

1428.

A little taste of Htmx (part 1)(bitecode.dev ↗)

5 points · by BiteCode_dev · 3y ago · discuss

comment 3y ago · link · parent

No but bittorrent scales as the number of user increases.

P2P may be explored again.

comment 3y ago · link · parent

The difference is skin in the game.

And that's a big difference.

comment 3y ago · link · parent

You can repeat that theory, or find out the truth with practice.

Do some support.

It will make you understand the world a lot better.

Hell, it will change your whole perspective on many, many things. You will be a better engineer and a better businessman.

You won't get out a few anecdotes out of it. I promise. You will get an entire field study.

comment 3y ago · link · parent

That shows how little you know about user support.

Anybody contacts it.

You did. I did. Everyone does.

comment 3y ago · link · parent

Nope. Follow the advice. Give tech supports.

It will be more convincing than any argument I can make.

It will also eat your soul a little. Sorry about that.

comment 3y ago · link · parent

HN bubble strikes again.

You need to sit behind a help desk for a few hours to reset your expectations about humanity.

comment 3y ago · link · parent

No, 99% would not know what the question is about, ask their geek friends, who would be able to move the needle.

That's how firefox became popular before google put an ad for chrome on their home page.

comment 3y ago · link · parent

And it's fantastic by the way: it understands way better instructions than midjourney; also can do decent logos.

But I didn't cancel midjourney because it has more options, and is better at producing stunningly beautiful things.

The other comments are right though, the more time passes, the more open ai looks like a platform. But just like the Apple's platform, or twitter's, fb's, ms's, etc., it will adopt the features of the top apps built on it and kill them mercilessly.

comment 3y ago · link · parent

Mitigating. They slow down fructose absorption, and nourish the macrobiotic that in return also help.

comment 3y ago · link · parent

Measure your blood insulin level while doing so and you'll get the answer.

Works for me to eat a banana before I eat white pasta: I get less tired.

YMMV. But it's always better to stick to healthier meals if you can.

I know I can't. I got a sweet tooth.

comment 3y ago · link · parent

It's not the ratio that hurts you but the absolute dose you ingest.

comment 3y ago · link · parent

Fruits contains a lot of dietary fibers which lower the side-effect of fructose.

Also, fructose itself is not in such a high dose in an apple, you are far away from fructose syrup concentration which was added to everything pretty much at the same time the obesity epidemic has started.

Finally, fruits contains a lot of other beneficial nutrients, so benefits outweigh the harm fructose can do to you.

We metabolize fructose fine in reasonable doses and with fiber. It has been part of our diet for thousands of years.

It's not just the fructose. Any raw sugar is bound to have nasty-side effects. Our wheat flour is too processed, so the bread and pasta is not great for us as well. But a bit of whole pasta and bread will not spike your insulin level much.

We are, as usual, overdoing it.

1
474849
184