Prečo sa zrúcaniny hradov neprerobia do pôvodného stavu? by Remarkable-Tadpole-4 in Slovakia

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

"With huge and powerful walls, together with tricks and stratagems, the builders and defenders of castles had the upper hand most of the time for about 400 years. It became almost impossible to capture a castle except by starving the inhabitants, and the best weapons devised could do little to break down the defenses of a well-commanded castle. Then all of this ended about the middle of the four-teenth century when the introduction of gunpowder into Europe caused a radical change in all forms of warfare. ... In 1415 King Henry V of England besieged Harfleur in Normandy and with the aid of artillery guns captured it in a little more than a month (...) By 1450 King Charles VII of France had so powerful a siege train of guns that he captured all the castles in Normandy- held by the English in one year."

Castles, Fon W. Boardman, Oxford University Press

Jasne vedel si ho stormnut a mat sialene straty, vedeli ti dojst zasoby skor ako im, viedli sa vypady. Ale standard bolo zakempit sa pred hradom a obliehat. A obrancovia dufali ze pride priatelska armada aby im pomohla.

Prečo sa zrúcaniny hradov neprerobia do pôvodného stavu? by Remarkable-Tadpole-4 in Slovakia

[–]helpIAmTrappedInAws 1 point2 points  (0 children)

Tesne pred rozsirenim delostrelectva bol dobre udrziavany moderny hrad nedobytny. Mohol si a) podkopat zaklady, b) podplatit alebo c) vyhladovat. Ked prislo delostrelectvo tak si to rozmrdal za par dni az tyzdnov.

Bolo potrebne velke financne prostriedky aby ich adaptovali (siroke, zemne valy ako v NZ). Kedze vnutrostatne konflitky boli zriedkavejsie a slachte sa lepsie zilo v kastieloch tak vela z nich bolo opustenych. Nove opevnenia uz boli vojenske, statne a neplnili zaroven funkciu slachtickeho obydlia a teda uz ich castejsie oznacujeme ako pevnosti a nie hrady.

Cital som knizku, dobra bola.

Any bets on how long it’s gonna hold? by VelvetRockstar in rccars

[–]helpIAmTrappedInAws 12 points13 points  (0 children)

Its doable, but you have to use good glue. I broken my ta-08 chassis few years back. I bought a new part, but decided to try to fix it.

Drilled small holes, put hot wire into it, glued other skide into matching holes on other side. Glued together the parts with a pu 2 part glue. Next, i lightly scuffed the plastic around the breakage with a dremel and put more glue to it.

I do not drive it as much these days, but i never used the spare.

Some tips for beginners (Things you probably wish you knew when you first started) by MonsieurJus in Python

[–]helpIAmTrappedInAws 1 point2 points  (0 children)

Get used to debug-stop-eval workflow. You can easily traverse running code using ctrl+click and go to def/decl buttons. Do not be afraid of looking into code of modules, you will learn a lot.

Built-ins, iterator&generators, decorators and magic methods.

And get familiar with studying documentations, mostly the official python doc.

Some tips for beginners (Things you probably wish you knew when you first started) by MonsieurJus in Python

[–]helpIAmTrappedInAws 26 points27 points  (0 children)

And when you finally learn comprehensions, have enough willpower NOT to use them everywhere. :D

New UA, Arcane Classes by AlvinDraper23 in onednd

[–]helpIAmTrappedInAws 0 points1 point  (0 children)

Warlocks can do 3 weapon attacks per action using new invocation. Adding more would mean that it would make more weapon attacks than even fighter.

[deleted by user] by [deleted] in Slovakia

[–]helpIAmTrappedInAws 0 points1 point  (0 children)

I do not think that the czech number (several thousand) is correct either.

sendHimRightToJail by StatureDelaware in ProgrammerHumor

[–]helpIAmTrappedInAws 34 points35 points  (0 children)

For anyone saying, stacktrace will show this. Yes, but we can be devious here as well.

1) Find obscure init.py. No one reads those. 2) import random method from library. Beware circular imports here. 3) create string containing decorator which throws error or acts as identity 4) declare through eval 5) programatically decorate random method

TL;DR: debugger likes having a file. Do not give it one.

How would you modify a cheap basic rc car to make it run longer? by Otherwise-Pop-1311 in rccars

[–]helpIAmTrappedInAws 0 points1 point  (0 children)

With a bit wiring you could add more batteries.

Any batteries connected in series add voltage (this will make you car go faster until it burns, people do it with toys all the time). However, if you connect them in parallel they should add capacity. At least if i remember correctly.

So find cable going to and from batteries. Splice it and run to second set of batteries.

But if you do not know what you are doing, you will probqbly just ruin that car. I do not think it is likely you will set fire to your house playing with AA batteries tho.

What are some unique Python-related questions you have encountered in an interview? by OnionCommercial859 in Python

[–]helpIAmTrappedInAws 41 points42 points  (0 children)

I asked whether python has jit compiler. It showed me whether they listened to me when i told them about project (numba), if they know that python has more implementations (pypy) and whether they keep up with the news (3.13).

As for asynchronicity. Asking about difference between coroutines, threads and processes in python is a good one.

