Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

And since it's AI improved, all of th will hurt people because of hallucinations.

I don't trust human to avoid taking shorcuts once the tech is available, it's too convenient to have "information" for so cheap, and less costly to silence the occasional scandal.


I said the same thing, and I'm going to do one more prediction: the banking business will become more and more profitable with very low risk to the point it will take more and more space in Apple's culture.

Also, regulations and the hiring market mean they will have to hire more and more profiles than you typically find in finance. With Jobs dead and an aging Cook that can't willpower himself into everything anymore, nothing will cancel this effect.

Eventually, this will lower Apple taste for innovation and the product quality will go down until they become another average player cashing in on the inertia of its past success.

They will be super profitable, but nobody will look up to them anymore.


The financial sector is so absurdly profitable that it makes sense for big companies with a lot of cash to just invest in financial markets rather than actually do things (esp. considering taxpayers will bail you out on tail events, so don't you care about risk!). Famously GM in 2008 had virtually become a financial services company which made cars on the side.

Just another sign that all is not well with the state of things.


I've heard descriptions of large housebuilders in the UK that sound similar - actually building houses is difficult and tricky because you have to actually keep end customers reasonably happy whereas much easier to just treat the land you own in "land banks" as speculative assets and base your business mainly around trading those.


"Handy" and "a good thing" are not the same thing.

USB and BT are security nightmares, and the browser is a fantastic sandbox. I'm pretty sure a lot of 0-days will come from there.


As always you have a choice between things existing at all on Linux or fretting about the security issues that so far have not materialized.


Definitely not for prod, but I used to have (and recommend: https://www.bitecode.dev/i/114175324/whats-a-good-name-for-a...) a giant venv just for my laptop scripts. Having one per script is too much, but none is inviting pain.

The problem with that is that eventually too many scripts means you will hit incompatibilities in Python where you can only install one version of a lib in each venv.

This trick is perfect because:

- From now on, I always install uv on all my machines anyway.

- After the first run, not only the cache make it fast, but it uses hard links so that you don't even pay the of multiple install on disk space (that's also how they are so fast in creating the envs, that and some interesting HTTP/zip tricks: https://www.bitecode.dev/p/charlie-marsh-on-astral-uv-and-th...).

- Deps are clearly defined in the script, so it's self-documenting.

For prod, shiv (https://shiv.readthedocs.io/) is probably your best bet but I'm betting uv will come up with a version of that soon.


I want to understand shiv, but I just can't grok it. I've successfully made a PyInstaller executable in the past.

Do you have any good sources for learning shiv? The docs are very sparse & lack examples and there aren't as many blogs discussing shiv as I'd hoped.

Also, do you know if shiv works on Windows?


Unfortunatly no, plus the docs are indeed not great and the UI itself is lacking.

But yes, unlike pex, shiv works on windows.

It's very different than pyinstaller in the sense that:

- it uses a standard (the zipapp format from python stdlib)

- it assumes python is already installed (it's not stand alone)

I definitely should write on article on that on Bite Code on day. Adding it to the list.


I'd read it! :) I want to understand Shiv, but I haven't even gotten it to work after a few hours tinkering, and that's usually where I give up and look to another tool.


`--offline` :)


Except you can't put that in the shebang for the first run


True, for servers you can't warm up, shiv is your best bet: https://shiv.readthedocs.io/

Or points to your own private pypi instance with --index-url.


Other neat tricks with uvx (uv equivalent of npx) to run one time commands in some contexts:

- alias download_mp3="uvx --no-cache --from yt-dlp[default] yt-dlp --extract-audio --audio-format mp3" to download sound from Youtube videos, SoundCloud pages, etc. This update yt-dlp every time, which is required given the counter measures change so often and the dl rarely affect the total processing time anyway (requires ffmpeg).

- "uvx --with <package> --with pyqt5 --from qtconsole jupyter qtconsole" starts a qtconsole (GUI version of ipython) with <package> installed so you can test it quickly. Temp venv, everything cached so next time it's instant, one single copy of pyqt5 for the current use no matter how many times you run those.

- "uvx --with virtualenv pipx run pipsi install nodejs-bin". Ok it's useless, but it's fun that it even works :)

uv's cache system and downloads optimization are quite smart, as Charlie marsh (astral CEO) explains in the interview: https://www.bitecode.dev/p/charlie-marsh-on-astral-uv-and-th...


Mozilla is getting a lot of criticism, but just for letsencrypt alone they are making the world a better place.

Before them I never used SSL for anything, because the cost/benefit ratio was just not there for my services.

Since then, I never not use it.


Two Mozilla employees were involved in starting Let's Encrypt, and the Mozilla foundation is one of the sponsors, but as far as I can tell the foundation was not directly involved in creating it.


One of the more productive uses of all those millions of dollars that Mozilla received. These days, Let's Encrypt is more important than Mozilla... and would have no difficulty receiving donations to keep the service running. It also shows what a well run technical non-profit looks like!


Spent the last 20 years hearing that.

At some point I think it's more honest to say "the python ecosystem keeps getting more awesome".


Someone, somewhere will eventually find a legitimate use case for it.


We should have a response team standing by, ready to dump thousands of tons of concrete onto that legitimate use case. A gigantic cement sarcophagus that may not solve the problem, but our descendants thousands of years from now may be better prepared to do what we can't and destroy it. The "someone" will just have to be a tragic casualty, as we won't be able to save him or her without risking the contagion spreading.


That's not tossing a coin, that's barely throwing it in the air.

To me this kills the credibility of the entire study and of the authors.

Sure, there may be something to it, but people will have a very different thing on their mind unless they check the video, which I wouldn't have done without your prompting.

It's unlikely they don't understand how misleading it is.

And somehow I have the intuition a proper coin toss will not exhibit the same properties.


Is it unlikely? If I didn't read your comment I wouldn't see any problem there. I never saw anyone flipping a coin in a different way. It's just not done much around me.


If you claim to do a research on coin tossing, the minimum is to be aware on how people toss coin.

The whole purpose of tossing a coin is randomness, so of course you want high and fast.

If the result was that no matter how high and fast you throw is you get this bias, it would have been interesting.

But now you just say "if you do things badly, things don't work".


No, the whole point of the paper (and the physics model it is verifying) is to see what happens in normal human coin tosses.

If you want to measure what happens specifically with high and fast coin tosses, then that’s an entirely different study to be done.


I don't know what a normal human coin toss is. Does the paper contain evidence/argument to justify their way of flipping a coin as "normal"?


That still sound valuable if people generally tend to do it badly? If only to provide an argument for doing it properly.


I think it's still noteworthy that what many people consider a "fair toss" is not in fact a fair toss. In other words it's interesting from an applied psychology perspective even if the physics of the phenomenon isn't particularly interesting.


a coin is likely to land on the same side. it was flipped from if it was tossed by a machine at low RPM and height consistently*

there's your paper


I'm sure you will find similar behavior with dice if you just gently let them fall from your hands instead of throwing them across the table.

This is silly.


Somebody’s grant money getting thrown down a hole…


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: