Better HN
topnewbestaskshowjobs
Log inSign up

binarycrusader

3,608 karma · joined Jun 9, 2011 (15y ago) · 1,202 submissions

Windows Developer @Microsoft. Hobbyist Game Developer. My words are my own and not those of any affiliate or employer. Formerly: Solaris Principal Software Engineer at Sun Microsystems/Oracle.
Submissions

comment 8y ago · link · parent

Indeed, there’s a series of recent posts here that detail some of the things the Solaris linker can do:

https://blogs.oracle.com/author/alibahrami

It’s true that the linker in SmartOS is pretty far behind, but that’s due to some choices by other parties. The linker in Solaris 11.4 is quite comparable (and in some ways superior) to GNU ld, at least on Solaris.

comment 8y ago · link · parent

For those interested, this issue was apparently already resolved in RS4 insider builds and only affects some older releases. After updating a system to RS4 (the upcoming release), this issue should no longer be encountered:

https://aka.ms/Yxum93

(requires Feedback Hub App on Win 10 to view)

comment 8y ago · link · parent

Parking, even in “free” residential areas is time or permit restricted. So even if payment is not direct there are other indirect payments and constraints.

comment 8y ago · link · parent

The Feedback Hub app in Windows 10 is how someone can publicly submit and comment on public issues and suggestions relating to Windows (and various other Microsoft-related/provided components).

comment 8y ago · link · parent

Maybe, but it may make it substantially more accessible and easier for the average developer that isn't a domain expert in a dozen areas of graphics rendering technology and doesn't want to use a pre-built engine.

comment 8y ago · link · parent

For what it's worth, rust's often introspective approach to documentation and community is one of its defining virtues in my opinion.

Growing up, I was constantly taught new things, without often being taught why. They "why" of things is just as important to me as the "how".

So thanks for all you've done and continue to do!

comment 8y ago · link · parent

Scott retired in 2015; I don't know if Scott is still active in terms of lectures/presentations:

http://www.aristeia.com/

comment 8y ago · link · parent

In that same vein, Lori and Corey Cole are working on a game right now: http://hero-u.com

comment 8y ago · link · parent

The way the system I worked on "solved it" was to provide another layer of constraints called "incorporations" that effectively constrained the allowed versions used to resolve dependencies to a version that was delivered for a given OS build. Administrators could selectively disable those constraints for some packages, at which point resolution was solely based on the "standard" dependencies. But by default, dependencies would "resolve as expected".

The "incorporate" dependencies are described here: https://docs.oracle.com/cd/E26502_01/html/E21383/dependtypes...

comment 8y ago · link · parent

One potential problem with dependency resolution that focuses solely on minimal or maximal-bound resolution is that it usually ignores the untested version combination problems.

That is, a given version that satisfies a version bound may not have necessarily been tested with all of the different combinations of versions of components it is used with. It will be interesting to see how minimal version selection interacts with that particular challenge. For a build system it may matter much less than an operating system.

comment 8y ago · link · parent

Whether you use a SAT solver or not doesn't really matter for the purposes of this discussion -- the SAT solver is just a tool that can be used to find a solution given a set of logical statements.

My point really was this: both a maximal and minimal version can exist that satisfy a minimum-version (<=) bound dependency. In such case, which one is chosen is a matter of policy, not correctness.

As for not allowing a newer package to be published with a lower version number, that is sometimes necessary in a back-publishing scenario. For example, imagine that you publish a newer package with a higher version that has breaking changes and a security fix, and you also publish a newer package of an older version that just has the security fix. It's entirely valid to do so, for what should be obvious reasons.

comment 8y ago · link · parent

As a long-time maintainer of various packaging systems (and co-author of one):

I find myself wholly in agreement with the idea that maximal version selection is appropriate for operating systems and general software components, but not necessarily desirable for a build system.

When you consider the evaluation of a dependency graph in the context of a SAT solver, you realize that the solver would consider both a minimal and maximal version as potentially satisfying the general constraints found in a dependency graph. Whether you then optimize the solution for a minimal or maximal version becomes a matter of policy, not correctness.

