@hyc@mastodon.social
@hyc@mastodon.social avatar

hyc

@hyc@mastodon.social

CTO Symas Corp., Chief Architect OpenLDAP Project, Musician

This profile is from a federated server and may be incomplete. Browse more on the original instance.

RustyBertrand, to random
@RustyBertrand@vivaldi.net avatar

If spellcheck doesn't work, how do I turn it off completely?

It should suggest words with the correct spelling, but it doesn’t. I'm having to google words I know how to spell, because it's offering ridiculous spellings.

Kicking me right in the

I've never had problems with spelling like this.

It's prompting dubious words. Making me feel like I'm taking crazy pills.

hyc,
@hyc@mastodon.social avatar

@RustyBertrand On my phone keyboard app, you can just turn it all off in the settings.

dabeaz, to random
@dabeaz@mastodon.social avatar

If you're not writing bad code, you're not learning anything.

hyc,
@hyc@mastodon.social avatar

@dabeaz not everything needs to be a lesson. Sometimes all you need is to apply previous lessons, solve a current problem, and move on to the next challenge.

evacide, to random
@evacide@hachyderm.io avatar

As a person who enjoys live music, this is the kind of action I love to see.

“It is time to break up Live Nation-Ticketmaster,” US Attorney General Merrick Garland said in a statement announcing the lawsuit.

https://www.theverge.com/2024/5/23/24163083/live-nation-ticketmaster-doj-monopoly-lawsuit-break-up

hyc,
@hyc@mastodon.social avatar

@evacide burn them to the ground...

hyc, to random
@hyc@mastodon.social avatar
archaeohistories, to history
@archaeohistories@ohai.social avatar

The London Hammer, discovered in 1936 in Texas, is a controversial out-of-place artifact that appears to be a 19th Century CE, tool encased in rock purportedly dating to the Cretaceous period, sparking debate.

This intriguing find challenges established geological timelines and has generated significant discussion regarding its origin and the processes that led to its encasement in rock supposedly millions of years old.

hyc,
@hyc@mastodon.social avatar

@archaeohistories H.G. Wells dropped it by accident

hyc, to firefox
@hyc@mastodon.social avatar

"Architecture

The scripts in this self-hosting guide will create 9 containers: one TLS-offloading proxy, 6 services which run on various ports, and two supporting ones, which are not publically accessible:" Geeze, all I want is to setup my own account server, what is this 9 service containers nonsense? https://github.com/michielbdejong/fxa-self-hosting

And no, I'm not installing node.js natively on any of my machines. https://mozilla-services.readthedocs.io/en/latest/howtos/run-fxa.html

ElleGray, to random
@ElleGray@mstdn.social avatar

Saw this and immediately wondered if the sound a parent made stepping on it in the dark in ancient times is the same noise we'd make today

hyc, (edited )
@hyc@mastodon.social avatar

@ElleGray hmm. Curse words wear out with usage, but I wonder if they recover their potency after a long enough dormancy. https://www.wired.com/story/the-science-of-why-swearing-physically-reduces-pain/

https://pubmed.ncbi.nlm.nih.gov/22078790/

waldoj, to random
@waldoj@mastodon.social avatar

Heat pumps and induction ranges are two strong examples of products that are better environmentally and better products than their gas/oil competitors, for almost everybody. (EVs will get there, but they’re not there yet.)

Because carbon emissions are free, it’s important that low-emission new products be clearly better than the polluting status quo. It’s a high bar, it’s not fair, but I’m glad we have heat pumps and induction ranges as a model.

hyc,
@hyc@mastodon.social avatar

@virtuous_sloth @glennf @timbray @waldoj @nlpbot one step at a time. You can't fix everything overnight. Replacing ICE vehicles with EVs is still an improvement in terms of air and noise pollution, CO2 emissions, and energy efficiency.

hyc,
@hyc@mastodon.social avatar
hyc,
@hyc@mastodon.social avatar
hyc, (edited )
@hyc@mastodon.social avatar

