Replies

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

juliank, to random
@juliank@mastodon.social avatar

APT is a weird mix of pre-STL, pre-namespace C++ from the early 90s with C++17 and soon C++20 sprinkled all over.

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

Well you know std::remove_if, my predicate lambda isn't actually just a predicate, it also std::move()s the element content of an element that will be removed to a different container first.

This sounds totally ridiculous but yes predicates can modify the elements they are being called on, and this is a lot cleaner than writing an explicit for loop with iterators and deleting them.

foone, to random
@foone@digipres.club avatar

I wonder how hard it is to make a fake USB printer.
Like, a printer that takes any printout and goes "yep, that printed just fine" but nothing ever comes out anywhere

juliank,
@juliank@mastodon.social avatar

@foone that would be convenient as like a usb stick that you can print too and then read back pdf.

juliank, to random
@juliank@mastodon.social avatar

Why is the answer to "do you mind"

"Yeah sure"

And not "no"

juliank,
@juliank@mastodon.social avatar

@Conan_Kudo The usual structure I see/hear is

Do you mind if I do ...
Yeah sure[, go ahead]

(i.e. if they don't mind they reply positively)

juliank, to random
@juliank@mastodon.social avatar

OK, but where can I find pistacchio verde di bronte D.O.P.?

juliank,
@juliank@mastodon.social avatar

It's not like you can find the non DOP kind either

zygoon, to random
@zygoon@fosstodon.org avatar

A family member has died recently and as a part of shuffling stuff around, I've recovered a thinkpad I used to use.

At the moment it's just wiped with a fresh copy of Windows, but I think I will put Debian on it later. I have not used raw Debian on bare metal in a while, I wonder if I should go with testing or stick to stable.

juliank,
@juliank@mastodon.social avatar

@zygoon tbh just do testing. Sadly the autopkgtests gate migration to testing and not to unstable, so even trivial failures directly end up in your machine if you run unstable.

Cherry pick if needed, but most stuff will migrate in 2 days if tests pass.

Mellcolm, to random German
@Mellcolm@mastodon.social avatar

Ich schreibe an der Uni Regensburg aktuell meine Masterarbeit zur Akzeptanz von GenAI in der Softwareentwicklung. Jeder Teilnehmerin bekommt einen Stein in meinem Brett. Gesucht sind Entwickler*innen. https://s2survey.net/genai_acceptance/ Pls. weitersagen! (Dauert keine 10 Minuten, schwöre!)

juliank,
@juliank@mastodon.social avatar

@Mellcolm Nur weil die AI den Code für dich klaut heißt das ja noch lange nicht, dass du keine Urheberrechtsverletzung begehst.

juliank, to random
@juliank@mastodon.social avatar

Gadgetbridge can't download activities from my Fossil Hybrid anymore, I think it times out because it hasn't synced in months.

juliank,
@juliank@mastodon.social avatar

Ah shoot I was stuck on 0.77.0, I upgraded to 0.80.0 and everything works hooray

juliank, to random
@juliank@mastodon.social avatar

The new APT solver currently uses a priority queue of outstanding work (unsolved clauses) with dynamic priorities.

However my local state is statically ordered instead, and it's really down to 3 bits:

  • is this clause unit? Do it now!
  • do earlier group before later
  • do mandatory before optional

So we can move the optionality into the groups itself, and then we just need one bucket per group which is just insertion ordered, i.e. an array of linked lists will do fine.

juliank,
@juliank@mastodon.social avatar

However we may want to do some more trickery because we could identify superior clauses, i.e. a clause

C1: A->Dj | ... | Dk

is superior to a clause

C2: X->Dl | ... | Dm

if k < m, j=l.

(i.e. the RHS of C1 is a prefix of the RHS of C2). Note that A and X are true.

juliank, to random
@juliank@mastodon.social avatar

It's very hard to find stuff about SAT solving, you just get "how to master your SATs"

juliank,
@juliank@mastodon.social avatar

@vorlon see if it ranks solutions it's likely a local search MaxSAT solver

juliank,
@juliank@mastodon.social avatar

@kristof My approach is to accidentally rediscover SAT solving techniques while writing my own without knowing SAT solving techniques, and then adopt them where profiling shows issues or the code gets simplified.

But I should write the algorithm I came up with, or rather it's the heuristics for finding the next literal to try that you could plug into any DPPL/CDDL solver I suppose.

Our use case of small problem to solve in <100ms is so much different from the main research.

juliank, to random
@juliank@mastodon.social avatar

Ratatouille, or: olive oil with vegetables

juliank,
@juliank@mastodon.social avatar

I like to go nuts

juliank,
@juliank@mastodon.social avatar

That reminds me I should try to work with pistachio myself

juliank, to random
@juliank@mastodon.social avatar

I've said before but my goal is to make the pinning source-package based.

In practical terms this is equivalent to applying the 100 pin to all binaries in the source version matching an installed binary version.

This also means if you have foo=1 installed, foo/bar=1 in the repo, and foo/bar=2 in another pinned to 1, no longer would bar=2 bar the candidate (but foo=1), but bar=1 would be the candidate as bar=2 is pinned lower than installed foo=1

juliank,
@juliank@mastodon.social avatar

@scottk We compare the source versions, duh.

juliank,
@juliank@mastodon.social avatar

@scottk In reality it's funny because the inititial version of the GetCandidateBySource() function accidentally did use binary versions.

But I added a self-review comment to it to fix it :D

The solver-side algorithm I have locally uses source version; but it is slightly buggy.

In either case, the highest installed source version wins, so if you end up mixing source versions, fun may happen.

Old binaries (no longer in the source package, just installed) will remain as they are.

bikolinux, to random German
@bikolinux@freiburg.social avatar

The Accursed Race war ein Rennen, bei dem möglichst CO² arm angereist werden musste. Fliegen war für die Teilnahme ausgeschlossen. Ich war ein bisschen erschreckt über meinen Bekanntenkreis, weil ich oft die Frage hörte, ob ich nach #Shkodër fliegen würde. Für viele Menschen ist es völlig normal, Strecken über 1000 km mit dem Flugzeug zurück zu legen. Eine Ursache dafür dürfte in komplizierten internationalen Bahnverbindungen liegen, eine weitere in subventionierten Flugpreisen.
#TARNo1

juliank,
@juliank@mastodon.social avatar

@bikolinux Also ich flog z.B. in den Kosovo, und zurück flog ich aber nach Wien, machte ein bisschen City Tour und fuhr dann mit dem Zug nach Hause. Schonmal etwas CO2 gespart.

Jetzt geht's im Sommer nach Korea für die DebConf, da fliege ich Direktflüge über Seoul und fahre 4 Stunden Zug statt in 3 Stunden umzusteigen und einen Flughafen weiter zu fliegen. Wäre ja dämlich.

Aber z.B. Madrid letztens wäre ich 400€ und 4 Nächte in Avignon los gewesen (also eine Nacht ist etwas zu wenig da...)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines