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

You'll note it's ironic we want to replace the natural albedo from the ice we are melting instead of trying not to destroy it in the first place. Espacially since said system has been proven to work and be life sustaining for millions of years.

To me it's like startups creating robot bees: finding an inferior expensive potentially dangerous solution to a problem that was already solved for free since forever.

But you can't make money with preserving the health of the patient. Better have it sick and sell him pills.

comment 4y ago · link · parent

I tried 5 words and all of them were not supported. I assume it provides support for simple words like hot or shy, but then it targets only beginners?

I'm not very impressed.

Sorry, I mean I'm underwhelmed.

comment 4y ago · link · parent

Yes. More like, "I wouldn't have bet on it but ok".

comment 4y ago · link · parent

Get the other team members individually for lunch and ask them what they think about it.

comment 4y ago · link · parent

It's not an "or" proposition.

E.G: a complex django project will have parts that don't use the framework at all. In fact, I never ever use forms with Django, and I do use raw SQL.

Not to mention you can start with a framework, and remove pieces you don't need on the way. Like Instagram did with the django ORM.

Of course, you have to choose a framework with the proper balance for this to work.

Purists want their project to be homogeneous, but it never ends up that way because engineering is a about compromises and dev is only partially about code.

And in the end, you framework will not harms more your maintenance that home made structure, it will just put the burden of maintenance on different levels, which may or may not be what you want depending of your objectives.

But usually, you are not Google, and you have neither the requirements or abilities of such a big structures. Which means a framework is likely bringing more than it's going to cost you if you look at the project average cost during it's entire life. Provided the framework is well made, chosen and integrated, which is a big if, but then you have similar ifs for custom systems.

comment 4y ago · link · parent

Some departments are indeed not as affected, and if you are looking for a product owner, a project manager, or sales, numbers don't work against you.

But there are departments where they do, even outside of IT. Accounting are mostly white males, HR are mostly female, etc.

So if you have one policy that is general to the whole company, some departments will have a hard time no matter what.

Case in point, one of my clients has a hard time finding a good dev matching diversity policies, but they have no problem finding analysts. For some reasons, good analyst profiles already are pretty diverse and the team is rocking people from all over Europe and Africa, also achieving gender parity without even trying.

Yet it's the same hiring pipeline, and we are all working in the same office. They are not excluding people, in the office, 10% only are locals! But it doesn't work for some demographics, and the general dumb rule is killing their IT projects.

comment 4y ago · link · parent

Yeah if "there nothing simple about coffee anymore", either you are a chill, or you belong to the 1%.

comment 4y ago · link · parent

The problem is those filters are applied in the wrong order. If it was "promote diversity hiring once you have a pool of talented candidates to pick from", it would work.

But right now, it's the reverse: filter out non diverse candidates, and try to find a good one in the remaining.

Yet, it's already hard to hire talent, even with no filter at all.

So now I have clients I assist for interviews, looking desperately for good devs, but when they find one, which is already a rare event, they often can't hire him (yes, him, because the hiring pool is mostly males in IT in 2022) thanks of those blockers. Of course, they already have a ton of hiring constraints to match for, so this compounds.

This week, I'm going to interview the one candidate that could make it through the diversity policy. His resume is a train wreck, and I already know it's going to be a waste of time.

So they are going to go through those shenanigans for the next year or so before finding their mythical creature, the same one their competitors are fighting for in this very competitive market. Of course, this means their projects are going to be delayed a lot.

It's good for me, I get on the payroll for longer. And I'm a diversity bonus for them, being from another country, so they won't get rid of me any time soon.

But I don't envy them, they are set up for failure.

comment 4y ago · link · parent

Yes, but if you are looking at the population of rust dev with a background in system coding, or telecom engineer with ciso certification, the stats don't look like the ones of the general population at all.

In my university, in the whole class, we had 0 non white, and a single woman.

Now, you may argue that we should fix that.

But that's another debate, the thing is, people are hiring from the pool we have right now.

comment 4y ago · link · parent

I'm very much a linux guy, I'm even teaching git.

I hate it.

I'm glad it exists. It helps me more than not having it.

But it forces me to think about the tool instead of the task I'm trying to solve.

comment 4y ago · link · parent

Yes, the interface is bad.

But the paradigm also is:

- it's made for multiple remote first (e.g: manual syncing is assumed by everything) despite the fact most projects have one

- it forces you to craft your commit index to commit instead of letting you commit all changes by default, and optionally craft things

- rebase exist, and is used a lot

- you have to chose between easy merge and a clean history

- it's hard to get a lock, a big file, a ticket or a todo list in sync in this repo. It's not made for that at all, and requires additional services or apps.

Fossil seems to fix all those.

comment 4y ago · link · parent

After a decade of having to craft precisely my commits, manually syncing, choosing between easy merge and clean history, and using tons of additional tools to make git bearable, I'm finally tired enough to give a try to fossil.

comment 4y ago · link · parent

- non modal

- don't require action or decision on you

- can be put at the bottom right on the corner

- don't prevent accessing the main content

It's the same thing as a cookie banner in the way a HN comment and a double blind study are the same thing.

comment 4y ago · link · parent

"can we track you" is not a scary proposition, this is the only objective fact.

"Can we show you ads that are closely related to your interests" and "Are you willing to share some data so we can improve our product?" are not facts, they are excuses like "fight terrorist" and "protect the children". And not as good, because nobody would object protecting children while some people do for the former.

