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

I find it harsh to suggest that the names in that statement didn't do real work. They've been at it for decades. And the newcommer report is outstanding in quality.

I'm rather interested in why you feel that way however. Do you think your work, or the work of some specific project/person hasn't received the recognition it deserves ? Or that the attention of the community diverted from important work toward subjects that are more eye catching ?

comment 5y ago · link · parent

I don't see any download button. Does it have a desktop client that works offline ?

It's a requirement for me.

comment 5y ago · link · parent

Oh it does matter. I hope the cops and judges will follow it, I think it's good for democracy. But if they didn't I would not bat an eye in this case. Why spend energy for that ? It's like seing a duchbag slipping on a banana. There is pleasure in watching.

comment 5y ago · link · parent

Yaml has so many problems. Python 3.10 raised a new one to my attention when the core devs realized their arrays of versions contained twice 3.1 and no 3.10. Indeed, if write unquotted ascii, yaml gives you strings. Except if it can cast it to a number that is.

TOML is better, but it still has more gotchas that necessary. So much I find it easier to just edit a python file

I'm thinking of giving a try to cue. Any feedback ?

comment 5y ago · link · parent

Google was part of PRISM, and appeals on youtube are a joke here to pretend you can.

comment 5y ago · link · parent

Yes, they also probably have also an AI collecting what makes your activity a unique profile even if you are not logged in. Thanks to google search, map, analytics, android, dns, amp, google fonts and the like, you almost always load something from a google server if you browse the web.

comment 5y ago · link · parent

They don't respect due process with illegal mass spying or bazooka dmca on youtube. They just do it, and you can't appeal.

So at this point, even if none of that ended up being true (unlikely), I still hope it will hurt their reputation badly.

comment 5y ago · link · parent

http://dynalist.io

Proprietary freemium, but I love it. It works offline, it works on linux and windows, it works on my phone...

It's basically a hierarchical set of todo trees, with a nice IU, sync, dates, hilightning, checkboxes, titles and tags. They recently added templates.

The search is excellent as it can filter by color, tag, dates... And you can favorite anything into the menu, including a search.

The keyboard shortcuts are are lacking, so I complement it with autokey.

comment 5y ago · link · parent

Unfortunalty it requires manual css entry to hide the horizontal tabs.

comment 5y ago · link · parent

Vivaldi is webkit/blink based though.

comment 5y ago · link · parent

You can't trust any big corporation with anything, period.

Nor Microsoft, nor any other.

It's not a matter of morality, it's a matter of scale. At their scale, the entity takes priority over individuals, and it will always do what's good for the corporation, and only the corporation, unless obligated to.

In a capitalist society, this means it will always do what's profitable unless a stronger player, competition or the state, strongarm them into doing the right thing.

So no, you can't trust Microsoft with open source.

But right now, it happens Microsoft interest and the open source community are aligned. So keep your eyes open, don't put all your eggs in the same basket, assume it will change. Certainly don't let them control your stack.

But do enjoy the ride. They have skills and resources, FOSS can benefit from it.

comment 5y ago · link · parent

Also the id must be hold using useRef().

That's the whole problem with hooks: when things are easy, they are nice. When things are complicated, unfortunately, they look easy, and you start to think you understand what's going on. But most people, me included, don't.

comment 5y ago · link · parent

Yes but:

- lifecycle methods are clearly named and explicit. Hook lifecycle is implicit and you better have the whole doc in your head. It depends on this weird array, and have a few edge cases.

- you need useRef() to hold the interval ID for it to work with hooks. A fact you are unlikely to realize without a hard debugging session. While a simple attribute will suffice with a class.

- spreading accross methods is actually nice: people intertwine code for various steps easily in hooks, making a mess of things

The benefit of the hook version, of course, that the reusable version is very nice.

comment 5y ago · link · parent

The banner is not because of the law, it's because of the sites. You don't have to put that banner: just don't track people.

When you see such banner, don't get angry at the law, get angry at all those websites that are tracking you.

comment 5y ago · link · parent

I hates the idea of hooks. After trying them, there are things are like about them, and I use them.

But it's not "the best things to happen to react". It added plenty of complexity to the system.

Hooks have been embraced by the community in a way that now many features only exist as hooks, which makes ones life difficult as soon as you don't want to use a functional component.

An no, not everything should be a functional component.

