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

1831.

Brett Cannon's proposal for a struct syntax for Python(snarky.ca ↗)

2 points · by BiteCode_dev · 3y ago · 1 comment

comment 3y ago · link · parent

https://github.com/TodePond/DreamBerd/blob/main/test/test/te...

comment 3y ago · link · parent

Yes because the US with the oil, the gigantic land, the isolation from enemy states and all possible flora, faunas and weather is not priviledged.

comment 3y ago · link · parent

And yet, France is the country with the most nuclear-generated energy, despite having a tons of state regulation and social push-back to prevent companies to privatize gains and socialize losses.

In fact, water, electricity, the road and internet have one of the best cost/quality ratio have ever seen in the entire world, and I traveled a lot.

France is not a great place to make business, but the quality of life is fantastic.

Meanwhile, the US as a terrible health care system, they have water and electricity scandals every years, your internet has awful value (especially in the silicon valley, talk about irony) and roads are hit or miss.

So yes, the USA are a great place to do business, but touting it has the only way to not be stuck on 1800s technology is a joke.

They are the ones having tasteless tomatoes and $800 insulin, things that were cheap and good less than a century ago.

They are the ones with power outages and polluted water.

We had a war at our border, cutting energy supplies, and last winter, my power wasn't cut even once.

They get a strong winter or summer and their grid dies, plus the public pays the bill.

comment 3y ago · link · parent

A bit unrelated since the article is more about stylistic repetition, but I had a hard time using repetition in my writings after decades of school drilling into my that it was a bad thing.

Yet in teaching, repetition is not just acceptable, it's necessary.

You need to say the same thing over and over again for it to stick.

And still, you'll note people will have missed half of it.

So it turns out repetition is like everything: whether it's good or bad is highly contextual.

The hard part is making repetition not boring.

1836.

PEP 695 – Type Parameter Syntax(peps.python.org ↗)

3 points · by BiteCode_dev · 3y ago · discuss

comment 3y ago · link · parent

Coding a fizz-buzz may be super boring, but pre-ChatGPT, it was an efficient way to rule out incompetents.

This way you could focus on a quality interview with people with actual programming experience.

And for somebody who is a senior dev, it's a 2 minutes job anyway.

comment 3y ago · link · parent

This is what I mean.

Make a test for competences, and people will complain.

Don't make a test, and people will complain.

Make the interview process short and to the point, and people will complain.

Make it long and thorough, and people will complain.

No matter what you do, there is always someone on HN that will tell you that you're doing it wrong.

I've yet to pass an interview process that I would qualify as good, myself.

So if it's the case, it's probably because it's not very common.

Turns out hiring is not a solved problem, and it's easy to be a critics when you don't have to do it.

comment 3y ago · link · parent

Lots of employers will not answer to that request for various reasons. So you may get a phone number of a buddy of the candidate that will tell you he was stellar.

comment 3y ago · link · parent

So you have one job offer, 200 candidates, 170 sucks at coding but you don't know which ones, and you have 15000 euros (including man-hours and marketings) and 3 months to figure out the right one, convince to join, negociate and sign.

Oh, and your dev team is on a dead line and can spare very little time validating candidates, one is sick and you just hired an intern that needs baby sitting.

What's you magical solution?

comment 3y ago · link · parent

Of course, and we were badly treated in the 90, so over-compensating is fair.

But I find that all those posts and articles about hiring usually come from the beautiful world of fairy-tales in the head of the authors, as they never had to solve the problem themselves.

There is no doubt that hiring suck, and you can't want capitalism and suddenly be surprised the market balances out in favor of the other side when demands of devs exceed supplies.

But the arrogance of my colleagues, many of them never having taken a professional risk in their entire life, is still astonishing me.

comment 3y ago · link · parent

I wish there were no detector guarding supermarket doors and google would not make me go through shenanigans every time I use a different device to login as well.

But we can't have nice things because of the proverbial bad apples.

You are free to reject the job offer, but thinking it will make any difference and that employers won't keep trying to protect themselves against being scammed is wishful thinking.

comment 3y ago · link · parent

I regularly gets paid by my clients to help them filter out candidates because they don't feel they have the technical skill to do so or their team is too busy coding something to be available for anything else than than validating the last batch.

One thing that comes over and over again is how much most candidates suck at programming. There are a huge quantity of people that are terrible at coding that will apply to your senior dev $200k job offer.

They all have a great CV, and they cheat at everything: fake interviews with a look-alike, using chatgpt or indian services to solve programming tests are not uncommon.

