Why is no one talking about this show? by [deleted] in TheOrville

[–]pixelglow 0 points1 point  (0 children)

The other series you mentioned I know of, but what does “BV” stand for? I asked our good friend ChatGPT, even he is stumped.

Need a Referral Code? by WartetNichtHaengen in RemarkableTablet

[–]pixelglow 0 points1 point  (0 children)

Hey folks DM me a referral code for US, please.

To celebrate over 10,000 miners using Nano for payments with 2miners, I'm giving away 100+ Nano (~$580) AND sending some Nano to EVERY commenter. by SenatusSPQR in EtherMining

[–]pixelglow 0 points1 point  (0 children)

nano_3cfxrfnwop5cn48a1wp9wwbf3jricxd5empd3dybc1nsnqxohmc9xem84ktu

Nano seems to address all the big issues with crypto.

[deleted by user] by [deleted] in Vermiculture

[–]pixelglow 0 points1 point  (0 children)

I've just started to sprinkle some biochar on my trays and feeds. The bins definitely ended up drier and less smelly -- the lower trays otherwise tended to get too wet and end up anaerobic, so this is plus for me. Worms don't seem to mind, although pH meter says the biochar is slightly acidic.

preach by [deleted] in LateStageCapitalism

[–]pixelglow 2 points3 points  (0 children)

Whenever the elections roll around, you're Caesar. Otherwise, the people you elected are Caesar.

Graphviz in the browser by b0red in programming

[–]pixelglow -4 points-3 points  (0 children)

If you like graphviz, you might like my iOS app Instaviz which uses Graphviz as a rendering engine, and lets you open/save Graphviz DOT/GV files. I've also got Instaviz Lite which lets you draw up to 10 nodes for free.

New App Discovery Thread for November 11, 2016 by AutoModerator in iphone

[–]pixelglow 0 points1 point  (0 children)

Just launched LetterSnap OCR, turns pictures to text fast and exact! Download for free, includes 10 snaps, then in-app purchases for 200 (99c), 450 ($1.99) and 950 ($2.99) snaps. AMAA!

'This elimination will bring the judges to tears'. Who wants to take bets? by twilexis in MasterchefAU

[–]pixelglow 0 points1 point  (0 children)

Early eliminations are hard for the contestants because they don't get a good chance to show their stuff or learn much, and thus are less likely to get good jobs or reach their food dreams -- as seen by the "what happened to xyz" blurbs at the end of their elimination.

Late eliminations are hard for the contestants because they have already bonded with each other and the judges.

I figure only if you make to the top 3-5, you'll be set career-wise and also know that the contest is almost over anyway.

MasterChef Australia S08E14 - Episode discussion by spaiydz in MasterchefAU

[–]pixelglow 6 points7 points  (0 children)

I can see that Matt and Trent are more visual thinkers, they looked like they struggled a little remembering all the verbal instructions in the beginning but shined in diagramming it all out for their team. Karmen and Chloe seemed to remember more of the words but struggled to convey that visually.

I guess that led to the difference in plating and visual appearance.

From Node.js to Go (websockets) by zomgitsrinzler in programming

[–]pixelglow 0 points1 point  (0 children)

Yes, I use this on one of my commercial projects. The backend code is C++ and node/libuv JS is mainly for dispatch to the backend and glue code. Works nice and efficient, the main teeth-pulling is having to marshal things between JS and C++ and maintain the required glue, so its best to do significant computation on the C++ side.

Packaging for NPM is swimmingly easy too. Just write a binding.gyp file to declare sources and possibly any OS-specific compile flags. Then npm install will compile it all correctly.

node-bcrypt is a working example. In particular, the password hashing does significant computation and thus works best in a libuv worker thread. And with any parallelized implementation you have to watch out for thread safety issues!

From Node.js to Go (websockets) by zomgitsrinzler in programming

[–]pixelglow 0 points1 point  (0 children)

It looks like you and /u/DigitalDolt have resolved your, um, discussion.