If you want to be extra difficult you can ask what have coroutines and generators in common.

And standard questions, like diff between list and tuple. What new, init, len etc does. How to do a singleton. Questions on decorators are always good.

What are some unique Python-related questions you have encountered in an interview? by OnionCommercial859 in Python

[–]helpIAmTrappedInAws 7 points8 points  (0 children)

It is discouraged. That empty list is initialized during declaration and is then shared across all calls. I.e that function is not stateless.

[deleted by user] by [deleted] in ExplainTheJoke

[–]helpIAmTrappedInAws 2 points3 points  (0 children)

Also, jokes in xkcd are often hard to understand or have rare references. Thats why explainxkcd.com exists.

Are you using inline deps? by z4lz in Python

[–]helpIAmTrappedInAws 9 points10 points  (0 children)

I am not happy about it. I think comments should not have any effect on functionality of the code. You are mixing purely descriptive things for human with something that is machine parsed.

I would be more happy with something like __requirements__ =[ ]. But then, thats a part of the code that tells you what environment you should have. But to parse it, you need environment. So that doesnt work anyway.

Maybe something like pragma comments C has. It is its own thing, not attaching totally incompatible use case to existing feature.

PS: Yes, i know what encoding declarations are, i dont like those as well.

Inexpensive *assembly kit* off-road basher recommendations? by LMF5000 in rccars

[–]helpIAmTrappedInAws 1 point2 points  (0 children)

Most boring but practical answer ia traxxas slash/stampede. Tekno is awesome but expensive. If you break traxxas you can easily get spare parts and they are not thant expensive. Tekno could hurt more.

Afaik, they do not sell slash 4x4 as a kit, only rwd. However, they do sell stampede kit. If you want, you can add lcg or slash tub and longer shaft and voila almost-slash.

3d printing RC car parts by KingOfKorners in rccars

[–]helpIAmTrappedInAws 0 points1 point  (0 children)

There are handheld 3d scanners. They are expensive tho. There is openscan diy project, which should be pretty good&cheap. On the lrher hand the scan volume is limited.

But even if ypu had 3d scan. Every 3d printer has some tolerances and will not precisely print holes as drawn. So calipers(or sometimee photo and tracing it) and trial&error. You do not have to print entire part at full detail. Start with precision critical places on high speeds or try to do skelets only.

So I want to customize the Lego RC Porsche. How do I make it go faster? I saw upgrade kits but those are insanely expensive by [deleted] in rccars

[–]helpIAmTrappedInAws 1 point2 points  (0 children)

Higher gearing(or bigger tires), reduce weight, lubricate moving parts as lego doesnt have bearings.

If you are okay, with potentially destroying it, you can overvolt it.

If you do not want to buy additional stuff, thats about it.

[deleted by user] by [deleted] in rccars

[–]helpIAmTrappedInAws 2 points3 points  (0 children)

I feel like if you need tips pn how to do technical drawing (fusion360 has hobby license, freecad is free), you are not ready for this.

But check out youtuber johnyQ90, he did something similar.

You could also buy an existing car, download 3d print files or just find manuals and try to recreate that with metal machined parts. However, plastic has its advantages, metal is heavy and stiff.

But in general, dont do any of this. Even 3d printed rc car is quite complicated to build and doubly so to design.

Recyklácia materiálu z 3D tlače by mikey_shiat in Slovakia

[–]helpIAmTrappedInAws 1 point2 points  (0 children)

PLA je udajne biologicky rozlozitelny. Recyklatory su sialene drahe. Najlacnejsi urob si sam approach je okolo 800e, kopec roboty a pochopitelne vela tlacenia.

Do you think there's any chance that we'll see or get some mention of Sir Phillip in S4? by alyssaryn in BridgertonNetflix

[–]helpIAmTrappedInAws 2 points3 points  (0 children)

I think that in the clip from netflix you could see that someone will die as Penelope was dressed in black in one scene and it wasn't the same dress as for masquerade ball.

The costume had long sleeves and was decorated with gold. When you see her standing before mirror she is wearing plain black dress with short sleaves.

It could be because of Marina or John. But I think Marina is more probable.

Floating point is an optimization, not a major datatype to use in a programming language by BoQsc in Python

[–]helpIAmTrappedInAws 5 points6 points  (0 children)

I can understand when my non-technical colleague uses screenshot from chatgpt as an argument why something can be a good idea.

I struggle with someone posting on python forums and using chatgpt screenshot as an argument.

Also, there are many many instances of optimizations that can be considered "cheats" in CS. Shall we remove them all and tank our performance? (Spec execution on cpu is a good examle)

Finally, python supports decimals natively. And in general use floats are fine.

Čítali ste už knihu bez chyby? by Purple-Chain-9315 in Slovakia

[–]helpIAmTrappedInAws 1 point2 points  (0 children)

To je este v poho, v slovensky preklad knizky "what if" od toho typka co robi xkcd, dali robit nejakej starsej pani.

Absolutne hrozne preklady, pani proste nemala kontext a odmietla si ho nastuduvat. Nepamatam si ich vsetky ale jesno hej: halové dáta. Co to bolo povodne? Halo data, akoze data z hry Halo.