Feel free to do it. You can find the amalgamation appended to GitHub releases.
HN user
program
Keep in mind that I appreciated your comment. My library has a very narrow target
There is an MJB_FEATURE_CHARACTER_NAMES option you can set to zero if you don't want to have a function that returns the name of a codepoint, such as "LATIN SMALL LETTER E WITH ACUTE". This is something that probably most people do not need at all. This shrinks "Hello World" macOS ARM executable from 937KB to 663KB.
I should probably offer other runtime options so users can literally strip away everything they don't need. For example, as you suggested, measuring whether a string is less than 80 columns is something you don't do every day.
(Author here) Dealing with encodings is already a big step when you aim to handle multiple ones and multiple OSes. You can see what I am talking about in the tests/ folder.
With Mojibake, I wanted to help people handle text by providing the smallest possible C/C++ library, without requiring them to use a +20MB library just to normalize a string, handle a flag emoji, or perform similar tasks.
See the CONFORMANCE_REQUIREMENTS.md file if you are interested in what the +17 versions of the Unicode standard have introduced.
Mojibake is a C library, not Python, so comparing the two isn't ideal. You can see the performance in the GitHub workflows results. At the end of the logs, there is an "execution time" line.
Mojibake is a Japanese term, and yes, it's used there when a page displays a lot of gibberish text. I chose it for fun.
Thank you very much. I've also started writing a smaller C++ wrapper so the user can use std::string_view for this, but I'm not the best C++ guy out there.
Mojibake handle UTF-8, UTF-16, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE in input and output. Can be used as a simple file and handle a wider number of algorithms, such as the "confusable" one.
Yes, I'm the author. I began writing this library because I needed something to handle Unicode for another project of mine (that I didn't finish), and I didn't like ICU4C or the other libraries I found.
It's a hobby project I wrote because I find the Unicode standard (sometimes unnecessary) complexity fascinating. And for other people to use, if needed.
The HTML page is static and generated at compile time. Every function has a little form to test the WASM function.
I am working on Mojibake, a small C library to handle Unicode data. I don't like the other libraries, so I’m building one myself. https://github.com/zaerl/mojibake
Thanks for fixing the title of this post! [U+1F642 slightly smiling face emoji] (I wrote the post)
The name chosen probably didn't help here. “Base” is a very generic term.
I did post this. I found it by chance, coming from this other post https://tonsky.me/blog/unicode/
Great initiative. All WordPress sites has multiple RSS feeds enabled by default.
I'm making a little mobile game for my son to learn Lua and make him have fun. The prototype is ready. Once I polish it, I will release it for free. https://zaerl.com/2024/08/26/i-created-a-game-for-my-son-par...
This is interesting. I simply do not connect my TV to the Internet and choose Apple TV, which gives me everything I need. Modern “smart TVs” are just ad terminals. That's why I think they are relatively cheap.
It's Matt. Automattic CEO.
It's better not to use types that end with a '_t' because the suffix is reserved in POSIX systems.
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh...
It should be interesting to have a seed system so that you can challenge other people.
The best thing you can do is make your TV dumb by not connecting to the internet. Then use an Apple TV or whatever Android stick there are on commerce.
Always check the item on camelcamelcamel before buying on Amazon. A lot of times you will find surprises in the prices chart.
Italian alphabet is very simple. Only add some accented letters to the base english alphabet (àèéìòù and uppercase variants). Still today I see a lot of Latin 1 / UTF-8 mixed errors. That's the reason why is very common to see "E'" in official documents instead of "È" and so on.
You can disable ads but the checkbox is deeply buried in the support menu page. Also the preference is reset every time Samsung update the T&C (more or less once a month). I added 6 Samsung domains to my Pi-Hole blacklist [1], domains that are queried dozens of times a day.
[1] https://gist.github.com/zaerl/e3c24a9c21e5c15138e92a43ccd534...
I have worked remotely for three years. Here are my tips:
Slack is your best friend but if you chat for more than a minute straight about something technical call your collegue otherwise you will lose your time.
Written language is not spoken language. Sometimes misunderstandings can arise.
Do separate your work environment from your daily life. If your house is small, like mine, light off your computer during lunch otherwise you will find yourself reading some docs, checking some code, etc.
Video conferences are not phone calls. When my team need to stay focused everybody have appear.in open in the background.
Always dress like you will dress if working in your office.
In my remote team we use appear.in. It's a great product.
Milan Area, Italy | Full-time | ONSITE or REMOTE in Italy | joebee.com
iOS Mid/Senior Developer Android Mid/Senior Developer Backend Mid/Senior Developer Frontend Mid/Senior Developer
Hi, I'm Francesco, the Joebee lead developer. We, at joebee, want to revolutionize the world of work here in Italy. We are looking for talented developers to add to our team. The main offices are located in Milan with the possibility of remote working. Technologies:
NodeJS / Javascript / Typescript
PHP (symfony)
MySQL / Mongo / Elasticsearch
EC2, Lambda, Cloudfront, S3
Email at f.bigiarini@joebee.com to learn more!
Gras and Golestanti have patented the software, and now need a device that can constantly monitor a patient’s EEG.
As far as I know there are no portable devices that can produce a clean EEG. Motiv/Neurosky devices don't count.
Addendum: in the USA you can't drive a car during the 365 days following the last seizure
PageSpeed 47/100 desktop, 51/100 mobile
https://developers.google.com/speed/pagespeed/insights/?url=...
Safari 8 has no problems with "image/svg+xml". It renders the "image" if you open the link: http://funny.computer/cloud/XNG/distance.xng
For getting the xng on the page just replace the <img> with an <embed>.
Great device to be used during the sleep.
As an epileptic I doubt that this kind of device "can help them (the epileptics) adjust their medications." My neurologist adjust my medications every 6 months after studying my blood analyses, standard EEG and sleep EEG.
The very interesting thing is that it goes through transparent portions of png backgrounds. Try it in the google logo.
I am very impressed.