skysight-inc/HackerNews huggingface dataset:
The current version of Unit Testing came out of the Chrysler C3 project, which was written using VisualWorks Smalltalk. (Eventually sparking Extreme Programming and SUnit, which was the ancestor of JUnit in Java land.) Here's the thing about Unit Testing in an environment like that. The best way to code and refactor code would also automatically refactor all of the Unit Tests. In an environment like that, Unit Tests are pretty nimble. There are no long waits for compile times. The entire test suite can run at the press of a button from a widget integrated in your standard development environment. Though, from what I read, the entire Unit Test suite would take an entire 10 minutes to run. However, you could easily just run the tests for the classes you were working on at the time, and reserve the whole suite for checkin time.

So what happens when you move the practice away from this particular kind of Smalltalk environment? Refactorings in most languages are slower without the Refactoring Browser, and often your Unit Tests effectively double the amount of work involved. The velocity of change slows down. Unit Tests might be less nimble to run. A long compile time might be involved. Given those changes, it makes perfect sense that a larger granularity of tests and fewer tests might be more convenient.
How ever it's justified, it's a style choice. It can just as easily be replaced with a sentence or two that provides some actual statistical context like the percentage of users from various demographic groups. That would serve to increase my engagement rather than having the opposite effect of making me want to stop reading. But maybe it's just me.
That is true only in the most technical of senses. Practically, Apple has near complete control over what is allowed to execute on an iOS device.
If anything, the moral of the story seems to be ”RAID is way too complex and dangerous for the benefits it brings”.

For home desktops, that is. Server end is different.
> The US might be the worlds richest Country but in many areas, it's like a developing nation.

Primarily in that it's still developing rather than stagnating.

> Ok, in the developed world. And it really isn't [a ridiculous overgeneralization that "the US is lacking behind the world in legal and human rights"].

Conveniently enough, I already have a list of counterexamples for Europe in particular:

* The United States also recognizes a constitutional right to same-sex marriage, which is not at all recognized in Italy, Greece, Czechia, Poland, Slovakia, Romania, Bulgaria, Lithuania, Latvia, Estonia, Switzerland, and Northern Ireland.

* In terms of civil liberties, the US is virtually unique in recognizing an absolute right against self-incrimination and an exclusionary rule of evidence, where evidence collected in contravention of anyone's civil rights is admissible in court.

* One of the biggest controversies in recent American politics is whether to overturn the constitutional standard of jus soli birthright citizenship--the notion that any human being born on American soil is unconditionally an American citizen. No European country has this policy at all, let alone enshrined in a written constitution.

* The US does not have mandatory military service. However, Austria, Denmark, Finland, Greece, Norway, and Switzerland all do.

* Unlike many European countries, the US has a virtually complete lack of media censorship by the government.

* Austria, France, Belgium, Germany, and Bulgaria have all outlawed face coverings, while Switzerland has banned the construction of minarets. France prohibits the wearing or display of "conspicuous religious symbols" in schools, a law targeted at hijab-wearing Muslims. The United States has no equivalent laws, and any such laws would almost certainly be ruled unconstitutional.

If you're bringing in "the developed world", that might include countries with absolutely terrible human rights records like Qatar or UAE, as well as other undemocratic states like Singapore.
So if i understand it correctly, if all side effects are perfectly known and controllable, we can prove that they have not been used to leak any information? That's a bit obvious, isn't it?

I'm a bit amused by the hardware requirements for this to work: everything must either be resettable, or fully partitioned. I guess this means a single DDR channel per core, no hyperthreading, no dynamic frequency scaling, no hardware features which are dynamically disabled to save power et cetera. Come to think of it, it's probably not even allowed to share a single package due to side effects due to heat creation and power usage? I guess we all have to go back to the equivalent of a very fast, single-core 8008.

This is obviously a very serious problem, but it looks more and more like it's going to be impossible to solve this in something even remotely representing current cpu designs and it makes me wonder if it's even worth solving for most users.
On what basis? They clearly violated the rules.
Superintelligent Will (2012) [pdf]
Ask HN: Is SXSW Hackathon Worth It?
I just got accepted to the SXSW 2019 Hackathon and I'm not sure whether it's worth flying out to Texas from the Bay Area on a weekday. Is participation or winning at this event considered prestigious in the developer community and are the connections or job opportunities there valuable?
Rumor has it that Google's subsequent requests for clarification to Apple have gone entirely unanswered, save for automated messages stating that Apple's decision on this matter should be regarded as "final" and "binding", and that no further statement from Apple should be expected.
America's Epidemic of Vaccine Exemptions
Just so you know, manuals aren't read like story books, from beginning to end. They're arranged in a tree structure with the root/trunk giving a rough Overview or Introduction on whatever the manual is about, the branches explaining various features in broad terms and ordered by their importance, and the leaves explaining the most arcane details you might eventually need to know about.

