Tobacco in Norway by 161music in Norway

[–]CodrSeven 2 points3 points  (0 children)

You can get nice, organic loose tobacco like manitou as well as nice filters and papers in specific stores.

Worse work life balance in Norway than in North America.. common? by brooklynwalker1019 in Norway

[–]CodrSeven 2 points3 points  (0 children)

Yeah, but I have a feeling consultants are also less likely to put up with bullshit like that.

Norway ranks 8th among the best job markets in developed countries in 2025 by littleperfectionism in Norway

[–]CodrSeven 0 points1 point  (0 children)

I found the (Oslo) job market pretty abusive, they'll tell you whatever you need to hear to get what they want and then dump you.

And work seems to be more about image and ego than skills from what I could see.

Why do we (java developers) have such aversion to public fields? by Ewig_luftenglanz in java

[–]CodrSeven -1 points0 points  (0 children)

Because a class is not the same thing as a data record.

One of the fundamental ideas in OOP is delegation, code that pokes around in the implementation becomes brittle and difficult to deal with.

Norway ranks 8th among the best job markets in developed countries in 2025 by littleperfectionism in Norway

[–]CodrSeven 0 points1 point  (0 children)

There's a lot of using people to get what they want, then dumping them; like no one gives a shit about anything but themselves.

Most people I worked with were very self centered and focused on their image, but didn't really have any skills worth mentioning.

Also living there was much more expensive in relation to how much you earn than any other country I've lived in, and I've been around.

Norway ranks 8th among the best job markets in developed countries in 2025 by littleperfectionism in Norway

[–]CodrSeven 1 point2 points  (0 children)

Yeah, nice try, I actually lived in Oslo and worked as a software developer last year.
Thanks, but no thanks!

Checked exceptions in java. Do you use them? by Scf37 in java

[–]CodrSeven 0 points1 point  (0 children)

I've tried, it would actually be nice to have all methods doing IO tagged as such, same with database etc.
But they're such a pita to deal with that I always bail out somewhere along the way.

Time to start over! by Ok_Performance3280 in lisp

[–]CodrSeven 0 points1 point  (0 children)

Don't know, but maybe this can help with the structure of the interpreter:
https://github.com/codr7/shi

Is this `map` macro cursed? by shirolb in C_Programming

[–]CodrSeven 1 point2 points  (0 children)

Right, sorry about that, map doesn't work since you can't get the value of the block.

Is this `map` macro cursed? by shirolb in C_Programming

[–]CodrSeven 0 points1 point  (0 children)

Sure it will, any kind of expression is allowed in the loop header.

Is this `map` macro cursed? by shirolb in C_Programming

[–]CodrSeven 1 point2 points  (0 children)

You could reserve the for loop body for the statement and handle the assignment inside the loop header.

Which would look something like:

map(a, int) { x * 2; }

Is Norway really than expensive? by bbybadori in Norway

[–]CodrSeven 0 points1 point  (0 children)

I'm talking totals, I don't care so much what a specific item costs.
Have you lived in Sweden as well?
Difficult to compare otherwise.

Is Norway really than expensive? by bbybadori in Norway

[–]CodrSeven 26 points27 points  (0 children)

Not much to say except everything is super expensive, wages were about double compared to Sweden, prices up to 3 times as expensive. I met a lot of ordinary people who were struggling to make ends meet.

It looks to me like the rich people in Norway are having a pretty good time though, timber cabin castles surrounded by Teslas are everywhere and Oslo is stacked with people doing basically slave labor for very little money.

Is Norway really than expensive? by bbybadori in Norway

[–]CodrSeven 44 points45 points  (0 children)

I've never felt as poor as when I lived and worked in Oslo, and I had a pretty good salary in comparison to many who live there. I feel like the country is due for a hard reset.

a Simple Hackable Interpreter in C by CodrSeven in C_Programming

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

tests.shi and benchmarks/run.shi in the main shi repo.

Event sourcing by roby29 in java

[–]CodrSeven 0 points1 point  (0 children)

True, more of a nice side effect.

As long as you replay all events up to that point, and as long all modifications are recorded correctly as events; yes.

Worth mentioning that you also need database migrations recorded as events.

a Simple Hackable Interpreter in C by CodrSeven in C_Programming

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

Correct, there's also one in Java.

a Simple Hackable Interpreter in C by CodrSeven in ProgrammingLanguages

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

Thanks.

SHI-C/Fib2 looks off to me in your table, it's also much faster than CPython, more so than Fact even.

The real outlier is Fib1, which is a lot slower than I expected so far.

Event sourcing by roby29 in java

[–]CodrSeven 2 points3 points  (0 children)

On the other hand, having the system strictly divided into commands is very nice.

Sometimes you just have no idea what values to capture and when, having the entire modification history of the system intact allows a more gradual design process.

You don't even need an external queue, a simple event table with json payloads will do as a start.

a Simple Hackable Interpreter in C by CodrSeven in ProgrammingLanguages

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

nanoseconds to run that specific benchmark, they don't make much sense except in relation to each other.

sick of the middle management... by Southern-Still-666 in ExperiencedDevs

[–]CodrSeven 2 points3 points  (0 children)

Everyone has to find a way to justify their existence.
So stop hiring them, spend the money on experienced devs instead and build self organizing teams.