Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sdegutis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
541.
▲
by
sdegutis
8y ago
> "We fully embrace Javascript as dynamically typed language and when one does this, types on most cases will become irrelevant." That's not dynamic typing, that's weak typing. Dynamic typing just means the types ar
542.
▲
by
sdegutis
8y ago
So it’s the difference between crash early (C) and don’t crash but run wrong (Rust), inherent by design in the main selling point of Rust (borrow checker)?
543.
▲
by
sdegutis
8y ago
How about something phonetic like Slashy Slash (a la Marky Mark)?
544.
▲
by
sdegutis
8y ago
Yep, I use TypeScript for the exact same reasons. Although I've been bitten a couple times by its unsoundness (specifically with mismatched function arity in an interface) and looked briefly at ReasonML as a possible alternative. But t
545.
▲
by
sdegutis
8y ago
I don't think most casual iPhone users are going to see privacy as a primary feature to look for, but it is extremely frustrating that half the time I try to use Siri for basic things like "call my wife", it just spins and sp
546.
▲
by
sdegutis
8y ago
> "But Google and Amazon are betting that the next of wave of computing products will be AI-directed services" That seems like a stretch of a conclusion. Amazon has been excelling at cutting out the middleman and reducing cos
547.
▲
by
sdegutis
8y ago
Also how much content they contain. You could go through a new comic in 20 minutes flat. Game Gears could last a few hours. Android phones provide endless content.
548.
▲
by
sdegutis
8y ago
Yes but it would need to be highly coordinated by a bunch of competing parties with opposing interests who are probably only going to agree on anything when the status quo hits a serious breaking point and not a second before that. Look at
549.
▲
by
sdegutis
8y ago
If perf is important, I'm surprised you're using Love2d and not just using C++ with SDL and Box2d directly. Afaik Love2d just uses vanilla Lua (and not LuaJIT) which, while faster than similar languages, is still pretty wasteful o
550.
▲
by
sdegutis
8y ago
I don't think it's just similar, I think it actually is prototypical.
551.
▲
by
sdegutis
8y ago
Maybe, but my use-cases (window manager and other automation stuff) don't really have a strong need for speed or high performance. Mostly it just sits there idle 99% of the time and runs callbacks quicker than the UI that it manipulate
552.
▲
by
sdegutis
8y ago
In both languages objects double as arrays, although they do this slightly differently. But the differences are mostly superficial.
553.
▲
by
sdegutis
8y ago
My JS-embedded apps only target macOS so I use Apple's builtin JavaScriptCore framework.
554.
▲
by
sdegutis
8y ago
Lua predates PHP by 2 years, and I'm sure this combination of arrays and hash-maps predates both languages. Either way, I'm not sold on it. Arrays and hash-maps are fundamentally different, not only for optimization's sake[1]
555.
▲
by
sdegutis
8y ago
I've been a fan of that talk since 2012, and I agree that JS is full of bad decisions (but hindsight's 2020). But I use JS every day for work and probably the only gotcha I actually run into is due to hoisting, which my linter (ts
556.
▲
Sparkling: a dynamic, lightweight, extensible, universal scripting language
(h2co3.github.io)
2 points
by
sdegutis
8y ago
|
0 comments
557.
▲
by
sdegutis
8y ago
Lua is amazing in that it is very small, portable, and easily embeddable. But aside from those three things, Lua is semantically almost identical to modern JavaScript. I've embedded both and used them heavily in my various window manag
558.
▲
by
sdegutis
8y ago
Lua tables are semantically almost identical to JavaScript objects. The one key difference is that any object can be a key in a Lua table, whereas all JS object keys are coerced into strings. The other more minor difference is that you use
559.
▲
by
sdegutis
8y ago
Right, seeing by example is how we learn most basic soft skills. But if you're staring at your Nintendo 3DS (or Sega Game Gear like I was gifted as a 5 year old) when your parents drag you along to parties or to the grocery store or wh
560.
▲
by
sdegutis
8y ago
The fact that this kind of article needs to be written in the first place seems to confirm that there's so many basic things that people just don't learn how to do anymore, because exponential advances in technology have changed o
561.
▲
by
sdegutis
8y ago
I've actually gotten a lot of job interviews through LinkedIn that eventually turned into job offers. Never posted anything, didn't network with anyone, just uploaded my resume, set a header image, and that was it. I've delet
562.
▲
by
sdegutis
8y ago
Evan actually makes $16k/month [1]. Wow. If only I could figure out how to make a quarter of that from my open source work, I'd be in business. [1] https://www.patreon.com/evanyou
563.
▲
by
sdegutis
8y ago
My patreon is on my HN profile, but I plan to put it in the readme of a new open source window manager I've been working on when I announce it. I figured out a way to emphasize ease of use and user experience so much more than I was ab
564.
▲
by
sdegutis
8y ago
Actually come to think of it, I've made some open source apps that people asked if they could donate to, because they were so excited by the possibilities my apps created, and by the convenience they now had because of them. I create
565.
▲
by
sdegutis
8y ago
You're right. I deleted that part of my comment. It was more ranty than I prefer to be. And I had things like Google and Facebook in mind, and 99% of the free games on the App Store or web.
566.
▲
by
sdegutis
8y ago
Well designed software focused on user happiness doesn't make money. All those things that we hate, they are put in there because they make money.
567.
▲
by
sdegutis
8y ago
Macros are a kind of function that have the ability to hide a lot of things, including control flow, and often do, which often makes them unable to be composed. That's why I put them between languages and libs. They're a little le
568.
▲
by
sdegutis
8y ago
APL seems to require buying another keyboard just to edit it. Maybe an IDE can help me type SD←((+/((X - AV←(T←+/X)÷⍴X) 2))÷⍴X) 0.5 but I'm not really sure I want it to. AWK is highly specialized to interpret ad hoc data stru
569.
▲
by
sdegutis
8y ago
Lumen looks interesting, but where is the implementation source? Both compiler.js and compiler.lua look like they were produced by some compiler out of an original source file that I can't find in the repo itself.
570.
▲
by
sdegutis
8y ago
Clojure had this same property, and it seems like a benefit at first: because new "language features" aren't tied to releases of the language, anyone can create them and instantly share them with the community for everyone to
More ›