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

391.

How to use PVS-Studio for “free”(viva64.com ↗)

3 points · by binarycrusader · 10y ago · discuss

comment 10y ago · link · parent

In the Google case you can print a set of backup codes. See the security page under your account.

comment 10y ago · link · parent

What horrible email?

comment 10y ago · link · parent

Compression not only provides less data to read but also to write. It still really does matter, depending on workload of course.

comment 10y ago · link · parent

My favorite take on this is Markdeep:

http://casual-effects.com/markdeep/

comment 10y ago · link · parent

For those who want to learn a little more about the museum, there's an English language page here:

http://www.mte.cat/content/blogcategory/64/178/lang,ca/

comment 10y ago · link · parent

Sorry, but, it doesn't tell you anything.

The world of computers is full of things to learn about, more than almost any one person could learn in a lifetime.

People usually learn about what interests them, or what they need to know. It's entirely possible to be an accomplished programmer and never really learn big-O notation just as some programmers never learn assembly or C.

Think about it differently, big-O wasn't widely discussed or well known until the 1970s, thanks to Donald Knuth who popularized it. Then consider that many programmers who learned programming may have done so before it was widely known and some may have learned programming from those same people.

Are those programmers from roughly 1980 and earlier any less a programmer because they weren't aware of or didn't use big-O notation? Of course not.

Is big-O notation something most programmers should consider learning? Yes. But we should not seek to exclude others from a profession simply because they don't meet arbitrary criteria we think is necessary when they are clearly already actively engaged in that profession.

comment 10y ago · link · parent

How can anyone applying for a programming job not know Big-O notation? That's CS101.

You pointed out exactly how someone would not know -- they may have never taken computer science classes and taught themselves programming.

Or they may have taken some CS classes, not enough to have covered that particular concept.

I'd guess that, especially for older programmers, anecdotally, it's not uncommon to not really understand or use it.

I don't care if you're self-taught, it's audacious to even call yourself a programmer if you don't know the very basics of algorithms and data structures.

Just because someone doesn't use the same terminology to describe a set of concepts doesn't mean they don't understand those concepts.

Also, I wasn't aware there were were formal qualifications for someone adopting the title of "Programmer", pretty sure big-O notation isn't part of the dictionary definition.

comment 10y ago · link · parent

I wonder what all the people complaining yesterday about Microsoft not using a 7th gen Intel processor instead of a 6th gen are going to say now...

Ultimately, neither one of these product launches could line up their supply chain with Intel's newest processors and nVidia's newest mobile chips. They just weren't ready yet.

comment 10y ago · link · parent

Except we weren't talking about Windows -- we were talking about *NIX stuff, which implies the Windows Subsystem for Linux.

I won't claim it's fully there yet, but given how macOS is these days, it will be more stable very soon.

Ask the Go language team how they feel about all of the little breakages in various syscalls/apis that Apple introduced.

Ask graphics programmers how they feel about the lack of modern OpenGL.

Pretty soon Windows will be a far more compelling development platform than macOS (unless you have to do Apple development of course, but then there's always Visual Studio for remote development for some Mac/iOS things :-P).

comment 10y ago · link · parent

They arrive via Windows update.

comment 10y ago · link · parent

That isn't what the parent's claim was about though -- the claim was "first-class" citizen.

I'm well aware of homebrew and the like having used it myself; I still think the current situation is now better on Windows than macOS, which is bizarre.

comment 10y ago · link · parent

First class citizen? Have you seen how old most of the versions are of GNU utilities they ship?

I'm sure it because of licensing, but then it's up to them to either improve them or provide modern replacements.

comment 10y ago · link · parent

No, procfs is also not Linux specific ;-) /proc is a filesystem, so most of us refer to it as 'procfs' for short. In fact, the header file you include a C program in Solaris to use it is '<procfs.h>'.

As I said before, the only thing that's really Linux-specific is Linux chose to represent it as text instead of something machine-parsable.

comment 10y ago · link · parent

/proc is not Linux-specific; my late, great Colleague Roger Faulkner did a lot of work on it in Solaris:

https://www.usenix.org/memoriam-roger-faulkner

...and there's a general history here:

https://blogs.oracle.com/eschrock/entry/the_power_of_proc