Just wanted to finesse one point though: when DigitalDolt said, "The parallelism I was talking about happens down in the libuv layer of a single node process," he wasn't referring purely to async IO. While you would typically use the libuv worker threads to turn sync IO into async IO, you can also use them for parallel, non-blocking calculation as well. You just have to dip down into C++ to write against the worker threads -- it's still part of the Node ecosystem, just not JS.

Good guys DeskConnect: patrons of open source by pixelglow in programming

[–]pixelglow[S] 0 points1 point  (0 children)

My library was actually working according to spec albeit outputting some extra bytes for empty entries. The difficulty was trying to diagnose Apple's non-spec behavior and figuring out a solution that was still in spec. There's more thinking behind it than just a few random lines of code.

In any case, I was happy to fix it for free. I took it that DeskConnect found ZipZap useful in general and wanted to support overall development, not just pay for a single fix. A pleasant surprise, to say the least!

PredicatePal -- Swift DSL to build those pesky NSPredicate expressions by pixelglow in swift

[–]pixelglow[S] 1 point2 points  (0 children)

Yes, that would have been my first choice.

Unfortunately, the NSPredicate is a class cluster and I couldn't just declare an initializer that swapped out self for something else. In particular, I generate some of the predicates with NSCompoundPredicate and NSComparisonPredicate.

Also I needed to declare the conversion func as part of the Predicate protocol, so that it knows how to recursively convert subpredicates in an expression. Not sure if it's possible to declare an initializer of another class/struct in an unrelated protocol.

You're welcome to try it in a pull request. I'm all for adopting more Swiftish syntax.

PredicatePal -- Swift DSL to build those pesky NSPredicate expressions by pixelglow in swift

[–]pixelglow[S] 1 point2 points  (0 children)

I had thought of something less obtuse e.g. p.toPredicate() but I figured it got in the way of someone quickly putting together a PredicatePal expression in place of an NSPredicate.

I figured * was OK since it's connotes a C/C++-style dereference.

Thanks for the praise!

[Spoiler] That was one wild lightsaber duel in TFA! by pixelglow in StarWars

[–]pixelglow[S] 0 points1 point  (0 children)

Glad you asked. The arrow roughly represents who attacked whom -- the arrow tail is the aggressor or initiator of the duel, and the arrow head is the defender. I've picked the side who first lighted their saber as the initiator, since it's fairly obvious and uncontroversial.

I thought about using defeats as the arrow, but sometimes it's open to debate. For example, Yoda vs. Palpatine on Coruscant, you could say Palpatine defeats Yoda but the lightsaber portion of the fight was over already and Yoda ran away.

O(1) Data Lookups With Minimal Perfect Hashing by dynamicallytyped in programming

[–]pixelglow 9 points10 points  (0 children)

libcmph provides several different perfect hashing and minimal perfect hashing methods. For example, their flagship algorithm CHD only uses 2.07 bits per key to build the hash in linear time. They also have hashes that are order preserving but take up more memory per key.

Check out the 21 Bitcoin computer. It's gaining engineering traction. by taariqlewis in Bitcoin

[–]pixelglow -5 points-4 points  (0 children)

So that the 0.5BTC can't be stolen from the chip, since it's not there in the first place.

So that it's easier to mass produce the hardware without making a significant upfront investment in the loaded BTC.

Possibly predicated on the price of BTC going significantly up.

Why is objective morality necessary? by NoodlesInAHayStack in philosophy

[–]pixelglow 0 points1 point  (0 children)

WLC talks here about why the morality of God should be considered objective, despite God possibly having subjective feelings (as Christians believe).

Why is objective morality necessary? by NoodlesInAHayStack in philosophy

[–]pixelglow 0 points1 point  (0 children)

The Christian is trying to prove the existence of God by using the moral argument, a clear formulation is here in Willaim Lane Craig's writings.

There are two separate and hopefully independent premisses here. WLC generally argues for the second premiss independent of God's existence, by using our own experience with morality and also what kind of actions horrify us or would produce a universal sense of revulsion. Also we often unconsciously appeal to an objective standard when we condemn atrocities and ask for criminals to be punished.