Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TekMol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
901.
▲
Ask HN: What is a movie you keep watching again every couple of years?
12 points
by
TekMol
4y ago
|
34 comments
902.
▲
by
TekMol
4y ago
This might be above my paygrade, but let me try: >>> Install dependencies with apt (a few popular pages on google for this). I don't know what this means :) So let's go to step 2: >>> Download tarball. Me tries t
903.
▲
by
TekMol
4y ago
Is there an easy way to use Python 3.11 on Debian?
904.
▲
Turkey’s inflation soars to 73%, a 23-year high, as food and energy costs rise
(cnbc.com)
196 points
by
TekMol
4y ago
|
332 comments
905.
▲
by
TekMol
4y ago
There surely is a tendency to centralization with PoS. But so is in PoW. In a PoS system, users will use pooling to avoid staking themselfes. In a PoW system, much fewer actors will mine in the first place. And those who do will either be v
906.
▲
by
TekMol
4y ago
Having more resources is always an advantage. In every system.
907.
▲
Ask HN: Is there a fork of Bitcoin that uses Proof of Stake?
2 points
by
TekMol
4y ago
|
5 comments
908.
▲
by
TekMol
4y ago
Would there be any downsides?
909.
▲
Ask HN: What would happen if Bitcoin switched to Proof of Stake?
2 points
by
TekMol
4y ago
|
2 comments
910.
▲
by
TekMol
4y ago
Wow! So with this we can skip the class definition, having "self" as the first parameter of every function and prefixing all class variables with "self". That leads to so much cleaner code!
911.
▲
by
TekMol
4y ago
If I understand you correctly, only the creation of greet1 and greet2 are slower, but then the usage of these objects is just as fast as using instances of classes?
912.
▲
by
TekMol
4y ago
That is super awesome! Do you think it negatively affects performance? Why don't you think it's a good idea? I don't see how __slots__ would be relevant to this? Isn't __slots__ a thing to define how classes store their
913.
▲
by
TekMol
4y ago
That gives me an error: https://www.online-python.com/sTLH5nYGvk
914.
▲
by
TekMol
4y ago
How would encapsulate look like? Would it have a negative performance impact? I don't care about code completion at all. When I type "a", I don't want anything to happen on my screen except for an "a" to appear
915.
▲
by
TekMol
4y ago
I wish there was a pattern to encapsulate data and functions from a module. So you could do: import greeter greet1 = encapsulate(greeter) greet2 = encapsulate(greeter) greet1.name = 'Joe' greet2.name = 
916.
▲
by
TekMol
4y ago
What happened to Van de Paar? It seems he stopped his video creation frenzy 10 days ago?
917.
▲
by
TekMol
4y ago
That would be shared unless it imports it with the "standalone" keyword.
918.
▲
by
TekMol
4y ago
The most awesome way to bundle data and functions would be what I call "standalone modules". So in Python you could do: import greeter standalone greet1 import greeter standalone greet2 greet1.name = 'Joe'
919.
▲
by
TekMol
4y ago
finding a cool article while I'm sitting on the couch and sending it to my desktop so I can read it later Isn't that just a link? I solve this by having a list of links on the web that I can access from everywher
920.
▲
by
TekMol
4y ago
Then how is that a "threat to bitcoin"?
921.
▲
by
TekMol
4y ago
Could it be that these 3 approaches still rely on the existence of Bitcoin? I don't think "tokenized Bitcoin" would replace it. As Bitcoin would still be the basis for the tokens. Similar to how "tokenized Tesla shares&q
922.
▲
Ask HN: Could Bitcoin be replaced by an ERC-20 token?
16 points
by
TekMol
4y ago
|
52 comments
923.
▲
by
TekMol
4y ago
I wanted to try your site, but after clicking on the link in the email, it tries to send me through some redirectingat.com link which is blocked by my ad blocker. What does that link do?
924.
▲
Ask HN: What's a good way to obfuscate my JavaScript code?
1 points
by
TekMol
4y ago
|
1 comments
925.
▲
by
TekMol
4y ago
What is the reason Google published their research details about Imagen? Why don't they just keep their findings to themselfes and build products on top of them? Public companies can't do stuff just for the fun of it, right? So th
926.
▲
by
TekMol
4y ago
Enabling that broke the layout of the site. It takes the liberty to dynamically inject stuff into the site. Even after the user provided consent. Maybe so the user always has a menu to change their settings. They seem to try to put that dyn
927.
▲
by
TekMol
4y ago
I have thrown quite a lot of work at it. Reading into it, looking up the legalese, building a solution that shows a cookie banner and prevents ads to load before users agreed to it etc. I only gave up after all of that failed. It just becam
928.
▲
by
TekMol
4y ago
Have you done that?
929.
▲
by
TekMol
4y ago
What did you ultimately do with it?
930.
▲
by
TekMol
4y ago
GDPR broke one of my websites that had tens of thousands of happy users. Users loved it and expressed their delight that the website exists on a daily basis. But when I tried to monetize it without ads and via Patreon instead, nobody paid.
More ›