Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chubot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
271.
▲
by
chubot
2y ago
PHP is definitely the original serverless! You upload your code and someone else runs it! CGI is also serverless I wrote a couple articles with these comparisons, and related issues: Comments on Scripting, CGI, and FastCGI https:/&
272.
▲
by
chubot
2y ago
The funny thing is that "replacing engineers" is framed as cutting costs But that doesn't really lead to any market advantage, at least for tech companies. AI will also enable your competitors to cut costs. Who thinks they ar
273.
▲
by
chubot
2y ago
We'll probably never have evidence either way ... Did Google and Stack Overflow "replace" programmers? Yes, in the sense that I suspect that with the strict counterfactual -- taking them AWAY -- you would have to hire 21 peop
274.
▲
by
chubot
2y ago
(author here) I've had a VPS with Ubuntu/Debian since 2008, so like 16 years now ... I still use it, but not for anything I actually want to be up all the time Over time I found the "set and forget" nature of shared host
275.
▲
by
chubot
2y ago
I know that, and obviously you can write a recursive descent parser in OCaml But I'm saying there's nothing better about it than doing it in OCaml vs. C++ or Python -- it's the same or a little worse IMW it's natural to
276.
▲
by
chubot
2y ago
Sure, but I'd also say that the employee base has a line that is different than the government's, and that does matter for making profit. Creative and independent employees generally produce more than ones who are just following
277.
▲
by
chubot
2y ago
It is interesting how these companies shift with the political winds Just like Meta announced some changes around the time of inauguration, I'm sure Google management has noticed the AI announcements, and they don't want to be per
278.
▲
by
chubot
2y ago
That's an interesting point, and something I thought of when reading the parser combinator vs. recursive descent point Around 2014, I did some experiments with OCaml, and liked it very much Then I went to do lexing and parsing in OCaml
279.
▲
by
chubot
2y ago
OSH behaves like that too -- it's POSIX and bash compatible At some point I will update the home page to make that a bit more clear - https://oils.pub/
280.
▲
by
chubot
2y ago
(author here) The best way to think about it is like Clang (OSH) + Swift or Rust (YSH) in the same project, as I explained in a table here: https://www.oilshell.org/blog/2024/09/retrospective.html#oil... You
281.
▲
by
chubot
2y ago
How so? I don’t recall this, and I used Travis, and then migrated to GitHub actions. As far as I can tell, they are identical as far as testing locally. If you want to test locally, then put as much logic in shell scripts as possible, dec
282.
▲
by
chubot
2y ago
The shell also supports shell scripting! You don't need Just or Make Especially for Github Actions, which is stateless. If you want to reuse computation within their VMs (i.e. not do a fresh build / test / whatever), you ca
283.
▲
by
chubot
2y ago
I thought the meme was woodworking or metalworking
284.
▲
by
chubot
2y ago
A few extra <object> in a blog post is a worthwhile tradeoff, if you're literally using raw HTML. - HTTP/1.1 (1997) already reuses connections, so it will not double latency. The DNS lookup and the TCP connection are a high
285.
▲
by
chubot
2y ago
I think what's missing is that this an extremely low level programming model: Upon receipt of this message in the event E, the target consults its script (the actor analogue of program text), and using its current local state and the
286.
▲
by
chubot
2y ago
Walmart and Target already had warehouses, but the end-to-end system you need for 2-day, 1-day, same day shipping, which includes warehouses/trucks/drivers, is not something they had They were built for people to come to their sto
287.
▲
by
chubot
2y ago
Amazon does have a technical moat - fast shipping and warehouse operations. It’s not something that Walmart or Target can replicate easily. Retail margins are razor thin, so the pennies of efficiency add up to a moat
288.
▲
by
chubot
2y ago
Hm what's an example of those invalid C constructs? I'd be interested in seeing what happened One answer is the __has_feature tests mentioned in a sibling comment. Then you are using a supported API, not arbitrary code. Browser
289.
▲
by
chubot
2y ago
Congrats to the fish team! Great writeup with lots of interesting detail. I wonder if this is the biggest project that has moved from C++ entirely to Rust (or maybe even C to Rust?) It probably has useful lessons for other projects. If I&
290.
▲
by
chubot
2y ago
IMO the way to make C++ fun is to: 1. Build and run it with a shell script (because the build systems do suck) Dependencies may complicate this, but you can still link with them with a shell script And use Unix – I start
291.
▲
by
chubot
2y ago
Sure, Perl can be hard to maintain. (I haven't used it in over 25 years, and don't expect to ever use it again) From your experience maintaining 40+ year old codebases, is it possible that improving the Perl codebase is the best
292.
▲
by
chubot
2y ago
Are you surprised that programs can live for 10 or 20 years? Most people who want to rewrite things in a language that's more fashionable don't have the experience maintaining working systems over 20+ years, like Debian does
293.
▲
The Premise Trap
(world.hey.com)
1 points
by
chubot
2y ago
|
0 comments
294.
▲
by
chubot
2y ago
That's also a "classical" rock band - vocals, guitar, bass, drums (e.g. Beatles any many others)
295.
▲
A ChatGPT clone, in 3000 bytes of C, backed by GPT-2 (2023)
(nicholas.carlini.com)
350 points
by
chubot
2y ago
|
118 comments
296.
▲
by
chubot
2y ago
Yeah, also Starlark is embedded like Lua, and doesn't come with batteries included like Python So that means you can control the APIs, and say opendir() closedir() in Unix returns filenames in different orders. Depending on what the d
297.
▲
by
chubot
2y ago
Yes I agree - my favorite language is Python, but it can be annoying/inefficient for certain low-level OS things. This is why I created https://www.oilshell.org (and the linked wiki page) A few links for context: Are you
298.
▲
by
chubot
2y ago
If you have thousands of lines of bash, don't like maintaining it, but don't necessarily want to rewrite the whole thing at once, that's what https://www.oilshell.org/ is for! See my comment here, with some d
299.
▲
by
chubot
2y ago
Oils aims to be the absolute best way to migrate shell scripts! (I created the project, and the wiki page being discussed) https://www.oilshell.org/ OSH is the most bash-compatible shell in the world, and YSH is a new lang
300.
▲
by
chubot
2y ago
That's what I thought -- I thought that OS X was the main Unix where it is "annoying" to get a C compiler (huge XCode thing IIRC), and it isn't used for servers much. But people have told me stories about working for the
More ›