What I do is first take note of whatever seems like a Table of Contents which neatly lays out this tree-like structure with one-line summaries. Pay attention to each title, remembering their existence for future reference, and determine how much you want to know from the get-go. Of course, the root/trunk, otherwise known as Overview or Introduction, will be relevant to everything so go over it. Only go to the deepest branches/leaves when you're planning on using that knowledge, but always go over the branches that lead to those leaves.

That about covers it. For example, there was recently a question on SE on what had higher precedence in the shell, the | or the &&. Had this person gone over the shell grammar section of the bash manpage, the answer would've been obvious:

> Pipelines: A pipeline is a sequence of one or more commands separated by one of the control operators | or |&.

> Lists: A list is a sequence of one or more pipelines separated by one of the operators ;, &, &&, or ||, and optionally terminated by one of ;, &, or <newline>.

By the way, some answers say that you shouldn't go over the manual unless you want to know a detail, but I think it sometimes pays off to read it whole (or most parts of it). I've read most of the manuals for vim, bash, i3, urxvt, among others, and I can say, it has paid off. This might depend on how you learn best, though.
Media's Fatal Flaw: Ignoring the Mistakes of Newspapers
Yeah, Kotlin pretty much killed Lombok.
How is the number of foreigners already in a country irrelevant, when deciding whether to admit more? From the perspective of the host country, migrants or refugees makes no difference.

And it's 1 million in one year, but 5 million since 2008. Unlike with Colombia, almost none are from neighboring countries. That's counting only refugees, not total immigrants: https://en.wikipedia.org/wiki/European_migrant_crisis#Asylum...

Given these numbers, is there any amount of immigrants the EU/US would have to accept, to be considered sufficient?
Did they? Please think of this: is there a minimum age for internships?
> Since the end of Saddam - there is no entity in the region that has any material ability to pose any real threat to Iran

Not without allying with and outside power like the United States to do so (which, incidentally, was critical to Saddam’s ability to do so); Iran's influence with dissatisfied groups, which its visible active opposition to Israel is a key component of, is key to it's ability to credibly threaten to impose a high cost for that.

It's also, beyond defence against existing local regimes, a key component of it's strategy to prevent the US from securing a stronger foothold in the region to threaten Iran by displacing or subverting an existing regime both by establishing Iran's positive influence and by poisoning the week against the US.
I used to feel that way, and I used Android for years for that reason. But since switching to an iPhone, I've found that what I really want from my phone is not a totally open platform, but a tool that's simple, secure, and effective. Something I don't have to mess with, something I can trust to do its job and respect my privacy and be pleasant to interact with. They tried going that direction a bit with macOS when they launched its App Store, and there's a reason that pretty much failed. Workstations need to be totally user-controlled, but phones don't.
Honestly, as bad as the situation is (having to choose between several profit-focused tech giants) I'm glad that at least one of the players is not dependent on data collection as their way of survival. If I have to side with one of them it's going to be apple.
Interference can be a funny thing. We have several of these outdoor LEDs at home:

https://www.lampsplus.com/products/midland-9-inch-high-dusk-...

If I transmit with a two meter ham radio handheld near any of them at night, the light turns off! When I stop transmitting, the light comes back on.

