Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
t43562
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
451.
▲
by
t43562
2y ago
I always do in fact do that. SHELL:=/usr/bin/bash or whatever The problem is that bash isn't there on windows and not even on all Linuxes so if I supply you with a makefile there's no way to be sure you can use it.
452.
▲
by
t43562
2y ago
Delighted! :-) Glad someone found it a help
453.
▲
by
t43562
2y ago
Make's BIG problem (IMO of course) is that the commands are executed in the system shell. If make supplied it's own shell language, a simplified one, then everything would be fantastic. For one thing, cross platform builds would b
454.
▲
by
t43562
2y ago
I see Autotools as sort of cool if you're porting to a new platform - the tests find out what works and if that's not enough then you have to make some effort to get around it. If you're lucky, however, you put your autotoole
455.
▲
by
t43562
2y ago
Pascal had a different calling convention so you can "just" write all your libraries in pascal. As you say, calling out to other libraries would need a translation but ..... it's the same for python or many other languages.
456.
▲
by
t43562
2y ago
Headers are the huge achilles heel of the C-based languages. Pascals modules were MUCH better. Pascal always built code faster in my experience, because it wasn't parsing megabytes of headers just to compile a hello world program. Th
457.
▲
by
t43562
2y ago
GNU make now has a load directive which lets you load up functions written in C -load my_module.o Your makefile can contain instructions to build my_module.o and they will be automatically triggered. For example you can create an e
458.
▲
by
t43562
2y ago
yes - thanks!
459.
▲
by
t43562
2y ago
I think gzip was 5M. This all depends where you are using it e.g. on a Raspberry Pico I'd be using gzip no matter the extra bytes probably.
460.
▲
by
t43562
2y ago
> bzip2 -9 -k all.tar 981.78s user 9.77s system 95% cpu 8M memory 17:16.64 total > bzip3 -e -b 256 -j 12 all.tar 2713.81s user 16.28s system 634% cpu 18301M memory 7:10.10 total The difference in memory usage might be wort
461.
▲
by
t43562
2y ago
> bzip2 -9 -k all.tar 981.78s user 9.77s system 95% cpu 8M memory 17:16.64 total > bzip3 -e -b 256 -j 12 all.tar 2713.81s user 16.28s system 634% cpu 18301M memory 7:10.10 total The memory usage is one reason: 8M vs 18301M
462.
▲
by
t43562
2y ago
The only people who can really manage a big lump like systemd on their own and turn it in a direction they want are people who're getting paid to do it. It was written by someone who was paid to do it. It's not modular and when ot
463.
▲
by
t43562
2y ago
I'm using dbus on Artix without systemd. No idea how but it's there. Dbus itself is another questionable service IMO but it got baked in rather a long time ago and is harder to replace.
464.
▲
by
t43562
2y ago
I have to admit I'm not a big fan of s6 - I found it very hard to understand the scripting language execline. So in Hacker News fashion: dinit is the one I find easiest so far. It has a declarative syntax but it's not a monolith.
465.
▲
by
t43562
2y ago
It was absolutely the way it was done and the arguments use to shut up the opposition. Then the distros all just adopted it and it was case closed and &*@#$#@ you. This happened with GNOME turning into some attempt at a tablet/phon
466.
▲
by
t43562
2y ago
The registry is /etc If you want some more structure to it then you'll probably end up with the registry and whatever it is that people hate about it. IMO it would be enough to put the /etc into git so one can rollback bad ch
467.
▲
by
t43562
2y ago
They might be Raspberry Pi which doesn't use gnome or kde! :-)
468.
▲
by
t43562
2y ago
Inertia can be overcome - some random situation might do it and then the pull the other way would be unstoppable.
469.
▲
by
t43562
2y ago
Brexit probably helped that though. ie. the net effect of Brexit might have weakened both Britain AND the EU
470.
▲
by
t43562
2y ago
It's like removing a particular dependency that you thought would be simple and it turns out to have been useful all over the place in ways that one person alone doesn't remember off the top of their head. Then you start realising
471.
▲
by
t43562
2y ago
I was listening to some report about the economic effects which said that the economic impact of increased immigration had somewhat offset the negative impact s of Brexit :-) As for finance, it seems a complicated area. Some UK companies se
472.
▲
by
t43562
2y ago
I love the idea - there are a lot of things I want to watch for updates that I build or install myself from a download!
473.
▲
by
t43562
2y ago
This sounds like it doesn't count the use of libreoffice in Linux distros. I never download it for example. I suppose that 400mil downloads is probably from Windows and Mac users. I used to consider it very heavy but my daughter'
474.
▲
by
t43562
2y ago
Who says America is less good at it? Hasn't the US nicked a lot of other people's ideas at some point or other?
475.
▲
by
t43562
2y ago
Don't burn yourself out for anyone other than you. Companies have no loyalty whatsoever and will not show gratitude. In general I don't think that the style of work that leads to burnout is desirable at any stage unless if it'
476.
▲
by
t43562
2y ago
When you start mentioning aging populations you trip over a fact that is nothing to do with our model. Short of tossing our aging population out onto the street we cannot do much more than increase immigration - something those old people
477.
▲
by
t43562
2y ago
The latency issue isn't blocking me from trying Wayland. Wayland seems fine on my Raspberry Pi. The issue is screen-sharing in MS Teams. Does anyone know if that works now? Since I use Artix, I expect a potentially painful switch and d
478.
▲
by
t43562
2y ago
Dead right. Sorry.
479.
▲
by
t43562
2y ago
I think the people that created it knew it was important because prioritising performance per watt was a strange strategy and yet it was a killer strategy. ARM was in phones and PDAs long before Apple used one in an iPhone and it got there
480.
▲
by
t43562
2y ago
America was a much richer market and Apple would never have reached the masses in a poorer place. Spectrums didn't just kickstart programming in the UK but in places in Central/Eastern Europe too. I'm from Zimbabwe and they r
More ›