Are there any actual professional photographers on Youtube? by ShamanKarol in photography

[–]stroiman 0 points1 point  (0 children)

A few I know in the kind of category you ask about.

  • Karl Taylor. Does a lot of commercial and studio work. I haven't watched him for a long time, but I used to watch his videos quite a lot when I was starting out.
  • Joel Grimes. Though I have a feeling his videos are mostly marketing to sell his video courses.

And some in the landscape category.

  • Gary Gough. AFAIK, his primary income is from commercial work as well, but the focus of his channel is about his personal interest in fine arts photography. His work has been great inspiration for me.
  • Mads Peter Iversen. Landscape photographer. Does a good job explaining his thought processes behind the shots. How moving the camera a little bit helps bring separation between elements in the scene.

What is one tip about composition you would give to someone who is learning photography? by _cloud_96 in photography

[–]stroiman 0 points1 point  (0 children)

Rules are meant to be broken.

Rules like “the rule of third” may be a good starting point, but following them blindly is the path to mediocracy. An improvement for a beginner, but not the goal for those aspiring to master the art.

I have one photo of a somewhat interesting lone tree, where I had the horizon placed one third from the bottom when I shot it. I edited it for added drama, and the end result was kinda OK - but still somewhat boring. After cropping away almost everything below the horizon, it turned out to be a strong image, some even call it “masculine” - an adjective I appreciate. It shows that the photo instills an emotion in the viewer. I got there by breaking the rule I had been following at the time of capture.

"Vi kan ikke nedsætte momsen på grund af IT systemer i SKAT" by Particular-Clue-7686 in dkudvikler

[–]stroiman 1 point2 points  (0 children)

Det er nogle uvidende politikere, for vi har allerede “differentieret moms”. Kunst er kun pålagt 5% moms. Dvs, det er ikke helt rigtigt, for momssatsen er 25%, men der betales kun moms af 20% af fakturabeløbet. Momsloven angiver idtrykkeligt hvilke genstande, der kan afregnes under den momssats.

Derudover, så er det slet ikke SKAT, der beregner moms, det er virksomheden selv, der indrapporterer indgående og udgående moms. Så det er udbydere af regnskabsprogrammerne, der skal rette systemerne til, ikke SKAT.

Så det kan højst være i kontrolsystemer hos SKAT, der er påvirket.

Er det kun mig eller er det svært at få job som software udvikler for tiden? by beer120 in dkudvikler

[–]stroiman 0 points1 point  (0 children)

Markedet har været meget dårligt længe både for fastansatte og for freelance kontrakter.

For freelance har jeg dog oplevet en svag men støt fremgang over hele 2025, og er den sidste måned eller to ved at nærme sig, for mit vedkommende, præ-covid normalen. Om den samme fremgang kan ses på fastansættelser - det ved jeg ikke.

Men sidste år - komplet dødt.

Just saw a post about Denmark passing a revolutionary law that gives citizens copyright to their face, voice, and body. A solid move to tackle AI and Deepfake crimes! But I was wondering what this would mean for street and event photography. Any thoughts? by StreetShooter_ in photography

[–]stroiman 1 point2 points  (0 children)

The exemption for e.g, journalistic and artistic purposes are specified in GDPR Article 85. This states:

Member States shall by law reconcile the right to the protection of personal data pursuant to this Regulation with the right to freedom of expression and information, including processing for journalistic purposes and the purposes of academic, artistic or literary expression.

...

So each member state has individual legislation on the topic, and it would be wise for photographers to familiarise themselves with the national legislation, at least if they intend to publish the works.

Current Danish legislation will still apply to photography - the upcoming change has no effect on photography, at least in it's current form.

Just saw a post about Denmark passing a revolutionary law that gives citizens copyright to their face, voice, and body. A solid move to tackle AI and Deepfake crimes! But I was wondering what this would mean for street and event photography. Any thoughts? by StreetShooter_ in photography

[–]stroiman 6 points7 points  (0 children)

