Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jschlatter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jschlatter
8mo ago
They started with Ink but have since switched to their own renderer: > We originally built Claude Code on Ink, a React renderer for the terminal. [...] Over the past few months, we've rewritten our rendering system from scratch (whi
2.
▲
by
jschlatter
4y ago
> They have the technical means to control what goes on there or not. They have less control than you may think. Any ethereum miners (or proof-of-stake validators) who block some class of transactions immediately become vulnerable to den
3.
▲
by
jschlatter
5y ago
I do subscribe to channels and my feed is also flooded with these scams. (Though usually it is not this bad -- it got much worse starting on the day of SpaceX's Inspiration 4 launch.) I'm assuming the algorithm is showing them to
4.
▲
by
jschlatter
5y ago
You're not the only one. I've been getting annoyed by these, too. I was encouraged today to discover that youtube has a report history page that lets you know the outcome of your reports. Most of the videos I've reported have
5.
▲
by
jschlatter
11y ago
LiteIDE was probably using gdb as a backend. gdb is not a very reliable debugger as of the last few Go releases. Here's a demo of a common failure mode of gdb on Go: occasionally running the entire program when you try to take a single
6.
▲
by
jschlatter
11y ago
Thanks for the concrete example. The transformed source code that would get compiled for this example looks like: scope.Declare("x", &x) godebug.Line(ctx, scope, 3) x = 1 godebug.Line(ctx, scope, 4) x = 2 godebug
7.
▲
by
jschlatter
11y ago
"Also, having the debugging library alter the semantics of the program is 100% guaranteed to lead to bugs that are not visible when using the library, etc" Can you give an example of the kind of bug you expect to see?
8.
▲
by
jschlatter
11y ago
Thanks! gopherjs is a really great project. This was my first time using it and I was impressed. I've considered putting it up as a permanent playground like http://play.golang.org , where you can debug little Go snippets on
9.
▲
by
jschlatter
11y ago
Yeah, that should be relatively easy to do. We would just skip the "am I the goroutine under the debugger" check here [1] and add some kind of channel communication here [2]. The hardest thing is probably just the UI. How should t
10.
▲
by
jschlatter
11y ago
Good question. I think https://news.ycombinator.com/item?id=9411158 is right, but I haven't looked at it closely yet. Thanks for bringing it up!
11.
▲
by
jschlatter
11y ago
Author here. Yes, only one goroutine is paused at a time. I'm planning to add commands to show and jump between goroutines. Still sketching those out, though. Do you think it would be helpful to have multiple goroutines paused by the d
12.
▲
by
jschlatter
11y ago
> Another is that you may inadvertently corrupt or change the behavior of the code in an unintentional way if you modify it incorrectly I'm concerned about this, too. One of my next high priorities for godebug is to download many op
13.
▲
by
jschlatter
11y ago
Thanks, I didn't know that. The go/token docs don't say much about it. Do you know if there is better documentation somewhere?
14.
▲
by
jschlatter
11y ago
Author here. I agree that this could cause surprises. Are there specific cases you have in mind? Two cases I have thought of are stack traces and logging that inspects the stack. In the former case, if you get a stack trace while debugging
15.
▲
A cross-platform debugger for Go
(blog.mailgun.com)
379 points
by
jschlatter
11y ago
|
62 comments
16.
▲
by
jschlatter
13y ago
I made a very similar extension last week ( https://chrome.google.com/webstore/detail/always-smile/fpaap... ) and encountered this issue, too. You can resolve it by going to http://smile.amazon.com