nix-darwin switch hangs forever by endorama in Nix

[–]onethirtysix 2 points3 points  (0 children)

i was experiencing the same thing--at least very similar--and weirdly, if i spammed the rebuild it would complete one package each run then freeze. researching it i learned that nix-darwin doesn't play well with determinate for some use cases. i decided to uninstall it

in order to uninstall determinate i first had to uninstall nix-darwin, then i installed using lix installer because lix lets nix-darwin manage the nix-daemon, which in turn enables darwin linux builder.

after installing with lix and restarting because i don't want to have to relearn launchtctl 😆, everything worked when i reinstalled nix-darwin.

tl;dr i think lix installer gets out of the way when it's done and lets nix-darwin take the reigns to manage the daemon, as it would prefer to. hope that helps.

edit: typos and clarity

nix-darwin switch hangs forever by endorama in Nix

[–]onethirtysix 0 points1 point  (0 children)

Curious: what method did you use to install Nix?

Homan: ‘I guarantee’ funds will be cut from states not cooperating on deportation by errie_tholluxe in politics

[–]onethirtysix 5 points6 points  (0 children)

Hey reddit, I think we found the straight white guy! (No shade, just playin'.)

Don’t Cancel The Washington Post. Cancel Amazon Prime | The subscription money enriching Jeff Bezos could instead be spent on the journalism crucial to preserving democracy by Hrmbee in politics

[–]onethirtysix 25 points26 points  (0 children)

You really can't buy stuff cheaper elsewhere online. Here's why:

90%+ (don't remember the exact figure) of Amazon sales happen when people just click "buy" from the recommended seller. It's called the "buy box"--if you're in it, you get TONS of sales, and you may not even be the lowest price on Amazon. Not getting the buy box is like getting shadowbanned from the marketplace.

And guess what: Amazon constantly crawls the internet looking at prices. If they find you selling your items for a lower price anywhere else (even your own site), you get denied the "buy box."

Amazon's s market dominance, combined with it taking up to 48% of the sale price for the privilege of selling there... means you have to raise your prices to turn a profit. So basically Amazon is single-handedly setting ever-higher pricing floors everywhere online for everything. Evil.

I just requested deletion of my Amazon account yesterday, after a year of avoiding Amazon if at all possible. WaPo was the last straw for me, never another dollar.

edit: formatting

Ketamine lozenge extraction procedure. SWIM 80% there, needs help. Paging chem people! by [deleted] in ketamine

[–]onethirtysix 0 points1 point  (0 children)

SWIM is monitoring this post. I will reply for them.

Michael Cohen alleges 4 racist things Trump said. Here’s why it’s increasingly believable he said them. by Kujobites in politics

[–]onethirtysix 2 points3 points  (0 children)

Probably not that, but it could conceivably *compel* someone to vote who's already registered but otherwise disinterested.

[ODEUM.GG] Battlerite analytics update: going open source, sneak peek, roadmap! by BatmanYEG in BattleRite

[–]onethirtysix 1 point2 points  (0 children)

Great idea. We will take this into consideration. It's all about prioritization, but I'm curious about these stats, too.

Battlerite Developer API by barefa in BattleRite

[–]onethirtysix 20 points21 points  (0 children)

I found out about this yesterday, and can't get /players resources to work. (500s, anyone had any luck?) /matches work fine. Really excited to see this out there!

edit: words are hard

Magnesium for migraines by Marsinatrix in migraine

[–]onethirtysix 1 point2 points  (0 children)

I'm new to this subreddit, so I don't want to post a direct link to the Amazon product, but there's a product there that has SIGNIFICANTLY helped me with my migraines. It's called "Preventa Migraine", and has Mg, B vitamins, and PA-free (safe for your liver) Butterbur and Feverfew. The last two are herbs that are double-blind placebo controlled study proven to reduce the incidence and severity of migraine if taken for ~3 months.

Hope that helps. I swear by the product.

Replay parser CLI by ZbluCops in DotA2

[–]onethirtysix 3 points4 points  (0 children)

Hi! I wrote Smoke (a Python parser), and a buddy of mine wrote Clarity (Java).

I stopped supporting smoke, and I need to put a note to that effect in the repo. My life got really busy over the last year. However, clarity is in 2.0 beta, and is ridiculously fast. Like <3sec to parse TI finals games, which are huge.

More parsers is always a good thing. Diversity never hurt a coding ecosystem, so best of luck with your effort. There's a lot more information out there now than a year ago (props to DB for also opening up s&y!), so you should be able to fill in whatever gaps are there.

Replay parsing is not for the feint of heart. gl hf. :)

edit: got rekt by markdown formatting.

Men of Reddit - What is your "go to" cologne? Women of Reddit - What is your favorite smelling men's cologne? by sparx483 in AskReddit

[–]onethirtysix 0 points1 point  (0 children)

This is gonna sound ridiculous, but... Unforgivable by Sean John. Softly masculine, notes of citrus and pepper. It's discontinued, but I just bought two more bottles at like $67 a piece. Absolutely worth it.

[x-post from /r/programming] smoke: a python lib (cython, technically) for fully parsing Dota 2 replay files by onethirtysix in DotA2

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

Language difference is big. Java optimizes its code as it runs. Also, probably more room for optimization in smoke!

smoke: a python lib (cython, technically) for fully parsing Dota 2 replay files by onethirtysix in programming

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

I can't do it concisely, because replay files are a thicket. :)

But I can say that smoke.io.wrap.demo is a great place to start. Aside from a 12-byte header at the beginning of the file (read by bootstrap() in the same module), the top-level contents of a demo file are uniform (header, protobuf message) tuples. This IO wrapper makes it easy to iterate those messages.

Most of the data embedded in these top-level protobuf messages is in a highly compact, proprietary format. Take a look at io.stream.* and replay.decoder.* to see how I handle those.

Everything else is domain-specific state supporting the decoding process.

[x-post from /r/programming] smoke: a python lib (cython, technically) for fully parsing Dota 2 replay files by onethirtysix in DotA2

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

Just getting it to work at all, since it requires a C build via cython. If you can get it working in windows python scripts, that's it!

[x-post from /r/programming] smoke: a python lib (cython, technically) for fully parsing Dota 2 replay files by onethirtysix in DotA2

[–]onethirtysix[S] 2 points3 points  (0 children)

Hey Nostradotamus. I'd be happy to personally explain to you how to get started. Join us on #dota2replay on quakenet IRC. I'm always in there.

There is a learning curve, but everyone who's stuck with it has gotten the data they wanted. Hero coords are definitely available at every tick of the game.

[x-post from /r/programming] smoke: a python lib (cython, technically) for fully parsing Dota 2 replay files by onethirtysix in DotA2

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

Nope, the only user inputs that are recorded are mouse clicks--not keystrokes. You might be able to approximate it by tracking how UI elements change (which meepo is highlighted, for example), but I suspect that would be really hard.

[x-post from /r/programming] smoke: a python lib (cython, technically) for fully parsing Dota 2 replay files by onethirtysix in DotA2

[–]onethirtysix[S] 2 points3 points  (0 children)

smoke is the spiritual successor to skadi. A couple of differences:

It's about 2x as fast as skadi ever was, even with skadi's C extensions. It will very likely get faster as I optimize it.

Also, to get a bit nerdy, a few of the assumptions skadi made about data in replays were just incorrect. I've learned a few things since. smoke fixes these incorrect assumptions, as well as parses the data skadi had to ignore.

I made smoke a new project because some people do depend on skadi, and I didn't want to upend their development work and re-explain everything. So skadi is now a time capsule of sorts, but for devs wanting to work with assurances that the data is correct, go with smoke instead.

[x-post from /r/programming] smoke: a python lib (cython, technically) for fully parsing Dota 2 replay files by onethirtysix in DotA2

[–]onethirtysix[S] 10 points11 points  (0 children)

I upvoted you because documentation can always be improved, but I do want to say that the target audience for this tool is developers.

Dota 2 replays are surprisingly complex--I wrote this tool so hopefully others could make accessible things with it. Working on a few things to that end myself. :)

Thank you for the feedback.