Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Kamq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
Kamq
3y ago
> but there is some sort of global system understanding that you get from college (in my case computer+software+network engineering) where you can quickly narrow down potential sources of a problem, all the way down to say, the TCP/
212.
▲
by
Kamq
3y ago
Go's switch statement is closer to lisp's cond expression, except it doesn't evaluate to a value.
213.
▲
by
Kamq
3y ago
> But you need pattern matching and other techniques... The go way to do this would be: switch { case errors.Is(err, outOfDiskSpaceError): // handle out of disk space error case errors.Is(err, lack
214.
▲
by
Kamq
3y ago
I think an even more accurate analogy would be if a surgeon had some kind of scalpel with a 1 cm limit, but if a surgery suddenly changes in the middle, and suddenly requires a deeper incision, the surgeon has to spend a non-zero amount of
215.
▲
by
Kamq
3y ago
> Replace conservative with evidence based. Sure, but that implies a system of pilot studies and increasingly larger studies to make sure that the intervention scales and it wasn't working due to factors inherent to the original pop
216.
▲
by
Kamq
3y ago
> I wonder how many students get so frustrated dealing with pointless platform and environmental obstacles that they can't learn the core material effectively? I'm gonna be honest here, if we're talking about the tech indu
217.
▲
by
Kamq
3y ago
Depends on the market. In a market with a lot of sellers with essentially the same product (like a commodity market)? Sure. Prices tend to be pretty transparent in markets like that, because that's what buyers want. In a market with a
218.
▲
by
Kamq
3y ago
> A higher likelihood of sales isn’t something a buyer is looking for, though. It's what the sellers are looking for though. And the sellers generally are the ones making these sites. If you want to put up a website describing what
219.
▲
by
Kamq
3y ago
Google search has been going downhill.
220.
▲
by
Kamq
3y ago
> to look the other way when stubhub commits illegal acts? Scalping is only illegal in certain jurisdictions (usually state level, iirc). Presumably stubhub intentionally does not operate in those jurisdictions. They could sell to people
221.
▲
by
Kamq
3y ago
Usually it's if you committed something you shouldn't have. You still have to change api keys if you ever pushed, because things like github store orphan commits, but if you have something you can't change in there or you cat
222.
▲
by
Kamq
3y ago
Our descendants around alpha centauri are going to have so much legacy code to upgrade.
223.
▲
by
Kamq
3y ago
The using declaration modifies your namespace. From the docs: namespace X { using ::f; // global f is now visible as ::X::f using A::g; // A::g is now visible as ::X::g }
224.
▲
by
Kamq
3y ago
Maybe I should be more clear. This thread was in the context of go generics, which generally means go 1.18, when user defined generics were added to the language. Go always had support for a minimal number of containers, I've never rol
225.
▲
by
Kamq
3y ago
Huh. Guess I'm heterodox, then. I mean, don't get me wrong. It's quite useful once in a while, especially when working with containers, but I don't think of it as essential. But I'm fine with it as long as people do
226.
▲
by
Kamq
3y ago
Wait, what? Generic programming is a perfectly valid style, but are you saying it's essential to implement business logic? Because, like, the last 3 languages that got adopted as the default business logic language didn't have the
227.
▲
by
Kamq
3y ago
I did, it feels open to interpretation. Top two readings on my end are that this is either a person who really didn't want to write this article that was ordered to, or someone who is trying to be maximally defensive of google without
228.
▲
by
Kamq
3y ago
> The author isn’t defending Google. My reading of the thread is that this is the fundamental presumption of the thread. I think your differences with the OP go deeper. > It’s a joke until it isn’t. My reading wasn't that it wa
229.
▲
by
Kamq
3y ago
I believe the logic goes something like this: - The author is defending analogous behavior - Therefore the author is ok with this behavior - Therefore the behavior is ok to use on the author It's not actually ok, but nobody actually di
230.
▲
by
Kamq
3y ago
> But C++? I can see why C might be up there due to the embedded world, but is C++ really more popular than JavaScript? If it's anything like tiobe, they give bonuses for vendor offerings, which gives languages like c/c++/
231.
▲
by
Kamq
3y ago
> The “following” part is especially creepy. I think that was the point. It's an analogy for what the article is talking about. The behavior of Chrome is legitimately creepy.
232.
▲
by
Kamq
3y ago
Minor quibble, logic is generally perfectly fine with things that are non-falsifiable, so long as a truth value can be hypothesized, we can use logic just fine. It's science that doesn't have anything to say about unfalsifiable si
233.
▲
by
Kamq
3y ago
> ...the only correct response to which is to contact the state government and complain while continuing to respect the law. Breaking the law while remaining silent is diametrically opposed to the democratic system that the US, at least,
234.
▲
by
Kamq
3y ago
> I guess I’ve always viewed it from the standpoint of, at what speed are crashes rarer and most survivable They're most rare at 0 mph. In fact, they're so rare to be impossible. Once you've accepted non-zero speeds (inclu
235.
▲
by
Kamq
3y ago
> Why shouldn't a business get to decide what content they host on their platform? They should. But that doesn't prevent social consequences, including badmouthing them on their rationale. Your response would be very relevant i
236.
▲
by
Kamq
3y ago
https://en.wikipedia.org/wiki/Dmca
237.
▲
by
Kamq
3y ago
> But obsolete or antiquated meanings of words are not necessarily somehow latent in the words as used presently. Language changes; meanings change. I think you're ignoring that, if enough of us do this, they can also change back.
238.
▲
by
Kamq
3y ago
> I don't think the standards have to be low Based on what you've described, I disagree. Most colleges have already winnowed things down to teaching in only one or two languages. Usually java and python. And from what I've
239.
▲
by
Kamq
3y ago
> So wouldn't you agree that in a sense, the stakes for programming is much higher? That doesn't mean the stakes are higher. It means the potential upsides are higher. The potential downsides are also much lower (a bad website
240.
▲
by
Kamq
3y ago
> I have my doubts about being a serious engineering profession. It's not. If it were, vaguely talented amateurs wouldn't run circles around people with degrees. But to get it to that level, we'd have to figure out 1. how
More ›