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 2y ago · link · parent

Oh no, I fully understand the extent of our own obsolescence.

comment 2y ago · link · parent

At this point, I'm still waiting for any clue showing America understands itself.

comment 2y ago · link · parent

When in Rome.

comment 2y ago · link · parent

It's worse than that.

The whole American language is normalizing toward exaggeration and the use of superlatives for even the most mundane things.

As a consequence, nuances as lost, debates are instantly polarizing, and words lose substance and meaning, so you get little information out of many discussions.

It's not just the bots that make the noise/signal ratio go down. It's also the people.

I hear words like fascists/communists, friends/hilarious, amazing/shit used in such a large spectrum of situations they eventually convey nothing more than what tribe the speaker wants to be identified with and what gains said person hopes to get from talking.

On top of that now, when you need to talk about the extremes, you are lacking the tools to do so, and all things seem to be more or less at the same level. Minor inconvenience and deadly risks, all in the same plater.

And don't get me started on the constant virtue signaling and sale speeches.

From my European point of view, the US communication looks like a circus.

comment 2y ago · link · parent

The hard part is the replication and up time, because you can serve a ton of images from a VPS for pennies on the dollar.

But even then, images are quite simple to deal with compared to big files like videos because you don't have to chunk them. So just copying them several time and putting a load balancing in front of it will get you 99% there for half of the price, dev time included.

For most companies, you don't need more.

comment 2y ago · link · parent

Same feeling.

Between the cameras, the guards everywhere, the anti-thief systems on products, the alarm portals and the ticket check, the whole experience is super aggressive.

comment 2y ago · link · parent

You can even add the inline importer in base64 that is pretty neat.

But I eventually printed that output, and put it in a dir I point my PYTHONPATH to so that I will always have it available.

Let's see if it sticks.

comment 2y ago · link · parent

Moving the goal post of dumb search.

comment 2y ago · link · parent

Eventually, node might allow JS to introspect those types.

That would be a huge win. Right now in Python, great tools like pydantic exist because Python can introspect said types, and generate checks out of them.

This mean you can define simple types, and get:

- type checking - run time data check - api generation - api document generation

Out of a single, standard notation.

Right now in JS, things like zod have to do:

    const mySchema = z.string();
Which is basically reinventing what typescript is already doing.

comment 2y ago · link · parent

> (even if they will not admit it publicly)

Saying you don't care about your user safety is actually often more costly than pretending you care, and then having a breach.

821.

You Are an Imposter(bitecode.dev ↗)

6 points · by BiteCode_dev · 2y ago · discuss

comment 2y ago · link · parent

Indeed. A type means assigning a rigid category to something.

There is not a single taxonomy that is universal, it ends up like the Celestial Emporium of Benevolent Knowledge that decides animals into:

    those belonging to the Emperor,

    those that are embalmed,

    those that are tame,

    pigs,

    sirens,

    imaginary animals,

    wild dogs,

    those included in this classification,

    those that are crazy-acting,

    those that are uncountable,

    those painted with the finest brush made of camel hair,

    miscellaneous,

    those which have just broken a vase, and

    those which, from a distance, look like flies.
Then you have a new use case.

comment 2y ago · link · parent

"plenty" is relative.

You don't see many GAFAM products created in either, and that's because of the trade off OP talks about.

comment 2y ago · link · parent

Given Ruby culture of monkey patching, not always.

Besides, many people dev Ruby with a lightweight text editor, like text mate, that can't introspect code.

comment 2y ago · link · parent

Come on, Bastion is nice but nowhere as sophisticated as Hades. Neither the gameplay nor the replayability would have let you think the team had the ability at the time.

As for transistor, the story is basically "futuristic world is being destroyed by virus-type-invaders and your sword/companion is the key to beating it", with a predictable end and almost zero character dev.

Being able to make ok games doesn't translate to the skill to make a masterpiece.

It was a quantum leap.

It would be like saying you can deduce Divinity Original sin 2 would be amazing because you played the first one.

comment 2y ago · link · parent

