Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aflag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
361.
▲
by
aflag
4y ago
Would you trust more an intern consulting 10 lawyers about your case instead of any single lawyer? Assuming a world where AI has surprassed human ability to make a case, having a human component would just make it worse.
362.
▲
by
aflag
4y ago
If it could build a case better than a human, you would. But currently it's nowhere close to that
363.
▲
by
aflag
4y ago
Also, in a further iteration, people could upvote and downvote results, or even parts of it, so that it learns what it knows and what it doesn't. If it just say "I don't know" for bad results or omit the bad parts, it wo
364.
▲
by
aflag
4y ago
The ads would still be clickable. Clicking the actual results doesn't really help google much.
365.
▲
by
aflag
4y ago
Making a gpt query on every search I'd say that's indeed unlikely. Luckily, most queries are repeated, so caching can work very well. There are many opportunities there, gpt could potentially be used for common queries to expand t
366.
▲
by
aflag
4y ago
They can stop opening sites and emails that give them malware. If the person who sent it to them in the first place was a friend, they can also tell it to their friend. You don't have to be a seasoned software engineer to understand th
367.
▲
by
aflag
4y ago
He did offer to send the psd and process but the mod said that even if he did it wouldn't matter, because it looks so much like AI
368.
▲
Artist banned from subreddit because style looks like AI art
(twitter.com)
15 points
by
aflag
4y ago
|
11 comments
369.
▲
by
aflag
4y ago
Being infected with malware is, hopefully, a rare event. I think it's reasonable to alert the user they've got it, even a non techy user knows roughly what those are. If they know about it they may have an idea of how they got it
370.
▲
by
aflag
4y ago
For longer posts it's hard to argue that any social media with a restricted number of characters per post is a good fit (all the arguments are other features that may be missing in blogs, not arguments against having a cohesive post th
371.
▲
by
aflag
4y ago
You can also share a link pretty easily.
372.
▲
by
aflag
4y ago
I wasn't suggesting go changes. I was just replying to > > every error must be handled explicitly, and every control flow path must be made obvious, no matter how much verbosity this creates. > Is this, bad? It is just the rec
373.
▲
by
aflag
4y ago
Exactly, that's the criticism. Many find exceptions better than explicitly handling errors, even when you just want to propagate them.
374.
▲
by
aflag
4y ago
To be fair, most of popular and important algorithms and tools in our daily lives are likely even older than that. Arithmetic takes you a very long way. RSA is quite mathematically sophisticated (and recent) next to most of the algorithms w
375.
▲
by
aflag
4y ago
That's not a particularly nice implementation of exceptions and all libraries treat panics as invariant checks, things that should never happen. So, if you want to treat expected errors (eg. file not found) using panic you simple won&#
376.
▲
by
aflag
4y ago
There is a difference. People are far less likely to go themselves, so that may be manageable by the restaurant. The app brings a lot more orders in. The restaurant possibly solved the problem by telling the delivery platform. If they sudde
377.
▲
by
aflag
4y ago
The only way to do it in go is to always handle errors, even if you just want to pass them through. It’s one of the downsides of the language. My recommended way is to use a language with exceptions. They have downsides too, of course. It’s
378.
▲
by
aflag
4y ago
I once interviewed someone who was "proficient in dart, go and nim", but I was puzzled when they said they never wrote a computer program in their life.
379.
▲
by
aflag
4y ago
To the second point: I think the issue is that you don't want to handle the errors in a function, but just propagate it, you still need to write error handling code, whereas in languages with exceptions you can just not do anything and
380.
▲
by
aflag
4y ago
The restaurant probably doesn't want the bad press associated with other customers getting cold/melted/soggy/etc food. Also, the restaurant may want to limit the amount of takeaway, as the venue may be small to accommoda
381.
▲
by
aflag
4y ago
The GC may copy data around, though. So, when you scramble the data there may be already be copies of the previous value in memory. I think that's the biggest drawback.
382.
▲
by
aflag
4y ago
Python has `gc.collect` which should work for user created types. Besides, it does have a reference counting GC. So, as long as you don't create cycles, you should be able to force the collection of objects similarly to C++'s shar
383.
▲
by
aflag
4y ago
You don't need to use the String type for your sensitive data, though. You can create your own type that acts the way you want.
384.
▲
by
aflag
4y ago
One possibility would be to reference a password variable always from t he same thread. But even if you use multiple threads referencing the same memory location, you could make some of them weak references (which the GC doesn't take i
385.
▲
by
aflag
4y ago
Interestingly, in those docs they recommend against using that class and point to this github repo explaining the reason: https://github.com/dotnet/platform-compat/blob/master/docs/D...
386.
▲
by
aflag
4y ago
You should be able to know all the references to a variable, if you are careful when writing your program. Also, you could write a destructor that scrambles the memory location before the object is collected. However, you would still not ha
387.
▲
by
aflag
4y ago
I'm not an specialist, but I suspect the rationale is that you have less control of how the memory is cleaned up after use. In special, the GC can actually copy objects around without the programmer's knowledge, potentially making
388.
▲
by
aflag
4y ago
At least some of the protesters did destroy some paintings. Eg.: https://www.nbcnews.com/news/world/climate-protesters-campai...
389.
▲
by
aflag
4y ago
That's not accurate. They did destroy actual art. After a quick google search: https://www.nbcnews.com/news/world/climate-protesters-campai... Is that really the kind of attention we need to the problem? Some
390.
▲
by
aflag
4y ago
That makes no sense. How is defacing art helping fight climate change? How does that reduce emissions or remove CO2 from the atmosphere? It doesn't. Also, it's terrible PR for anyone advocating for people to change behaviour in or
More ›