Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
imron
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
571.
▲
by
imron
7y ago
> Rust has a lot of things that C doesn't, like classes, lifetimes, and the borrow checker, which can be jarring to deal with for programmers used to other languages. If you are a competent C programmer - the kind that "doesn&#
572.
▲
by
imron
7y ago
Doesn't change my point though. A human translator almost certainly would have caught an error like this.
573.
▲
by
imron
7y ago
It’s an automatic translation (put the original Italian in to google translate and that is what you get). I guess the parent post was to illustrate in a humorous manner the limitations of machine translation.
574.
▲
by
imron
7y ago
"imported synthetic honey" is not a better product.
575.
▲
by
imron
7y ago
> So you could just `git checkout v1.0.0; git checkout -b v1.0`, git checkout can take an optional tag/branch argument so `git checkout -b v1.0 v1.0.0` works just as well for creating branch `v1.0` off of tag `v1.0.0`
576.
▲
by
imron
7y ago
> the Xinjiang region of China has two timezones used concurrently And it's a complete mess. If you think daylight savings is complicated, wait until two geographically distant regions are on the same time but a different time. >
577.
▲
by
imron
7y ago
Many people (myself included) consider vi to be a powerful editor. I've not heard many who would call it simple though.
578.
▲
by
imron
7y ago
> Seems like you could easily build and maintain a simple chat system with <5 developers Yes you could. Note however 'simple chat system'. To build a global messaging app used by hundreds of millions of people is a whole di
579.
▲
by
imron
7y ago
I like GoAccess: https://goaccess.io/
580.
▲
by
imron
7y ago
> Do they? I've seen polls where he beats trump. If you recall the last election, almost every poll said Clinton would beat Trump. I wouldn't put much faith in the polls, especially this far out.
581.
▲
by
imron
7y ago
Preferably installed on a kubernetes cluster so that it can automatically scale.
582.
▲
by
imron
7y ago
> No, they aren't simple and the fact that are still widely misunderstood is basically proof of that. The article disproves itself. Sure, move is simple, if you stick to that one very narrow use case (that still needs std::move() b
583.
▲
by
imron
7y ago
Parent is making a joke. See the top reply on the Dropbox launch thread: https://news.ycombinator.com/item?id=9224
584.
▲
by
imron
7y ago
> But today, there is little reason for most projects not use the advances found in C99. Does visual studio support c99 yet? Last I heard MS wasn’t interested in supporting it.
585.
▲
by
imron
7y ago
On the linked page, it says: "Inspired by this tweet" which links to https://twitter.com/garybernhardt/status/600783770925420546
586.
▲
by
imron
7y ago
In some ways they are - they're just a little box of memory with an address.
587.
▲
by
imron
7y ago
They probably still have to maintain systems running PHP 5, and are quite literally stuck in it ;-)
588.
▲
by
imron
7y ago
> The bad defaults you and a sibling commenter are referring to (magic quotes) are, again, from 11 years ago. That's because the context was the state of PHP 15 years ago.
589.
▲
by
imron
7y ago
> would be interested in specifics here Magic quotes would be the first one I can think of off the top of my head, which incidentally, was made a default because the mysql api in PHP was so prone to sql injections, that PHP decided to au
590.
▲
by
imron
7y ago
I can't use a white background on my terminal. It'd be like looking at a light bulb all day. Dark mode FTW.
591.
▲
by
imron
7y ago
> No. Your database is one giant shared mutable state. That doesn't refute anything from the parent post. In fact you prove the parent's point in the very next sentence: > How is using a database safe then? Transactions. Whi
592.
▲
by
imron
7y ago
> It would've made more sense to say that they were using the human brains as CPUs That was apparently the original plot before studio executives decided it would be too difficult for audiences to understand. https://scif
593.
▲
by
imron
7y ago
They'll make it up in volume /s
594.
▲
by
imron
7y ago
> I've been in this A/B test for a couple of months now, so I've had time to adjust, and I still hate it Me too. It just looks ugly.
595.
▲
by
imron
7y ago
> I see that you have not kept up. I have not (C++14 onwards was roughly where I started paying less attention), and that was partly my point. C++ has gone through dramatic change, and if I'm going to go through that dramatic chang
596.
▲
by
imron
7y ago
> Just because you bump a version number it doesn't mean you are forced to use all the bells and whistles. But I want to use those features. I want memory safety and a way to say this variable owns the memory, vs that variable wh
597.
▲
by
imron
7y ago
> But what if you had spent 1/10th of the time you spent learning Rust looking at these features You can write object-oriented code in C too (e.g. gtk, glib etc). It just involves much more boilerplate, and it doesn't offer th
598.
▲
by
imron
7y ago
On the back of 4 elephants, then it's turtles all the way down.
599.
▲
by
imron
7y ago
> yet instead of fixing anything they just pile up more features in an effort to compete with Rust and Go I used to be a C++ diehard, but modern C++ is why I started learning Rust. If I'm going to have to learn a whole bunch of new
600.
▲
by
imron
7y ago
See also: https://americanaffairsjournal.org/2019/08/rotten-stem-how-t... "Finally, the big hope had been to motivate students to learn through interactivity and “gamification.” What any given software vendor
More ›