In fact, some things are really hard to do with hooks. I dare you to craft a simple reusable _and correct_ useInterval() hook without stealing the solution online.

Go on, I'll wait.

comment 5y ago · link · parent

Yes, it was a necessary endeavor, but the implementation never lived up to the task. I'm glad Pipewire is now getting traction, as I fear PulseAudio will never be able to be the stable and robust solution we need for audio on Linux.

Particularly, it handles badly sleep modes, hot plugging sources, and BT, which in 2021 is not acceptable. I regularly have to set things up manually using pavucontrol.

But yes, we needed it, and I thank the people that tried.

comment 5y ago · link · parent

When Pulse audio came around, pipewire didn't exist. In fact, the infra required to build it didn't either.

comment 5y ago · link · parent

This is nitpicking and ignoring that the end users have problems because of all of this, and they are not addressed because of this kind of hand waving.

I donate to the FSF, I contribute to FOSS, and I take those kind of articles very seriously. Because they contain very important informations of what we need to work on next.

Of course, that doesn't mean we should take it at face values. Like for the Linux drivers situation, the idea is not to say "yeah, let's change that". But one should recognize the challenges it can bring, and find a way to make it better for those who wants to get hardware support.

Staying on the top of our ivory tower while stating we are technically correct, the best kind of correct, is not a good long term strategy.

comment 5y ago · link · parent

Oh I understand the motivation. I also know it caused a lot of pain, for very little gain.

comment 5y ago · link · parent

Well, if you want to go toward hard games, you have Super Meat Boy, vvvvvv, and Cuphead. Or even games that scales from "finishable" to "very hard to 100%" like Celeste.

So good hard games still exist.

It's just not the default difficulty anymore. Mario, Tomb Raisers, they all became very casual. I don't mind, I still enjoyed the Switch mario. I'm getting older, and I don't want to have to memorize entire levels with a ms timing to get through anymore.

But if you do want that, you can.

comment 5y ago · link · parent

Any interaction with authorities should be legally required to be recorded. If you are held for 72h, there should be 72 hours of videos, not one minute less.

comment 5y ago · link · parent

The debate that started this thread proved my point without needing any effort of my part :)

comment 5y ago · link · parent

I specifically stated "any windows or mac python program".

Indeed, most linux distro packaging teams decided to split tk in a separate package that is not installed by default. Same for pip and setuptools. Of course, this made getting a congruent python experience extra hard, on a platform with already plenty of gotchas for python setup, but hey, they saved a few Mo.

comment 5y ago · link · parent

Amusingly, any windows or mac python program comes with a TCL interpreter, thanks to the tkinter GUI:

    >>> import tkinter as tk
    >>> tk.Tcl().eval('puts {hello, world}')
    hello, world
    ''

comment 5y ago · link · parent

> As a developer I never had much problems building systems in multiple locales.

That's really not the hard part

The hard part is to follow all the legal and social conventions. Formats for dates and money, symbols and colors that you can or cannot use, making sure you get timezones right, serving a right to left design to the middle east, dealing with the various way to enter a phone number or a home address, translating efficiently db content or SPA pieces...

Just translating from a *.po file, yes, it's easy.

comment 5y ago · link · parent

The sentry team is pretty cool too. Not to mention the product is very well made.

I now almost always setup the free tiers by default on new web projects. I have yet to regret it.

comment 5y ago · link · parent

They were at the top of the pyramid, that's what happened.

Same as when Microsoft had IE6, or the French phone market company was a one provider deal, or when Blackberry was eating the smartphone market.

They stop to innovate. They milk the cow.

It works for some times, then a new guy arrive in town, Firefox for IE6, Free for French Telecom, iPhone for Blackberry...

comment 5y ago · link · parent

Fact 137: don't read articles with 136 facts, there is no way you can put them in practice or even understand them all, and it will overwhelm you.

comment 5y ago · link · parent

Or displaying the street names I'm interested in. Because for some reasons, some are not displayed, and I'm walking on it.

comment 5y ago · link · parent

Also, even among the not newbies, most programmers are average.

Because most people are average, thanks to our Gaussian nature for talent. Besides, for most people, IT is a job, not a passion. Like in any industry.

It's true for everything, doctors, electricians, geographers.

So if you love your field, and you are passionate about what you do, enjoy that, but don't expect others to follow.

1
115116117
184