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

My comment is not trying to characterize any UFO in particular.

I'm just stating that the whole concept of UFO is exciting, regarding of interpretation.

I'm open minded about any theory, in any case, it's a lot of fun.

comment 5y ago · link · parent

Here it is, next to a coin, for scale:

https://www.microchip.com/en-us/products/clock-and-timing/at...

comment 5y ago · link · parent

UFO are cool, they don't need to be from aliens to be cool.

New weather phenomena? So cool!

Strange illusion? Still cool!

Technical prowess from a foreign gov? Super cool!

comment 5y ago · link · parent

Unless I missing something, there are a ton of open source client side encrypted pastebins around.

E.G: 0bin.net (https://0bin.net/), with a lot of good faith in the FAQ (https://0bin.net/faq/), a basic and open source code (https://github.com/Tygs/0bin), zero JS stats on the main instance and alternative instances already in the wild. It does feature self destruct.

comment 5y ago · link · parent

Aggressive tone and a throw away account, this is the end of the thread for me.

comment 5y ago · link · parent

Let's say you test an api, since yoy are taling about status code. You have to test all kind of cases with wrong inputs, various user states and so on.

You can of course write the test to simulate all that, but's way harder than just using your user UI which lets you discover it and put a breakpoint in the endpoint to inspect. I may not remember where to get the header data in this framework, or maybe the client send me a weird queryset param and I must figure out why, or I my validation is failing in some case and I must check it out. I can't simulate something I don't know about or don't understand yet.

Plus using the UI will make you realize you forgot to limit input length or what happen if the user doesn't have any phone number or if it's tuesday.

The minimal use case you will write your code against will likely be only good in theory in your mind unless you do something very basic. You will probably throw it away in the end in exhange for IRL code learned by feed back, and you'll have written all that for nothing.

This is were TDD proponents say ypu shoud write the minimal case and see all that stuff incrementally, but again, it's way easier and faster to just fiddle with the UI and write the code I need then test each case that imagine each case incrementally, and find the proper incatation to make the whole thing works.

I'm exagerating for the sake of the argument, but that's the result I get every time I work on a project where the team requires TDD. Incidently, those are the projects with the worst UI as well, because dev don't use it enough.

comment 5y ago · link · parent

The README lacks of an example of input and output.

comment 5y ago · link · parent

If you do TDD, yes.

But there are a lots of projects out there that don't, and write tests afterward.

I do.

It's usually much, much faster and easier for me to write the tests after I figure out how to make what I want to work. I sometimes need to change the API a little to be more testable, but it's still faster.

In fact, if I write a test first, I have to write it with an abstract idea on how my code will work and need to understand the problem perfectly, which I rarely do. My understanding of the problem and solution grows as I write the code. It helps me ask the right questions, it reveals issues I didn't think about, I shows part of the API I didn't know by heart and above all, it cleans my initial idea of the workflow for this part of the code.

So if I write the test first, it will take a lot of time to think it through, and I will realize later I got it wrong and have to rewrite it anyway. You could argue I need to better define my problem or get better specs, but my experience is that they are always wrong as long as you haven't written any code: "no plan survive the contact with the enemy".

Not to mention you may not have written the untested code in the first place.

So I'd love a tool that can output test boiler plate for me.

comment 5y ago · link · parent

This is one of the most important project for humanity. Of course they want to secure it.

comment 5y ago · link · parent

Fixed it with "at least not large tech oriented" because banks, supermarkets, the media industry, the entertainment industry, etc. employ a ton of devs, but they won't likely use Kubernatis for most of their stack.

comment 5y ago · link · parent

> Most large companies are working on honest-to-god SPAs.

Most devs don't work at large companies, at least not tech oriented large companies. I'm almost certain most projects don't come out from such companies either, statistically.

In fact, most projects are not SPA, nor using any kind of AI, Big Data, or another buzzword.

So I don't think that's it.

I think that large companies are just the loudest, also creating/promoting popular FOSS projects, and they have great engineers that are on many social networkd, including HN, or write famous blogs.

And so people have the impression that you need an SPA into a docker mix among other microservices each horizontally scaled in the cloud, monitored using an observability framework, using a big data pipeline for processing things they will store in their NoSQL sharded DB accessible through a GraphQL Api.

Because Jack working at GAFAM for $500k has the time, env and will to sing about it, but Juan working in a Madrid bank is just spending his company time fixing the Tomcat server quietly.

comment 5y ago · link · parent

That is so messed up. A non state institution can non only claim you committed an offense, but it doesn't even have to justify itself.

comment 5y ago · link · parent

I'm 36 and after 18 years of being behind a keyboard, I'm just starting to be a decent programmer, so I hope not.

comment 5y ago · link · parent

Thankfully, there is a wonderful extension for that: https://addons.mozilla.org/fr/firefox/addon/sponsorblock/

Try it, and you will for a brief moment feel like when you installed a regular adblocker the first time 15 years ago: "WOW". With this + ublock origin + youtube enhancer, the site is a completely different experience.

It's the experience I would happily pay for, if it wouldn't mean giving away my whole life to Google's monster AI.

comment 5y ago · link · parent

I'm ready to pay, I pay for a lot of stuff: netflix, audible, dynalist, pycharm, etc.

But with youtube you pay twice, once with your money, and the second time with your private life. And Google's track record clearly shows it's not a good idea to trust them with it.

Google is the only one responsible for my total defiance toward them. They catered to it year after year. Now they are just harvesting the result. They can't have their cake and eat it.

comment 5y ago · link · parent

Putting a square into a round role does not make sense, but you may now be able to design a compatible square or round hole that one can move to.

comment 5y ago · link · parent

Can't really blame facebook for once. Even 0bin.net must obey take down requests. In fact, we often have to comply for requests that don't match our jurisdiction because hosting will shut you down without checking anything.

Facebook have their own infra but still, they can't ignore the law.

comment 5y ago · link · parent

In germany there is minimal payment infra, but civil dressed cops will make you pay randomly a heavy fine if they catch you.

comment 5y ago · link · parent

But unless you list those factors such adjective is meaningless.

comment 5y ago · link · parent

Oh they are. Their stuff are regular stuff.

comment 5y ago · link · parent

I understand the anger against Ryanair aloofness and its dictatorship compliance, but I think it's diverting energy from the real culprits, which are the kidnappers and their boss.

comment 5y ago · link · parent

I don't know about others, but because a lot of IT news comes to me from American medias, I _always_ consider it hype.

The reason is cultural: american can't seem to do without superlatives. They didn't eat good carrots yesterday, there were AMAZING carrots. They don't introduce me to their friends, but to their VERY BEST friends. They are always EXCITED to do X and SO something about Y.

The result is that none of those words have any value anymore. Louis C.K had a very good bit on that.

And then you add agenda, ads, and geek bias toward the new, and you got a recipe for over hype for pretty much everything (NoSQL all the things, Microservice all the things, PWA all the things, SPA all the things, OOP all the things, FP all the things, rust all the things, typescript all the things, etc).

So yes, my default assumption is that stuff on HN are over hyped (although interesting), until proven otherwise.

comment 5y ago · link · parent

You forgot the scariest:

3. we are unhappy, but don't even understand it because society have lost any reference point to an alternative or any way to talk about it.

comment 5y ago · link · parent

Github features a search engine.

comment 5y ago · link · parent

You still need the explanation, videos are not accessible nor search engine friendly.

It's a good complement though.

comment 5y ago · link · parent

Yes but your forgot that you had to setup easy php to get an dev env running. I'd trade easy deployment for easy dev any day.

comment 5y ago · link · parent

Or even over 3.7. The next exciting release is 3.10, which features pattern matching, union litterals, and above all, way, wayyy better error messages

comment 5y ago · link · parent

I get that this is a problem, but comparing it to oil as being the better alternative is not convincing: oil have been at the center of terrible wars, corruptions and ecological disasters for decades. Entire populations have been displaced, robbed, poisoned, conned and/or killed for oil. Let's not pretend it comes with less suffering attached, not to mention we had almost a century to improve the process, and we are comparing it to electrical cars, something that had been barely marketable to the public for 10 years.

comment 5y ago · link · parent

I've shared houses for a decade, and splitting the bill has never been an issue. Getting the money was.

If I understand it correctly, this could eventually help with that, since all parties register a card once, then you just request the money every time it's necessary.

comment 5y ago · link · parent

Thank your for bringing into the world this beautiful tool. I paid for ST2, ST3 and SM and it brought a lot of joy into my work. I'm more into VSCode now (ST python editing experience has been lagging behind), but I keep ST close for out of project editing.

I hope one day you will release your UI toolkit. Since it's crossplateform, fast, and plug into Python, it could be a wonderful alternative to PyQT, wxWidget and the like, and we really need something in the Python world.

Good luck to ST4.

1
139140141
184