Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dpc_pw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
511.
▲
by
dpc_pw
10y ago
I know it's trollish, but as person using C++ I have to do it: Writing software using C++ in 2016 is an anti-pattern.
512.
▲
by
dpc_pw
10y ago
> if everyone blocked ads, we'd have no free content. That's right! If people did not pay for using software, there would be no... oh wait... I am writing from Linux, using Firefox... and have a github tab open... But if people
513.
▲
by
dpc_pw
10y ago
So, is ADD/ADHD actually a real thing, or is it just part of a trend to make everything out of social norm "a condition". I mean naively speaking, we didn't evolve to sit in classrooms and read books, grow up and sit in
514.
▲
by
dpc_pw
10y ago
Let me see... instead of having to capitalize every single usage of a given symbol, I can just prefix it's defintion once with `pub`? Yeap, I rather do that. Instead of replacing all instances to lower case, I can just remove the `pub`
515.
▲
by
dpc_pw
10y ago
> Yet somehow the hysterical anti-MS attitudes are still here. Reputation is everything.
516.
▲
by
dpc_pw
10y ago
Oh. Go love-hate relationship post. My turn. So I really like channels and coroutines built into language and used everywhere: it makes some patterns compose nicely and language very productive. But just as in the article - some of Golang c
517.
▲
by
dpc_pw
10y ago
After using https://github.com/inconshreveable/log15 for Go, I become sold on structured logging (read more http://gregoryszorc.com/blog/category/logging/ and https://kartar.n
518.
▲
slog-rs: Structured, composable logging for Rust
(github.com)
4 points
by
dpc_pw
10y ago
|
2 comments
519.
▲
by
dpc_pw
10y ago
Rust is particularly good at it. It makes bugs finding easier as language forces good habits and eliminates whole classes of bugs, tests are easy to add and check, ecosystem has established ways of dealing with CIs, reviews, good autoformat
520.
▲
by
dpc_pw
10y ago
Yes, I'm aware of it, though not as in-depth as I'd like to. AFAIK, it was a bit unfinished yet eg. not having any congestion control story, which is very important. But yeah... it's what what HTTP2 probably should have been
521.
▲
by
dpc_pw
10y ago
Agreed about possibility of over-ramp on good links. But on wireless packets drops can be quite frequent and unrelated to reaching bandwidth limit.
522.
▲
by
dpc_pw
10y ago
I did not do any real tests and I might be completely wrong etc. but it seems to me that http2 is going to perform poorly over wireless links like 3g. With http1 one had N tcp connections, and with the way tcp slowly increases the bandwidth
523.
▲
by
dpc_pw
10y ago
That should tell you something when many new programming languages pick Rust for their implementation.
524.
▲
by
dpc_pw
10y ago
Poor analogy. Virtual land is unlimited. You can get your servers quite fast if you need to. Plus being a commodity, prices race to the bottom, and if designed right, you can swap you "landlord" rather easily - move your dockers e
525.
▲
by
dpc_pw
10y ago
You need bluetooth with AptX audio codec support. Most phones have it, but most cars don't (because cars are lagging with technology). I'm using separate bluetooth dongle powered from the lighter socket and plugged into car RCA po
526.
▲
by
dpc_pw
10y ago
Would it be possible to use it for syncing data? I mean I have deduplicated data, and then I generate more backups, and would like to sync new chunks&remove old chunks from the c14 backup.
527.
▲
by
dpc_pw
10y ago
Of course not. This time it's different.
528.
▲
by
dpc_pw
10y ago
Rust can, somewhat is already and ultimately will beat C on performance, due to way better guarantees on pointer non-aliasing. See eg. http://stackoverflow.com/questions/146159/is-fortran-faster-... Other than tha
529.
▲
by
dpc_pw
10y ago
Part of the reason I avoid Python software like a plague. The flaw of Go is not reporting unhandled errors at compile time (solved by 3rd party checkers), and no convenient mechanism to escalate errors upwards. Both somewhat fixed in Rust b
530.
▲
by
dpc_pw
10y ago
The whole "bug-density by language" thing is just pointless for sooo many reasons. The first one being the lower-level statically typed languages are used to write more complex, widely used and mission-critical software. The secon
531.
▲
by
dpc_pw
10y ago
Is it available anywhere to use?
532.
▲
by
dpc_pw
10y ago
I was checking out Urbit before, and it's an amazing idea. I can highly recommend anyone investigating it a little, just to get a notion how things could be. I need to check the current progress. I hope the previous "invitation&#x
533.
▲
by
dpc_pw
10y ago
Google did not take Java code. It wrote it's own software with exactly same API. Any API that is "in the open" is free to be emulated. Especially Open Source ones! What this mean for open source software is that if I write a
534.
▲
by
dpc_pw
10y ago
It can be used for a lot of things. GPG (even over NFC), U2F, 2FA,
535.
▲
by
dpc_pw
10y ago
"Most of these problems simply didn't exist or were not nearly as severe with previous revision control systems" Are you kidding? :) CVS, Subversion, Perforce, and some propriety revisioning systems were HUGE PITA. People use
536.
▲
by
dpc_pw
10y ago
Google: Yubico ; the NFC-enabled version has a Google Authenticator-like app (Yubico Authenticator)
537.
▲
by
dpc_pw
10y ago
For fibers (AKA Coroutines) in Rust, see mioco https://github.com/dpc/mioco
538.
▲
by
dpc_pw
10y ago
For users, I think it's better to ask to install rustup from rustup.sh, and then just `cargo install wscat`.
539.
▲
by
dpc_pw
10y ago
Yes, the accepting contributions part is such a pain...
540.
▲
by
dpc_pw
10y ago
Piggybacking on the thread. I am a person that would like to provide Open Source for personal use, non-profits and other Open Source projects, but I'd like to force commercial institutions to pay me some money or give back to community
More ›