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

It's not the same goal: pydantic is a validation and serialization library. The scope is way bigger.

comment 6y ago · link · parent

And people also like a lot the sugar industrials put in everything.

That doesn't make it a good things, nor a moral one.

comment 6y ago · link · parent

It's like saying given how many people the US killed, they have the best war track record.

Collecting data on us is not a feature.

comment 6y ago · link · parent

Slightly different, but there is now an VSCode extension to use draw.io directly in the editor.

https://marketplace.visualstudio.com/items?itemName=hediet.v...

If you don't know draw.io, it's an free diagram software that not only has an XML format to save them, but can also be used to save it as a PNG that EMBEDS said XML, so you can edit it again, but display it like a regular image.

comment 6y ago · link · parent

That's now how I remember it.

I used skype before I had ADSL, and was amazed at the quality.

After MS bought it, I noticed a drop in quality, as well as an increase in reports of said drop online.

comment 6y ago · link · parent

So they say. Giving their track record, I don't see any reason to trust them about it.

comment 6y ago · link · parent

You know the game and the meta game better in your own country. Plus, there is nationalism, solidarity, proximity, proudness, language barrier, favoritism, etc. that all enter in consideration.

comment 6y ago · link · parent

So... regular offices?

Because that's how most office building have been organized outside of tech for decades.

4989.

Ask HN: What Poka-Yoke would you share?

1 points · by BiteCode_dev · 6y ago · discuss

comment 6y ago · link · parent

In opposition to the rules from the American authorities, which begets things like PRISM.

Also, it's a matter of culture, the native law context of a company drives a lot of the things they do internally.

comment 6y ago · link · parent

Also, "my data is handled by a company under the EU law" is quite a good sale pitch these days.

comment 6y ago · link · parent

Hence the kiss

comment 6y ago · link · parent

For a KISS version of this, there is the Single File add on:

https://addons.mozilla.org/fr/firefox/addon/single-file/

It will save any page as a standalone HTML file, including inlined external resources.

comment 6y ago · link · parent

Write free code, extract libraries, then organize some into frameworks.

We don't need to exclude any of those practice. In fact, focusing on only one of those is what leads to the most problems in my experience.

comment 6y ago · link · parent

The chapters on the USA in history books of 2030 are going to be so heavy to read:

<< Chocked by 9/11, they decided to implicitly discard the Habeas Corpus by installing the Patriot Act and officially autorize torture. A temporary measure that never got revoked.

Then, they went to war on the other side on the globe, spending a trillion of dollars, against the UN vote, lying about WMD.

Meanwhile, they setup mass surveillance of their own people, and ruthlessly attacked the ones speaking against it.

They elected Bush twice, and Trump, reinforcing every day anti-intellectualism, fear, agressivity and violence as part of the country culture. The medias, including news outlets and tv shows, followed since this is what brought the biggest audience.

Injustice rose. While the poor had a hard time even getting decent health treatment or diet and the black community compose most inmate population, milked by a privatized social system, the powerful are exonerated from accountability: rogue cops are not condamned, the Panama papers lead to nowhere, Esptein died in prison, brankrupt giants are bailed out with peoople's money and Trump was never impeached, staying the center of attention.

Finally, the covid-19 outbreak stuck the country in recession, rendering tens of millions of people incapable of producing revenue, tanking the oil price, and elevating social tensions. >>

Since the US peace keepers seems to have a licence to kill, this is not going to end well.

I'm glad I'm in Europe watching the show from afar. You have all my compassion.

comment 6y ago · link · parent

Also this is the kind of thing that won't be tested for health impact for the necessary 20 years before being released. And once the investment is high enough, if we ever discover that being a in wireless charging electric car is in fact, not very healty if you do it for a decade, the steaks will be so great that it will take half a century before society balance things out.

comment 6y ago · link · parent

There are a thousand ways to suffer, and I don't know most of them.

The more I grow, the more I discover new ways people fight their own battle.

Every time I think somebody had it easy, I end up dead wrong. There is just so much I didn't know about.

