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

> Apple is using device serial numbers for anti-spam, supported by a fully-authenticated hardware and software stack that does not allow user modificatio

Ah, perfect tracking. Let's add that to Pluton list of promises.

comment 4y ago · link · parent

It's more than that. First, they will put Alexa on it, so you have it everywhere in your home.

Then, they will fill it with as many sensors as they can do give you extra information. It will protect your home against burglars, survey your kids, prevent your cat to scratch the sofa, etc.

And with the camera, microphone, lidar and so on, people will happily let the little bugger record their entire life.

This will create the most reliable database about consumers including their money, interests, brand loyalty, level of education, people they meet, life rhythm, etc. This alone will make a lot of money.

Eventually, it will play contextual ads, in your home.

And of course, each one is an entry point for the Amazon domotic ecosystem, giving even more of your life to Amazon.

comment 4y ago · link · parent

This comment is a plug.

I've tried many alternative to make over the years, and eventually, doit (pydoit.org/) was the one I sticked with.

It's declarative yet dynamic, it's simple yet powerful, you get to use shell command or a custom function, and it deals with all the things you need like deps and targets, creating a dag, caching, etc.

It's the sweat spot for me.

comment 4y ago · link · parent

Everybody that sold nix to me said the goal was to replace the complicated side effect mess that is our current stack with something simple and pure.

As with FP, eventually, practicality beats purity I guess.

comment 4y ago · link · parent

You remind me of the TV bits in the movie "the invention of lying".

They can't lie, so they are perfectly correct.

comment 4y ago · link · parent

Sure. And a extra $100000 in your bank account isn't "always nice". It may get you flagged by the IRS and you may have more chance to now be inspected.

They are always exceptions.

"always nice" is a matter of speaking.

There are very few things that are always true, and I assume reader know that.

comment 4y ago · link · parent

Indeed. Or even just economic crashes. If you have cashless society, the average human cannot easily remove it from the banking system in case the gov pulls out a Greek plan.

comment 4y ago · link · parent

It's that of course. But also: when there is not an outage, when your situation has a well known good solution, and so on.

comment 4y ago · link · parent

You can experience that every time you fill a form online. If it works, it's a joy. Saved time and energy. So much more efficient.

If something goes wrong however, there is no flexible human to fix it, give you an alternative solution, or perform a workaround. You are now in for a long and painful trip.

comment 4y ago · link · parent

Being neuro-atypical, I understand the desire to be "technically correct, the best kind of correct". It would be so much better if we used each word for their exact meaning.

But that's not how most human communication work. When people say "I cannot come tomorrow", they usually don't mean they can't. If you gave them one billion dollars to come, chances are they would.

This is a fairly common convention, and most people in the English language are using this approximation and assumption.

You can chose to ignore it of course.

I consider I've done my part in this conversation, and wish you a nice day.

comment 4y ago · link · parent

Especially UUID7, it it becomes standard, ULID won't be necessary anymore, unless you want a shorted text representation.

But ULID exists right now, UUID7 is still in the making.

comment 4y ago · link · parent

Cuba getting stuff from America, pro-life manifestants getting abortions, USSR smuggling US computers, KKK members surfing Ebony adult sites.

That's just humanity at this point.

We are full of contradictions.

comment 4y ago · link · parent

Indeed, and again, I'm expecting you to understand that they are making this choice because they don't want to pay the consequences of it. And that "cannot" is a short way to state that.

Now, from reading your comments, I'm going to assume you are in good faith, and you simply can't see what consequences they can face.

Although we can't know for sure such things without being an expert in middle-east politics, one can understand that if two groups of people have been at odds with each others for a long time, suddenly doing business with the opposite party is going to have political consequences.

E.G: assuming you are American. If you are a republican group, you can get financed by a left-leaning institution, but this will have political consequences.

comment 4y ago · link · parent

Old anecdote, and I'm French, so I'm probably using the incorrect tense to tell the story.

comment 4y ago · link · parent

It's not a very complicated algorithm, they can't get abandoned, you can always recode it, and use it.

comment 4y ago · link · parent

Don't know. Maybe they have a platform here.

comment 4y ago · link · parent

There is this human convention about "can/cannot" that assumes the reader is able to figure out the nuance of it.

If I say, "I can't walk it the street naked", I'm expecting you to understand the underlying causes. I'm not expecting that I have to explain to you that, yes, nothing prevent me physically to walk in the street naked, but indeed, I chose every day not to do it because I don't want to pay the social and/or legal price for it.

