Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpc0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
301.
▲
by
jpc0
2y ago
> Around 70% of our high severity security bugs are memory unsafety problems > ~70% of the vulnerabilities Microsoft assigns a CVE > 76% of vulnerabilities What is the difference between the first two (emphasis added) and what
302.
▲
by
jpc0
2y ago
In that case, could you begin proving that point by having it write an http request parser. Let's make it easy and have it require content length header and no support for chunked encoding at first. Csn pick any language you like but s
303.
▲
by
jpc0
2y ago
> ... LET them use LLMs and see whether they can accomplish 10X what a coder 3 years ago could accomplish... Do you seriously expect a 10x improvement with the use of LLMs vs no LLMs? Have you seen this personally, are you 1 10th the dev
304.
▲
by
jpc0
2y ago
> For me listening an mp3 is like a sanding an ear There is such a broad spectrum in thr word mp3 that you need to be more specific. I can absolutely pick the difference between certian high bitrate mp3 encodings and wav files, however
305.
▲
by
jpc0
2y ago
No need for battery and battery is by far you largest cost. This could 100% just fallback to grid power, it's not backup power it's reducing usage. Not sure about where you are but where I am a 2kW plus li-ion batteries is about 2
306.
▲
by
jpc0
2y ago
You could absolutely install 2kw of solar for probably around 2-4k and then at worst it turns your daytime usage into 0$. I also would be surprised if this was pulling 1kw in reality, I would want to see an actual measurement of what it is
307.
▲
by
jpc0
2y ago
> Coincidentally today, I received an automated text from my heath care entity along the lines of, "Please recognize this number as from us. Our AI will be calling you to discuss your heath." That sets off super strong scam vib
308.
▲
by
jpc0
2y ago
- mandatory seat belts - doors that close and remain closed - airbags None of the things you mentioned are particularly an issue with the regulations, they legitimately assist in situations where they are meant to assist. If some feature is
309.
▲
by
jpc0
2y ago
To be fair you are welcome to incorporate and follow all the rules regarding what is actually business expenses vs private and most of your expenses can also be tax free. But I doubt your employer will be too happily to now pay your salary
310.
▲
by
jpc0
2y ago
> It’s on the caller to explicitly implement a concurrent queue to distributed specific work items The threadpool is usually the easy part of concurrent algorithm's, with the concurrent queue being one of the hardest to implement in
311.
▲
by
jpc0
2y ago
> Also, was the original article focused on gamedev? I don't see any mention of it. For us normie programmers working on CRUD apps, we don't need bump/arena allocators. Ctor->new, RAII/Dtor->delete is just fine
312.
▲
by
jpc0
2y ago
Nobody says that an object with memory allocated using a bump allocator can't use RAII for other uses. The destructor could even call delete on the pointer to the memory in the bump allocator and the bump allocator can happily implem
313.
▲
by
jpc0
2y ago
> It's quite common knowledge in the gamedev world (at least the part that writes C++ code, the other parts that uses C# or JS has roughly the same problem, just caused by unpredictable GC behaviour). Isn't it pretty common in
314.
▲
by
jpc0
2y ago
I'm assuming if you are getting let's you are in violation of TOS you agreed to. Advocacy aside, the solution is to not. I know a lot of people can't pick another provider but at the same time they probably didn't need w
315.
▲
by
jpc0
2y ago
> The problem is...well I still don't really know how I should be including that? It's so much easier just to register a session cookie from a login page. For a webpage this makes perfect sense, where would you securely store a
316.
▲
by
jpc0
2y ago
> First aid, how to make fires, materials and uses This scares me more than it should... Please do not trust an AI in actual life and death situations... Sure if it is literally your only option, but this implies you have a device on you
317.
▲
by
jpc0
2y ago
Probably a broken record in this comment thread but it was pretty damn accurate... Definitely give it a go.
318.
▲
by
jpc0
2y ago
Copilot has an LSP I can add to whatever editor I need without breaking my entire existing developer workflow and tooling. Cursor and Aide are both their own editors. Amazon Q might be able to integrate but a cursory search didn't imme
319.
▲
by
jpc0
2y ago
Not going to give you any proper advice but rather a question to have an answer for. It's not unsolvable or even difficult but needs an answer at scale. How do you scale horizontally? User A connects to server A. User A's connecti
320.
▲
by
jpc0
2y ago
> This is why I created an abomination that uses go/ast and friends to generate the OpenAPI spec from the code OpenAPI is a spec not documentation. Write the spec first then generate the code from the spec. You are doing it backwa
321.
▲
by
jpc0
2y ago
Apparently I'm a sucked for bad jokez... It wasn't that good but the punchline actually got me a giggle...
322.
▲
by
jpc0
2y ago
What makes Vue or Svelte different? Is it more abstract? Is the state model simpler? I have my issues with react but I don't think a different framework necessarily solves those issues since those issues are explicitly with how you nee
323.
▲
by
jpc0
2y ago
> if it is unethical to make up bullshit ... what exactly is it ethical to make up bullshit for? I think you stumbled on an important thought experiment... One more AI apologist should ponder on...
324.
▲
by
jpc0
2y ago
There's more than just passwords in my password manager. 2FA cannot help you in all cases.
325.
▲
by
jpc0
2y ago
> Finally, remember that the only legal text you are bound by (if at all) is the actual text of the GPL license. It does not matter what Stallman says he intended with the GPL, or what the GPL FAQ says should happen in some fantasy land.
326.
▲
by
jpc0
2y ago
I mean if my password manger is compromised I'm pretty screwed anyway but this is a good idea too.
327.
▲
by
jpc0
2y ago
Regarding private keys and computers going in for repairs... I know it's not strictly best practice but store your private key in your password manager. That way if the worst happens you aren't up a creek...
328.
▲
by
jpc0
2y ago
My opinion. Assuming just because you have the ability to freely listen to everyone else drivel does not mean you made that decision freely. I am actively anti-social media myself, it's a hard stance I have and I have had to effectivel
329.
▲
by
jpc0
2y ago
> Very few of them are longer than 12 characters and even fewer don't have numbers and special characters at easily guessable positions Why yes because adding a $%^* at any point in your password easily increased the entropy and did
330.
▲
by
jpc0
2y ago
As another commentator mentioned, you have violated a precondition, there's no point trying to understand what would happen because its indeterminate.
More ›