HNHacker News
TopNewBestAskShowJobs

adgasf

1,677 karma · joined May 15, 2016

submissionscomments
adgasf··on Httpserver.h: Single header library for writing non-blocking HTTP servers in C
System package managers rarely offer all of the packages you need.
adgasf··on Simple Software Manifesto
The question is: is this thing inherently complex or is it more complicated than it needs to be?

In software there are many things that are more complex than they need to be.

adgasf··on Apple’s Ad-Targeting Crackdown Shakes Up Ad Market
The argument against that is that if sellers cannot increase prices in times of crisis they have no incentive to stockpile for such events. This leads to shortages and even higher prices on an unregulated black-market.

I'm not saying that I buy this line of reasoning, but there's the counter-argument.

adgasf··on The sad state of sysadmin in the age of containers (2015)
Ninja is an optimized back-end for other build-systems (including but not limited to CMake). It's not really intended to be used directly.
adgasf··on The sad state of sysadmin in the age of containers (2015)
I am definitely not hinting at CMake!

Better options are Bazel, Buck and Please. Please is the most light-weight option.

adgasf··on The sad state of sysadmin in the age of containers (2015)
Makefiles are too low level to be convenient for anything other than simple projects on one platform.
adgasf··on Deep Dive Into C# 9
Not at all. The class definition syntax is very terse and you can use the mutable keyword for imperative programming.

In fact, I think F# is a better imperative language than C#, if you choose to use it that way.

adgasf··on The perfect programming language
Sad to see no mention of the impure ML languages (OCaml, F#, PureScript, etc). For me these strike a great balance between powerful abstractions and the ability to throw things together.
adgasf··on Async-await on stable Rust
Can anyone help explain if Rust asyncs are hot (as in JavaScript, C++) or cold (as in F#)?
adgasf··on Async-await on stable Rust
It does automatically start the tasks. JavaScript asyncs are "hot". You can simulate "cold" asyncs using a function, as you describe, but in other languages this is how they work by default.
adgasf··on Evaluating Bazel for building Firefox
OP was suggesting that systems like Bazel are harder to get started with but pay off with larger, more complex builds. However, I am claiming that Bazel is also good for the simple cases.
adgasf··on Evaluating Bazel for building Firefox
Does Bazel break up these steps automatically under the hood?

It could, in theory.

adgasf··on Evaluating Bazel for building Firefox
Doesn't Bazel hash the compiler and env variables to prevent this?

The only way to poison the cache then is to break things at an OS level, which is highly unlikely.

adgasf··on Evaluating Bazel for building Firefox
> bazel works better if you have 1 library per header

What do you mean?

adgasf··on Evaluating Bazel for building Firefox
Except the Bazel syntax is really good. Compiling a few C++ files into a binary is just:

    cc_binary(
      name = "app",
      srcs = glob([ "*.hpp", "*.cpp" ]),
    )
That's more concise than most build systems AND it's cross-platform.
adgasf··on Evaluating Bazel for building Firefox
Windows support seems to be very lacking.
adgasf··on Evaluating Bazel for building Firefox
Do you review all of the source-code that you run? If you trust the source-code due to its origin, why not trust a binary?
adgasf··on Evaluating Bazel for building Firefox
It works in the best sense (no dev prompt, does not require cygwin)
adgasf··on Evaluating Bazel for building Firefox
Bazel already works on Windows.
adgasf··on Evaluating Bazel for building Firefox
Meson does not have the same feature set as Bazel. Most notably sandboxing and remote execution.
adgasf··on Evaluating Bazel for building Firefox
Before it comes up: Bazel ships with its own copy of the JVM so you do not need to install Java to use it.
adgasf··on Bazel 1.0
Bazel is more popular, with a larger community and better language support than the other two. It seems that Bazel has "won".
adgasf··on Bazel 1.0
Can you link to the project?
adgasf··on Boris Johnson uses search terms in interviews to hide negative articles?
Read this https://blogs.spectator.co.uk/2019/06/my-boris-story/
adgasf··on Let us open 100 tabs of pure madness to fool trackers
It's free but the quality of search results is very poor.
adgasf··on Doing work locally minimizes problems with Electron apps
People love to bash Electron, but what is the alternative?

Is there any other platform that provides:

- Support for the 3 major desktop platforms from one code-base;

- A decent choice of high-level programming languages (there are excellent compile-to-JS options now);

- Reasonable tooling and community support;

- MIT (or similar) license

adgasf··on Apple’s defense of the App Store just shows how hard it is to compete with Apple
Apple needs to allow you to change the default apps (similar to how you can change the keyboard) for this argument to hold up.
adgasf··on A whirlwind tour of object-oriented code in F# (2012)
As C# gradually becomes F#, I have to wonder, why not just use F#?
adgasf··on A whirlwind tour of object-oriented code in F# (2012)
OOP is not idiomatic F#. It is mostly for interop with C#.
adgasf··on A whirlwind tour of object-oriented code in F# (2012)
Hopefully we will see this one day: https://github.com/fsharp/fslang-suggestions/issues/243
← PreviousPage 2 of 6Next →