Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hgs3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
hgs3
2y ago
The levels are more Wolfenstein 3D than Doom.
152.
▲
by
hgs3
2y ago
> If you disagree consider what happens when a large tree is freed at the root. Isn't that an implementation detail of the GC itself? For example this RC algorithm [1] (which detects cycles) can be implemented by tracking free and p
153.
▲
by
hgs3
2y ago
Fragmentation is always a possibility unless you've handled it specifically, like with a moving garbage collector.
154.
▲
by
hgs3
2y ago
But why JSON and not CSV [1]? Most of what the article suggests, like formatting the output as lines and flattening, is how CSV works. CSV is much easier to parse than JSON (use split(",") or the equivalent). A complete record (JS
155.
▲
by
hgs3
2y ago
It would be nice to have something like this except for Metal. I'm unsure why Apple made Metal an Objective-C API when C + Core Foundation would suffice. One big advantage of a C API is it's easy to interop with other programming
156.
▲
by
hgs3
3y ago
Dark City (1998), Alex Proyas. This is an unmarketable movie. I consider knowing its genre to be a spoiler. It is one of those movies where the less you know about it, the better you're viewing experience. If you watch it you must wa
157.
▲
by
hgs3
3y ago
Ideally yes, but sometimes you need custom controls that are similar to existing ones. Example: Notepad++ is famously a vanilla win32 app, but uses the Scintilla code edit control rather than subclassing the native win32 edit control. Code
158.
▲
by
hgs3
3y ago
Is there a repository somewhere that documents these nuanced interactions? What annoys me when I'm developing native UI is I'm never sure my custom controls are capturing these nuanced behaviors. I shouldn't have to reverse e
159.
▲
by
hgs3
3y ago
It sounds like Parens is proposing a centralized mutual fund for closed-source license subscriptions. I'm going to disagree and say I'd rather not have a central authority behind this. Developers should be empowered to sell closed
160.
▲
by
hgs3
3y ago
I think the "everything app" already exists. It's called a web browser.
161.
▲
by
hgs3
3y ago
Sadly, I'm in agreement with the GP. I started programming freshmen year of high school on my own because my school did not offer courses. I also wrote my own fiction book and self-published it sophomore year. Whenever I showed my home
162.
▲
by
hgs3
3y ago
The problem with modern search engines is discoverability. If you search for something by name, then sure you're likely to find it, but if you want to web surf and explore new content, then you're out of luck. My typical search re
163.
▲
by
hgs3
3y ago
Absolutely. Anyone who doubts Google killed web surfing should try the Marginalia search engine [1]. Unlike Google, Marginalia presents novel and interesting results. [1] https://search.marginalia.nu/
164.
▲
by
hgs3
3y ago
The OSI is the same way [1] and they are the ones pushing for business friendly non-copyleft licenses. [1] https://opensource.org/sponsors
165.
▲
by
hgs3
3y ago
You and I must have different ideas of "pleasure to code." The appeal of Computer Science for me is learning how things work at a deeper level, tracking every bit and byte, and pushing performance to its limits. The pleasure is in
166.
▲
by
hgs3
3y ago
Is disabling the compromised repo the typical GitHub policy? My concern is there are monorepos used by package managers, like brew, that are a collection of thousands of projects [1]. These monorepos seem like a prime target for attack and
167.
▲
by
hgs3
3y ago
Autoconf is m4 macros and Bourne shell. Most mainstream programming languages have a packaging system that lets you invoke a shell script. This attack is a reminder to keep your shell scripts clean. Don't treat them as an afterthought.
168.
▲
by
hgs3
3y ago
I don't understand why you were downvoted. Having fewer moving parts does make it easier to catch issues.
169.
▲
by
hgs3
3y ago
You solve this by using a layout control (a UI control specifically for managing the size/position of its child controls). For example using a visual form builder you could drag-n-drop a "vertical layout control" and then dra
170.
▲
by
hgs3
3y ago
The GNU FAQ addresses this [1]. If the binaries are communicating intimate information, then they are considered combined. If they can function independently or they are based on open protocols, then they can be considered separate. Ask you
171.
▲
by
hgs3
3y ago
The authors main bullet points are: > The learning curve is minimal since you already know the corners of the language. Learning a new language shouldn't be difficult. Programmers are expected to familiarize themselves with new tech
172.
▲
by
hgs3
3y ago
> there is a cost associated to having another language Could you elaborate?
173.
▲
by
hgs3
3y ago
What a coincidence I'm looking for an RSS client right now.
174.
▲
by
hgs3
3y ago
> What else would you use to represent a syntax tree? For unit tests I've used pretty-printed JSON. Text editors syntax highlight it plus you can leverage an off-the-shelf JSON library rather than writing your own s-expressions seri
175.
▲
by
hgs3
3y ago
I don't think any technology ever really "dies" CVS included. There are shops using perforce (a proprietary centralized version control system) as their SCM. It is true CVS is less popular in open source, but I think that has
176.
▲
by
hgs3
3y ago
That's my bad. I should have opened with my context first (see my remark about "I tried the articles suggestion") instead of sharing my conclusion.
177.
▲
by
hgs3
3y ago
Is this a non-issue for applications that have explicitly opted in to UTF-8 [1]? [1] https://learn.microsoft.com/en-us/windows/apps/design/global...
178.
▲
by
hgs3
3y ago
The "workarounds or other code contortions" I'm talking about is the focus of the article. The point of the article is that safe Rust cannot directly represent circular data structures and therefore you need workarounds to
179.
▲
by
hgs3
3y ago
This is what bothers me about using Rust: it seems like Rust is trying to be both a systems language and a higher-level glue language in one, but (for me) it is cumbersome at both. If I need to write higher-level code then I'd rather
180.
▲
by
hgs3
3y ago
You can make garbage collection deterministic. Tracing collectors can be designed to accept a timeout so you can "collect" during downtime and resume execution on a predictable schedule. And with reference counting the cost of RC
More ›