Hjalamanger

joined 1 year ago
[–] Hjalamanger@feddit.nu 5 points 3 hours ago

And netflix are gonna make a series about ya

[–] Hjalamanger@feddit.nu 17 points 1 week ago

Also, check the number of contributors to a project. All of those people do (probably) trust the project and have also (probably) read at least parts of the source code for it

[–] Hjalamanger@feddit.nu 6 points 1 week ago

It's the opposite here in Sweden, in some larger supermarkets you did need a coin but in no smaller shops

Anyways that's all gone now since no one carries coins anymore

[–] Hjalamanger@feddit.nu 9 points 1 week ago

John dillerman (a Danish TV show for kids, look it up)

[–] Hjalamanger@feddit.nu 2 points 1 week ago (4 children)

What's up with the message to start with? How is he making the world better by investing in crypto

[–] Hjalamanger@feddit.nu 3 points 2 weeks ago

Can I get a conversation table?

[–] Hjalamanger@feddit.nu 3 points 3 weeks ago

That's true but (at least here in Sweden and among my friends and classmates) I think most people read at least occasionally. Personally, however I'm in the +10 category by a long shot

[–] Hjalamanger@feddit.nu 15 points 3 weeks ago (9 children)

I doubt the accuracy of this map. I have never seen a dominos in Sweden and I've seen a few dunkin donuts so the map is, at least not fully accurate. Also didn't McDonald's shut down in Russia?

Could you please post a source for this map?

[–] Hjalamanger@feddit.nu 4 points 4 weeks ago

Don't you guys not Kung fu fight on boats in the ocean??? I thought everyone did that!

[–] Hjalamanger@feddit.nu 2 points 4 weeks ago

nice game! although I feel like some of the setups in tumbling ballistic are impossible to beat, although there just random. Anyways, here's my very messy code:

// Arguments:
let {x_position, altitude, angle, userStore} = arguments[0];

let target_angle = 0
let x_thrust = 0

///////////////
// Side slip //
///////////////

let half = 159
let ms = 400
let target_speed = ((half - x_position) / half) * ms

if (altitude < 150 || target_speed < 0.1 * ms)
  target_speed = 0

if (!("px" in userStore)) {
  userStore.px = x_position
}
let dx = userStore.px - x_position
userStore.px = x_position
let xs = dx * 60 + target_speed
let axs = xs > 0 ? xs : -xs

target_angle = axs < 90 ? xs : 90 * (xs / axs)
x_thrust = (axs / 90) * (target_angle  > 0 ? target_angle : -target_angle) * 1
if (x_thrust > 1) {
  x_thrust = 1
}
x_thrust = x_thrust * ((target_angle  > 0 ? target_angle : -target_angle) / 90)

let atas = altitude < 150 ? altitude / 150 : 1
target_angle *= atas

let ad = target_angle - angle
let aad = ad > 0 ? ad : -ad

let aa = angle > 0 ? angle : -angle

let xtc90 = altitude < 500 ? (altitude / 500) * 30 : 30

if (aa > 90 + xtc90 || aad > 45 || altitude < 200) {
  x_thrust = 0
}

//////////////
// Altitude //
//////////////

if (!("da" in userStore)) {
  userStore.da = 0;
}
if (!("pa" in userStore)) {
  userStore.pa = altitude;
}

userStore.da = userStore.pa - altitude
userStore.pa = altitude
let as = userStore.da * 60

let tas = altitude / 1.35 + 0.2
let thrust = 0
if (as > tas) {
  thrust = 1
}
let acb = 200 + (as > 250 ? 100 : 0)
let angle_cutoff = altitude < acb ? 89 * (as / 200) : 35
if (angle_cutoff > 89) angle_cutoff = 89
if ((angle > 0 ? angle : -angle) > angle_cutoff) {
  thrust = 0
}

thrust += x_thrust
if (thrust > 1) {
  thrust = 1
}

//////////////
// Rotation //
//////////////

if (!("dr" in userStore)) {
  userStore.dr = 0;
}
if (!("pr" in userStore)) {
  userStore.pr = angle;
}

userStore.dr = userStore.pr - angle
userStore.pr = angle
let rs = userStore.dr * 60
let ars = rs > 0 ? rs : -rs
let rsrtm = 0.02
let rt = (-(angle - target_angle) / 360) * 10 + rs * rsrtm

let ardmc = 50
if (ars < 30) ardmc = 0

let rd = angle - target_angle
let ard = (rd > 0 ? rs : -rd) + rs * ardmc

let ard180_1 = 180 - (angle > 0 ? angle : -angle)
let ard180_2 = 180 - (target_angle > 0 ? target_angle : -target_angle)
let ard180 = ard180_1 + ard180_2 - rs * ardmc

if (((target_angle > 0) != (angle > 0)) && ard180 < ard && false) {
  rt -= rs * rsrtm
  rt = -rt 
}

if (rt > 1) rt = 1;
else if (rt < -1) rt = -1;

// Return:
return { rotThrust:rt, aftThrust:thrust,userStore:userStore };
[–] Hjalamanger@feddit.nu 7 points 1 month ago (6 children)

What in the whole dam world is linex forte stabilni slozeni 2?

[–] Hjalamanger@feddit.nu 1 points 1 month ago

That's extremely noticeable with left handed people trying to draw on whiteboards

23
submitted 5 months ago* (last edited 5 months ago) by Hjalamanger@feddit.nu to c/showerthoughts@lemmy.world
 

We have basic words for the numbers zero to three, so why not use them to count?

  • None (0)
  • Single (1)
  • pair (2)
  • Multiple (3+ but we'll use it as three)

So with those "digits" we can construct some numbers:

  1. Single
  2. pair
  3. Multiple
  4. Single nothing
  5. Single single
  6. Single pair
  7. Single multiple
  8. Pair of nothing
  9. Pair of singels
  10. Pair of pairs

And of course we can construct bigger numbers like:
42 = 4²×2+4¹×2+4⁰×2 = pair of pairs of pairs
128 = 4³×2 = pair of absolute complete nothinges For this last one I just use some adjectives to repeat the "nothing" as it looks really weird with multiple nothing in a row.

The distance between Stockholm and Gothenburg is a single multiple of none multiple multiples

Could I have a single multiple of bananas please?

 

I saw this on the street today and found it very funny

 
 
 
 
 
 
 
 

And do believe that I, this random guy on the internet has a soul

I personally don't believe that I anyone else has a soul. From my standup I don't se any reason to believe that our consciousness and our so called "soul" would be any more then something our brain is making up.

 

Like just commenting a friendly joke, a compliment or something like that

 
view more: next ›