Last year, I had one former trader applying for a python job with a perfect resume, a stellar homework result, and who was claiming he likes "putting some good 10 hours of coding". First, there are maybe a 100 people in my country that can focus 10 hours in a row on code, and they won't apply for those clients. Second, the live coding review showed that he struggled to even create a basic virtualenv.

Last month I created a test that I knew had one question that ChatGPT got wrong. 2 candidates gave me the GPT answer last week.

So companies are desperate and try sieves after sieves, hoping to separate gold from mud. And they have limited time and resources to do so.

Of course the hiring process sucks. Even if they knew what they were doing, and most of them are not, it would suck.

Now don't get me wrong, it's nice the power balance is shitfing toward the workers for once, but hoping the other side won't react is just naive.

comment 3y ago · link · parent

I see a lot of geeks giving advice on how to hire other geeks, but I'm guessing most of them had never being involved in the hiring process.

In fact, if you sum up all the recommendations of people online about recruitment, you can't hire anybody, because every single move is something you should not do according to one of the self-proclaimed new expert.

Once again, as a developer, I can only notice how much of a diva my peers have become. We are very lucky we are a hot commodity on the market, because I tell you, no other professionals get a pass for a tenth of the things we claim we are entitled too.

1845.

Why and how to hide the Python stack trace(bitecode.dev ↗)

5 points · by BiteCode_dev · 3y ago · discuss

comment 3y ago · link · parent

True, the wake up call is mostly in articles and social medias, not in the trend, in the same way most people use Windows despite most technical writers using Mac or Linux.

Personally I've been self-hosting forever, and that's the only reason I could stay afloat. There is a whole category of business that is simply not profitable if you use the cloud.

comment 3y ago · link · parent

37signals enters the chat

comment 3y ago · link · parent

Yes, you are right, I'm overly generous.

Between social sites, corporate BS and medias farms, it's more like 99.9999999999999999%.

comment 3y ago · link · parent

Disabling the biggest malware of all time is amazing. System76 is getting quite attractive.

comment 3y ago · link · parent

Also, most of the work that is produced is of poor quality anyway.

99% of writing is meh, so ChatGPT is not a downgrade.

comment 3y ago · link · parent

Wireless charging.

And as a bonus, during war times it doubles as a death ray.

comment 3y ago · link · parent

The boat can change route.

comment 3y ago · link · parent

Don't hold your breath.

The stigma of the MS touch and the fear of getting bitten in the future is a strong deterrent.

You can easily migrate from github or vscode, but not your programming language.

1854.

Making the Global Interpreter Lock Optional(pyfound.blogspot.com ↗)

3 points · by BiteCode_dev · 3y ago · discuss

comment 3y ago · link · parent

First days, you don't need all stores, a few is enough.

After a few days, I guarantee even the big ones will manage the inventory with pen and paper, with the blessing of the boss and the gov.

But even without all that, having the ability to have a black market in a time of crisis is priceless.

comment 3y ago · link · parent

Even if it weren't a terrible, awful idea from a democratic point of view, it's just silly from a logistic point of view.

This means you create a single point of failure for your entire society: electricity provision.

Got a power shot down? Suddenly nobody can buy anything.

Got a war on your territory? Your trade routes will get destroyed 4 times faster.

Want to be a reserve currency? Guess what, now you have to do like China and have 2 currencies cause the rest of the world uses cash.

And congrats, a cyber attack can now hurt your economy.

Hope nothing in 70000 years of history won't repeat itself cause you are now going down next time something goes wrong.

comment 3y ago · link · parent

You really have to double check everything yourself, which sucks if you are weaken.

I was at the hospital last week for a pretty bad condition and my IV was badly set. I told the nurse to change it for 4 days, they kept refusing, trying to adjust it.

Eventually I just told the doctor what was happening, and he said "oh, that's why your readings were messed up, I was wondering why I had to change your drug dose every day".

They changed my IV in the next hours, and my conditions improved overnight.

I discussed that with some doctor and nurse friends, and they all told me to never, ever trust a health practitioner you don't know very well. You need to be very proactive in your treatment, because they are exhausted, have many people to treat in a row and are only humans.

comment 3y ago · link · parent

They would have to not die so quickly to do so.

And also get out of the water given it's pretty hard to make chemistry in there.

comment 3y ago · link · parent

A gun that can run out of battery. Does it it need to update its firmware too ?

comment 3y ago · link · parent

It works great, it's stable, never found a bug for years and it's compatible with the next python release candidates.

For the immense convenience it brings, the risk is very low.

I'm guessing it could stay that way for 10 years and still be perfectly usable.

1
616263
184