Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sk0g
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
sk0g
3y ago
And C# iterates at a rapid pace, with lots of language features being added, some of which would would not be possible in TS. C# is in some ways less shackled by the runtime it has to target, while TS compiles away entirely. The CLR can be
32.
▲
by
sk0g
3y ago
If the Typescript team got carte blanche to create their own language, it would likely be... C#. TS is complicated and chaotic because the language it compiles down to is. TS' aim is to model the behaviour seen in JS in a flexible, use
33.
▲
by
sk0g
3y ago
Haven't heard of Zed before, feels pretty snappy! Will try it out some more on other projects, though I can't tell how to set it up with PyEnv packages off the bat.
34.
▲
by
sk0g
3y ago
Ironic for an Australian co's GitHub alternative to be less responsive than GitHub itself in Australia.
35.
▲
by
sk0g
3y ago
You don't need an LLM to be able to write SQL though?! Aside from attempting to shove LLM into every conversation, I'm failing to see its relevance here. You still have to learn the ORM syntax and quirks as well, since they may be
36.
▲
by
sk0g
3y ago
Coupling is only implicit if you use a dynamically typed language. Also, in languages with UFCS func(obj, something, else) can be expressed as obj.func(something, else). The calling syntax can thus remain the same even without defining the
37.
▲
by
sk0g
3y ago
Because a lot of physics simulations and actor ticking is either reduced, or turned off entirely, when not within close proximity of the player. There are only so many CPU cycles in 1/60 seconds, so games have to be selective about wha
38.
▲
by
sk0g
3y ago
All of that within the first 30 minutes though! I would probably take that long to stand up a DB for testing locally, re-learn $DB's table creation syntax, and connect to it from $lang.
39.
▲
by
sk0g
3y ago
Those are the most project manager estimates I've ever heard! Security seems to be missing entirely from the requirements, for one thing. Access control as well.
40.
▲
by
sk0g
3y ago
I don't know about the industry as a whole, but at least the (early) Rust community evangelism seemed to have a lot of them involved.
41.
▲
by
sk0g
3y ago
Just curious, is there a way to define typed DTOs or things like Pydantic models, and then parse blobs of JSON into said classes, all leveraging the type annotations? I know it all gets compiled away in JS and all, but Pydantic is surprisin
42.
▲
by
sk0g
3y ago
Absolutely, currently remaking and old arcade game (SAMI) with a team that has skills beyond engineering, because engineering and a bit of guitar is about all I have time for :) It's a great way to learn a lot, and it has definitely he
43.
▲
by
sk0g
3y ago
Yeah coming from Australia, the ramens were like $5 a pop instead of $20+. I couldn't even cook it for as little, never mind the labour costs involved. Oh and the food was amazingly fresh and tasty, without too much in terms of flavour
44.
▲
by
sk0g
3y ago
Even in Australia, AEST has a DST flavour and a non-DST one. Queensland does not observe DST while the other states do. You can drive around a roundabout at the border and switch timezones for fun. Or go down there to celebrate the new year
45.
▲
by
sk0g
3y ago
Maybe the temperature is meant to be "oven equivalent"? Our air fryer goes up to 200C, but at that range it's closer to 250C on convection ovens. Your theory is probably right though, of course.
46.
▲
by
sk0g
3y ago
> уіþ Was the thorn really a part of old Cyrillic? Would make some sense given the shared history, but still. > И I struggled for a bit with this one, but I don't know of a better way to represent it other then "ai" in
47.
▲
by
sk0g
3y ago
It's funny, in a few dynamically typed projects I've noticed people start treating some code as append-only. The fear of getting bitten means reinventing the wheel is a more palatable prospect than diving into the inexplicable hor
48.
▲
by
sk0g
3y ago
Sega do not produce games to drive console sales. Nintendo's games rarely, if ever, hit other platforms.
49.
▲
by
sk0g
3y ago
Build a super app that contains an in-house variant of almost everything that becomes popular. WeChat for example.
50.
▲
by
sk0g
3y ago
I'm not pushing anything, just haven't seen pass-through proxy that has a similar failure mechanism for when websites are down. They have enough of a market share without me promoting them anyway.
51.
▲
by
sk0g
3y ago
I guess a caching layer could help, like CloudFlare's DDoS protection that still tries to serve a page if a cached version exists. At that point I'm not sure if it's functionally different to syncing markdown files to somethi
52.
▲
by
sk0g
3y ago
Am I missing something, is the name/reference just "cacao"? Many languages spell cocoa that way, so I would take the name as cocoa-but-exotic or cocoa-but-foreign.
53.
▲
by
sk0g
3y ago
Writing Python is great, maintaining it is miserable. Conversely, writing Go is miserable, but maintaining it is great. Logically, the best of both worlds my work has arrived at is Python and on-call for more senior engineers... Fuck. The s
54.
▲
by
sk0g
3y ago
Now I wonder if there's correlation to a developer's preferred language, and their outlook in life. Do Gophers live under a shroud of nihilism, while Pythonistas run about their business laissez-faire, leaving issues for others or
55.
▲
by
sk0g
3y ago
I wrote a simple Monte Carlo implementation in Python 3.11 and Rust. Python managed 10 million checks in a certain timeframe, while Rust was could perform 9 billion checks in the same timeframe. That's about a 900x speedup, if I'
56.
▲
by
sk0g
3y ago
No, every microservice or new project/ tool get its own repository. There's new ones being created quite frequently, so I have ~10 repositories cloned that most relate to the work I do, but nothing beyond that.
57.
▲
by
sk0g
3y ago
The current results are... whelming, but this technology could be an invaluable boon to indie game developers and hobbyists. It may not be long till it's viable -- at least for rapid prototyping stages.
58.
▲
by
sk0g
3y ago
It's opinionated, but it's not _that_ opinionated IMO. You can write awkward Java, shiny C, or whatever idiomatic Go is. Most people I worked with were from .net/Java worlds, and learned just about enough Go to be able to sub
59.
▲
by
sk0g
3y ago
My biggest qualm with Go is exactly this. Especially when deserialising data, data that wasn't sent vs empty/default data can be quite different things, yet you have to be very wary of the values you are processing. Ints default t
60.
▲
by
sk0g
3y ago
Games also have this issue, with some creative solutions. Paraphrasing a GDC talk, in Outer Wilds space travel would not work properly -- in that the player character would move around a dynamic solar system with a pivot point and planets m
More ›