The reality is rather "can we get enough data so we can manipulate you better in order to make more money?", "can we create a knowledge graph powerful enough to kill all our competition and influence democracy in our favor?" and "can we follow you everywhere to prey on you once we know enough to find a way in your life?"

You think those sentences don't reflect reality? I think they are as realistic as yours.

So the law finds a middle ground and use facts: "do you accept tracking?". Simple. Objective.

> This is still an annoying banner somewhere.

A non modal notification, just like stated in the original comment, is not a banner. It can be safely ignored, doesn't prevent you from getting to the content, nor require you to act or take a decision to progress.

I mean, you just stated that tons of people are ready to accept obnoxious interruptions in the form of ads that benefit corporations, and you think a small notification on the bottom right on the screen to benefit the consumer is unacceptable?

I'm answering your comment for the sake of other readers, but given how much bad faith I felt in it, I'm expecting any answer would be of the same caliber and will just ignore them.

comment 4y ago · link · parent

Yeah naive datetime should not even exist in high level API IMO. They're like bytes string with no encoding or geospatial data without a projection name field.

It's going to bite you at some point.

comment 4y ago · link · parent

Everytime I read about this, it makes me think about this game:

https://termsandconditions.game/

(SSL warning)

These shenanigans are not required, they are very much designed on purpose.

Indeed, corporations can follow the "Do Not Track" header. There is nothing in the EU law that requires a banner, only informed consent.

So if I have DNT=1 set in my browser, pop a quick non modal notification saying "we wants to track you but but we won't because you said not to. Click here if you want to change that". Solved.

I'm informed. I made my choice.

But that's not what it's about.

Because the vast majority of people would not consent. Who are you kidding? This tracking is not benefiting us. It's like when politician says it's "for the children" or "to fight terrorists". Everybody knows there are full of it.

So the banner is just the most annoying way that is legally allowed to try to get people to force-accept tracking. In fact, some banner are crafted to make rejection the hardest path for this very reason.

Those corps chose to make the web terrible a little bit more every day: tracking, auto play, scroll hijacking, dark patters, cookie banners...

We should thank the UE a 1000 times to reveal who are the bad players.

comment 4y ago · link · parent

Yes, the datetime api once timezone is involved is quite bad in python.

This is why for anything that uses timezone, I use pendulum: https://pendulum.eustace.io/

It's compatible with the datetime api, but it has sane default, nice tools to convert between timezone, some cool date adjustment stuff, and can humanize time in several languages.

Basically, datetime has the same problem as text vs raw bytes in python 2.7, except it has never been fixed.

comment 4y ago · link · parent

Django solves this by having the default timezone in the framework settings. Any datetime without a timezone is assumed to be using the default one. If you don't set a default timezone, the server timezone is used, and you are responsible for making sure your data is congruent.

comment 4y ago · link · parent

I think it's good to keep increasing awareness, but it must be followed by actions. Which it is not. People have been complaining gafams were abusive for a decade now, and kept giving them more power over them.

You don't see much youtube publishing elsewhere to build an alternative, people keep sending all their data to facebook, few people migrate from gmail and firefox usage is not growing.

comment 4y ago · link · parent

And that's why netlix and itunes were never popular since you could download that all for free.

Oh, wait.

comment 4y ago · link · parent

It's 2022, if you haven't realized by now that google is not your friend and based all your revenue on the company, what do you expect people to say?

comment 4y ago · link · parent

Liu cixin would be proud. And horrified.

comment 4y ago · link · parent

And those buckets can very much already be found IRL.

comment 4y ago · link · parent

The fact apps can prevent you from taking screenshots on mobile is one of biggest symptoms of everything that is wrong with this closed ecosystem.

Second position being that you have the concept of 'rooting' a phone to get it in the state you have your regular computer in.

Of course, with MS pushing more and more restrictive booting conditions for windows and DRM getting in everything, even FOSS, this is only going to get worse.

comment 4y ago · link · parent

In France, if you have an inaccessible land, either:

- it's surrounded by private property, and the neighbor must offer some sort of passage through their land to yours. If it's a field, it does mean to destroy permanently part of it so you can go through.

- it has at least one border with public property, and the state must provide a real asphalt road to access it.

However, you are left to organize traversal of your own land, so if your house is deep inside it, you get to pay. And of course, getting power lines and water pipes connected to it is still 100% at your charge.

comment 4y ago · link · parent

There are a lot og libs that do that, but few people use them because it's not native to the language.

This is an important point for scripting as nobody wants to setup a venv to run a simple script.

Zippapp are a solutions to that but most people don't know abot them. Also, it's not convenient enough to make at the moment.

comment 4y ago · link · parent

A game in which a small startup can only choose among different bad endings

comment 4y ago · link · parent

Hey, ploum, merci pour ces annees de plume et code francophone.

On my side, I definitly kept ubuntu because that was the only distro that ran on my hardware on first try.

I should not have implied that ubuntu would not have been launched, but rather that the story would have went very differently IMO.

comment 4y ago · link · parent

Would debian had done that 15 years ago, Ubuntu would probably not have existed.

comment 4y ago · link · parent

Most movies already reuse a lot color tones, shots, lines, scripts and sound effects.

I can't bear hearing the overused "sling" from a sword getting move one cm, or the "click" of a gun pointed in one direction.

I hate the blue + yellow + actor face template for half movie posters.

I get bored when I saw in the 80' the same "boy saves girl" cliche, then in 2000, "you are secretly the one, your destiny is saving the world", then now, "look they are all from a minority, how subversive!"

AI is just going to industrialized copy/pasting in a industry that have created the concept way before we had GUI.

1
838485
184