The part that may be specific to Linux is Linux provides a text-based interface, whereas systems like Solaris provide a binary interface.

comment 10y ago · link · parent

It does both; it not only replaces the characters with "random" ones (it may be rot13?) but it also blurs the text with a CSS effect of some type.

comment 10y ago · link · parent

Ugh, no. Blurring the text not only kills performance but since it happens after page load is incredibly irritating.

Nevermind all the irrating navigation that suddenly appeared around the edges of the page.

Quora does this and it's why I will never, ever sign up for an account with them.

comment 10y ago · link · parent

No it does not, at least not to the full engine and editor. Source access is separate and the price is unlisted, although rumours are that it's six figures:

https://store.unity.com/products/unity-pro

comment 10y ago · link · parent

With the limitation that it only stays cool for up to six days in an insulated backpack:

...lasts for up to six days inside an insulated backpack...

Also:

...a £2,000 cash prize. Broadway plans to use the money to develop further prototypes and apply for patents...

I wish there was an alternative to providing incentives for innovation that didn't potentially disadvantage the general public, especially for lifesaving technology.

comment 10y ago · link · parent

As an aside, Solaris can enforce a "two-man rule" for system access via its Role-Based Access Control system:

https://blogs.oracle.com/gbrunett/entry/enforcing_a_two_man_...

comment 10y ago · link · parent

It can, but it doesn't have to.

And most of the compatibility issues here are in system chipsets, not so much the CPUs (unless you count the integrated graphics some have).

comment 10y ago · link · parent

> Both ZFS and ASLR are more interesting for servers than for desktops.

On what basis are these claims made? I'm tired of hearing this excuse trotted out every time someone posts about ZFS or ASLR.

ZFS (or a filesystem possessing many of the same characteristics) is absolutely still valuable even on desktops. With consumer storage devices reaching ever loftier maximum capacities, data integrity becomes even more important as the loss of that data can have a profound impact on a person's life.

Given the questionable quality of hardware in many consumer devices, having a filesystem that detects corruption as it is happening, and works to ensure that it is corrected automatically when possible, seems like an obvious win.

While a typical consumer is unlikely to have a ZFS raid device even if they had ZFS, they would still benefit from all of the other protections it offers. It should be fairly telling that Apple is adopting many of the same technologies ZFS offers in their own consumer filesystem (except, regrettably, checksumming) because they too understand that it does matter.

As for ASLR, that's important too because it's yet another mitigation tool to make it less likely that an individual system is compromised. Haven't the past few years of various malware/ransomware announcements been enough? We should consider every practical tool available at our disposal to mitigate such attacks as valuable.

comment 10y ago · link · parent

Yeah, it's all very hazy, and since RAD is (understandably) proprietary, it's difficult to figure out exactly when who did what.

comment 10y ago · link · parent

> I think he is the first one to write a practical fast arithmetic coder using ANS.

I don't think he is the first; although RAD game tools has been cagey about the details, many strongly suspect their recently announced Kraken, etc. use ANS in some form and some of their previous products; see the discussion here:

https://news.ycombinator.com/item?id=11583898

...and here:

http://encode.ru/threads/2492-Kraken-compressor

http://cbloomrants.blogspot.ca/2016_05_01_archive.html

comment 10y ago · link · parent

I had thought s390x could be based on POWER8/9, but you're right, that doesn't appear to be the case. I apologise. Regardless, Go does consider S390x to be a separate port.

comment 10y ago · link · parent

While Go doesn't have a port to BSD on POWER, there is a Go port for POWER on Linux (it's the s390x port).

I imagine it shouldn't be too difficult (relatively speaking) to do the port as a result.

comment 10y ago · link · parent

nit: while rust doesn't prevent all memory leaks, it does prevent some classes of memory leaks; especially when compared to C, since it requires you to annotate the lifetimes of data and automatically manages many types of allocations by scope and lifetime

comment 10y ago · link · parent

That so called low quality blog is one Brendan himself linked to recently: https://twitter.com/brendangregg/status/766314203749638145

comment 10y ago · link · parent

Yes, I know who Abrash is -- I have one of his most famous books on my shelf. I'll say it again, the author's claims were very specific:

in terms of engineering and focus, Larrabee was never primarily a graphics card

Note the author says primarily and is specifically talking about it in terms of engineering and focus.

1
131415
41