24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions
https://www.bitecode.dev/
Email: contact at bitecode.dev
comment 5y ago · link · parent
For a simple config, sure.
But as soon as you have something more complicated, you end up with:
- a frankenstein monster DSL, with pseudo flow control + funcs backed in through a patched up templating system
- weird error messages, no stack trace, and type errors that accumulates
- no DRY
- no tooling: type checks, linting, de bugger, logger. Forget about it.
Case in point: ansible playbooks.
So unless your config is going to stay under 20 lines, just use a real programming language. If you don't want to use Python, fine. Use dhall, nix, jsonet or something else.
comment 5y ago · link · parent
But I do see some of my idealists friends that ended match up this pattern, and I find that there are regularly people in the angry mob that seem to have a similar profile.
I don't hold that theory as gospel, but it helps me develop compassion toward those who are angry.
comment 5y ago · link · parent
For a long time some minorities were particularly silenced by our societal systems. If you were a foss advocate, vegan, ecologist, feminist, LGBT aware, what have you, in the 90', you were ridiculed and you didn't have a voice.
Now the table have turned, and the pendulum is balancing to the other extreme: those who were frustrated 20 years ago now created an anger culture out of it that they express loudly. I understand were they come from.
It will go back to balance, but things take time to stabilize. In the meantime, those who had a point of view that were common in the 90' now are considered bad people by default.
I don't think this is the right move, but I understand the process.
comment 5y ago · link · parent
Shaming and tribalism doesn't help anybody, and is an arrogant view of the world.
You are probably some *ist right now, compared to a future world view.
Just because people have an opinion you know is unwise doesn't make them a bad person. They are like you. You are more like them than you think, but like them you have blind spots that prevent you from seeing it. Tolerance goes both way.
We all create suffering, at different scales and in different manners.
The idea is not to cater to racists, but just to make sure their believes does not translate to hurtful actions in the work place. If it doesn't, then it's ok, they probably tolerate stupid things on your part too.
If it does, then first, try to engage with them to make it stop.
Only if it doesn't work, should you reject them.
comment 5y ago · link · parent
I was looking to put words on my feeling about this, and you did it perfectly.
I was wondering why suddenly so many people voiced the same engaged opinion, while I know for having discussed with them in private settings that they don't think deeply about society.
Now I realize that's because they want to look like they belong to a certain kind of people. It's not about ideas. It's about tribes.
comment 5y ago · link · parent
I though that, at least in free countries, fiction could contain whatever you wanted, since it was not real.
In fact, even not fiction, but books in general. You can still buy the communist little red book and the nazi mein kampf, at least in France.
comment 5y ago · link · parent
There is no way that ensuring huge entities with enormous capital are able sustain their dominant position thanks to flushing cash at ads is healthy.
I've yet to see a situation where advertising was better than word of mouth, personal experience or expert feedback.
It seems it's all gain for them, no gain for us.
comment 5y ago · link · parent
When watching a movie on the laptop, it's so handy to use the remote control to pause/play/change sound or move the timeline.
Now some stuff don't work so well: file transfer is flaky sometimes, sending a text from the laptop has a very primitive UI and I never seem to be able to share the clipboard when I want to.
But I love to ping my phone when it's lost in the house.
comment 5y ago · link · parent
I'm simply noting that those "dangerous features" are, practically, only accessible to the people that are tech saavy enough to understand the risks.
So the "it's to protect the innocent" argument doesn't seem to hold well.
comment 5y ago · link · parent
It doesn't mean it's a pineable though, Occam razor would lead me to thing it's more likely a fruit most people are not accustom to see.
E.G: figue de barbarie: https://fr.wikipedia.org/wiki/Figue_de_Barbarie (and if you wonder, it's very good)
Not that I think it's a figue de barbarie, the body matches, but not the head, yet there are a lot of fruits people don't know about, or it could have been a fruit that disappeared since. After all, we lost a whole class of banana type, why not other things?
comment 5y ago · link · parent
A few remarks:
- the go get install is broken in the readme. I opened a ticket.
- since go cross compile, maybe you could provide binaries for Linux/Windows/Mac ? No need to go get, no need to install docker. That would open the door to include the tool in web frameworks.
Good luck, and thanks for sharing.
comment 5y ago · link · parent
- When I'm in the flow, I really don't want to think about the structure of my text. The ms required for the tag insertion breaks that.
- Unless you very disciplined with your HTML use, it's hard to get back structure from you HTML doc. You have to limit yourself to the subset you would get from markdown.
I'm experimenting with asciidoc now, let's see if it's working.
comment 5y ago · link · parent
- it's unix only, which, when using a multi-plateform language like python, is limitating
- can't be used programmatically without subprocess hacks
If you use Python, watchdog is an interesting alternative:
- it works were Python works: pretty much everywhere
- it uses the best API for the job (e.g: inotify on linux), but will fallback on manual scanning in a thread if the underlying OS has no special file system watcher API
- it's a lib that can be use programmatically
- it features the command "watchmedo", which is basically what entr does, but with an optional rich file format and plugin system
- for simple use cases, all that stuff stays super simple