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

uvx --from jupyter helps with that significantly.

comment 1y ago · link · parent

That's stellar sportmanship right there.

Not that jupyter's team needed even more respect from the community but damn.

comment 1y ago · link · parent

Good memory.

But very platform dependant, so maybe OP is on a browser or OS that doesn't let you do that.

I know it works on Chrome for me, but not on FF.

comment 1y ago · link · parent

Well, this is not the first level, but this is the level entry weapon.

Plus, left and right arrows rotate the characters since it's keyboard only, but in modern FPS you are used to having them laterally move you and you rotate with the mouse, so your reflexes are off.

comment 1y ago · link · parent

Co-evolved is a very different word than domesticated.

comment 1y ago · link · parent

You'll let me know the next time you'll have to require the permission of your dog to pee, or when it can trigger surgery to cut your balls or put you down.

comment 1y ago · link · parent

My own tests:

     ./ts_sms c "TIL about ts_sms, an LLM based compression system for short text messages (like tweets)."
    夋鷦네樇䶙邁㟪䤣䎧随捋㜁駊

     ./ts_sms d 夋鷦네樇䶙邁㟪䤣䎧随捋㜁駊
    TIL about ts_sms, an LLM based compression system for short text messages (like tweets).
And:

    >>> len("TIL about ts_sms, an LLM based compression system for short text messages (like tweets).".encode('ascii'))
    88
    >>> len("夋鷦네樇䶙邁㟪䤣䎧随捋㜁駊".encode('utf8'))
    39
According to ChatGPT:

    The text appears to be a sequence of Chinese characters mixed with Hangul (Korean script). However, as written, it seems nonsensical or encoded and doesn’t form a coherent phrase in either language.

548.

Fabrice Bellard's Ts_SMS: Short Message Compression Using LLM(bellard.org ↗)

10 points · by BiteCode_dev · 1y ago · 4 comments

comment 1y ago · link · parent

I don't think you'll find a lot of people fighting about newtons gravity equations, the year of the French revolution or the fundamentals about steam engines.

comment 1y ago · link · parent

The signal/noise ratio is getting lower and lower.

News is leaning more and more into entertainment.

You did have all of this before, but 24h news channel with empty content are reaching new magnitude, fox news types of outlet are getting bolder and bolder, manufacturing facts is now automated and mass-produced, consequences for scandals are at an all time low, concentration of power at an all time high, etc.

It was bad.

It is getting worse.

comment 1y ago · link · parent

If running a marathon is not exhausting to you, I don't think expecting the rest of the world to feel fresh after it is the right way to see the world.

Except given the noise/signal ratio and the sheer mass of information we have today, the workload is much higher than training for a 42 km run.

comment 1y ago · link · parent

Once timeless facts will be solidified in AI training, like historical dates, laws of physics, maths formulas or specific programming API, there will be no reason to search for these things using Google.

The web battle will then happen on this moving quickly, like the news.

This will give immensely more power to the medias, and I fear that a lot given they have demonstrated time and again they can't be trusted with it.

comment 1y ago · link · parent

Journalistic institutions have been requiring so much fact-checking, cross referencing and research lately it's a full time job to get informed.

Whenever I read or hear anything from the medias now, I'm now always asking myself "what are their political inclinations? who is owning them ? what do they want me to believe? how much of a blind spot do they got ? how lazy or ignorant they are in that context ? etc."

They killed the trust I had in them so many times I can't get any the benefit of the doubt anymore.

It's exhausting.

comment 1y ago · link · parent

Or if your battery runs out. Or if it has a bug. Or if it runs a non approved OS. Or if it's too old. Or if it's being running an update.

comment 1y ago · link · parent

I could be many things on an anecdotal experience. Can't make a study for thid at my level.

comment 1y ago · link · parent

They all say that, but it's true for only 20% of my encounters when you actually watch them code next to others.

comment 1y ago · link · parent

Something I noticed is that some vim / keyboard only envs are paying a huge cognitive load price by holding various states in their mind and having to expand efforts every time they switching context.

Sometimes there is the added burden of an exotic linux distro or a dvorak layout on a specially shaped keyboard.

Now, some devs are capable of handling this. But not all do, I've seen many claiming they are more productive with it, but when compared to others, they were less productive.

They were slow and tired easily. They had a higher burn out rate. The had too much to pay upfront for their day to day coding task but couldn't see that their idealization of their situation was not matching reality.