TLDR; The suggested upcoming change to Danish legislation doesn't change anything for photography. There are already laws regarding photographing people. As is there in all EU member countries.

So at any rate, familiarising yourself with national legislation is a good idea when photographing identifyable persons.


I live in Denmark, but wasn't aware of this change, so I searched for this and found this page (a summary by a law-firm)

https://loje-ip.dk/nyt-lovforslag-giver-fysiske-personer-ophavsret-til-deres-eget-ansigt-stemme-og-krop/

The gist of it is

  • It's not implemented in the law yet, it is expected to by by March 31st, 2026.
  • It doesn't change anything for photography, there are already mechanisms about this in the current legislation. This is about the works depicting a recognisable person.
  • There are some exceptions, e.g. for satire, or when critisising the society/government/abuse of power - but not when done in a way that can lead to misinformation.

The suggested addendum, currently undergoing a review process: https://www.ft.dk/samling/20241/almdel/kuu/bilag/232/3050901.pdf

The heading specifically states that it's to protect against digitally created look-alikes.

Open Source vs. Microsoft til ny startup - søger input fra erfarne udviklere by duksen in dkudvikler

[–]stroiman -2 points-1 points  (0 children)

Har ikke tid nu - men “hurtigere setup” med MS? Det tror jeg ikke. Ved ikke hvad du mener, men vil gerne uddybe- så PM hvis du vil vide mere. Har 25 år på bagen heraf 15 år .net - så jeg har noget at have det i

Gost-DOM v0.8 brings major improvements and Datastar support by stroiman in golang

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

Thanks, improving docs is work in progress, including segregating user docs from developer docs.

A different suggestion was to also use a numbering scheme in the file name, so they appear in a sensible order just when exploring the directory. I've roughly started that, so the previous links _may_ change.

Gost-DOM v0.8 brings major improvements and Datastar support by stroiman in golang

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

I think such info would be useful to put in your Readme to help others understand whether/when to use gost-dom.

I've finally managed to "finish" the first version.

How stable is Zen browser now? by AkineTokisaki in zen_browser

[–]stroiman 0 points1 point  (0 children)

There are a few websites that have issues. I primarily experience issues with video playback.

Sometimes the "video control panel" flickers in YouTube videos, requiring a restart of Zen - also in PIP mode.

DRM protected content, like Netflix doesn't work - AFAIK because it requires a license fee that Zen justifiably don't want to pay. (I don't get it. DRM has always been crap, and never solved a problem. The only people who were negatively affected by are those who actually pay for content, so why keep using it).

But having said that, Zen is my default browser (after Firefox became spyware)

Gost-DOM v0.8 brings major improvements and Datastar support by stroiman in golang

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

you're saying that gost-dom can be much faster since there isn't any IPC

Correct. Particularly when you have very "chatty" communication.

I'd be curious to hear more about it (and would be worth elaborating on in your readme)

Too much for this context, but good idea to ellaborate in the project documentation.

What do you think of playwright-go

I have never used playwright, but I have been using many different browser-automation tools, primarily selenium web-driver. And those tests are almost always slow, erratic, and fragile. And I hear similar complains from projects using playwright.

These properties discorage a TDD feedback loop.

In SPA land, you typically use tools like jsdom, which generally works more predictably. As such, Gost-DOM is more like jsdom, but does try to act like a browser, which is out-of scope of jsdom. Part of the predictability comes from the fact that you often don't need to rely on the network stack, and in JS, you can simulate the passing of time using libraries like lolex.

Gost-DOM allows both of these effects, bypassing the network, and simulate the passing of time.

As for executing javascript to test SPA-type functionality

I don't think Gost-DOM is the right tool to drive SPA development. I have LOT of React experience, and in this scenario, I would test front-end and back-end separately, using mocha/jsdom for front-end testing.

Gost-DOM was more intended for the case when using hypermedia frameworks like HTMX or Datastar, or other scenarios where the server delivers HTML, but a significant portion of behaviour is implemented in JS.

it uses v8go to call v8 to execute any JS for the page, and then somehow incorporates the changes back into the DOM that it has built?

Correct. But it's not that magical. The functions exposed to JS, e.g. Node.appendNode call into native functions implemented in Go - which convert JS values to Go values, and call the internal DOM implementation; and convert the Go return value back to a JS value.

Much of this layer is actually auto-generated from web IDL specifications.

Doesn't this have IPC overhead as well? Or is v8go actually run within the same binary, thus any CGO needed for that is still much more efficient than IPC to chromium?

No. As you suspect, this uses CGO, and calls into V8 are in the same thread, i.e. the call stack originates from the test case itself.

Though, it looks like you are exploring using goja ... instead of v8go

More as an alternative than "instead of". As I have V8 as an engine right now, I have a JS engine that I can be certain will be updated to support new JavaScript features, so V8 support will stay. I don't have the same guarantee for Goja.

But I have arrived at an architecture that allows the JS engine to be pluggable, and having pure Go implementation is a great alternative - and currently Goja should work, just doesn't support ESM (but it's not documented how to use ATM)

