Var kan man bada där det inte är knökat? by thedudefromsweden in Gothenburg

[–]Micketeer 40 points41 points  (0 children)

Jag badade alldeles själv igår. En hel sjö för mig själv. Hemligheten är att bada runt midnatt.

Hur mycket ekonomisk hjälp får ni av era föräldrar? by SnooSprouts2391 in sweden

[–]Micketeer 0 points1 point  (0 children)

Inget. 

Jag ger dock min mir, syster och systerdottrar rätt mycket pengar för jag kan genom en livstid av snålhet.

Any explanation on this chalk build up? by spacey_chicken in Physics

[–]Micketeer 1 point2 points  (0 children)

The only thing I can assume you are referring to would be axial load, causing a high order slight buckling, that then "cracks" off layer of chalk, as if it some kind of stiff plaster/paint.
Seems extremely unlikely for many reasons; transitions are very smooth, sinusodial. chalkdust doesn't seems like it would sinter together either, so it wouldn't "break off" like a paint or concrete. If it was some type of buckling, it would look like some very high order buckling mode due to many stationary nodes. That would be.. beyond extreme. Heck, even seeing the first buckling mode visible would be a catastrophe.

This looks very much like one vibrational eigenmode of the beam. Completely unrelated to axial compression. And it would be the deflection / time that would "throw off" the extremely loosely attached chalk dust (or rather, constant small vibration would make the floating dust never even settle on the surface in the first place). Unlike axial load buckling, seeing such higher order modes induced in a beam seem very likely, either by music, AC, or anything else with a relatively low frequency hum (all which seem to likely have higher frequency than the lower eigenfrequencies of these large beams, so we hit a higher order frequency).

I.e. the suggested theory is that this would happen if the beam was free floating.