I don't like colored function for obvious reasons, but fully colorless for async means you don't know when things are async or not.

There are a lot of things I dislike in JS, but I think the I/O async model is just right from an ergonomics point of view. The event loop is implicit, any async function returns a promise, you can deal with promises from inside sync code without much trouble.

It's just the right balance.

comment 2y ago · link · parent

I will remember it forever, it's a unique experience.

But it's such a weird combination of aesthetic, story telling and gameplay I have to assume it prevents a huge part of the gaming population from enjoying it.

If anybody read those comments, DO NOT LOOK THE GAME UP if you plan to play it. Go blind.

comment 2y ago · link · parent

The noise/signal ratio is worse for everything today: movies, music, tv shows.

But "finding good games requires a tiny bit of effort to me" is a first-world problem.

comment 2y ago · link · parent

Basically, you are ok with only the US influencing the rest of the world?

Because the US has control of the DNS root zones, is powerful enough to create a chip ban on China and has back doors in half the planet's machines through programs like PRISM or systems like IME. I think from an influence point of view, they are quite powerful enough.

Given the US also went to war with Irak despite the entire UN voting against it and while lying about WMD, have a mass spy program on their population, and will soon reelect a convicted felon, it's a good balance to have other parts of the world trying to have a say as well.

The human world is full of imperfections, but we usually average it at scale.

comment 2y ago · link · parent

It's actually a golden age for fun video games, because we are swimming in new beautiful, engaging, original titles every year.

Some things really take you by surprise as well.

I never saw Inscryption, Disco Eliseum or Hades coming, and I think nobody did.

And even oldish games still have great value. I still play LoL or Isaac, and they are as good as they were on day 1.

Plus, you get the Switch then the Deck refreshed portable gaming experience. The latter made emulation so nice as well.

With terrific communities, insane speed runners, devs coming up with crazy new concepts and hardware that never stop to get better, it's hard to complain except that with a busy life, you will see only 1% of those masterpieces.

comment 2y ago · link · parent

But also: wow, if we could do that at scale the same way, free hydrogen!

comment 2y ago · link · parent

If mermaid came with a similar integration in IDE and collaborative tooling, would you switched back?

comment 2y ago · link · parent

Find a friend to work on it that is less technically good, but more motivated. You will each bring something to each other.

comment 2y ago · link · parent

Attribute access and method access don't imply the same consequences on perfs and side effects, I like to know which is which.

comment 2y ago · link · parent

Interesting, but optional parenthesis is a no go for me.

Every time I try to read a Ruby line with no (), I have to stop and think.

Not being able to scan code is an anti feature.

comment 2y ago · link · parent

kernels or embedded development is rare compared to web dev, app dev, cli tooling, automation, etc.

In fact, it's pretty damn niche.

And rust is a general language, so it favors the most common case, but let the niche case be possible.

comment 2y ago · link · parent

Yes but that's the rare case.

The rare case should be possible, just not the default.

In Rust, you would make custom string handling unsafe for the bottleneck.

comment 2y ago · link · parent

Certainly.

We are talking about extremely competent people who worked on a critical piece of software for years and invested a lot of their lives in it, with all pain, effort, experience, and responsibilities that come with that.

That this debate is inscribed is a process that is still ongoing, and in fact, progressing, is a testament to how healthy the situation is.

I was expecting the whole Rust thing to be shut down 10 times, in a flow of distasteful remarks, already.

This means that not only Rust is vindicated as promising for the job, but both teams are willing and up to the task of working on the integration.

Those projects are exhausting, highly under-pressure situations, and they last a long time.

I still find that the report is showing a positive outcome. What do people expect? Move fast and break things?

A barrage of "no" is how it's supposed to go.

comment 2y ago · link · parent

Given how those discussions usually go, and the scale of the change, I find that discussion extraordinarily civil.

I disagree with the negative tone of this thread, I'm quite optimistic given how clearly the parties involved were able to communicate the pain points with zero BS.

comment 2y ago · link · parent

NATS looks a lot like crossbar.io, what's the differences?
1
272829
184