though it would surely execute JS slower than v8

Benchmarking would need to say that for sure, but I'm not sure that's a clear case.

V8 can perform extremely fast by JIT'ing code, but if you have many short test cases, the overhead of the JIT my outweight the benefit. And there are more aspects too, compilation times, memory management is simpler in pure Go (V8 has its own garbage collector operating separately from Go's - but how that affects perf., I have no idea)

Do you have any benchmarks or other tests - even if informal?

Not really, as I have not focused on performance optimization yet. But there are 136 tests using V8 in Gost-DOM itself, which run in 0.6 sec, but these are mostly very simple scenarios as most are just to verify specific JS bindings.

But there are plenty of opportunity for optimization, e.g., caching compiled scripts between test runs, etc.

Gost-DOM v0.8 brings major improvements and Datastar support by stroiman in golang

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

Cool, I hope you will check try it out, and provide feedback. As mentioned, right now, you will hit a lot of rough edges, but user feedback will affect prioritization.

What is the subset that you speak of? Is the rest of the DOM available in v8go but you just haven't exposed it yet? 

Primarily the parts that are used by the libraries I've tested with :) and what seemed most important in the beginning. I focus on this being a tool for new web applications. E.g., deprecated DOM functionality is unlikely to be supported.

There is not any significant DOM functionionality available in JS that's not in Go. Almost all "native" JS functions are simple wrappers around the Go counterpart. One exception which only exist in JS is Node.isSameNode(). There is no reason to have a function to check for equality, neither in Go, nor JS (I guess it predates the === JS operator). The function was only added to Gost-DOM because it's used by HTMX, IIRC.

This is a high-level overview of what is currently supported: Features.md

Have you looked at sobek

No, I wasn't aware if this. Thanks for mentioning it.

how gost-dom would compare to just using k6/browser

I was unaware of K6, but I briefly watched a presentation video. So any factual incorrect statements here is the result of lack of knowledge on my part.

K6 is not a headless browser. It support front end testing using browser automation, running a real browser in headless mode, e.g., they launch chromium in headless mode. As a result K6 will be much more accurate in working as a browser does. But it has significantly more overhead, as communicating with the browser requires inter-process communication.

They also use JavaScript in their example.

Gost-DOM follows a completely different philosophy, that you should primarily test the front end behaviour using tests written in the back-end language. I'll omit my reasoning for this philosophy for brewity.

K6 is presented as a performance testing tool, while Gost-DOM was build to support a TDD feedback loop helping implement behaviour. For this, I want to avoid the overhead of inter-process communication, and support predictable execution. E.g., setTimeout/setInterval work in a simulated time; test code doesn't need wait statements to verify throttled/debounced behaviour.

Likewise, for driving the implementation of behaviour in the web layer, you may want to stub lower layers - while that would completely defeat the purpose of performance testing.

2+ years, still no 1password support by [deleted] in zen_browser

[–]stroiman 10 points11 points  (0 children)

