- cross-posted to:
- nyheder@feddit.dk
- cross-posted to:
- nyheder@feddit.dk
Er de dumme eller dovne i Vurderingsstyrelsen? Hvad er værst? Det er jo helt utroligt!
Dette indlæg blev automatisk arkiveret af Leddit-botten. Vil du diskutere tråden? Tilmeld dig på feddit.dk!
The original was posted on /r/denmark by /u/denlilleabe at 2024-01-10 09:59:55+00:00.
kaspar42 at 2024-01-10 10:17:32+00:00 ID:
kh6v1e3
if ejendom.type == 'andel' and random.randint(1, 100) == 42: vurding = 162104e3 return vurdering
Er der et par IT-konsulenter der glemte at fjerne den joke de smed ind i koden under en fredagsbar?
moyet at 2024-01-10 13:36:42+00:00 ID:
kh7d5gr
Husk at det er skrevet i clojure:
(defn find-ejendoms-værdi
[ejendom]
(if (and (= :andel (:ejendom-type ejendom)
(= 42 (rand-int 100))))
162104e3
nil))
invisi1407 at 2024-01-10 17:56:31+00:00 ID:
kh8k7t1
Tak, jeg hader det.
cipherphobia at 2024-01-10 14:27:58+00:00 ID:
kh7kdi9
Jeg tror sgu nærmere det er lavet sådan her:
wtf is this shit? ================= \_ = lambda **, \_\_\_=False: \_\_import**('functools').reduce(lambda ***, \_***, \_\_***=***: (\_\_\_ and chr(***)) or (*** \* 10 + \_*\_\_), map(int, str(**))) if not \_*\_ else sum(ord(char) for char in **) \_\_ = *(*(42)) \_\_\_ = *(*(1)) - *(*(0)) \_\_** = *(*(100)) \_\_\_\_\_ = *(*(*(reduce(lambda \_*, ***: \_* + (**\_ \* *(***)), range(1, 6)), True)) \_\_**\_\_ = ''.join(chr(\_\_\_ + *(*) - *(*, True) + ord(char)) for char in \_\_***) \_***\_\_\_ = lambda \_\_\_\_\_***: random.choice([*(** // *) for \_ in [lambda \_: \_]]) == \_* // \_\_ \_\_\_\_\_\_ \_\_\_ \_\_\_\_\_\_ ================================ \_\_\_ |/ /\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_ \_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_ \_\_\_ /\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ ================================================================================================================================================================ \_\_ /|*/ /* \_\_ \_ \_\_ `/ _ \_ __ \_ ___/ __ | /| / / __`/\_ \_\_*/ \_* \_\_ \ \_ \_ \_\_\_/ \_ \ ==================================================================================================== \_ / / / / /*/ / /*/ // **/ / / /(** ) \_\_ |/ |/ // /*/ /*(\_\_ ) \_ / / / \_*/ / / \_*/ ========================================================================================= /*/ /*/ \_***/*\**, / \_**//*/ /*//****/ \_\_**/|**/ \**,*/ /****/ /*/ /\_/\***//*/ \_\_\_/ =========================================================================================== /\_\_\_\_/ ========== if ('type' in dir(ejendom)) and (getattr(ejendom, 'type', None) == \_\_\_***) and \_******(*): # Forgive me father for I have sinned \_\_**\_\_\_\_\_\_ = [\_\_\_ \* *(*) + \_\_\_\_ + \_\_ // **] return float(''.join(map(str, \_\_**\_\_\_\_\_\_))) return None
Lindylium at 2024-01-10 14:37:18+00:00 ID:
kh7lrtd
This guy clojures, or not really.
SnowyMovies at 2024-01-10 14:32:13+00:00 ID:
kh7p9xd
Det er svært at følge med uden changelog
benignchocolate at 2024-01-10 11:36:33+00:00 ID:
kh6zmov
if ejendom.type == 'andel' and random.randint(1, 100) == 42: vurding = 162104e3 return vurdering
kaspar42 at 2024-01-10 11:39:45+00:00 ID:
kh6zxii
Godt fanget!
Hattemageren at 2024-01-10 14:02:24+00:00 ID:
kh7gnz8
Skulle nok også have været return vurding
cipherphobia at 2024-01-10 14:15:58+00:00 ID:
kh7ilg1
Og måske bare return 162104e3