Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
im-a-baby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
im-a-baby
4y ago
People who hate on projects are those that have never attempted to create something on their own. It's kind of like how the easiest person to sell something to is a salesman. Most people's default reaction to anything is scepticis
2.
▲
by
im-a-baby
4y ago
Europeans use 220V for everything.
3.
▲
by
im-a-baby
4y ago
Yea, the issue is that nil's in Go are typed. So `err == nil` is checking err against error's nil value, but the value stored in err is *MyError's nil value. package main import "fmt" type My
4.
▲
by
im-a-baby
4y ago
I do eat grape seeds. Apples, the core is too tough. With watermelon, I greatly prefer seedless. Like it’s not even close in terms of taste or texture. I probably eat about 2 whole watermelon a week in the summer time. It’s always a sad day
5.
▲
by
im-a-baby
4y ago
Why do countries exist? To protect the interests of the citizens. Water is an important issue
6.
▲
by
im-a-baby
4y ago
No not using pointers would not solve the issue. The issue is that the specific error implementation type is part of the method signature. If you returned type MyError instead of *MyError, then it would be impossible to return nil from the
7.
▲
by
im-a-baby
4y ago
Yes you could do that, but then you’d lose type info on the error.
8.
▲
by
im-a-baby
4y ago
Your distinction between user and programmer doesn’t make sense to me. I typed the regex and I typed the config file. Why is a regex syntax error different than a YAML syntax error? Both are irrecoverable errors for my programs.
9.
▲
by
im-a-baby
4y ago
Generally, returning a typed error in the function signature in Go is very annoying and dangerous. An example why: import "fmt" type MyError struct{} func (m *MyError) Error() string { return "&qu
10.
▲
by
im-a-baby
4y ago
That's very different than your initial statement of: "Many schools of thought believe that it is impossible to prove the absence of something.". Many (all?) schools of thought believe in the law of excluded middle, which mak
11.
▲
by
im-a-baby
4y ago
It's pretty trivial to construct negatives that can be proven. E.g. take a solid colored object and prove it's not a specific color. You can prove the negative statement by proving a positive statement about the true color of the
12.
▲
by
im-a-baby
4y ago
I'm confused. As the article states, the speakers do wake spuriously and record conversations. So the speakers do eavesdrop, even if it's unintentional. The article goes on to say that, even those the speakers do eavesdrop, they d
13.
▲
by
im-a-baby
4y ago
I think it's fine to add syntactic sugar for panic. The standard library already has similar functionality, like regexp.MustCompile. And personally, I've implemented a Must function in many services. E.g. you try to parse a config
14.
▲
by
im-a-baby
4y ago
I believe the point is that quantum computers allow you to manipulate a linear combination of bits, whereas simulating the weather would require non-linear combinations. It's unclear how a QC would help simulate something like that bet
15.
▲
by
im-a-baby
4y ago
Most of the “paper” products that replaced plastic for stuff like straws and take out containers are coated with PFAS.
16.
▲
by
im-a-baby
4y ago
What do interest rates offered by the banks have to do with liquidity in the bond market? The Fed speculates that the reason for the lack of liquidity is due to uncertainty about the economic outlook and uncertainty about the interest rates
17.
▲
by
im-a-baby
4y ago
Paper might be a good replacement for dry things that are guaranteed to stay dry, but a poor replacement for everything else.
18.
▲
by
im-a-baby
4y ago
The web was more decentralized prior to the rise of Google and Amazon. But web3 specifically refers to a future version of the internet, not the past.
19.
▲
by
im-a-baby
4y ago
The full report has a lot of interesting information in it: https://www.federalreserve.gov/publications/files/financial-... Scroll to any point in the document and you will see an interesting facet of the economy.
20.
▲
by
im-a-baby
4y ago
Exactly. Why would you want a single app that has other apps? You could easily go download a standalone app from the app store that delivers a superior experience. There would need to be some competitive advantage or economy of scale of the
21.
▲
by
im-a-baby
4y ago
The timestamp of each vote in the machine could be useful during the audit. Imagine you found a discrepancy, you'd then want to determine when the discrepancy started.
22.
▲
by
im-a-baby
4y ago
How do VPN ad blockers work? Like do you need to add a trusted CA to your device and the VPN MITMs all of your traffic? I’m not sure I’d have that level of trust in my VPN provider…
23.
▲
by
im-a-baby
4y ago
You could print a receipt that contains the voter's selection. The voter would then verify the selection and deposit the receipt into a receptacle. The voting machine results could then by audited by comparing the receipts to the votin
24.
▲
by
im-a-baby
4y ago
A few thoughts: 1) Everyone agrees that spam should be "censored" because (nearly) everyone agrees on what spam is. I'm sure (nearly) everyone would also like to censor "fake news", but not everyone agrees on the de
25.
▲
by
im-a-baby
4y ago
Look, I agree that theoretically it’s possible to lower inflation while keeping unemployment low. But the Fed is looking for a causal effect. They want higher unemployment because that will balance the labor supply and reduce wage growth. T
26.
▲
by
im-a-baby
4y ago
Using analogies is always dangerous because they're never going to be a perfect fit. But the difference between your engine analogy and the federal reserve's actions is that anemic economic growth and high unemployment is not a si
27.
▲
by
im-a-baby
4y ago
I think we're arguing over the definition of goal and side-effect. Let's say I have a goal of running a marathon, so I decide to start jogging every day. Is my daily jogging a side-effect of my goal to run a marathon? I wouldn
28.
▲
by
im-a-baby
4y ago
This seems unnecessarily pedantic. Powell has said he believes the tight labor market is driving inflation. It's a totally fair characterization to say "Powell believes the labor market is too tight" given his statements. In
29.
▲
by
im-a-baby
4y ago
No, that's not what Powell is saying. Read this quote again: > So I will answer—I will answer your question directly, but I want to start here today by saying that my main message has not changed at all since Jackson Hole. The FOMC
30.
▲
by
im-a-baby
4y ago
This quote says it: > The labor market continues to be out of balance, with demand for workers substantially exceeding the supply of available workers. The labor force participation rate showed a welcome uptick in August but is little ch
More ›