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

You are right, the calculator I used included buying SPX with apple in it on the cheap very early, so the results are skewd. Plus DCA often produce better return the long run.

You will usually not be as lucky.

$800k is still likely more than the house, with less worry, less locking, and less work though.

comment 3y ago · link · parent

As I said in the other comment not that huge compared to alternatives with much less troubles:

https://news.ycombinator.com/item?id=36823558

comment 3y ago · link · parent

When you rent, you can do the following:

- Move to a better paying job easily. You make instantly more money.

- Move to a cheaper place when times get tough. This gives security because your life is flexible and can adapt to the ever changing life.

- Change the space if you get a wife, kids, a dog, a parking space, or if they leave you. Well, the parking might stay.

- Leave if a neighbor becomes invasive, if they build a supermarket under your windows, if water gets contaminated...

- Get closer to your job so that you save time, energy and transport money.

- In case of divorce, you don't have to share anything.

- The gap between rent money and mortgage payment money can be used for anything. Sometime you can invest it. Sometime you can buy a gift or holidays. Sometimes it saves your ass for tough days.

Selling a house is hard. It cost money, time, energy, and you still have your loan running after that if you didn't negotiated early repayment. Plus, good luck getting a new loan to buy the next place if you are still paying the first one.

A house is a lot lock in, for the money it provides.

comment 3y ago · link · parent

If you take a 3% loan over 30 years for a $300000 home and a 20% down payment, you will eventually pay $124265.89 in interest.

This doesn't take into account any work you have to do on the house, the notary and agency fees, and any taxes on the way. Your $300k worth of investment may very well cost you around $500K. If it's worth $800k later on, you earned $300k buy selling it 30 years later.

We can also add the cost of opportunity, since you can't move easily when you have a home to get a new, get closer to your children, follow you the love you just found, discover a foreign country...

And that's in the best case scenario where:

- You found a cheap good home.

- You actually end up liking leaving here.

- Nothing changes to the point you have to flea the place.

- No accident, no fire, no water pipe breaking, etc.

- You can ensure you can comfortably pay the mortgage for three decades.

That's... a lot to consider.

To give you an idea, here is what happen if you take the same down payment, and invest $100 a month and interests into the S&P 500 index for the 30 last years:

You end up with $11 159 316.

With no lock in. And no worries.

I think it's fair to say there is a difference of at least $100 between your rent and mortgage payment.

comment 3y ago · link · parent

Or UUID7

comment 3y ago · link · parent

This is a good question, and I don't think you should be downvoted.

It is important for several reasons:

- As other commenters pointed out, filtering, adapting and integrating ChatGPT output has a better ROI with experts.

- An expert will know the ROI of using ChatGPT, including on the long run, and can assess if it's worth it or not. A non expert will use it for as long as it works, and can hit a wall of technical debts accumulated from the GPT usage that will now sunk the cost of the entire operation.

- Expertise comes with a lot of implicit knowledge that ChatGPT doesn't access to.

- ChatGPT doesn't learn from mistakes in the way humans does. And humans don't share the mistakes they made as much. And experts have made all the mistakes.

- ChatGPT tries very hard not to not be opinionated, or to have an opinion that will offend the least amount of people. IRL though, you want opinionated takes.

There are, however, many situations where being an expert to benefit from ChatGPT is no required. I also find that sometimes being an expert prevents me from getting the most of ChatGPT, because I stick to what I know instead of embracing novel workflows. I have a friend coding things with repeated ChatGPT copy/paste loops over days, and they have done great things with it.

comment 3y ago · link · parent

Or America, as we have seen with PRISM.

Basically, it's as usual a financial calculation of what PR can brings vs what you can lose in the market.

And fanboys believe it's because they are the good guys.

comment 3y ago · link · parent

And this is why you pin your dependencies + never install the latest version of anything.

comment 3y ago · link · parent

I get the feeling.

