Better HN
topnewbestaskshowjobs
Log inSign up

developer2

2,010 karma · joined Dec 27, 2015 (10y ago) · 785 submissions

Submissions

comment 7y ago · link · parent

If you think your 3 points cover privacy for Windows 10, you are grossly underestimating the extent of the problem, and have no idea what you are talking about. It's not even possible to outline in a comment twice as long as yours how to go about configuring Windows 10 to prefer privacy.

comment 7y ago · link · parent

Don't get too excited. You don't have to place your projects within $GOPATH anymore, but all your dependencies are still forcefully downloaded to – and imported from – the shared $GOPATH. AFAIK they didn't provide a way to have your dependencies localized to a subdirectory of your project's root. The documentation for "go mod vendor"[1] makes it seem like it should accomplish that task, but I couldn't get it to work for initial pull of dependencies – it only worked after dependencies were already downloaded to $GOPATH, at which point it was willing to make a copy of it within the project.

[1] "... or to ensure that all files used for a build are stored together in a single file tree, 'go mod vendor' creates a directory named vendor in the root directory of the main module and stores there all the packages from dependency modules"

comment 8y ago · link · parent

So basically, the same problem rooted in management at most tech-heavy companies: Tumblr likely focuses every single dollar spent on development towards pumping out useless new features in under half the time those features would require to finish properly, sacrificing quality over quantity – every damn time.

Some developer at Tumblr is now grumbling, "I fucking told you we needed to spend more time on the filter system, and that it wouldn't work properly when you forced me to ship it to prod after only 3 weeks instead of the 6 weeks I told you it would take". Someone there knows that the cron/API that updates that database is non-functional or untested, but nobody higher up the chain of command gives a shit.

Source: have dealt with this kind of management time and time again. In particular, "Agile" development has destroyed this industry. You tell management the task will take 6 weeks, so they assign 3 weeks to the ticket in Jira, and suddenly that means the feature has been promised as being deliverable in 3 weeks. If not, it's somehow your fault for not meeting deliverables.

comment 8y ago · link · parent

Their ultimate goal must be to be acquired by Apple, Google, or similar. This will never fly as a third-party app/install, even if it's "promised" to be on-device (such promises can change). Moreover, the average user isn't going to know about, care about, or seek out such an app, let alone pay for it. There's no widespread reach or profit in selling direct to consumer.

The only way this works is for it to be built into each device/OS (ie: firmware shipped by manufacturer). If the tech has merit, we'll be seeing it in a couple of years, whether that involves an acquisition here or independent R&D/patenting.

comment 8y ago · link · parent

12 weeks is (approximately) a business quarter. Corporate finances are most commonly aggregated across a quarterly schedule.

comment 8y ago · link · parent

What is absurd is that one of the two largest smartphone ecosystems (Android/Google) is run by a company for whom their supposed "customers" are in fact also a product, with Google double-dipping by selling us off to a second set of customers (advertisers). It boggles the mind how... understanding... people are to Google's business practices; "well, they're an ad company, so it just makes sense they they'd want to put devices into people's hands that vacuum up as much personal data as humanly possible – I'll buy two please!".

I roll my eyes every time someone talks about the "premium price" of Apple hardware. Apple hardware is not all that much more expensive; it's just not subsidized via tracking/profiling (loss of privacy), and subsequent advertising, the way the competition is. This has always been the case with Android/Google, and more recently even somewhat true with Microsoft (Windows 10 and its multiple shenanigans).

comment 8y ago · link · parent

I don't know where you live that you can stay in 2nd and crawl. Where I live, the moment you leave a few inches between your front bumper and the car in front of you, someone is guaranteed to cut you off and force you to brake to prevent hitting them. When I say "inches", I mean inches - 6-8 inches of space is enough for someone to think "I'll just squeeze in here".

comment 8y ago · link · parent

>> Valet parking is downright dangerous. My wife's car had its clutch literally melted by an incompetent valet driver, and the car was barely driveable when we got it back.

As someone who will only ever own manual transmissions, that's terrifying. Over the years I've had a handful of occasions where "mandatory valet" has been presented to me. I always refuse. Most of the time, I've been allowed to park my own car and bring my keys with me. If they refuse to allow me to do so, I find my own parking elsewhere. Only once have I had to actually abandon an event due to my stubbornness to hand my car over to a stranger working minimum wage.

comment 8y ago · link · parent

