Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devxpy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
devxpy
6y ago
This. I often end up writing my own libraries because of this reason. Kinda hard to get into other people's minds...
92.
▲
by
devxpy
6y ago
Nice approach with annotations in the comments. I wrote something a little more tounge in cheek a while ago -- I modified SQL syntax to include functions with arguments https://github.com/scientifichackers/sql2code
93.
▲
by
devxpy
6y ago
Oh god, what have I seen
94.
▲
by
devxpy
6y ago
whoa, so you can write like a DSL parser using the rust macro matcher syntax?
95.
▲
by
devxpy
6y ago
Can anyone please tell me how the author able to use html syntax in rust? I get that there are macros, but how are html tags valid syntax? Is rust just interpreting the html content as strings? I've only ever seen C macros, and I don&#
96.
▲
by
devxpy
6y ago
This makes a ton of sense to me, thanks for sharing your learnings. I see very little value in using GraphQL, when you can just write SQL on the client! We desperately need frameworks to better facilitate this, like Hasura or Django -- DB m
97.
▲
by
devxpy
6y ago
whoa, am i doing something wrong? please share thoughts
98.
▲
by
devxpy
6y ago
I do this, easy to implement, and it works pretty well - dropdb $PGDATABASE || true createdb -T template0 $PGDATABASE pg_dump $DUMP_DATABASE | psql -q $PGDATABASE
99.
▲
by
devxpy
6y ago
Protobuf can be converted to (and from) JSON for readability
100.
▲
by
devxpy
6y ago
Hmm, maybe am I wrong on this? Can the down-voter educate me?
101.
▲
by
devxpy
6y ago
There's a lot of contribution here from Jim keller, a.k.a. the silicon ronin. He was the one who designed A4/A5 - the very first apple silicon, that I distinctly remember having performance on par with other offerings at the time
102.
▲
by
devxpy
6y ago
I wonder if tts readers like google assistant's "read it" feature improve this situation. At least for me, having 2 sources of information greatly increases the degree of comprehension and reduces eye fatigue.
103.
▲
by
devxpy
6y ago
Are the swift parts needed for the UI work, or platform specific functionality?
104.
▲
by
devxpy
6y ago
Yes. Why we don't use total equity instead of what one investor thinks is a good price of their share, I don't understand.
105.
▲
by
devxpy
6y ago
I don't understand why everyone cares so much about stock price, an almost arbitrary measure of the value of a company, based on sentiments and not facts. Isn't total equity the real indicator of the company's value in money?
106.
▲
by
devxpy
6y ago
There's an experiment from a flutter core dev -- running flutter on a raspberry pi without any desktop environment. https://medium.com/flutter/flutter-on-raspberry-pi-mostly-fr... A DE written in flutter sounds li
107.
▲
by
devxpy
6y ago
Oh they did a fair amount of statistics on the surveys. But their data isn't based on facts.
108.
▲
by
devxpy
6y ago
Note that this is measuring developers' feelings about productivity, not actual productivity. This looks like social science research, not software engineering.
109.
▲
by
devxpy
6y ago
I agree that direct connection to a database might not be the best idea, but I dont see anything particularly wrong with sending SQL over the wire. I'm suggesting something like a hassura that isn't based on graphql, but works dir
110.
▲
by
devxpy
6y ago
Bytecode.
111.
▲
by
devxpy
6y ago
A white space is just a newline and an indent. The newline is mandatory, but the indents can be truncated easily using pyminifier - https://liftoff.github.io/pyminifier/
112.
▲
by
devxpy
6y ago
Ive been wondering for a while now -- tell me, do we really need specialized server logic for every little functionality? In my last project, almost half the server code is really just converting REST to SQL. Why don't we just use SQL
113.
▲
by
devxpy
6y ago
You're completely ignoring the flagship killer market here. You can buy a poco f1 (Snapdragon 835) for 250$ that will perform just as well as any pixel. For that price you can buy a new flagship killer every year.
114.
▲
by
devxpy
6y ago
Hmm, fair point, but I do expect the CPU and the fan to at least be to be connected! The machine quickly jumps to 100 degrees on load, which is something I do care about, from a usability perspective. I have to regularly turn on the airc
115.
▲
Fixing Apple's Engineering in an Hour [video]
(youtube.com)
41 points
by
devxpy
6y ago
|
31 comments
116.
▲
by
devxpy
6y ago
Written communication will also give you RSI though
117.
▲
by
devxpy
6y ago
Please, some data to back this claim?
118.
▲
by
devxpy
6y ago
Whats even more insane is how bad their documentation is. Especially with AWS I feel like I get ripped off everytime I use any of their services, because there's always some magic, undocumented buttons I need to press in their godforsa
119.
▲
by
devxpy
6y ago
Nathaniel has done a great job of drawing parallels between go and goto. I've been stung, time and again by asyncio.create_task() swallowing exceptions[1], and functions not telling callers about background tasks[2]. For others looking
120.
▲
by
devxpy
6y ago
Just an aside from the argument here, I think almost no python API actually follows the zen of python. It's certainly a nice idea, just incredibly hard to actually live upto in the real world.
More ›