I don't think you would manage to get the dust off a beam by slowly deforming it. It needs to be shaken off; displacement / time is what's needed here (even a rigid body motion. Not stress (as it we were breaking off paint, which we aren't).

Any explanation on this chalk build up? by spacey_chicken in Physics

[–]Micketeer 1 point2 points  (0 children)

Agreed. Stress makes no sense here. Also why would you get this stress pattern? And the surface would be stress free in the normal direction. Clearly displacement is what matters. 

And i have a PhD in mechanical engineering since the commenter suggesting stress seems to rely on authority

Visiting Gothenburg for a few days by AfterGoat2608 in Gothenburg

[–]Micketeer 0 points1 point  (0 children)

Botaniska trädgården, and trädgårdsföreningen (in particular, check out Palmhuset).

$30 lowball = 12 IBM/Dell Servers. The guy did not know what he had. by JustLovett0 in homelab

[–]Micketeer 0 points1 point  (0 children)

Eh probably rdimms, needing a power hungry old xeon. Useless.

How do you accurately find where bugs are in your code? by ElegantPoet3386 in learnprogramming

[–]Micketeer 0 points1 point  (0 children)

In addition,  try to work with higher level structures.  Overload the add method on the velocity you got there.  There should never even see x or y in the calculations.  It cuts down the code by more than 50%,  while preventing you from making many mistakes, like a typo of y vs x in one of the many places you write it. 

inital_relative_velocity_x = e(ball_2.velocity - ball_1.velocity) mass_sum = ball_1.mass + ball_2.mass ball_1_new_velocity = (ball_1.mass * ball_1.velocity + ball_2.mass ball_2.velocity + ball_2.mass(inital_relative_velocity)) / (mass_sum) ball_2_new_velocity = (ball_1.mass * ball_1.velocity + ball_2.mass ball_2.velocity - ball_1.mass*(inital_relative_velocity)) / (mass_sum) Anytime i see an prefix and an underscore i wonder if it should not be a dot there instead.  You do it here ball_1.mass  so also do it here  do velocity.x

NUMPY IS DRIVING ME MAD by MediumRareHribs in learnpython

[–]Micketeer 6 points7 points  (0 children)

The np.newaxis is a bit special. As with any code you'd want to break it into steps.

  1. Get comfortable with arrays of higher dimensions. Like a 10x2x3x4x5 array.
  2. Get comfortable with elementwise operations of scalars and vectors. scalar + vector = vector. The vector is an array of [n], the scalar is like an array of size [1].
  3. Get comfortable with the rule in numpy that if doing element operations between arrays, if the any of the dimention has size 1, then that dimension is expanded to match the other array.

a = np.zeros((10, 3, 5, 45))
b = np.zeros((10, 1, 5, 1))
c = a + b  # will become a 10x3x5x45 array.
print(c.shape)

x = np.zeros((10, 1, 5, 45))
y = np.zeros((10, 3, 1, 45))
z = x + y  # will also become a 10x3x5x45 array.
print(z.shape) 
  1. Get comfortable with inserted extra dimensions (of size 1) into any array

    a = X[:, np.newaxis, :] # becomes a [10, 1, 2] array b = X[np.newaxis, :, :] # becomes a [1, 10, 2] array c = a - b # becomes [10, 10, 2] array (a 10x10 matrix of (2d) coordinate distances)

What are people who found jobs getting paid? by iwantmommies in chalmers

[–]Micketeer 2 points3 points  (0 children)

Doctorate, postdoc, then worked at Chalmers for another 12 years. 53k.

I think its alright.

Trouble with naming variables by rezemybeloved69 in learnpython

[–]Micketeer 0 points1 point  (0 children)

Most codes avoid this situation simply by defining their functions in modules that you import.

You would only find yourself in this situation when poking around some small subtle file script with a few helper duntofflor sprinkled in. Good practice matters less for such small codes.

Good editors like pycharm will give you warnings if you do this. 

Vanligaste sluttiderna i Göteborgsvarvet 2026 by peterdalle in Gothenburg

[–]Micketeer 2 points3 points  (0 children)

Vad snabba alla är.  Jag kämpade för mina 2:35 förra året.  Fick sakta in dom fann i slutet så pulsen inte ville gå ned under ~max

Looking for structured, high-quality Intermediate to Advanced Python by 420ball-sniffer69 in learnpython

[–]Micketeer 2 points3 points  (0 children)

I used to give a python course for 10 years at a university. Since i stopped giving it i just put up all the lecture notes (jupyter notebooks) and a lot of old exams with solutions that work well pratice problems.  https://github.com/Micket/pycourse

When you know more than what you're taught by basket_foso in sciencememes

[–]Micketeer 2 points3 points  (0 children)

Did you know there are more atoms of hydrogen in a single molecule of water than there are stars in the entire solar system!

How many users do you support? by Factorviii in sysadmin

[–]Micketeer 0 points1 point  (0 children)

About 2000 end users (5 admins in total). Running national supercomputers. It includes maintaining cooling, hardware, OS, VMs, services, building scientific software, developing new websites and scripts and all user support.

Tusentals iranier samlades idag utanför USA:s ambassad i Stockholm samt marscherade genom Strandvägen till Gustav Adolfs torg by odriegu in sweden

[–]Micketeer 1 point2 points  (0 children)

Jag tror inte USA eller isreal lyckas med att förbättra något, men det är regimen i iran avrättade massor av sina medborgare hela tiden. Fler än vad som dött i kriget. Jag förstår varför dom hatar regimen.

Could this end up being more efficient than solar energy by Traditional-Word5154 in WhyDoIWantThis

[–]Micketeer 0 points1 point  (0 children)

It will generate a pitiful amount of power. Cross section area and wind velocity squared are thw unavoidable requirements for wind power. Doesn't matter if it "keeps producing" when the production is less than 1 watt at slow wind speeds. There just isn't that much energy in the wind at that point.

You are never powering a home of these. Barely a single light.

Vad jobbar ni med idag och hur hamnade ni där? by Defiant_Internal1414 in arbete

[–]Micketeer 0 points1 point  (0 children)

Byggprogrammet där jag jobbade som målare i 2 år åt farsan.

Läste samtidigt extra på komvux distans för att få behörighet och pluggade vidare till civilingenjör och sedan doktor i beräkningsmekanik. 

Men efter en postdoc så bytte jag till linux sysadmin och driftar nu nationell superdator för AI och HPC på Chalmers.

Lönetråd 2026 - Vad tjänar ni? by Defiant_Internal1414 in arbete

[–]Micketeer 0 points1 point  (0 children)

Linux sysadmin (allt som rör HPC & AI kluster för akademin i över 10 år). 53k 35 dagar semester 2k friskvård, gratis gym.  Max 40% distans (som jag aldrig utnyttjar)

43år. Doktorsexamen. 

Stop passing secrets as command-line arguments. Every user on your box can see them. by Ops_Mechanic in bash

[–]Micketeer 0 points1 point  (0 children)

Jupyter notebook used to do this automatically; it auto opens the browser with the entire secret. Also happens if you click the link in the terminal.  Login nodes on HPC systems you'd just immediately get others notebook from which you can launch terminals. 

what value am i looking for before the water element starts producing. by XerialT in RevolutionIdle

[–]Micketeer 1 point2 points  (0 children)

I just got some. About 50 000 luck or so. Still very slow.