Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kokada
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
151.
▲
by
kokada
1y ago
While not everything in Python's stdlib is great (I am looking at you urllib), I would say most of it is good enough. Python is still my favorite language to get stuff done exactly because of that.
152.
▲
by
kokada
1y ago
> There's something severely wrong with your setup if you can't get stable maven or gradle builds To be fair with OP, I had a similar experience in the previous company. Sometimes after bumping a dependency or something, even i
153.
▲
by
kokada
1y ago
> prior to astral appearing, python's tooling has been beyond terrible, compared to say, Java's I would concur with you if you said Go, Rust, Ruby, or even heck, PHP, but Java is probably the only language that I know that is i
154.
▲
by
kokada
1y ago
I think this post explains why much better than I can: https://mastodon.social/@pid_eins/112353324518585654 . So yes, I am not saying that privilege escalation bugs are impossible if you have a different architecture, b
155.
▲
by
kokada
1y ago
I am not sure if memory-safety is the biggest issue in sudo design. I find the fact that it is a setuid binary a much bigger issue because a bug can possible result in privilege escalation. I found an alternative implementation that doesn&#
156.
▲
by
kokada
1y ago
Yes. I think eventually the AAA game industry is going to crash and we will go back to smaller teams and less ambitious games, because it does seem unsustainable.
157.
▲
by
kokada
1y ago
I think the fact that you had to write a 4 paragraph about the process say more about it than anything.
158.
▲
by
kokada
1y ago
Not really, but one thing that bothers me is how unreproducible GraalVM is. AFAIK every distro that has binaries for it just repacks the binaries released from Oracle, and the last time I searched I couldn't find instructions on how to
159.
▲
by
kokada
1y ago
In my experience, for the 4G/5G network to be down something really serious must be happening. I had long power outages (more than a few hours, in some cases even days) that affected multiple regions in places that I lived before that
160.
▲
by
kokada
1y ago
Sure, but if we are talking about backup in outages you can also get credit card payments when power is down using something like a Stripe Terminal. This is actually exactly the case that I had in one trip to Andorra: the power was down for
161.
▲
by
kokada
1y ago
Android actually have a special mode for apps that needs to work after a reboot (e.g.: while the FS encryption is still locked), and Alarms is one of the apps that uses this special mode. I don't remember how it is called though so sor
162.
▲
by
kokada
1y ago
As someone said already, Markdown was designed to be compiled to HTML, and browsers are the best HTML renderers we have. While you can technically interpret it semantically and render it without a browser, you would still need to support HT
163.
▲
by
kokada
1y ago
Sure, but using Node would mean losing the advantage of this being a single static binary. Not everyone has Node installed already.
164.
▲
by
kokada
1y ago
Yes, exactly. For example Mermaid diagrams (that is supported in this project) can't be rendered in TUI (well, technically you can if you use something like Kitty's image protocol, but I think this is being pendant).
165.
▲
Show HN: A Standalone/GitHub CLI Extension to Preview GitHub Flavored Markdown
(github.com)
29 points
by
kokada
1y ago
|
11 comments
166.
▲
by
kokada
1y ago
This makes no sense, Android already will reboot itself after receiving an update and being inactive for a while (generally while charging it will install the update in its secondary partition, do some verification checks and reboot if ther
167.
▲
by
kokada
2y ago
I don't think most antibiotics distinguish between good and bad bacteria, you just kill the majority of them and wait until they reproduce themselves again (and hopefully only the good bacterias).
168.
▲
by
kokada
2y ago
> CSVs are the only "structured" format nobody can claim to parse 100% You don't need to though since in most cases you just need to support whatever CSV format the tool you're handling, unless of course you're t
169.
▲
by
kokada
2y ago
Thanks, I didn't know about this change and it is too late to use the "official means". I have to setup my Windows again and do it eventually though.
170.
▲
by
kokada
2y ago
I am thinking now a language that had the default allocator be a GC, but you could change it to something else using implicits/context and this is enfoced everywhere (e.g.: there is no way to allocate memory "from magic", you
171.
▲
by
kokada
2y ago
Interesting that I was thinking of a language that combined Zig and Scala to allocate memory using implicits and this looks exactly what I was thinking. Not that I actually think this is a good idea (I think the explicitly style of Zig is b
172.
▲
by
kokada
2y ago
I think one of the nice things about C is that since the language was not designed to abstract e.g.: heap is that it is really easy to replace manual memory management with GC or any other approach to manage memory, because most APIs expect
173.
▲
by
kokada
2y ago
> What is the state of WASM support in Go though? :) I am sure it is good enough that the team decided to choose Go either way OR it is not important for this project. > I doubt the ability to cross-compile TSC would have been a major
174.
▲
by
kokada
2y ago
What is the cross compilation support for NativeAOT though? This is one of the things that Go shines (as long as you don't use CGO, that seems perfectly plausible in this project), and while I don't think it would be a deal breake
175.
▲
by
kokada
2y ago
I am not saying that it can't be done, but I still find it a flawed solution. It probably works if your product is not really popular, but once you have anything remotely interesting and popular you can be sure that people will be anal
176.
▲
by
kokada
2y ago
But even this case doesn't make much sense. I expect that instead of adding the secrets inside the binary you will go through to the more traditional ensuring that the client is logged in and that the secrets are stored in the server.
177.
▲
by
kokada
2y ago
Probably a much better solution would be to store those as environment variables. I can't think any sane way where adding secrets to a binary would be useful unless you want to do something malicious with it.
178.
▲
by
kokada
2y ago
> You have two requirements that are at odds: Not really now that we have the AMD Strix Halo: https://arstechnica.com/gadgets/2025/02/review-asus-rog-flow... . The only available SKU right now is the above
179.
▲
by
kokada
2y ago
Hell, I would be happy if Apple at least enabled the virtualization instructions that are already available in the Mx chips inside the iPads, and allowed e.g.: something like UTM in Apple Store with Hypervisor support. It would be a good di
180.
▲
by
kokada
2y ago
> This hardware is really being held back by the operating system at this point. Apple could either create a 2U rack hardware and support Linux (and I mean Apple supporting it, not hobbysts), or have a build of Darwin headless that could
More ›