I even recently realized it's very common to deeply suffer without being conscious of it, and yet being unhappy because of it. It's a terrible curse, because deep down some part of you knows there is something wrong but you cannot put your finger on it, and yet it affects your whole existence.

People just mechanically don't think about it so they can make the best out of life.

It makes you feel much closer to people, much more tolerant, and you suddenly understand a lot more about the choice they make and the things they do.

comment 6y ago · link · parent

Disney is kinda touchy with copyright, and the pirate bay still exists.

I don't think the internet, where 4chan or the dancing coffin meme were born, is really a medium that stops at the threat of an outrage.

comment 6y ago · link · parent

Yeah, well good luck with that one.

With this feature, MS just ventured in a space where no-one can compare yet.

If this ever gets popular, that's check mate right here.

comment 6y ago · link · parent

Octarine.

comment 6y ago · link · parent

Technically yes, but practically, cmder configures each shell it embeds (windows cmd, powershell, cygwing bash) to work with git automatically. So for the end user, ~=.

comment 6y ago · link · parent

> It’s still weird to say it, but Windows Terminal is hands-down the best terminal on Windows.

Windows terminal is pretty good, but no, it's not yet the best terminal on windows.

cmder is.

It has panel split, quake mode, git integration...

Now the read map of Windows Terminal is pretty convincing, so let's see how it plays out.

comment 6y ago · link · parent

This supports "WebView2(Chromium-based engine)" natively, which may add one reason to why Microsoft chose chrome and not firefox as a browser engine:

- they share one tech for their browser and UI

- they rip the benefit of their work (and the community work) on electron

- it opens the door to sharing one instance (or at least main libs) between different apps using this engine, solving the 'electron spawn one engine per app' problem

comment 6y ago · link · parent

They know it culturally.

comment 6y ago · link · parent

Inkscape is a fantastic product and it can be used for some many unexpected things: editing a PDF, vectorizing an image, creating a pixel perfect resume...

I'm amazed it just reached v1.

comment 6y ago · link · parent

Usually you put a service that hold the key, and the client application ask the service to do the request for it.

If the user doesn't want to use your service, they configure their own key.

comment 6y ago · link · parent

That's a terrible solution.

Giving full control to one company of the thing that can be published, discovered an install is a receipe for all what's wrong with monocultures.

Don't get me wrong, the app store is a fine service. And that it's the default experience for beginners is a reasonable compromise.

But assuming it as the only channel is like a hospital refusing to heal people that eat processed meat because WHO declared it carcinogen.

comment 6y ago · link · parent

I hear that a lot.

It's not my experience.

Setuping services has been a pain for 15 years for me. Then with systemd it was suddenly easy.

Detractors keep repeating systemd sucks, but that this point, Debian and Fedora apparently decided it was good enough. And I never heard an end user complain.

I've stopped to be open to convincing.

comment 6y ago · link · parent

> SystemD feels like the new grad hire who decided the first thing the would do after joining — the opening power play — is to convince the PHB we should rewrite everything in Haskell.

I've seen this scenario played out, and it always fails. The product never ships, of ships in such a bad shape the users have a terrible user experience.

That's not what happened with systemd. It shipped. And after a few iterations, it actually provided a better user experience.

I don't know about sysadmins, but as a simple end user of Ubuntu, systemd is the best user experience I ever had for what matters to me: setuping my services.

It's quite easy to create your unit files, declare service dependencies, stop, restart, and so on. It's declarative, conf is reasonably straighforward to read an understand, documentation is there, and my system boot is stable on laptop and on my servers.

Maybe for "advanced case X", there is problem. Apparently, a lot of power users say there is. But I also know the FOSS community has some people advocating purity over practicality, don't care much about the people with less skills than them, don't understand user friendliness or will fight for their ego. So I have no way to be sure if the problem is real, or just another free software drama.

But at this point I don't care: for the average Joe like me, it's great, and I'm very happy it has been chosen by Centos and Debian as the default.

Apparently nobody in the entire history of init system have managed to provide something decent for, you know, initializing the system. I never heard a herd of devs claiming that one is the fantastic, and they were all terrible to use when I tried.

Well, I don't care for choice in my init system. I want it to work.

And systemd works fine for me.

1
166167168
184