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

I wish for myself to create any project in my life that reach twice this level of mediocrity then.

comment 4y ago · link · parent

That's true for everything in computing.

Don't use a hammer as a screwdriver.

I'm not even implying they shouldn't have used pandas for this, I'm suggesting they probably wrote the wrong pandas code for this.

Pandas is typically 3 times faster than raw Python, not 10 times slower.

comment 4y ago · link · parent

Most likely a missued of Pandas. DF are heavy to create, but calculations on them are fast if you stay in the numpy world and stay vectorized.

comment 4y ago · link · parent

It's about the VSCode ecosystems becoming more and more close source to accomodate the dev env as a service strat while using the FOSS root of vscode for PR that deserved to be underlined.

comment 4y ago · link · parent

I noticed vendor lock in. He answered "we only lock the easy bits", which is already a weird idea. Like saying we are only not transparent on the small spending on our IRS declaration.

I then question the easy part by asking, tongue in chick, to tell me how I can do the same with FOSS easily. It's freedom I am talking about, not price. Indeed, the proprietary work in question is available without payment already.

comment 4y ago · link · parent

You can sidecar any exe. E.g: side car a python fast api service that mimic a website api you call from ajax in the JS.

comment 4y ago · link · parent

Indeed.

And even very intelligent, competent AND benevolent MS employees downplay this: https://twitter.com/bitecode_dev/status/1537357261554733056

Steve cannot see how it will lead to attrition or vendor lock in.

It's not that there are no good people at MS, but the internal marketting is strong as well.

comment 4y ago · link · parent

We are not upset. MS can do as they wish.

We are warning people to not consider this platform the same way they consider fully free ones, despite the obvious wish of MS that they do so.

This platform comes with invisible strings attached, some of them will likely turn into chains in the future.

And it's MS new marketting strat to say they are open now for everything, so it's only fair we point out that the player matters. You are not dealing with the LSF or the PSF, but with MS.

comment 4y ago · link · parent

Most experienced writers don't stop to tell people how to write.

They are busy writing, not ticking checklists.

Not need to follow canned principles.

Just read and write.

It's not hard.

It's fun.

comment 4y ago · link · parent

The page says nothing about local access being blocked, and as a bitwarden user, I can access my password fine.

comment 4y ago · link · parent

If it's only technical, then bots can implement it too.

If it's not only technical (e.g: you must be a verified token provider), then it will stop Linux/BSD communities, just like it's today near impossible to open a community mail server.

comment 4y ago · link · parent

I believe it's the same with animal consciousness and intelligence.

It should be self evident.

Not that it mirror ours, but that they have something of a similar nature.

You have to remember that centuries ago, some humans assumed black people where, in fact, not human. Not having a soul. Not feeling pain as we do.

I remember the testimony of a person stating he once saw an African white master asking her black servant to check if electricity was on... by touching the wire. To her, they were not sensible enough to care.

comment 4y ago · link · parent

This advice works only if 5 prerequisites are met:

- the coder is fluent in programming. Beginners will not know how to architecture things, and need to fiddle way more. It's impossible for them to create a doc that will make sense from the top of their head.

- The coder understands the problem well, and it has a known solution. Many problems are better understood when trying to solve them, by exploring its space while programming. It's impossible to start documenting something you don't know very well. It's espacially true if you have to come up with a novel solution.

- The problem is well defined. Unlikely. Clients don't define their problem well, and it's half our job to extract the information from their brain. However, while it is sometimes possible to get that on paper, and formalize it, most of the time, programming an incorrect PoC and iterating on it is a better interface to communicate with the client: they have a visual result to discuss. Writting a doc that you trash down every day would be a waste.

- The coder understands the field well. I'm currently working with a Bank, and I don't know the field. Many algo I must implement are in the head of my clients, and the quickest road to understanding them is to peer code them. They attempted to make a formal doc first of course. After 6 months, they still don't agree on how to do some things. One week of coding with me forced them to confront reality, and take concrete decisions.

- The coder has the big picture. Starting with a doc assumes you know what your API should look like. I would recommand that you do know, if you don't, you are probably in trouble. But it's a fact of life that sometimes you can't figure it out, and starting from something incomplete and coding it will make the big picture clearer.

That's a lot of pre-conditions.

My experience is that most teams starting with the doc (or tests) don't ship, or end up shipping only once they start fiddling. Those who do are excellent teams, the best ones, and I love working with them. But they are a rare bread. We are usually an average team, not ticking all pre-conditions, and not composed of only very skilled or experienced professionals. We fiddle a lot.

And unless you have a great team leader, taking such an ordinarity team and making it write the doc first will result in a terrible doc that doesn't match the solution to the problem, that you will rework again and again, while nothing is getting in the hand of the client for concrete feedback.

I favor a middle ground: start with paper, but don't pretend you are going to have a full spec.

comment 4y ago · link · parent

"we are mass spying on everyone to stop hate speech on forums and games.

comment 4y ago · link · parent

