Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spartanatreyu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
spartanatreyu
8d ago
I always did it as: /**/ Debug code to toggle on and off /**/ Other debug code to toggle on and off /**/ And toggled by removing the last slash on one of the comment lines. Having two `*` char
2.
▲
by
spartanatreyu
11d ago
Yes, which is why you don't stop at rust. You would choose rust (from a security standpoint) because it massively reduces memory safety issues (which from a Microsoft study was responsible for around 70% of bugs). Then you look at thin
3.
▲
by
spartanatreyu
11d ago
Humans did do it before. ------------------------ It's also worth pointing out that the developers at Mozilla literally decided to make a brand new programming language (Rust) that eliminated an entire categories of bugs and started wo
4.
▲
by
spartanatreyu
11d ago
> I'm looking forward to trying out Safaris new ability to vibe code extensions that will modify websites to remove annoyances. Sounds like a great way for people to get hacked.
5.
▲
by
spartanatreyu
11d ago
> AI is helping patch previously unrealized holes. AI is also making plenty of holes. I have not seen a single case of anything that an AI has found that could not have been automatically found without AI.
6.
▲
by
spartanatreyu
15d ago
Well duh, this is how codepen works! Try this: 1. Open one of your codepens 2. Now open the same codepen in a different window so you have two open at the same time 3. Now type in one window 4. Watch it s̶e̶n̶d̶ ̶y̶o̶u̶r̶ ̶c̶h̶a̶n̶g̶e̶ ̶t̶o
7.
▲
by
spartanatreyu
15d ago
> Triple fold just seems awkward as heck, plus you have to design the UI for it around the fold section. You don't have to design UI around the fold, it's seamless in regular use. It's just a tablet.
8.
▲
by
spartanatreyu
16d ago
Movement is solved by tracking the camera's position and projecting the background from there. Proof of captured image with hardware-based-attestation can be increased by adding extra information besides the RGB channels, like depth ma
9.
▲
by
spartanatreyu
16d ago
> What's up with all the negativity? It's the horrible form factor. I listed the 3 ways to make a folding phone (with examples) in my comment here: https://news.ycombinator.com/item?id=49636355 If they had chos
10.
▲
by
spartanatreyu
16d ago
> I think the Duo looks great. I could not disagree more. There are 3 ways to fold a phone: 1) The trifold: A phone that folds out into a tablet. (e.g. https://consumer.huawei.com/my/phones/mate-xt-ultimate-desi
11.
▲
by
spartanatreyu
1mo ago
> JXL was dead. Apple is who brought it back to life No, it was actually the PDF Association. They added JXL to the PDF standard. If google wanted to maintain support for displaying PDFs, they would need to add support for JXL.
12.
▲
by
spartanatreyu
1mo ago
Remember all those times you needed to make a change to something a few minutes before it was submitted/presented? Imagine if you couldn't, because you needed to charge your mouse first.
13.
▲
by
spartanatreyu
1mo ago
Not true. MacOS releases a new version each year, the current MacOS landscape looks like: - MacOS Sequoia (previous version, everything works as expected) - MacOS Tahoe (current version, broken experience, basically Apple's "Windo
14.
▲
by
spartanatreyu
1mo ago
> This will once and for all silence all those paid-shills that are calling out that A.I. will replace all software developers. Nah, they'll just shift the goalposts again.
15.
▲
by
spartanatreyu
1mo ago
Deno, it has a standard library and a security model.
16.
▲
by
spartanatreyu
1mo ago
You wouldn't want to hide scrollbars though. You'd want to make it so either: a) There is nothing to scroll in the first place, so you don't need a scrollbar b) Capture the pointer so all interaction only occurs within the ga
17.
▲
by
spartanatreyu
1mo ago
> Browsers seem to release a major new version like every 2 weeks now. So this statement does no longer hold true. You'll have a lot of users with broken results, if you follow that advise (everyone who uses a ESR or is otherwise li
18.
▲
by
spartanatreyu
1mo ago
Baseline is already shown on both caniuse and mdn, which is why I suggested them.
19.
▲
by
spartanatreyu
2mo ago
> I always tell myself that I should use backwards-compatible CSS only. > > I vividly remember IE and many hacks to have css elements properly working in it… The common advice now is to only use CSS that is supported in the last t
20.
▲
by
spartanatreyu
2mo ago
This is the first time I've ever heard Xcode be called clever. Side note: This feature is in vscode: https://code.visualstudio.com/docs/editing/userinterface#_mi...
21.
▲
by
spartanatreyu
2mo ago
> It's an invention that can invent things on its own No. It can't invent things on its own, it repeats what it's already seen. People keep seeing LLM outputs without seeing the original source first, then exclaim: The LLM
22.
▲
by
spartanatreyu
2mo ago
This reminds me a lot of the articles at: https://ciechanow.ski/archives/ Not just in terms of presentation, but also quality. Amazing!
23.
▲
by
spartanatreyu
3mo ago
You can, the file just has to be named "index.html".
24.
▲
by
spartanatreyu
3mo ago
> this TS migration started long before AI was able to help Yes, but that doesn't mean it wasn't also "helped" along by AI. See: 1. https://github.com/microsoft/typescript-go/pull/1387
25.
▲
by
spartanatreyu
4mo ago
Deno's permissions are closed by default. Node's permissions are open by default. --- Let's suppose that node and deno both have the same 20 permissions. If we have a project that needs read access to one specific folder and
26.
▲
by
spartanatreyu
4mo ago
We already have alternative and superior proposals, it's called Deno. It's node + npm compatible and its permission system locks everything down by default. If you know ahead of time, you can turn on which permissions something is
27.
▲
by
spartanatreyu
4mo ago
It's not just the terrible charging that makes it a bad product. It's also the terrible ergonomics. It's the epitome of putting form before function. It's a desk ornament that leads to frequent injuries with use. See: h
28.
▲
by
spartanatreyu
4mo ago
It's the first color of the rainbow: Red
29.
▲
by
spartanatreyu
4mo ago
Except that % is already used to encode something else. Now if someone else a URI, is there going to be any confusion on how many times a URI needs to be decoded? If the answer is yes, then we have a problem. (and by looking at the other co
30.
▲
by
spartanatreyu
4mo ago
Since it was spat out by an LLM, why not: Sloppy?
More ›