In the same way, given that tensions in the Middle East are pretty famous and that political issues between Muslim & Jews have implications in international trades, I'm making the assumption readers understand what "cannot" means here.

comment 4y ago · link · parent

When Bell Labs was doing cool stuff, few people knew about them.

It's only retrospectively that they are famous, because we have all those historical tech figures that went there and got blown away. Then this bubble expended, and year later, it became public, common knowledge.

It may happen the same way for the places you are talking about.

comment 4y ago · link · parent

Disabling notification is like zero inbox now, it takes discipline. I'm glad I started early because if I had to do so from scratch now, it would be terrible.

comment 4y ago · link · parent

I have a friend working for a company whose biggest clients are in the Emirates. One of said client is the government, and it is asking them to buy some very specific equipment, knowing fully well this equipment is only sold in Israel.

However, the Emirates cannot trade with Israel, and refuse to pay for any equipment labelled as coming from this country. Calling one of the officials, they asked for a solution. They told them to ship everything first to the UK. There, they should unpack every single object, and package them again with different country labels. Once the box has passed custom, nobody will raise the topic about the equipment origin.

And so this is what they do.

comment 4y ago · link · parent

I really like ULID for this problem (e.g: https://github.com/ahawker/ulid)

- similar characteristics to UUID: same number of bytes, equivalent collision resistance, hard to guess, etc.

- start with a date, is monotonic, and is lexicographically sortable: not only it has great locality but sorting is super easy and most code get it right by default.

- can be created from an existing date or uuid, and exported to a uuid, so there is a migration path.

- you get the creation date for free, which is always nice. As a bonus, you can now use the uuid as a base for dispatching, bracketing, sharding, etc.

comment 4y ago · link · parent

The article is very superficial about cost. It's not just about money, it's about freedom and democracy.

A cashless society, like everything with computer, information control or centralize power, is fine when you are riding the happy path.

As soon as you are not inline with society, or that slthe system itself become no more adapted to it's context, it's a nightmare.

comment 4y ago · link · parent

Fair point. I guess I underestimate how cheap sourcing methane is if it as no change of offsetting the difference in electrolysis efficiency in the future.

comment 4y ago · link · parent

It's like saying don't build solar panels because we use petrol for them.

It's a chicken an egg problem.

We are using methane to produce h2 because synthesizing fuel (any fuel) is incredibly energetically inefficient. Otherwise we would be using electrolysis for h2.

Either you decide it's a problem, and you don't synthesize any fuel, or you will, and you'll oversize the energy grid and improve the synthesis process efficiency.

This thread assumes we decided we should synthesize fuel (I'm not sold, but I'm debating in that context).

If we do, then synthesis will never beat sourcing in efficiency for methane, since it's a direct process. But if there is a huge market for h2, there will be a incentive for over-sizing the grid and improving on electrolysis to the point that it can be competitive against sourcing methane + synthesize from that, which are 2 steps instead of one.

However, there is no way we can find a way to compete against sourcing methane (and no more step) alone. No good incentive to create.

comment 4y ago · link · parent

Banking on all politicians in the USA and Europe to vote and maintain forever a carbon import tax is a big bet.

And it won't affect exchanges of goods between Asia, Russia, South America and Africa, or internally in each country lika China or India. Internally use goods will not be taxed, and be cheap, so they will import less, use more internal good, and pollute more.

comment 4y ago · link · parent

I'm going to implement a captcha that requires proof of life.

You need to send a severed finger by mail to pass it.

comment 4y ago · link · parent

This is requiring a subscription, and it mac/windows only.

Sublime-merge supports also Linux, is a very nice git ui, and you pay once for the licence.

If you like Sublime text, it's the same type of experience, but for git.

comment 4y ago · link · parent

Don't ban. Tax it and make the money go into carbon capture and green energy. Each time they flight, make them remove in Co2 the equivalent of a 100 times their consumption and produce a 100 time the energy consumed. Then make it very trendy to have your own jet, like the highest level of social status.

comment 4y ago · link · parent

One more reason to learn the command line.

Once you know how git cli works, any UI is easy to understand.

No vendor lock in.

comment 4y ago · link · parent

The USA are not the world. Even if suddenly they managed to taxe all the carbon in their economy, and all imports coming into their countries, you cannot force the world to follow.

China, Russia and India exchange massively between them, with Europe, Africa, and internally. Those product would be cheaper, since no carbon tax, so no incentive.

It's a hard problem to solve.

If we get a big hydrogen market, the problem never needs to be solved.

1
919293
184