News for hackers. Stuff that matters.

dragonne

If you consider this article lengthy you should read a few books to recalibrate your attention span.
Re:Congressmembers Tried to Stop the SEC’s Inquiry into FTX on Thursday November 24, 2022 @10:56PM (#33739028)
FYI this site isn't paywalled, it just has an obnoxious popup.
Re:Unofficial Guide to Datomic Internals (2014) on Friday July 24, 2020 @07:30PM (#23945548)
I wouldn't call it over-engineered, but it certainly is an operational disaster. It's slow, memory hungry, and full of catastrophic bugs.

We are currently replacing it with PostgreSQL to improve performance and scalability.

Re:JMAP: A modern, open email protocol on Monday May 06, 2019 @04:44PM (#19843645)
> There's no reason you couldn't represent RFC5322 data with RDF as JSONLD. There's now a way to do streaming JSON-LD.

Is there a reason you'd want to? I clicked all your links but I still have no idea what Solid is.

Re:Ask HN: What was your experience using a graph database? on Tuesday January 01, 2019 @12:24AM (#18799069)
I've endured Datomic for 4 years and I really wonder what the folks who enjoy it are doing, because for me it us utter misery.

- It's miserably slow (if you wish to contradict this statement, please provide numbers) - Consumes gobs of memory (export our data to JSON and it's orders of magnitude smaller) - Full text search will consume all your CPU cores for if you given it a short query (seriously, don't touch this feature, it is a basket full of footguns) - Resource leaks (the Cassandra backend used to leak full databases!)

I've been up to 3:00 a.m. dealing with bugs in Datomic. What use cases does it actually work for?

Re:Why Most of America Is Terrible at Making Biscuits on Saturday November 24, 2018 @11:22PM (#18525459)
I've heard that this is also why American baguettes are so brutally hard (even when fresh). They're supposed to be closer to crispy, not a dental hazard.
Re:Five minute guide to better typography on Monday October 09, 2017 @07:23PM (#15438218)
Ah, I see what you meant. Thanks for clarifying!
Re:Five minute guide to better typography on Saturday October 07, 2017 @05:00PM (#15425682)
I think most of your advice is solid, but I take issue with one point:

> - If your font colour is more thant #333 on white, you're being cruel, especially to those who suffer astigmatism.

A designer should think hard before reducing contrast. You may be improving the experience for one group at the expense of others:

- A low contrast page is difficult to read on a cell phone in daylight.

- A low contrast page is difficult to read at night on a dimmed display.

I don't meant to discount folks for whom high contrast is a problem, but don't they have a simple recourse? Reduce the brightness or contrast of the display. Most monitors and laptops have controls that allow this.

You may appreciate https://github.com/Andy753421/mkinit though it is written in mk (from Plan 9) rather than Make.
Re:“We currently have no plans to support Xwayland” on Thursday July 20, 2017 @11:06PM (#14817762)
I guess I have no plans to buy another Nvidia card, then. Their current X11 drivers tear like crazy, and I have hope that Wayland will fix that.
This, a thousand times this.

Failing that, though, at least change the default rsyslog configuration such that:

* Timestamps are not ambiguous (the default includes no timezone offset)

* Timestamps are higher resolution (milliseconds at least, but preferably microseconds)

* The syslog severity/priority is not discarded (tools which display these files must use disgusting heuristics like searching for "err" to highlight errors)

* Rate limiting is disabled, as rsyslog sees all messages as coming from journald. This means that a misbehaving (chatty) application can cause critical messages from other apps to be dropped. journald does its own (per-source) rate limiting anyway.

* /var/log/syslog is rotated by size as well as time, so a misbehaving program can't easily fill up the partition which contains that file by accident. The current default is 1/day rotation, with no size limit.

Scylla's blog has some excellent technical content, though it's intermixed with lots release announcements. http://www.scylladb.com/2017/01/02/top-5-blog-posts-of-2016/ has some of the highlights.
Re:Customizing class creation in Python on Thursday March 30, 2017 @06:18PM (#13999401)
The biggest gotcha is that namedtuples compare exactly like regular tuples. Thus, two namedtuple types with identical elements will compare equal even if the type and field names differ. Usually that isn't what you want.

I've taken to using attrs everywhere for exactly this reason: http://attrs.readthedocs.io/en/stable/why.html#namedtuples

Re:The new Nokia phones are here: Nokia 6, 5, 3 & 3310 on Sunday February 26, 2017 @06:19PM (#13740606)
I have a Z5 Compact as well. Nice little phone, and quite fast. However, I don't think that many developers test their apps on a sub-5" screen, because I've encountered issues with several apps where controls overlap. For example, in VLC's file list the context menu button overlaps with the invisible scroll bar track. It is easy to scroll accidentally. Amazon Music has exactly the same problem, too.

The Android ecosystem is difficult to recommend, and a small Android phone is even more difficult to recommend.

Another Rust terminal emulator project, notty[1], aims to do this. Downthread the author mentions that the projects are looking at collaborating.

[1]: https://github.com/withoutboats/notty

It seems worth noting that as web browsers have removed the ability to disable JavaScript they have added options to disable web fonts. I flipped this switch in Firefox for Android because it makes pages load noticeably faster and conserves data. Lots of sites seem to host web fonts on third-party CDNs which require a separate TCP connection: a big deal on high-latency mobile.

Blocking web fonts usually does not noticeably degrade a site's usability or functionality. Icon fonts are the exception. I've learned that a question mark in the upper-right corner is usually a site's menu, except when it's the search function. I don't think that this level of breakage is comparable to what happens when JavaScript is disabled, since many sites just break completely without scripting.

Re:How We Knew It Was Time to Leave the Cloud on Saturday November 12, 2016 @11:28PM (#12941867)
Anyone in particular, or anything open source? I could use this for a work project, but the closest I've been able to find is an old project which backed JGit to Cassandra and the Dulwich Swift backend[1].

[1]: https://www.dulwich.io/apidocs/dulwich.contrib.swift.html

Re:Why Fitbit Inc. Just Lost a Third of Its Value on Friday November 04, 2016 @01:22AM (#12870560)
What are the products better than Fitbit's which the article alludes to? I've generally been impressed with their products, and my experience with a competitor (Virgin Pulse) was terrible.
Re:Web fonts, boy, I don't know on Thursday November 03, 2016 @06:48PM (#12868769)
Firefox on Android has a switch for this. Menu -> Settings -> Advanced -> Show web fonts. The mobile web is remarkably faster to load with it off, even on wifi.
Re:Google Noto Fonts on Thursday October 06, 2016 @11:17PM (#12657897)
The SIL Open Font License restricts subsetting, so you do need to be careful when doing this (the license requires that you change the font name if you reduce the font's display quality). Google has gotten waivers to allow them to alter the fonts without changing their names.

The repository with the fonts and tools is here: https://github.com/google/fonts

Re:Google Noto Fonts on Thursday October 06, 2016 @11:04PM (#12657848)
CSS unicode-range has that covered: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/... Pretty good browser support, too.
Re:Deepstream.io – Open Realtime Server on Wednesday September 21, 2016 @06:23PM (#12552802)
What tools do you use to profile a Scala + Akka service? IME they are quite opaque to traditional Java tools like VisualVM. What am I missing?
Re:Microservices on Thursday September 15, 2016 @05:29PM (#12509967)
We ship a microservices-based product on-premises. You can do it, but it's a heck of a lot of work. Plus you don't get any of the benefits microservices might bring in a CD scenario: you can't do CD over an airgap.
It is frustrating that Firefox makes it so easy to delete recent history, but difficult to remove old stuff. I really only want the last month or so; why do I have to clear it manually?
Re:Kinesis Advantage 2 on Saturday August 06, 2016 @01:14PM (#12238884)
Maybe this is new, but the TECK has terrible build quality IME. I have been using two (home and work) and both have accrued keys that don't work properly---some don't respond reliably, or at all, and some double-press. These are both Cherry browns. Firmware tweaks haven't helped.
Re:Kinesis Advantage 2 on Saturday August 06, 2016 @12:51PM (#12238775)
I use a Wacom for some tasks, but I find it even worse than a mouse if you are switching back and forth a lot. For drag and drop I recommend the Contour Design Rollermouse Red. The downside is it doesn't pair well with a deep keyboard, as it wants to replace any wrist rest.
No, Kodi uses SQLite internally (I've fixed garbage in its databases with the sqlite CLI tool before). It does also support external MySQL, though.
In a similar vein, there is https://shop.keyboard.io/ I pre-ordered one earlier today to replace a TECK.

I agree that most of the keyboards on this list are not ergonomic at all. Most are simply mechanical keyboards.

Re:Monitoring Cassandra at Scale on Thursday June 02, 2016 @01:51PM (#11824546)
Thank you for posting this, and in particular for the pointer to Jolokia. Just what a Python shop needs to monitor Java infrastructure.

Older »