The security concern can be appropriately addressed by increasing the minimum version required in the appropriate places.

With all of that said, I think that Go's potential decision to optimize for minimal version selection is likely to be considered a bug by many because it will not be the "accepted" behavior that most are accustomed to. In particular, I can already imagine a large number of developers adding a fix, expecting others to automatically pick it up in the next build, and being unpleasantly surprised when that doesn't happen.

This is an interesting experiment at the least, but I hope they make the optimizing choice for minimal/maximal version configurable (although I doubt they will).

comment 8y ago · link · parent

SPARC isn't vulnerable to Meltdown either (based on public statements by Oracle and my own understanding of its address space separation).

comment 8y ago · link · parent

Or as the Rob Pike puts it, "A little copying is better than a little dependency."

https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s

comment 8y ago · link · parent

Bing also seems to give something sensible.

comment 8y ago · link · parent

bing seems to get this right in both instant search and otherwise.

comment 8y ago · link · parent

However, I believe Solaris uses separate address spaces for user and kernel on SPARC. So that should avoid meltdown at least.

Also, it is unclear whether it allows speculation beyond privilege boundaries and it is also unclear whether ordering semantics for memory are different enough to mitigate somewhat.

I wish I still had access to modern sparc hardware to find out.

While it’s best to assume everything is vulnerable unless proven otherwise I’d really like to see a thorough evaluation.

comment 8y ago · link · parent

There are a variety of examples of Microcode updates referenced on support.microsoft.com (here's just one):

https://support.microsoft.com/en-us/help/3064209/june-2015-i...

...so I suspect this is just a standard disclaimer.

Generally, microcode updates are distributed with the OS or OS distribution.

comment 8y ago · link · parent

I wonder to what degree some systems are affected. I believe Solaris already uses separate address spaces on SPARC for user and kernel. I haven’t looked over the SPARC architecture manual to see if they allow speculative execution beyond privilege boundaries.

comment 8y ago · link · parent

"Spectre" is very bad news and affects all modern CPUs

It's not yet clear whether it affects all modern CPUs, notably I have yet to see any mention of modern POWER/MIPS/SPARC-based designs. If someone has pointers, those particular cases would probably be quite interesting.

comment 8y ago · link · parent

It's not always better than everything out there; where I live in the greater Seattle area (in particular my current home), Google Maps doesn't have an accurate location-to-address mapping (it's not an apartment either) and the map visualization is not quite right either.

However, Bing and Apple maps get the correct location and have the right visualizations for the same area.

comment 8y ago · link · parent

I sincerely doubt this is a marketing piece. If anyone's to blame here for that feeling that some may have, it's Kotaku. Jason was one of the most genuine and wonderful people I've met while working at the same co-working space. In fact, all of the people I met in my time at the Gamenest co-working space were quite memorable.

comment 9y ago · link · parent

The article points out that (apparently?) wineries are exempt -- this is about retailers:

...the Supreme Court ruling in Granholm v. Heald effectively lifted many state bans on buying directly from out-of-state wineries.

Though the ruling applied to wineries, not to retailers, Granholm had a liberating effect on consumers who suddenly found it much easier to find the wines they wanted online. The decision also allows the direct shipment of wines purchased by tourists at wineries to all states.

comment 9y ago · link · parent

You can even tell ZFS to do the same thing with user data with the ditto blocks feature.

comment 9y ago · link · parent

Yes, you obviously need additional pieces of information for reconstruction/repair, sorry for the confusing wording.

comment 9y ago · link · parent

ext4 only received checksumming of metadata in Linux 3.16, which was released in March 2016 -- not that long ago really. So I wouldn't call it a fairly boring feature since it's barely been two years since it was integrated and I imagine some Linux distributions might not even have it yet.

Furthermore, it's unclear to me whether ext4 just uses those checksums for integrity checks or whether it actually has any "self-healing" capabilities.

My understanding is apfs, btrfs, and zfs all have self-healing capabilities.

comment 9y ago · link · parent

The OP article mentions apfs does not checksum data, but I assure you that it does checksum metadata:

https://en.wikipedia.org/wiki/Apple_File_System#Data_integri...

1
8910
41