Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
duped
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
953 ms
·
3331.
▲
by
duped
6y ago
It is build time. Whether rust-analyzer should run build-time code at initialization is a different discussion.
3332.
▲
by
duped
6y ago
For what it's worth, any VSCode extension that integrates with language tooling could be used to implement this.
3333.
▲
by
duped
6y ago
This is as huge a deal as "using ./configure && make install to exfiltrate secrets." It's a class of supply chain attack focusing on build time code evaluation. Almost every programming language has some kind of
3334.
▲
by
duped
6y ago
All of this has happened before, and will happen again.
3335.
▲
by
duped
6y ago
Apple doesn't care about developer experience. Hardware/software dev at Apple is basically that strong/weak doge meme. The hardware dev is pushing up against the boundaries of what is possible to manufacture, and they do it w
3336.
▲
by
duped
6y ago
One sad niche they missed was fantasy sports. Yahoo fantasy leagues were great, with configurable rules and such. Now fantasy is a big business and deeply tied to legalized sports gambling. That could have been worth hundreds of millions in
3337.
▲
by
duped
6y ago
I say that presents market opportunities. Every piece of technology faces a time of obsolescence. If the original source no longer exists and rebuilding is no longer possible then replacing dependencies is no longer feasible without manual
3338.
▲
by
duped
6y ago
Yes this not that hard if you are statically linking as much as possible. The magic of stable syscalls. Variance between glibc is the biggest headache but musl libc solves a lot of the problems. Have you ever actually tried that last step t
3339.
▲
by
duped
6y ago
I'm not, actually. If the libraries need to be replaced the software should be rebuilt. And yes, bandwidth and disk are cheap today. Reinstalling a large number of programs on disk is not that big of a problem today.
3340.
▲
by
duped
6y ago
Dependency injection is useful for mock testing in C/C++ although there are more programmatic ways to do it for the latter
3341.
▲
by
duped
6y ago
What problem does this solve? You wouldn't pay for what you don't use except in disk space, with significant added complexity and fragility.
3342.
▲
by
duped
6y ago
> The ability to change which library is being used without needing to rebuild the main program is really important. Having spent many hours avoiding bugs caused by this anti-feature I have to disagree. The library linked almost always m
3343.
▲
by
duped
6y ago
At my current job, the full build/test/release cycle is about 45 minutes. There is an effort to begin optimizing it but it is a high risk endeavor that only became worth it once the costs started growing faster than our team size
3344.
▲
by
duped
6y ago
Because JIT manufacturing didn't exist. It's not coincidence that we make more devices that are more complex, and do it faster today than we did in the olden days and they are simultaneously more difficult to repair with tougher t
3345.
▲
by
duped
6y ago
Well two points on that: - Repair schematics and diagrams are not necessarily complete schematics and may be abridged or missing some details - Modern electronics are significantly more complex than when you were a child, unless you were bo
3346.
▲
by
duped
6y ago
I think requiring schematic disclosure and non exclusivity for venders of custom parts is entirely unreasonable with catastrophic first and second order effects. Particularly the latter. We want more contract manufacturing, not less of it.
3347.
▲
by
duped
6y ago
Couldn't you say the same of all luxury products?
3348.
▲
by
duped
6y ago
> Consequently, vice taxes are always either ineffectual, or a ban that only applies to the poor. A 10% increase in tobacco price results in a 4% decrease in tobacco demand: https://www.who.int/tobacco/economics/
3349.
▲
by
duped
6y ago
I heard a former tobacco marketer say once that the only thing that sells cigarettes is a sign that says "OPEN." A more effective harm reduction strategy would be to make the things more expensive and inconvenient to purchase. But