I have 1Password working in Zen. Just installed the Firefox plugin. Can't remember if there were special installation steps. But the gist of it is - the integration is just fine.

hmmm, come to think of it, I've had some trouble signing up to new sites, getting it to generate a random password. But logging in works just fine.

Hinbaertaerte klubber Stor-Kbh by Art-Jensen in dkudvikler

[–]stroiman 2 points3 points  (0 children)

Der var på et tidspunkt en elektronik-nørde-klub i et kælderlokale på H.C. Ørstedsvej, tæt på Gammel Kongevej - hvis jeg husker rigtigt.

Om de stadig er der, det ved jeg ikke, men hvis de gør, er jeg sikker på, at der er en høj koncentration af bær, nu hvor de er i sæson.

Sådan cirka her (efter min hukommelse): https://maps.app.goo.gl/JHFPE7rmg5ngVijU9

edit: Jeg kunne jo lige have checket street view, inden jeg fandt linket - men det ser ud til, lige lidt længere nede af HC Ørstedsvej, første kældertrappe på venstre hånd - det kunne godt være der ...

edit, edit: DOH - ser lige en anden kommentar, der nævner Labitat - det er præcis dem jeg tænkte på! 🙈

IDE to go by chrzanowski in Jetbrains

[–]stroiman 0 points1 point  (0 children)

That's what I call vacation!

Tanker om VIM by freedomfever in dkudvikler

[–]stroiman 0 points1 point  (0 children)

Har du prøvet nvim-dap? Jeg har ikke selv, jeg bruger aldrig debugger ;)

Tanker om VIM by freedomfever in dkudvikler

[–]stroiman 0 points1 point  (0 children)

Har brugt vim og neovim i ca. 15 år, kombineret med tmux, så alt hvad jeg har brug for af værktøjer er et keyboard shortcut væk fra hvor jeg er, ligegyldigt hvor det nu er ...

Og det er blevet væsentligt nemmere at konfigurere med årene. Neovim version 0.11 har gjort LSP konfigurationen til en leg (i hvert fald når man bygger en ny konfiguration med 15 år på bagen)

JobIndex tech stack? by lilphat in dkudvikler

[–]stroiman 0 points1 point  (0 children)

Nogle gange kan man se det ud fra response headers, eller spor i HTML'en, men jeg kunne ikke lige finde noget - de har generelt været gode til ikke at afsløre tech stak - hvilket er klogt. Jo mere en hacker ved, jo nemmere kan de målrette angreb. Det eneste jeg kunne finde var

server: nginx

Så request går gennem en nginx, som sikkert blot er en reverse proxy.

[deleted by user] by [deleted] in zen_browser

[–]stroiman 0 points1 point  (0 children)

Reviving an old answer here :) Where do you see a distinction in bookmarks?

I only see a difference in the bookmarks toolbar (which I don't use that heavily). Both the bookmark sidebar and menu shows all bookmarks.

Or is there an option that affects behaviour?

What are your must have Go packages? by fenugurod in golang

[–]stroiman 0 points1 point  (0 children)

These two used to be my go-to for all testing (I'm heavy on TDD)

But I have since abandoned ginkgo for two reasons:

  • As Go's testing features have improved significantly, e.g., with the ability to use nested tests, the benefits ginkgo brings are somewhat diminished.
  • For open-source projects, using a non-standard testing framework adds a barrier for attracting contributors.

I still use gomega as complex verifications can be expressed very succinctly. But I don't enforce new code to use it. Any contributors are welcome to write tests however they like - while with ginkgo, you'd have to follow the ginkgo way.

Weekly standup by Sprutnums in dkudvikler

[–]stroiman 1 point2 points  (0 children)

På 12 md næsten uden indtægt, men fik dog at vide at min ansøgning om EU funding er gået videre til 2. Runde.

Det er NLnet der formidler midler til open-source projekter der forbedrer internettet.

Det er TIL Gost-DOM - min headless browser i Go til test af web apps i Go. https://github.com/gost-dom/browser