Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
koito17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
211.
▲
by
koito17
2y ago
> I assume this was some toy compiler I dont know the definition of "toy compiler", but compare the following (x86 backend vs arm64 backend) https://github.com/Clozure/ccl/blob/d960a0e/compil
212.
▲
by
koito17
2y ago
This paragraph caught my attention This [variable-length coding] is a disadvantage for x86, yet it doesn’t really matter for high performance CPUs ... Why are they leaving out difficilty of building a compiler backend when the ISA ha
213.
▲
by
koito17
2y ago
CSS-in-JS solutions like Emotion provide something close to that! But they come with some drawbacks (e.g. needs careful setup for server-side generation, spends a few CPU cycles translating to CSS, breaks memoization unless one uses deep ob
214.
▲
by
koito17
2y ago
I've understood the point of Tailwind to be two things: 1. Allow styling to co-exist with your DOM layout rather than separate files 2. Provide a ready-to-use style system built atop utility classes Emphasis on "utility classes&qu
215.
▲
by
koito17
2y ago
GCL, the Google Closure Library was sunset and this was announced almost a year ago on the mailing lists. The archiving was scheduled for 2024-08-01. GCC, the Google Closure Compiler , is still used by Google internally and they are shif
216.
▲
by
koito17
2y ago
> At its heart, Kubernetes is a workload scheduler Wouldn't it be more accurate to state Kubernetes at its core is a distributed control plane? You want something that inspects the state of a distributed system and mutates it as nec
217.
▲
by
koito17
2y ago
First, great tool! The README makes me want to try it immediately. I love how the Kubernetes client for Go is always the culprit for adding dozens of megabytes to binary sizes. Thankfully, its impact on binary size is decreasing as the code
218.
▲
by
koito17
2y ago
I use Clojure professionally, but it's readable to me. I would personally encode the color merging rules differently since it looks too obscured as-is. But I think what doesnt help is the lack of types (or schemas) and the unhelpful fu
219.
▲
by
koito17
2y ago
Thanks for the answer. I learned that the backend is implemented in Clojure, so presumably de-serializing JSON means client-side queries trivially become Clojure data usable for databases like Datomic, Datascript, etc. I noticed Postgres is
220.
▲
by
koito17
2y ago
Datalog is a subset of Prolog, both of which predate SQL. By your logic, we should be asking what was the point of SQL.
221.
▲
by
koito17
2y ago
The datalog syntax has me curious. It looks like a JavaScript "port" of Datomic's Datalog syntax. Have you considered using other forms of Datalog that are seemingly more compatible with JavaScript? See https://en.
222.
▲
by
koito17
2y ago
For real-time collaborative editing, consider experimenting with https://github.com/zaeph/crdt.el
223.
▲
by
koito17
2y ago
The internals of OpenJDK may use either Latin1 or UTF-16, but the Java API , as of Java 18, defaults to the UTF-8 character set for string operations and text codecs.[1] Just like the standard APIs of Mac OS default to UTF-8 text encod
224.
▲
by
koito17
2y ago
Anecdotally, I have never seen Windows widely used for development, outside of .NET shops (but that shouldn't be a surprise). Moreover, there's plenty of quirks Windows has with respect to: - Unicode (UTF-16 whereas the world is U
225.
▲
by
koito17
2y ago
I will agree that some TS libraries have insanely complicated types, and compared to other programming languages I have used (e.g. Clojure), it takes a longer time to understand library code. But the example provided here doesn't seem
226.
▲
by
koito17
2y ago
Seems like an attempt to bring "lockfiles" or related concepts to Quicklisp. This is a desperately needed quality-of-life improvement for "modern" Common Lisp development. However, I wish people in the Common Lisp commun
227.
▲
by
koito17
2y ago
cond is neither an operator nor a statement, it's an expression. This is a demonstration of a conditional expression handling multiple conditions, which GP wanted. More importantly, pattern matching is not necessary here.
228.
▲
by
koito17
2y ago
Not necessarily. In many Lisps you can bind the result of a condition like so. (let [thing (cond pred-1 form-1 ... pred-n form-n)] (do something with thing)) This makes laying out R
229.
▲
by
koito17
2y ago
Sure, Nix is extremely flexible in input definition, but it's different in the sense that Homebrew exposes a single command to e.g. install a cask from a user-inputted GitHub repository. So all an attacker needs to do is typo squat or
230.
▲
by
koito17
2y ago
Before moving to Nix, I was using MacPorts since Homebrew had some...eccentric behavior at the time (didn't work with multi-user setups, owned your /usr/local, lots of "works on my machine" problems from auto-updati
231.
▲
by
koito17
2y ago
I've never really liked Windows XP, but this video is a bit dishonest. As other commenters have pointed out, at around the 2 minute and 50 second mark, the person has a search query for "xp sp3 worm" in Internet Explorer. Whi
232.
▲
by
koito17
2y ago
vectors don't use equal comparison whereas strings do This behavior is required by the specification. From https://www.lispworks.com/documentation/HyperSpec/Body/f_equ... , Two arrays are equ
233.
▲
by
koito17
2y ago
Is there a particular reason this uses Chrome-specific APIs instead of the standard WebExtensions API? I have considered experimenting with web extensions, but wondering what the practical limitations of the standard API are compared to the
234.
▲
by
koito17
2y ago
Each equality function, at least in Common Lisp, has a distinct goal. Numbers use = if you don't care about type. For instance, the real number 0 and the complex number 0 + 0i would be treated equal by this function. Do you care about
235.
▲
by
koito17
2y ago
Who decides what is "boring"? Plenty of people have stuck with React for nearly a decade and components just as old continue to work in the latest version of React. Meanwhile, Vue 3 is such a breaking change from Vue 2 that people
236.
▲
by
koito17
2y ago
Minio assumes each node has identical hardware. Garage is designed for use-cases like self-hosting, where nodes are not expected to have identical hardware.
237.
▲
by
koito17
2y ago
Typed Clojure is interesting. However, until two months ago, it was practically unusable for most Clojure projects because of the lack of type inference in higher-order functions. This has changed, but there's another huge problem: nob
238.
▲
by
koito17
2y ago
> I still don't get how Java records can be used for anything like a DTO In Clojure, we often deserialize a result set from a database to a vector of maps. These maps have different keys depending on what exactly your query was sele
239.
▲
by
koito17
2y ago
Yup. I learned Clojure just so I can use a Lisp and get paid for it, but there is some weird cult against all forms of typing. Even coming from a Common Lisp background, this was strange to me. In Common Lisp, there are implementations (lik
240.
▲
by
koito17
2y ago
For amusement, I tried inputting <applet>, <center>, <font>, <marquee>, and <object>, but the form declared them all invalid. I vividly remember using these over a decade ago. There are a few sites still using
More ›