Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xenadu02
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
871.
▲
by
xenadu02
6y ago
ANSI adopted function prototypes from C++ in C89. Originally C had no type checking on function parameters. All arguments were promoted to word width and pushed to the stack. If you gave a function fewer arguments it would just read garbage
872.
▲
by
xenadu02
6y ago
The worst part is the forward of the second edition says that the publisher hired a C programmer to review the book. That reviewer said "this book should not be published". They published it anyway!
873.
▲
by
xenadu02
6y ago
The biggest problem C has is the standards committee. They appear to have given up on making any significant improvements to the language. C could have an optional bounds checking mode. It is possible to design such a feature in a way that
874.
▲
by
xenadu02
6y ago
Agreed. For a site where so many creators are trying to share exclusive content with backers Patreon sure has an actively hostile UX. What are they spending so much money on?
875.
▲
by
xenadu02
6y ago
Remember: ARPANet was originally just a DOD research project to connect some universities and military sites. Back when it was opened to the public you could get a .com domain name for free just by asking. Same deal with IP addresses: in th
876.
▲
by
xenadu02
6y ago
COPY CON FILE.TXT is a "text editor" that got me by a number of times. It takes text input from the terminal quite literally. No backspacing, no editing. You'll just get control characters in the resulting file. Type it right
877.
▲
by
xenadu02
6y ago
OS X used tcsh as the default shell way back. Later it used bash 3.x as the default up until Catalina. As of Catalina zsh is the default for new users (and the version of zsh that ships with macOS is relatively up to date).
878.
▲
by
xenadu02
6y ago
Please note that Apple's linker will automatically ad-hoc sign binaries if you aren't using a signing certificate so there is no impact to package managers or any other forms of building software to run locally. Xcode already auto
879.
▲
by
xenadu02
6y ago
I think you've misunderstood the article. Ad-hoc signing is absolutely supported on Apple Silicon Macs. You don't need Apple's permission to build your own software on your machine, nor to distribute it to others.
880.
▲
by
xenadu02
6y ago
It is important to understand what this requirement is and isn't. The requirement on Apple Silicon is only that the binary be codesigned. That ensures the binary is unmodified when it is encountered again later. You do not need an App
881.
▲
by
xenadu02
6y ago
Having this kind of network is a good thing but the idea that any kind of satellite or wireless can replace wires is just fantasy. Delivering just 10Mbps to 100 million customers is over 900 Tbps. There is absolutely no way a satellite netw
882.
▲
by
xenadu02
6y ago
In theory anything lighter can fuse toward Iron. Anything heavier can fission the same direction. Splitting or fusing Iron requires input of energy even in theoretical scenarios at 100% efficiency. In practice a great many nuclear reactions
883.
▲
by
xenadu02
6y ago
Many apps, if not a large majority, would start doing this. That destroys the convenience and user experience. If every app does this there isn't any consumer choice about it.
884.
▲
by
xenadu02
6y ago
After the video game crash several companies, including Nintendo, rebranded their next-gen systems as "home computers" to avoid the stigma of being a "video game" system. In that light I don't think it's terrib
885.
▲
by
xenadu02
6y ago
The KDK has instructions for loading your own kernel extensions on Apple Silicon. This includes making a new writable root snapshot, modifying it, then blessing it for boot. It also includes kernel debugging. Booting custom kernels is not s
886.
▲
by
xenadu02
6y ago
Secret police snatching people off the street in unmarked vehicles is 100% police state / gestapo behavior. No one should be OK with it.
887.
▲
by
xenadu02
6y ago
The message has been clear for years now. It was re-iterated in WWDC videos and various interviews. The Mac is the Mac. It has been and will continue to be the machine where you can install software not approved by Apple, turn off security,
888.
▲
by
xenadu02
6y ago
> They threw a silly amount of RAM in it, so ended up using one of the AMD server CPUs/mainboards rather than a threadripper, since the threadripper could only leverage 256G of RAM. $1200 a stick... woof. Are you arguing that no one
889.
▲
by
xenadu02
6y ago
The cheapest Kia is less expensive than a BMW. They both take you from point A to point B. Are you arguing that Kia is also a luxury brand? Or are you arguing that luxury brands aren't a thing? I honestly can't tell.
890.
▲
by
xenadu02
6y ago
Some of them are latent bugs on x86 too, just rarer due to the stronger guarantees x86 provides.
891.
▲
by
xenadu02
6y ago
What, exactly, is your alternative here? The government forces me to fund speech I hate? Facebook is not allowed to ban literal NAZIs? A mandated minimum ad spend for all TV programs? I can’t understand the supposed end-game for this idea t
892.
▲
by
xenadu02
6y ago
As a corollary you should understand who the customer in the relationship is.
893.
▲
by
xenadu02
6y ago
Seconded. Tracy is a great CEO and worked incredibly hard to make PlanGrid what it was.
894.
▲
by
xenadu02
6y ago
I don't know how much clearer things can be. The Mac remains a Mac. It can run software from outside the App Store. That applies to Apple Silicon. This was specifically called out in the SOTU stream.
895.
▲
by
xenadu02
6y ago
The Mac is the Mac. Apple Silicon doesn’t change that. You can set boot args, disable security, and other things the Mac has historically supported. In fact these things are required to develop 3rd-party kernel extensions which are still su
896.
▲
by
xenadu02
6y ago
I suggest everyone attempt to understand what their customers value. Rather than judging them try to make them happy and/or solve their problems (depending on the context).
897.
▲
by
xenadu02
6y ago
This also applies to predicting the return address. You can assume any form of control flow has branch prediction. A surprising amount of silicon ends up being worth the cost if it can improve prediction just a little bit because a pipeline
898.
▲
by
xenadu02
6y ago
There seems to be more to it than just that, or so the argument goes. The example of people wearing prosthetics to warn of damaging situations seemed relevant: they would disable the electric shock, do what they wanted, then re-enable it. F
899.
▲
by
xenadu02
6y ago
Pathologies are not, in the general case, a rebuttal to an argument about behavior.
900.
▲
by
xenadu02
6y ago
While the iOS Simulator does share the host kernel it does not share libraries. It is effectively a separate userspace, with its own launchd_sim, its own mach bootstrap namespace, and so on. The only exception to that is libsystem_{pthread,
More ›