My message here is: if you are in such env be very honest with yourself. Are you good enough that you are among the few that actually benefit from it?

comment 1y ago · link · parent

Some exhanges like coinbase are basically banks at this point.

You open an acccount, you do a kyc, you declare it to the state, and they are submitted to regulations in your country.

Coinbase is an expensive one, but way cheaper than micro strategy, and is from y combinator s12 so you know what to expect.

Deal with an exhange directly, it's cheaper, and more flexible. No wallet to manage, and you can handle a few millions before even having to talk to a human.

Of course you lose a lot of advantages of crypto, but you were going to with micro strategy anyway.

Or buy an etf if you really like your bank.

Although I would argue now is the worse time to buy. You had to buy last year, or wait until 2 years, assuming the halving cycle is still relevant, which I believe it is.

It is expected from most crypto holders that we are not that far from the top and the usual crash back is near.

Some my friends are still in, but have placed their exit orders already. I'm already out with a 500% profit and play it safe.

You may be able to get some more, but it's getting riskier by the day.

And maybe the cycle will break, but it's really not what I would bet on.

comment 1y ago · link · parent

Basically I can't dee how investing in micro strategy is better than buying btc directly

comment 1y ago · link · parent

https://www.bitecode.dev/p/happiness-is-a-good-pythonstartup

more generic

won't work for pdb though

comment 1y ago · link · parent

Yes, that's one of the most important success of the tool. Being in rust, it is completely independent from the Python setup, and therefore it doesn't care if you botched it. And with the indy greg build, it can even avoid the pyenv pitfall of compiling on your machine on linux.

comment 1y ago · link · parent

Because insurers are in the game to make money, and they will bait and switch.

comment 1y ago · link · parent

Damn it, now I want a diamond knife too.

comment 1y ago · link · parent

Conda used to be a life saver when years and years ago, compiled extensions were hard to install because you had to compile them yourself.

Nowadays, thanks to wheels being numerous and robust, the appeal of anaconda is disappearing for most users except for some exotic mixes.

conda itself now causes more trouble than it solves as it's slow, and lives in its own incompatible world.

But anaconda solves a different problem now that nobody else solves, and that's managing Python for big corporation. This is worth a lot of money to big structures that need to control packages origin, permissions, updates, and so on, at scale.

So it thrives there.

comment 1y ago · link · parent

Python packaging is broken mostly because bootstrapping is broken, and it cascades to packaging but people don't know the bootstrapping is responsible and blame packaging.

Not saying packaging doesn't have faults, but on it's own, on a good Python setup, it's actually better than average. But few people have a good setup. In fact most people don't know what a good setup looks like.

And here is why bootstrapping is broken: https://www.bitecode.dev/p/why-is-the-python-installation-pr...

comment 1y ago · link · parent

That's actually making my point, this is riduculously limited compared to the tools I mentioned.

Django's admin alone is richer in feature than this whole framework.

comment 1y ago · link · parent

Because health is not a free market, if you are dying, you don't get to choose a competitor to your nearby hospital. Health is a lot of variation of that.

So the good part of capitalism don't work, but the bad parts do, like concentration of power and ignorance of externalities.

And today, we have reached a tipping point in those, with abuses overcoming people's tolerance for them.

comment 1y ago · link · parent

HTMX.

Or worst case scenario, fetch().

But honestly, forms are fine. Not all apps need beautiful animations.

It's better to have great UI, but it's not free.

comment 1y ago · link · parent

You don't need to learn it now anymore.

LLM do Perl well enough, and since 90% of productivity with Perl is earned through small snippets or one-liners (anything bigger is better served with uv init --script), you can just ask the bit you want when you need it. You can even ask the AI to explain the hieroglyphs.

Same with bash, awk or powershell.

comment 1y ago · link · parent

The ecosystem of PHP/Ruby/Python is miles ahead so if you need anything ranging from auth to validation, you will have to do 10 times the work.

In fact, even modern JS frameworks with features that have no equivalent in Laravel/RoR/Django see their appeal diminished because those old school frameworks do the basic so well they are productivity cheat code for essentials.

It's so easy to find people delighting in beautiful hot reload yet struggling for days making Oauth work or having to pay a saas for image resizing while 20 years old tech have that part nailed down.

1
181920
184