The parent I replied to made me think so strongly of Go that I forgot the context regarding embedded systems. A quick search shows support for ARM; beyond that, I don't know if any options exist.

comment 8y ago · link · parent

On the off chance you're not already acquainted, you might really like Go. There are no classes, thus struct types are the bread and butter. "Methods" are lightweight syntactic sugar combining structs and functions; structs effectively double as classes, but the scope and complexity they offer are perhaps easier to juggle compared to the typical object-oriented language.

The inheritance mechanism, implemented via interfaces, is interesting because it stresses conformance to behavior rather than explicit relationships between types. If your Circle struct type walks and talks like a Shape, then it is implicitly usable as a Shape. It's functionally identical to explicitly defined inheritance between types in other languages, but there's something about the _feel_ of developing with Go's interfaces. You begin to think more about the simple behaviors that each type should exhibit, rather than drawing hard lines in the sand about the hierarchy of relationships. Circles and Squares don't extend a base Shape type. Rather, a Circle can calculate its surface area. A Square can do the same. Conveniently, it just so happens that any type that can calculate its area is promoted to being usable anywhere a Shape is expected.

comment 8y ago · link · parent

1. From your link: "only the genetically susceptible mice developed schizophrenia-related changes after being exposed to cannabis".

2. As each argument against legalization fails to make a dent in public opinion, yet another takes its place. At some point, it is no longer about weighing the risks to come to a decision. Instead, critics have already decided that "marijuana is bad", and are looking to point to _anything_ that supports their agenda.

That said... good job, Canada - we've done it!

comment 8y ago · link · parent

Why is it _always_ Bach? Every single time I hear the entirety of recorded music's history being dissected, Bach is the first - often the only - example brought to attention. Have this many people subjectively decided for themselves that Bach deserves this credit? Or do schools of music have a habit of teaching that Bach is objectively the best, as if it's a fact grounded in science?

Bach is to music as Shakespeare is to literature - if you don't nod your head in agreement like a brainwashed zombie when either of these men are stated to be the best in their respective fields, you're automatically dismissed by the crowd of "elitist snobs", for lack of a better redundant phrasing.

I don't side with contemporary works either. The current era (90s+) is so disgustingly cookie-cutter, superficially manufactured by record labels to shovel down our throats in bulk. The 50s through the 80s fared somewhat better; the studios still heavily controlled every aspect of the artists they signed, again following an (as-of-yet unperfected) recipe. At least back then, _some_ of the music managed to weave a story capable of evoking emotion and meaningful thought. I would agree that something has largely been lost over the past century: music no longer being composed, instead being "arranged"(?) to fit specific molds.

tldr; I suppose: a) Fuck record labels; and b) Stop with the "Bach is best" culture.

comment 8y ago · link · parent

Can you elaborate? Does Apple TV let you purchase à la carte (on-demand) from any service, or do you still have to buy into a monthly subscription for a service just to watch one movie or TV series from its catalog?

The "one hub nexus" we are clamoring for requires either a) preferably, a single monthly fee to access everything; or b) less ideally, assuming reasonable prices, on-demand pay-per-view pricing.

A nexus that simplifies signing up for a dozen different streaming service subscriptions from one UI is not good enough. All that does is improve the frontend experience, while doing nothing to resolve the subscription hell that expects consumers to shell out $80+/month across many services to watch maybe 1% of the content.

comment 8y ago · link · parent

To use an old meme: "One does not simply learn C". Instead, one learns:

1. Everyday C syntax. It's not strictly required to learn every esoteric and historical thing about the language; if you go down that rabbit hole, you'll be down there for years.

2. How to properly structure and organize code and header files. It takes a little while to understand exactly what goes into a header file (and why), how to anticipate and avoid problems like cyclical include dependencies, etc.

3. Data structures and algorithms. While not a feature of the language itself, most projects are going to need non-trivial data structures (one example: hash map/table or alternative). Surprisingly, there are very few freely available implementations one can just import and use. By and large, every developer custom builds their own implementations. It should not be underestimated how much of a time sink this truly is. This aspect is trivialized by veterans, who have spent a decade or longer accumulating and tuning their own personal collection of reusable/tweakable snippets.

4. Compilers, linkers, and build tools. Thankfully the standard compiler options are good enough for nearly everyone, because the options are so numerous and complex that I'd bet even the developers of the compilers themselves get lost in that forest.