When I felt like writing again after years of closing my previous blog, it though about it for a while before committing to https://bitecode.dev.

But eventually, I realized that

- I also write for myself, not just for others.

- People like reading things without having to prompt for it. So they will read the blog because it's nice and topics come to them even if they don't think that they need to know.

- ChatGPT doesn't have opinion. It tries very hard to be balanced. Your blog will have an opinion.

- There is more to the experience you provide than just knowledge. You can add tools, exercises, videos, etc. Which GPT cannot, for now, replicate.

- GPT can replicate style, but will not by default. People will come for your style as well. And pics. And design. And jokes.

- People value the interaction they feel when they content seems like there is a person behind it. They get attached. They develop sympathy.

- A blog puts things in context. "If you want to know that, you probably need to know that". It also gives information about what happen right now.

- Humans curate. In a world where creating crappy content is very cheap, a good filter has tremendous value.

So yes, you will be scanned, and replicated. Doesn't mean you don't have value in writing what you do.

And making something of value is nice.

This may change in 10 years or so. Maybe the LLM will be able to do all that. But depriving yourself of a rewarding experience right now for the fear of what might happen is not worth it.

comment 3y ago · link · parent

Pretty much everything we now use as herbal tea, if highly concentrated, will have a notable effect.

E.G: Thyme has well known antimicrobial properties and thymol is (or at least was) a component of commercial mouthwash.

Even when we don't make drugs out of the plant itself, it could have been used for the properties we know about today.

E.G: common vervain is known to have diuretic properties, so it's not a long shot to think it has been used for this particular reason at some point. Today we use diuretic to treat heart failure, liver cirrhosis, or hypertension. While they may not have had any way to catalog all this, it seems unlikely nobody ever associated the consumption of a lot of diuretic with people getting better for one reason or another.

People were not dumb, and there were a lot of them, for a long time. They likely tried a lot of combinations of things, on purpose or by accident.

comment 3y ago · link · parent

Plants, mushrooms and animals have contained active substances forever, it would be surprising that after millenniums of trials and errors, the people of this time didn't settle on a few things that worked.

comment 3y ago · link · parent

The hard part is to start, but once you have done it, you feel better.

Even a simple chore like cleaning will help. Going to the supermarket will not, since you can get quiet and focused on the physicality.

Just walking outside will do it you have nothing to do.

comment 3y ago · link · parent

You don't believe in agile, but yet whole your comment is basically what agile is supposed to be.

So I'm going to say you have seen corporation bastardization of agile and rejected it, which is a good thing.

comment 3y ago · link · parent

That's why I'm advocating for compiling tools stand alone in another comments.

Having to install doit first is indeed going to be a barrier of entry for a lot of people.

It's still worth it in my experience, but I get how it can deter users.

comment 3y ago · link · parent

I don't disagree with any of that.

I just prefer Python to make, it's easier for me and most colleagues I met to write and to debug. And making a custom Python function when I need more than bash inside the dodo file is great.

But for someone used to make, why not used it?

comment 3y ago · link · parent

> every script in Python 2 that used print without () broke in Python 3. There were other breaking changes. Some software still depends on installing Python 2

People had 15 years to move from 2 to 3.

I had to port dodo files from 2 to 3, it's a 10 minutes job. Most of the time, running 2to3 on it does the job automatically.

After all, you only use the stlib for task runners, delegating a lot of work to bash, and they are quite short.

> It's not really a language where you can write something and be confident it'll still work in ten years

I still have Python 2.7 projects running fine, and reinstalled one serving half million users a few month ago.

But even without this, Python was created in 1991, and Python 3 was released in 2008, that's 17 years between first release and the first big migration. To compare, go is 14 years old. In total.

Plus your build file will have been edited so many times by the end 10 years anyway.

Make has a lot going for it, but this is a terrible argument.

comment 3y ago · link · parent

Having try both, I would say quite the opposite.