I haven't taken any time to troubleshoot this, but it would be interesting to learn just why a two meter signal makes the light turn off.
Yeah but it is a pain.
Can you install rogue apps (i.e. not from apple's store) without jailbreaking the device?
Are you suggesting there was a child labor law violation as well as a breach of contract?
Also called "newtype".
At the end of the day, you can compile and run anything on your machine.

Not really. You have to pay the ransom^W^W$100 for a developer account every year.
With Apple's devices, and to a lesser extent Google's, there isn't a software distribution channel apart from the one sanctioned from up high.

That being said, the official channels are sanctioned and sponsored by Apple (or Google) and so it is their reputation on the line when it comes to malicious or questionable Apps.

So I can completely understand Apple (or Google) removing certs or banning companies for violating the terms of their platform.

And I think this exertion of power might be a bad thing as it demonstrates that users do not really own their devices and are only allowed to do with them what Apple (or Google) permits.
indeed + a few lines of comments explaining what it means...
If they’re also baldly and maliciously breaking the rules? I’d hope so.
Twitter Cuts Off API Access to Follow/Unfollow Spam Dealers
Project manager is not the same role as product manager
> At the end of the day, you can compile and run anything on your machine.

Iff you have a Mac. And even then, you need to recompile it every week.
There is nothing new about this model, of selling a device with optional software bought later from the vendor. It’s how games consoles have worked, from the Atari 2600 to the Nintendo Switch, even cars work this way with optional after market ‘performance packs’ that are just software tweaks. VTech used sell toys like mini laptops for children, with little software ‘disks’ you could buy with educational games on them.
Also from some monitors and TVs. My Samsung monitor spews all across the 1.25 meter ham band. The form of the interference is a serious of regularly spaced narrow spikes across the whole band.
IMHO (in Twitter's case), it is very much an echo chamber where dissenting opinions are not tolerated.
> I think the big/only difference between us and China in this regard is that the US government don't do this to Chinese companies and then take those secrets and give them to American companies.

How do you know this does not happen in defense-related industries?
And the CFO before them was doing a good job too. And the CFO after them will do a good job too. I think manning the helm of a big self-steering monolith is a different game than running a disruptor.

It's really not different at all. Same rules apply. Only minor differences related to industry-specific practices, most of which effect lower-level (non-CFO) finance functions. Internal corporate finance/compliance is one of those areas where disruption is not a good thing.

This is a common trope that never gets called out when it ends up not being true. It only sounds good when a CFO leaves, never when the company they left doesn't go bankrupt or die off because they left.

You are missing a few words so it's not clear what you're trying to say. Being a CFO of a well-run publicly traded company is a very cushy job, so CFO's rarely leave voluntarily unless it's for an even cushier job or the company has serious financial issues.

Also, CFOs aren't responsible for the company's commercial success, so it's not their fault if a company goes bankrupt--that's on the CEO and COO. CFOs are responsible for tracking the finances of a company and managing cash flow, but they don't make the business decisions of how a company's resources are used. For a poorly run company like Tesla, the CFO's job would generally also entail juggling debt payments and incoming income to make sure their is always sufficient cash flow to keep the lights on.
Can you write this up please - I have lived my whole life with these mysterious radio wave thingamijigs suffusing my world and ... I just don't know how to detect them. TV signals get fuzzy, my loudspeaker crackles just before my phone rings, but being able to deliberately reach out and map them seems almost like magic.
Applications and browsers have taken steps to prevent this. For example, you typically can't screen-capture a Netflix movie on Win10 unless it's running on a windowed virtual machine.
More than that, I think this will result in Apple being a bit less laissez faire about what companies do with their certificates. I think they may even look to change the system, maybe make it so that enterprise certificates have to register the devices they are installed on.
Intriguing properties of neural networks (2014)
At this point, it's less disruption to a Java project to start writing it in Kotlin than adding Lombok to it.
Password storage (hashes only): PBKDF such as argon2i and salted.

Limit the rate of both reset and reset re-email attempts (X within Y).

Email the link that should expire on first use and set an expirable token param to complete the reset.

Required login again to make sure people know their password.

Form POST.

Platform-Agnostic Security Tokens (PAST), not JSON Web Tokens (JWT) for headless API calls.

CSRF (form hidden) token.

Always https. Disable http.
At one point, one of the attack vectors was said to be by spoofing or otherwise manipulating traffic to/from a wireless femtocell. The same wireless femtocells that many operators will gladly sell or give to you for free or very little $.

I don't know how effectively that strategy still works today, but I think it speaks to the significant degree to which the phone system is completely insecure and untrustworthy by design.
Smartphone Pliable
It's pretty true. Unless you manage to jailbreak your phone the only way to get it to run code (except for javascript) is by having, at some point up the chain, a certificate that's signed by Apple.

It's free to get one though, but it only lasts for a week or so. You can pay to become a developer and I think you get one that lasts a year instead.
If you also happen to have a Mac to run XCode, sure. I don’t believe there’s a way to compile and load iOS apps from any other platform? (And you certainly can’t do it from the device itself.)
Zero to One is a great book: https://jakeseliger.com/2014/09/24/zero-to-one-peter-thiel-a... and you should read it if you've not already.
What’s Google going to do though? Drop Gmail on iOS?

I can’t see Google coming out of anything like that unscathed. Best case they lose customers, worst case they get an anti-trust case thrown at them.

Unless there is something else that Google can do that will work in their favor that I’m missing.
That's included in the 2.4% estimate.
Maybe Google and Apple's "decision is final" bots can work it out between them.
Honestly, it just sounds like good old fashioned xenophobia.
You can run stuff without it, but the builds expire after 7 days so it's a nuisance in practice.
Checked exceptions don't work right with streams/functional programming. They prevent abstractions that couldn't possibly be aware of custom checked exceptions. That's why Scala doesn't have them.
The royal weddings that shaped European history [video]
At this point it's probably just worth waiting for SVG 2.0 to come out.
I use random passwords for reset questions because they're often the Achilles' heel that people drive around.

PS: 1985 Delta 88 Royale Brougham LS with dark smoke metallic paint, limo tint, more chrome that a Cadillac factory and burgundy velour, and a $20k sound system... what you inherit when your dad is an audiophile and wants a car that could fit 6 dead bodies in the trunk.
I've seen variations from "look in your mailbox" to "If there is an account associated with this email address, you will receive instructions."

There are plenty of ways to be imprecise from an information asymmetry problem but still precise enough to allow someone to follow instructions.
I didn't try Sharepoint, although I looked at Elastic Search on AWS briefly. The goal though was to have all of this stuff on premises both for latency reasons and to maintain a credible defense should someone come after me for copyright infringement.
Similar concerns. I think this might, in the long term, be detrimental to Apple if companies begin to revolt against their overarching, seemingly totalitarian power regardless of if the intent is noble.

As mentioned in a separate Verge article-

"One giant platform declared another giant platform’s market research program inappropriate, then disappeared it with a Thanos-style finger snap"

also from same article, attributed to Nilay Patel

"Hi, I’m the nagging voice in the back of your head pointing out that it’s pretty intense that Apple can simply decide to prevent people from running code on their phones."

Edited for punctuation
You're asking a fundamentally interesting question that has horrifying implications.

What makes someone OK with murder? How do you flip someone from a civilian mindset of more or less 'love thy neighbor' to a soldier mindset of 'kill the bad guy'?

In rough terms there are a lot of simple answers, like 'portray the other as a threat to your family/way of life/values'

But here we're talking about someone that believes human rights workers are valid targets unless they have her same passport. That makes the origins of the belief much harder to imagine.
i also wanna give a shoutout to https://immutables.github.io/ over Lombok. No AST magic, and even optimized Jackson/GSON code.
I have a HomePod and Echo Dot. I trust the HomePod more in terms of privacy, build quality, customer service, warranty, etc. The Echo Dot is way better at finding my voice and doing what I want it to do. The HomePod goes off randomly when the TV is on, and it costs 10x more.
Or worse. Dead children.
Don’t quote text with code blocks please, it’s unreadable on mobile.
Excluding technical users, Google Play Services is the same. And their grip only tightens over time.
Cloudfall: Rethinking how technology uses our personal data
As others have said, it is often helpful just to have a general idea of what things can be done so one can know where to look to find it. E.g. it might be “I know a library/tool related to this problem, let me find it’s manual and guess some keywords to search”, or even just “this feels like something for a lesser used unix tool, let me do info coreutils and look around.”

For programming languages, the thing I find particularly helpful is a formal grammar as it typically resolves any syntax related issues (and often these are subtle issues where two terms look similar written but one may be more restrictive than the other). The other thing I try to do is build a mental model of the compiler: If one has a good idea of what sort of thing one’s code might be compiled to, it is more obvious what constructs should and should not be allowed. This can backfire slightly: if one has an idea that eg Javascript will be compiled to fast code, it is obvious that the with construct should not be allowed, but maybe that just implies that the construct makes code slow.

I think this can help to understand eg why virtual methods are slower to call or why overloading works the way it does in an oo language, or eg why only certain subtyping operations should be around (in particular one way to decide this is “this language has certain typing rules and those demand certain constraints” Another is “this language wants to compile this construct to a certain thing and that requires that certain obvious constraints must follow”
At 94K, stay at home spouse w/ kids. I live in upper midwest, avg cost of apartment renting $1200 2bd rm. Own a home, $1800/month. You are correct, @ 94K I am struggling to save.
If that's true, it's feels pretty satisfying to hear that Google is on the receiving end of terrible customer service for once.
not anymore, for your personal use you don't need to pay, but the build will expire in 7 days
This short story, by the same author, speaks to this idea: https://slatestarcodex.com/2017/11/09/ars-longa-vita-brevis/
4242424242424242, 12/2021, John Q Citizen, 123.
OSX Keychain has a "memorable" feature for password suggestion (e.g. getup3_gulag). 1Password has a "words" type of password (e.g. ancestor-dissent-rubdown). I suspect other password managers have similar. That's what I use in this situation.
There are lots of restrictions on government that prevent it from directly implementing policies passed by a majority vote, or empowering officials elected by majority vote. And overall these restrictions are considered essential by almost everyone even if many dispute any given restriction. So it's clear that merely being appointed by a majority is not enough to make an official's power net positive.
This is really good stuff. I think the only thing I'd add is that, if you're building a login system anew, you should do 2-factor, and you should not use SMS codes. Use phone authenticator apps (time-based OTP's), FIDO U2F, heck, even Smartcards if you're paranoid.

The best implementations I see are the ones that allow both phone authenticator apps for the people who don't want to carry a keyfob around or need to log in via their phones, and U2F for people who want their physical factor separate from their phone.
By providing information about the new CFO, one that the CEO didn't even bother providing a last name for?
Now I'm really curious if they're going to casually shut down doordash (afaik the doordash app for the dashers uses enterprise certs).
DRM is crippleware which has always been a terrible idea. Let's ditch the focus on corporate profits and instead focus on making society better. Which is indirectly good for corporate profit anyway.

Edit: I wish the Hacker in HN was real.