5. Finally, you're not doing much with C itself; rather, you're interfacing with everything your operating system provides. Most of your time is spent learning every aspect of POSIX (or equivalent) for your target architecture. This is quite straightforward (just time consuming) if you're targeting one architecture - say, Linux. The moment you want to support anything even remotely cross-platform (Linux, *BSD, macOS, Windows), you're essentially opening Pandora's box.

Note that none of the above is really a criticism of C. There is simply more to using C than its syntax - and those other moving parts are where nearly all of one's time will be spent.

comment 8y ago · link · parent

Your saying "I use Facebook Events extensively" places you most likely in the ~30-50 age range.

The 30+ crowd appears to believe that FaceBook is the most logical way to organize events - you can check in on your own schedule, without feeling pressured into immediately responding to someone poking you about joining up. Today's youth has no problem being expected to respond within minutes - or in the worst case, a couple of hours - to an inquiry made via SMS or Snapchat.

ie: Older person: "I may have some free time this weekend, maybe I'll check FaceBook tomorrow to see if anyone is planning something"; vs. younger generation: "Someone snapped our group telling us to come out with them Saturday, I'll decide in the next 5 minutes whether I'm in or out".

comment 8y ago · link · parent

It could be argued that actively filtering a job advertisement to be shown to younger people only is similar enough to allowing the ad to be seen by all ages, and then filtering out older applicants when they inquire about the ad. You're just moving the "age filter" to a different step of the process.

Another scenario: company creates company-jobs.com, which contains all their job postings. The homepage requires you to select your age range before accessing the listings, and only choosing "18-30" results in them being displayed. You're acquiring the individual's age range in advance - exactly the way an ad network does - in order to decide whether job listings should be displayed to a person belonging to that age group.

Direct analogy: the ad network is operating as a recruiter for the company. Recruiters are not allowed to discriminate based on age. End of story.

comment 8y ago · link · parent

It's actually worse than that. It's fixed 4-digit or 6-digit. Most customers probably use the same 4-digit password for online/telephone banking as they use for their debit card's PIN. I don't care what legacy software the backend is built with; a 4-digit or 6-digit numerical password should frankly be an illegal way for a bank to do business.

comment 8y ago · link · parent

The comments here are largely what I expected to find: people throwing around the names and quotes of famous philosophers from centuries past, as though it's a pissing contest to see who has read the most books on the topic. Modern discussions around philosophy are effectively a circle jerk: person 'A' regurgitates a quote from one philosopher, and then person 'B' is expected to regurgitate another quote to counter.

While the historical works are an important piece of the puzzle, it would be nice if more folks could avoid equating "studying philosophy" with "literally studying existing books on philosophy - and nothing else".

comment 8y ago · link · parent

I did in fact miss the purported locking of the Apple ID. It appears as though accounts can be locked under certain circumstances[1].

So the Apple ID was locked, presumably due to many accidental or malicious attempts to log in to the account. The account owner is then left having to perform account recovery, which is where the security questions and access to the email address's inbox come into play.

[1] https://support.apple.com/en-us/HT204106

comment 8y ago · link · parent

I believe the OP uses the word "password" incorrectly; they're talking about the device passcode. The details provided in the post indicate they do not know the Apple ID's password, and are unable to perform account recovery (ie: password reset) which requires answers to security questions and/or access to the email address's inbox.

Edit: Another comment chain noted that the OP says the Apple ID was locked as well. It's possible they did know the account's password, but it looks like certain situations may require one to perform account recovery to unlock an account[1].

[1] https://support.apple.com/en-us/HT204106

comment 8y ago · link · parent

Unlocking a disabled device takes 2 minutes - connect it to iTunes. It's a minor inconvenience if you happen to disable your own device. The point is you have to prove ownership by unlocking it using the same Apple ID. This person is unable to log into their Apple ID account, and is unable to perform account recovery because they don't have the answers to the security questions, nor access to the inbox of the email address that would allow for a password reset.

comment 8y ago · link · parent

> She did not do anything to trigger the Apple ID issue.

I chalk this up to the child not wanting to admit they entered the wrong passcode too many times. iOS devices "disable" themselves after enough failed attempts. This is a good thing - you want this to happen if your device is stolen. "Disabled" only means you need to prove ownership by either:

a) Connecting the iPad (via USB) to iTunes on a Mac or PC that is logged into the same Apple ID account. This is the original method, from the era when desktop iTunes was mandatory to setup and sync iOS devices.