@virtuous_sloth @glennf @timbray @waldoj @nlpbot the same happened in Ireland as well (animation created by https://twitter.com/Conor435_ )

mastosalo, to Dog
@mastosalo@nerdculture.de avatar

I know it's caturday, but I helped my sister's dog snap a selfie.

hyc,
@hyc@mastodon.social avatar

@DrGeof @JSharp1436 @mastosalo I'd start with Thursday and just call it Fursday

hyc, (edited ) to random
@hyc@mastodon.social avatar

Isn't it wonderful how IDEs like VSCode are so intuitive and make developers more productive... https://mastodon.social/@mcc/112457365765555161

/me exits shell, back into vim ...

snickerbockers, to StarTrek
@snickerbockers@freeradical.zone avatar

the breen primarch from discovery's new season sounds way too similar to Lord Zedd from Mighty Morphin' Power Rangers. Although somehow he's an even shallower and more one-dimensional villain than anything the power rangers have ever faced.

hyc,
@hyc@mastodon.social avatar

@snickerbockers hey, not all villains have depth. Some of them really just want power.

tedu, to random

Rust is clearly superior to go based on the most obviously objective scientific measure: the number of blog posts about how strings work. Nobody writes blog posts about strings in go, pathetic, but a vast literature has been developed to explain the greatness of rust strings.

hyc,
@hyc@mastodon.social avatar

@tedu either go strings are so self-intuitive that nobody bothers to write about them, or they're so incomprehensible that nobody tries to write about them?

hyc, to random
@hyc@mastodon.social avatar

Apparently, writing efficient and portable C code is elitist.

hyc,
@hyc@mastodon.social avatar
pervognsen, to random
@pervognsen@mastodon.social avatar

PSA: If you construct a B-tree with splitting-based inserts then constructing the tree from items in key-sorted order is actually the worst case for packing efficiency. Every node/leaf ends up exactly 50% full except for the right spine. When you bulk-construct a tree from scratch from sorted items, you want to do the construction bottom up and you don't want to use splits. That's linear time and yields an optimally packed tree (everything full excerpt for a partially packed right spine).

hyc,
@hyc@mastodon.social avatar

@pervognsen you don't need to change the build order for in-order inserts. You only need to change the page-split strategy. This is what LMDB's MDB_APPEND mode does for in-order loading. When a page is full we just start filling a new page instead of splitting the current page. It gives effectively linear construction speed without having to introduce a completely new code path.

hyc,
@hyc@mastodon.social avatar

@pervognsen but optimal packing isn't necessarily ideal, particularly if the data is non-consecutive and will have inserts interspersed in the future. LMDB addresses this too.

hyc,
@hyc@mastodon.social avatar

@pervognsen if we see that new records are coming in-order, but MDB_APPEND wasn't specified, we bias the split 70/30 instead of 50/50. So the new page has more room, and the old page can still accept inserts in the future.

hyc,
@hyc@mastodon.social avatar

@pervognsen yeah, the textbook description of B+tree behavior leaves a lot to be desired (and discovered, for a new implementor!) when tossed into the real world. I touched on this in the "Dark Underside" section of my Databaseology talk. https://www.youtube.com/watch?v=tEa5sAh-kVk

jwildeboer, (edited ) to random
@jwildeboer@social.wildeboer.net avatar

With #renewables, even just domestic solar panels and privately installed batteries we can get domestic electricity mostly for free in a few years in many developed regions of the world. The electricity companies will do everything to make that impossible. But their claims of a grid that can't cope only shows their centralised approach that favours big consumers is failing ;)

hyc, (edited )
@hyc@mastodon.social avatar

@jwildeboer on a sunny day I produce and sell back 3x what my house uses. This includes an energy diverter that heats my hot water supply with the excess power before sending power back to the grid.

hyc, (edited ) to random
@hyc@mastodon.social avatar

Gag, puke, retch... This sample code for communicating with is abominable. https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html

From gratuitous use of superfluous language features (a cleanup handler, for a single fd, srsly?) to inappropriate use of standard POSIX APIs (using connect+write on a socket that only sends one message and then gets closed, really?) Older compilers don't even support a cleanup attribute, and this code is used as a model of portability??

's version is better.

hyc,
@hyc@mastodon.social avatar

@bluca the idiomatic C code is ~10 lines shorter and doesn't require any non-standard compiler features, so yeah, your version is bloated garbage.

sue, to random
@sue@glasgow.social avatar

The hardest problem in computer science is being born into generational wealth

hyc,
@hyc@mastodon.social avatar

@sue I have a couple non-computer-related hobbies, so it's at most 33% of my personality.

tomw, to random
@tomw@mastodon.social avatar

People worry a lot about losing knowledge — about "burned-down libraries".

Comparatively few people seem to worry about what happens if you take a billion books full of auto-generated, often-untrue junk text and add them all to the library.

In theory, nothing is lost. In reality, everything is lost, because nothing useful can now be found.

hyc,
@hyc@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • mdbf
  • tacticalgear
  • osvaldo12
  • InstantRegret
  • DreamBathrooms
  • cubers
  • magazineikmin
  • thenastyranch
  • khanakhh
  • Youngstown
  • slotface
  • kavyap
  • megavids
  • ethstaker
  • tester
  • GTA5RPClips
  • Durango
  • modclub
  • Leos
  • ngwrru68w68
  • everett
  • anitta
  • cisconetworking
  • provamag3
  • normalnudes
  • lostlight
  • All magazines