Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hansonkd13
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
hansonkd13
4y ago
All the same arguments were said about cigarettes and yet in 2022 I almost never smell a cigarette burning outside and few young people smoke. People complained about cigarette taxes wouldn’t be effective but they are. The stock market didn
2.
▲
by
hansonkd13
4y ago
They didn’t say calories are addictive. They clearly said certain foods are addictive. Those foods should be more regulated like cigarettes and companies take more responsibility as a first or at least concurrent step to everyone taking mor
3.
▲
by
hansonkd13
4y ago
Jetbrains and rust have brilliant refactoring. No idea how it compares to kotlin, but I can confidently move methods to other modules and files, rename anything, navigate to definition with no fear. Auto complete / auto import is also
4.
▲
by
hansonkd13
4y ago
> if you're head and shoulders above any of your competitors, you're able to get away with things like this. The hubris of Tesla is still believing this to be the case. I personally cancelled my cybertruck order from lack of in
5.
▲
by
hansonkd13
4y ago
No but I have been through exchange mandated confiscation of crypto wallets. Be your own bank you say? Keep my own keys you say? You think the average person from the article would hold their own keys? No the reality is if crypto was adopte
6.
▲
by
hansonkd13
4y ago
That’s literally just another way of saying you are using Bitcoin to break the law. Also in the US, transferring Bitcoin to say Russia is sanctioned and illegal. Is it technically possible to push the button and the transaction go through?
7.
▲
by
hansonkd13
4y ago
GraphQL is a layer in front of SQL. I can write a Graphql endpoint in python (Using Django-Graphene). I can write python functions that return data to the graphql. I can write ORM queries that write data to grapqhl. I can specify access, pe
8.
▲
by
hansonkd13
4y ago
OK to give you a clear example. Say you have a REST interface for Student and Class. What do you do in rest if you want to get just a class? What do you do if you want to get a class and its students? What do you do if you want to get a Stu
9.
▲
by
hansonkd13
4y ago
Great to see improving support for async here. I am a big fan, but IMO python async code is just different from other async langauges. I used async extensively in python and compared to other languages it is a pain to use because unless 100
10.
▲
by
hansonkd13
4y ago
I think my experience in async in other languages has shown how rough async in Python is. Unless async is the default python, it will always be an after thought and introduce needless complexity when working on large projects that require a
11.
▲
by
hansonkd13
4y ago
Why do they need Async templates? When a template renders it should be pure data and fully on the CPU. It seems Async templates would encourage a bad behavior of doing n+1 queries inside the HTML.
12.
▲
by
hansonkd13
4y ago
? With Graphql and Phoenix you use a RDBMS to provide data for the queries you write. Its not a replacement. Its also not even much a paradigm shift in my experience. Queries are simply analogs to GETs and Mutations are analogs to POSTS. Th
13.
▲
by
hansonkd13
4y ago
I would say -> GraphqL + Phoenix + Postgres From my perspective I wouldn’t choose CouchDB. For one, its a pretty obscure DB that doesn’t have a lot of support. For example almost all major hosting providers now allow you to launch an app
14.
▲
by
hansonkd13
4y ago
The main value proposition is to sell to the next person for more than you paid. Everything else about banking the unbanked or other vague goals about being better than fiat are to convince the next bag holder.
15.
▲
by
hansonkd13
4y ago
So the only use for crypto is that regulations haven’t caught up to it? Used to pay illegal immigrants and circumvent sanctions, which is still illegal whether or not crypto makes it possible.
16.
▲
by
hansonkd13
4y ago
No they are not. That rationale is a coping strategy at best and deliberately misleading at worst. Tether is NOT a bank. They are not regulated and have no guarantee that depositors will be paid back. They promise a 1-1 backing and instead
17.
▲
by
hansonkd13
5y ago
Short answer yes! Long answer: Statetrace works at two different levels. The first is to record the raw changes without annotations. Statetrace works 100% with any framework at this level. The next level is to record with annotations. Curre
18.
▲
by
hansonkd13
5y ago
Time Travel works by generating a SQL statement or a CTE, which transforms the raw audit events into a snapshot of the table at a point in time with extra columns for the annotations. This feature is currently exposed on the enterprise prod
19.
▲
Show HN: Statetrace – Annotated Audit Trail for Postgres and MySQL
(statetrace.com)
21 points
by
hansonkd13
5y ago
|
5 comments
20.
▲
by
hansonkd13
5y ago
I think it stems from complaining is lazy. Its much more difficult to see why things are they way they are or see the virtue in things even if they have flaws. Its not that complaining has no place, its just that most complaining is is th
21.
▲
by
hansonkd13
5y ago
I’m not sure about patchy. I transferred money about 10 times this year and all the recipients wanted Zelle. All of your other criticisms are valid, but also exist in a system where you trust your wallet with a third party service. the majo
22.
▲
by
hansonkd13
5y ago
I think ToR is the worst example you can use. Good in theory? Yes. In practice it is pedophile and drug honeypot with exit nodes run my the government with limited legitimate actual people using it.
23.
▲
by
hansonkd13
5y ago
> You could use a scheme where two of three signatures allow transactions So now social engineering hits and someone convinces my ‘bank’ and notary to allow the transaction to a third party. Now my life savings are gone forever. In my re
24.
▲
by
hansonkd13
5y ago
All of 1/2/3 could be or gamed or hacked if not EXTREME measures are taken. As proven repeatedly by the hundreds millions in dollars in smart contract hacks and losses that have happened and continue to happen. People can’t trust
25.
▲
by
hansonkd13
5y ago
Same thing exists in the US. Property ownership and property tax is open and publicly accessible
26.
▲
by
hansonkd13
5y ago
I’m not satisfied by the standard quo and want something better. But the current state of trustless web3 is not it. My bank account is great. If I die there are clear procedures for getting my assets to my spouse. Even if I forget my accoun
27.
▲
Build a Postgres Proxy in Elixir Using Pattern Matching
(docs.statetrace.com)
2 points
by
hansonkd13
5y ago
|
0 comments
28.
▲
by
hansonkd13
5y ago
I suppose the main advantages would be less dependencies (no Redis server). Less overhead (you aren’t routing though anything) I haven’t looked at the exact performance characteristics but it would be fun! You would have built in load balan
29.
▲
by
hansonkd13
5y ago
This article is about implementing the Redis Protocol on a socket yourself. Not about the Redis Database. Sorry for the confusion.
30.
▲
by
hansonkd13
5y ago
Author here. EXACTLY. I’m showing that it is just as easy to use a different protocol than HTTP. Instead of reaching for an HTTP framework to do RPC, I’m showing that Redis can be just as easy.
More ›