As a starting point, there is the excellent "never split the difference" book: https://www.amazon.com/Never-Split-Difference-Negotiating-De...

comment 4y ago · link · parent

I'm gaming using the excellent shadow tech service.

I have fiber, and playing nervous games like hades work great.

But I would not play lol, dota, falling guy or call of duty with it. The latency, no matter small, is a handicap when timing win or break a game.

comment 4y ago · link · parent

Sure, like SEPA in Europe.

Although you are probably going to use your card to buy this: https://www.apple.com/shop/buy-mac/pro-display-xdr

But again, I see your point: our financial system is already very efficient, BTC will have to be way better than it current is before it can compete with it for day to day use.

I'll keep an eye on lightning though. It makes any transaction, no matter the size, instant, and cost a tenth of a cent. It has potential.

comment 4y ago · link · parent

> There's likely millions of people in a situation like me

Unlikely. Most console users don't even know what modding mean, and among the few that do, fewer even make the step to do it. It's not trivial.

It's very niche, at least in the occidental markets.

comment 4y ago · link · parent

Depends. I buy electronics with my VISA card for thousands of dollar, and clients sometime prefer to pay my gigs with a card as well.

Anything above 3000 will likely be cheaper using BTC.

But I see your point.

comment 4y ago · link · parent

More accurately:

- Transactions are more expensive in BTC for small amounts, and more expensive in Visa for big amounts.

- However this is only true if you use on chain transactions for BTC. BTC transactions using lightning are always cheaper than Visa no matter the amount.

- Lightning nodes do not yet form a network big enough to cover 100% of the transactions, and most transactions are small, so the idea that VISA transactions are cheaper for most people is, for all intents and purposes, mostly true at the moment.

Lightning, though, is quite an interesting system. Half of the solution it offers is technical, but half of it will be the social construction of the network of channels. I doubt most people will open one consciously, but I assume wallet providers will make that automatic.

Eventually, this means somebody needing the decentralized aspect of BTC will be able to open a channel and profit, while somebody who wants convenience will use a centralized wallet and be happy.

I suspect most people will want the turn key solution and that the system will centralize a bit.

comment 4y ago · link · parent

If you start putting more rule, you get healthcare, but not universal.

That's what the universal stands for.

It's for everybody, no matter the person.

If you are not ok with that, they you don't want universal healthcare, you want something else.

I personnally love universal healthcare, and I'm happy to pay for it. I don't want to have to play a game of chess to live my life in the most likely way to be reimbursed by the system.

comment 4y ago · link · parent

Those are good questions, but having questions doesn't decrease my interest, it just gives it context.

comment 4y ago · link · parent

It works.

But nowaday, you cannot just be profitable. You gotta make your investers very happy.

comment 4y ago · link · parent

Yes, but it does hint that spontaneous emergence of basic life building blocks is a more and more viable hypothesis.

And that, given similar conditions, other worlds could develop ecosystems analogue to ours.

comment 4y ago · link · parent

And filtering.

comment 4y ago · link · parent

You have the same issue with smokers and cancer, obese people and heart attack, drunk/tired/hurried drivers and accidents, drug users and depression, sugar consummers and diabetes, extreme sport hobbyists and traumas, etc.

At some point, half of the population fall under some risk factor that they could avoid, but instead, make society pay for it.

That's the game of universal healthcare.

As a vaccinated French citizen, I'm ok with it. The pros beat the cons.

comment 4y ago · link · parent

Heroin is fun too, at least at first.

The problem with gambling is that it taps into the dopamine system in ways that people are not aware of, even if they know about probabilities.

The effect is cumulative, and the more the person gambles, the more they will gamble, take risks, create unbalance and spend money.

Now, just like with anything related to dopamine, many people will only have a mild effect. E.G: I've played dota for a while, and never went into full spending mode.

Like you, I think it's ok to gamble once in a while, to pay for the game. After all, it's fun, and the game provides pleasurable moments, but does cost a lot of resources to develop. It's fair to give money to the company making it: after all, other games may be paid up to $60, DLC not included, while free to play are always up to date.

Yet, it's very difficult to evaluate if the tactics used by the game for gambling are twisted or not, and if the game target is going to be abused or not.

For this reason, I do think they should be heavily regulated, not just about the age, but about the nature, and intensity, or the gambling mechanism in place.

comment 4y ago · link · parent

There was an attempt for Python 2, but it didn't catch on.

comment 4y ago · link · parent

It's magic if:

- you set it up correctly

- your entire stack is compatible from end 2 end

- there is now weird thing with map files

- you don't dev using firefox

It's a lot of if.

comment 4y ago · link · parent

In Python the IDE doesn't matter as much, because if the support is bad, you can always fall back on pdb.

In fact, I often use pdb anyway because it is sometime just quicker to run, and the code execute faster under it. Also, being able to execute any python code in a shell like env is super nice, and the concept of having commands instead of looking for a button has the same pros/cons than the cli.

1
969798
184