Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
m45t3r
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
m45t3r
6y ago
I didn't say anything about types, but we use plumatic/schema as a "type system". It is not ideal (for once, it is checked at runtime instead of build time, so we only check types during tests and requests, otherwise the
152.
▲
by
m45t3r
6y ago
> By "functions" here I mean "pure functions". After programming for Clojure for quite a long time (~2 years), I fully share this sentiment. Using pure functions for business logic (and also using simple data structur
153.
▲
by
m45t3r
6y ago
This is actually something from Python's stdlib: https://docs.python.org/3/library/doctest.html Really underrated.
154.
▲
by
m45t3r
6y ago
Python can too, and I think most other languages are inspired by it. https://docs.python.org/3/library/doctest.html
155.
▲
by
m45t3r
6y ago
I am not agreeing with you, sorry. If they made good reviews, impartial reviews I could agree with you, but the way they do it nowadays could mostly be automatized (or at least do in a bulk, this is essentially what they do anyway in terms
156.
▲
by
m45t3r
6y ago
> Given that they claim to individually review each app within a short timeframe, a bulk upload would make it impractical for them to provide this service. And they do a super good job at reviewing apps, right? /s
157.
▲
by
m45t3r
6y ago
> Clojure doesn't have a spec at all (it has documentation for the single implementation; it seems to have another implementation which is even more a toy since no real Clojure programs can run on it, because JVM is part of Clojure,
158.
▲
by
m45t3r
6y ago
> massive problem with trivial things like indentation. Nope, someone wrote an article arguing for fixed formatting and Bozhidar Batsov decided to reply, but pretty much what he said is what is accepted by Clojure community anyway.
159.
▲
by
m45t3r
6y ago
It on iPad 6. I think if I had an iPad Pro (that also has a 120Hz screen I think?) it would be the same.
160.
▲
by
m45t3r
6y ago
Yeah, this is my favorite gimmick of my Samsung Galaxy S20. 120Hz display+240Hz touch sensor makes everything feels so fast and responsive, this is the first Android device that feels faster than my iPad.
161.
▲
by
m45t3r
6y ago
> What exactly is involved with "Setting up macOS" to take you 3 days? Different needs for different people? I mean, every time I reinstall Windows it takes some days to me to setup it too (removing all crapware/ads, chang
162.
▲
by
m45t3r
6y ago
This is unlikely to change since if ping changes many programs would broke. It is kinda like ipconfig. AFAIK, ping is a setuid binary (since it needs raw socket, that is a privileged operation) so a program that implements ping by itself wo
163.
▲
by
m45t3r
6y ago
Would love to see a C compiler equivalent of this, using Undefined Behavior do to actually nasty things to the computer (deleting/creating files, showing random things in stdout, etc.).
164.
▲
by
m45t3r
6y ago
> Apple is trading on its reputation. "It's only OK to show non-genuine once". Scammers love this. They install the bogus battery, click through the warning, then when they show you you are screwed. Like I said above, once
165.
▲
by
m45t3r
6y ago
Once a boot is sufficient, there is no need to complicate too much.
166.
▲
by
m45t3r
6y ago
iOS and PS4 also does have this block if the developer wishes to do so (generally for "security" reasons).
167.
▲
by
m45t3r
6y ago
> are we this forgiving of Equifax when they oopsie our data? The kind of culture you're in favor for, blaming engineer for mistakes and punishing them, is exactly what makes the kinda of Equifax mistake possible. Suddenly, people s
168.
▲
by
m45t3r
6y ago
In the case of Odroid Go and Odroid Go Advance, yes. The others no, they're more like an actual product.
169.
▲
by
m45t3r
6y ago
> Even something that should be as simple as piping output from one process to another in Python is a nightmare, and fraught with opportunities to shoot yourself in the foot with buffering deadlocks and other nonsense. This is true, but
170.
▲
by
m45t3r
6y ago
There are multiple alternatives for argparse if you look for third-party libraries. The thing that makes argparse particularly useful is because it is in stdlib, so if you use you can create a Python script without external dependencies.
171.
▲
by
m45t3r
6y ago
> There's a similar change coming in 3.10 Wow, this is pretty exciting. Hope we also see match being accepted in Python 3.10, so this would make (for me at least) one of the best Python releases in years.
172.
▲
by
m45t3r
6y ago
Any language with reflections needs to evaluate types as something meaningful at runtime.
173.
▲
by
m45t3r
6y ago
The software is pretty good actually. Have a Galaxy Active2, two day battery life, good health sensors, and I find the interface incredible easy to use (after one or two day of adaptation). The fact that it is round is a plus for me too (it
174.
▲
by
m45t3r
6y ago
This maybe true, but Google Ads even on YouTube is way less invasive than Samsung ones. And BTW, YouTube Premium disable all ads, while there is no way to have a ad-free experience on Samsung.
175.
▲
by
m45t3r
6y ago
Yeah, I remember reading years ago a paper explaining the same for H.264 and why 10-bit encoding matters (even for 8-bit content). It was fascinating reason, btw. AFAIK, there is also less banding issues even in 8-bit content, and the files
176.
▲
by
m45t3r
6y ago
I never saw an ad with Chromecast, and I use it basically since it's inception.
177.
▲
by
m45t3r
6y ago
> Most of the statically typed languages around are used to enforce conventions inside large teams of coders This is not the fault of the type system though. It is the fault of things like enforcing access via private/protected/
178.
▲
by
m45t3r
6y ago
> Most of the time when I review code my remarks is: it should be a 10 lines function, why did you write 10 classes with 10 getters and setters each? This is the fault of the language or programmer itself instead of its type system. I am
179.
▲
by
m45t3r
6y ago
I know IPython, and yeah, it is very nice. But most of the time I just to test something fast the default REPL is already enough.
180.
▲
by
m45t3r
6y ago
Also I really like Python stdlib for those kinda of throwaway scripts. While `cargo` is a far better tool than `pip` for dealing with dependencies, if you don't need to dependencies at all it is even easier, and most times when using P
More ›