Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hajile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
841.
▲
by
hajile
3y ago
The tenor of the complete message is the OPPOSITE of what your misquote implies. > A couple of weeks ago, I was watching video of people fighting on the street in Washington. A group of Trump guys surrounded an Antifa kid and started pou
842.
▲
by
hajile
3y ago
There's a guy in a massive yacht who won't let anyone on board. You're in a one-man lifeboat. But you say you're simply too well off compared to the people swimming in the water.
843.
▲
by
hajile
3y ago
What about the N number of NaN values that are treated the same, but are physically different values?
844.
▲
by
hajile
3y ago
Those REPLs aren’t even close to Common Lisp. Common Lisp borrowed parts of the smalltalk development strategy. You can start a process and gradually update it in very sophisticated ways as you live code against it. You wouldn’t dream of pa
845.
▲
by
hajile
3y ago
The most frequently access parts of the site are always in flux with users constantly adding, removing, and editing content. I don’t know how you could statically generate that. At most, you could memoize the parts of the page that haven’t
846.
▲
by
hajile
3y ago
Definitely not. Guy Steele was involved in the specs for C, JS, Fortran, scheme, Common Lisp, and Java (among others). He gave a must-watch talk about Java called “Growing a Language”. https://youtu.be/_ahvzDzKdB0 He makes
847.
▲
by
hajile
3y ago
I have some reasons. * Even the fastest of the schemes is slower than SBCL. * The interactive development features in Common Lisp are there because they got baked into the spec. They aren’t really a thing with scheme. * Common Lisp has a sp
848.
▲
by
hajile
3y ago
Check out Coalton.
849.
▲
by
hajile
3y ago
It falls short in several key ways. First, it has no macros. The ability to metaprogram in Python is practically nonexistent compared to Lisp. Second, it has no usable lambda (being limited to a single expression in a non-expression oriente
850.
▲
by
hajile
4y ago
Scramjets don't even become operational until mach 5. How would they get this plane off the ground in the first place? The logical answer is a combined-cycle engine, but there are slim pickings here. The X-43 used a combined-cycle rock
851.
▲
by
hajile
4y ago
I love the idea because it makes typeclasses possible, but not super-easy which means devs will be discouraged from making Haskell's typeclass soup.
852.
▲
by
hajile
4y ago
In my observation, private schools (outside the most ritzy ones) are usually VERY hesitant to remove students because they can’t afford the revenue loss while public schools get the same money either way. The ability to separate good studen
853.
▲
by
hajile
4y ago
Singleton is orthogonal to namespaces. One is about data creation and the other about naming stuff. If I want to create new pieces of data, I have to make an allocation with a constructor. Reusing methods provided by modules is effectively
854.
▲
by
hajile
4y ago
There’s merit to this view, but it lacks wisdom. Why send money just because? People are then going to ask why they are sending the money instead of lowering federal taxes and increasing state taxes. The truthful answer “we’re taking money
855.
▲
by
hajile
4y ago
That’s an absurd reductionist argument. I could argue that the actual implementation of them is subroutines, so it’s actually imperative programming, but that would also be absurd. There’s also a case that using those methods is indistingui
856.
▲
by
hajile
4y ago
Why do you say that? You may `import * as Foo from “foo”` to create a closed namespace.
857.
▲
by
hajile
4y ago
That’s what I said, but from the other end. I started with fixed Federal subsidies (which actually transfers money from wealthy states to poor states) then individual states can optionally set higher limits by adding their own money too.
858.
▲
by
hajile
4y ago
That’s confusing causes and effects. This paper is making the case that if a person makes it to college, they won’t be discriminated against while there. The question of whether they make it to college is a far different one. Whether someon
859.
▲
by
hajile
4y ago
I’ve come to the conclusion that progressive taxes do the opposite of their intent. Looks at tax revenue vs GDP. No matter the tax rates, the percentage stays the same (fluctuations within a couple points) regardless of official tax rates.
860.
▲
by
hajile
4y ago
This you get the argument for child tax credits. Let the money follow the child instead of the school. In my area, private schools routinely offer much better education at a fraction of the expenditure per child. Loads of money simply disap
861.
▲
by
hajile
4y ago
JS allows `”abc” > 124` and `with` but that doesn’t mean you’re forced to use them.
862.
▲
by
hajile
4y ago
Modules already offer private variants and methods. The only real difference is less boilerplate, more customization, no confusing edge cases, and not allowing the inheritance footgun.
863.
▲
by
hajile
4y ago
F# pipes offer all the functionality for common use cases and none of the weirdness of hack.
864.
▲
by
hajile
4y ago
You care very much the second your reactive library mysteriously breaks. JS has modules that offer variable privacy that doesn’t cause all the issues of private fields.
865.
▲
by
hajile
4y ago
Don’t forget to write off reactive libraries and a bunch of other stuff too. The proxy problem is bigger than the “people don’t respect my authority” problem that led to private fields in the first place.
866.
▲
by
hajile
4y ago
Proxies added new features that couldn’t be emulated. Class syntax added nothing of intrinsic value, but also succeeded in creating an entire generation of “Senior” JS developers who don’t understand prototypal inheritance in general and th
867.
▲
by
hajile
4y ago
If they didn’t want other use cases, they should have rethought the feature. The reality is that proxies came first. They see a LOT of use in reactive libraries making it very likely that your classes get passed into one these proxies (and
868.
▲
by
hajile
4y ago
If they begin with an underscore, they are internal. This has been convention for decades now.
869.
▲
by
hajile
4y ago
I think it’s commonly understood in the JS community: If you modify a library property with an underscore, you are on your own. Adding a broken feature that was widely criticized for years (more than any other JS feature before it was added
870.
▲
by
hajile
4y ago
Even worse, it came at the expense of other things. Records and tuples for example aren’t controversial. They are primitives and therefore solve a few quirks that come from objects. They should also radically improve performance because use
More ›