Ruby package management is lacking in many ways. E.G: there is not good build in solution to manage projects and multiple versions of ruby on windows, it's all 3rd party. And C-extensions are still terrible to install

The apparent simplicity comes from the fact the ruby ecosystem is much smaller than the Python one, with 95% of it revolving around ror, so you are more often on the happy path and see less errors.

comment 3y ago · link · parent

It's very rare, most distros ship Python, and even mac does it.

But:

- Half of the devs in the world are on Windows.

- Installing doit with pip is not trivial. Hence the "Relieving python packaging pain" procedure: https://www.bitecode.dev/p/relieving-your-python-packaging-p...

And most people will never ever encounter this article, so they will hit a missing command, a missing package, a PATH error, a PYHONPATH error, a version error or something like that. They may even try to solve it by copy/pasting many commands from the web, some of them with admin right, and make a mess of their setup.

That's why, for end user tools like doit, providing a stand alone executable is still the best solution.

comment 3y ago · link · parent

After many years of using all systems in place, I use a mixed of several stats:

- every week, I print my calendar for the week - I used a chat thread to myself for notes - long term stuff goes into productivity apps (todos, cals, etc)

This means I most of my organization on the paper sheet, and only a few minutes on apps, to basically sort things out and put what's important back on paper.

It's more satisfying, it's faster, more flexible, and for some reason, manipulating something on paper commits me more than on screen.

It also don't run out of battery, can be read in the sun, and has no start up time, no clicks.

comment 3y ago · link · parent

Just because you have strats to minimize your exposure to something terrible doesn't mean the thing is less terrible.

comment 3y ago · link · parent

You mean a lot of :child()

comment 3y ago · link · parent

That's pretty much my strat: put everything in doit, and call doit from the yml file.

Anything else is shenanigans.

comment 3y ago · link · parent

I mean that in France, the reports assessing the cost of the energy produced by wind turbines and solar panels don't include the wiring from the source of energy to where the energy is distributed.

Which is logical.

For some reason I don't know, nuclear reactors cost evaluation must include the wiring.

comment 3y ago · link · parent

Not sure about that.

On paper, it looks like it.

On practice, my mother pays 30€ a month of electricity in France, where nuclear energy is everywhere. She asked for a quote to get panels on her house, and they got back to her with 20000€.

Sure you can move the needle by noting I drain way more power than her, than she heats her house using fossil fuel and that the quotes could be have been reduced in many ways.

You can also note that solar panels have to be replaced several times, take much more space, don't have to including wiring in their ROI calculation (while nuclear does for some weird reason) and are created by electricity generated by fossil or nuclear fuel, so their building price is already cheap.

I wouldn't say the answer is that clear cut.

comment 3y ago · link · parent

Thanks a lot, I planned to do it and I forgot. I've just added the link and it's indeed way better like this.

Substack doesn't really have any way to make a series of articles, or to bundle stuff together, so linking manually is the only thing you can do that will give a little structure.

One more reason to move off it when I find the time.

comment 3y ago · link · parent

There is also Dhall.

I've tried the 3 of them, eventually I found CUElang was the best balance between expressiveness, ability to enforce and check for constraints, and easy of use.

But I would welcome any of them replacing the YAML mess we currently have in sysadmin.

comment 3y ago · link · parent

99% of everything ever written is crap, so you need filtering the huge quantity of brain manure the humanity keeps producing.

And hand written blogs by somebody for several years is very high in my filter list to check out something.

So I care very much about your blog.

Besides, the best way to make sure there is more quality content in the world is to produce it. And that's why I write https://bitecode.dev. Because I want others to have what I wish I had when I needed it.

comment 3y ago · link · parent

Yes. I said it in another comment as well, but I'm rooting for a solid non turing complete conf language like CUElang (https://cuelang.org) to become popular. For now we can already use it to check and generate regular JSON or YAML, which is a good compat story.

But imagine having this in CI instead of YAML files.

1
545556
184