b) Using "Find my iPad" to reset the device via the iCloud web interface. This was added as an alternative when cloud sync/backup was added (ie: when owning a second device running iTunes became optional).

Two critical points from the OP:

1. Inability to provide the birth date and answers to security questions.

2. Inability to access the email account associated with the Apple ID ("her email provider deleted the account about 3-4 years ago").

These are only needed to perform password reset / account recovery for an Apple ID - which tells me they do not even know the Apple ID's password, and cannot provide the information required to recover that Apple ID.

This person's situation is indistinguishable from a stolen device, by a thief who cannot prove ownership of the Apple ID. I say: "working as intended".

comment 8y ago · link · parent

Point #10: "Best solution I found after 9.5 years...".

The list was compiled by a ~30 year old, with a decade's worth of experience. The HN title focusing on "CEO at 20" missed that context. In any case, the list itself is insightful.

comment 8y ago · link · parent

Coil whine with graphics cards is such a frustrating experience, because there is no informed consensus as to what the underlying cause truly is. Everyone has their own anecdotal reason:

a) Maybe coil whine is an intrinsic factor in the manufacture of graphics cards, similar to dead pixels on displays. "Luck of the draw" when obtaining one is the only way to win. Cycle through RMAs until you get one with little to no coil whine.

b) Or, it depends which company you buy from: each of Asus, EVGA, Gigabyte, MSI, Zotac et al are supposedly better or worse than the others.

c) Or, it's not a problem with the GPU at all; rather, it's an indication of a poor quality power supply (PSU).

I've never seen an informed analysis from an industry engineer who has a goddamn clue what they are talking about. NVIDIA could probably enlighten us all with an exact-science explanation, but that seems unlikely. My uneducated guess is that the situation is closest to option 'a' above, and that rejecting units for coil whine during quality control would drastically reduce production yield.

comment 8y ago · link · parent

Aka GoDaddy is running a dirty scam. There should be no such thing as "priority pre-registration". They're just trying to grab more money. GoDaddy is the worst company you could ever look at for domain registration. Use literally anybody else.

comment 8y ago · link · parent

Summary of the article if you omit the trace itself:

>> macOS `cp` (*nix not discussed) copies files (somehow, not discussed). Then, via macOS-specific syscalls, file attributes/metadata are manipulated (details superficially discussed).

The core functionality of `cp` - namely, copying a file - is not discussed at all; only the pasted trace gives any insight. There are naive ways one could do so, such as opening the source for read and destination for write and iterating X bytes/pages at a time in user space, versus mapping files to memory, versus instructing the kernel to perform a direct low-level copy. I was expecting such an analysis, and perhaps an idea of how things change depending on whether the source and destination paths exist on the same filesystem.

Instead, the only talking points refer to macOS-specific extensions. References are made to system integrity protection (SIP), flistxattr for setting attributes, and MAC policies. Yet all we get are descriptions as to what those subsystems are, without any explanation as to why `cp` is calling into them. I would assume it's simply to copy file attributes from sources to destinations (duh), but whether this is the case is not covered.

comment 8y ago · link · parent

I can't remember the proper accounting term for the practice, but businesses do not like to postpone/buffer payments like this. These legally count as on-the-books debts, and no business wants to track millions of dollars of tiny debts, each of which may one day need to be paid out. Particularly when these debts roll over year-after-year across tax years.

I previously worked for a business where both the marketing and customer service departments handed out promotional credits to users like candy, without accounting for them. One day we got a new CFO, and a report on these credits was one of the first things he asked for. He sure wasn't happy to discover over $2.5 million dollars worth of credits idling in users' accounts with no expiration. While it's unlikely any significant percentage of them would have ever been cashed in, there is no guarantee and legally the business is on the hook to cover them.

comment 8y ago · link · parent

Most people seem to have missed the reported fact that a security researcher now working as an executive at Grayshift was previously an employee at Apple. The exploit being used in the GrayKey device may have been exported directly from within Apple's walls. Perhaps this man was involved enough with iOS security that he a) built in a backdoor; or b) discovered a vulnerability, and instead of disclosing it, left Apple to profit off the exploit; or c) gained enough knowledge of the systems to be able to reverse engineer an exploit from scratch, after leaving Apple.

The fact that the company producing the GreyKey has an executive who is a security researcher and used to work for Apple is such an obvious, damning piece of evidence. I don't understand why this connection hasn't been more widely reported and investigated.

1
456
27