skysight-inc/HackerNews huggingface dataset:
It is very unpopular view.

I have never been a fan of unit testing and instead I prefer end to end functional tests -- where you write tests that verify your application still behaves exactly as expected but does not care how it is implemented.

This usually requires much less code, does not deter refactoring and also focuses on the one thing that is really important for the client.

Since the outside interface of the application is less likely to change compared to the implementation, the tests tend to be more stable and require less maintenance over life of the application.

Unit tests were supposed to help refactoring (by making it easier to ensure the code still works after change). The sad reality is that I can never trust unit tests. I still need to research the code around the function I am modifying to be sure I am not breaking anything.

Also my personal style is to do shit ton of refactoring. This means I usually start with something that only vaguely resembles the end result. I spend a lot of time moving stuff around until I get rid of everything that I don't like.

This absolutely precludes writing unit tests up front. But also, after I have spend so much time polishing the code, writing unit tests for it is absolutely the last thing I want to do. There is absolutely no possibility that people will put effort into writing tests well if they did good job writing the actual implementation.

Yet another reason why unit tests are broken is that there is no mechanism, no feedback loop to ensure quality of tests.

When you write application code, if it is broken you will have feedback in the form of defects and outages or various other problems.

One reason that documentation is usually broken is because there typically does not exist mechanism that would ensure that documents stay in sync with design and implementation.

The same problem with unit tests. The only strong signal you get is when the test does not work. But there is no good signal to fix real important problems like missing tests for important part of the contract.
The blind often have an exceptionally developed sense of hearing. Don't you think they'd much rather just have the ability to see?

These strengths do exist, but are completely wiped off the table and then some by the unimaginable negative impact that these brain function incompatibilities have on daily life.

And then on top of that Google announces they're going to sabotage your accessible toilets and steal your crutches.
That's ~$1 million per worker. Sounds like they'll be building heavily automated factories.
Is it reasonable? It depends on your goals. Do you want to ensure that, for the set of well known edge cases, your function is correct?

Proving the function is correct for the known edge cases for integers and integer comparison is not excessively hard. Let's go for the worst case of edge cases, and:

- Pick the input pairs that are problems with ints: the set of (minint, maxint).

- Pick the input pairs that are problems with comparisons: the set of (-1, 0, 1).

- Pick input pairs that show that it's correct where a < b, a = b, and a > b. That last set of cases is nicely covered by the previous two.

That's a total of 25 input pairs(5^2). In my opinion, that's not an unreasonable number of test cases to test for correctness. Why do I think it's reasonable? Because while it's technically 25 test cases, it's really just one test that runs through an array of input values in a loop. Really simple, and adding more test cases as the business logic changes is equally simple.

And let's be honest, given how quickly computers work these days, even testing all ints for both inputs isn't completely unreasonable (though I wouldn't make it a part of a unit test suite). Especially if your logic is more complicated than a simple equality test (which most function logic will be).

EDIT: "Accidentally mistype" 'a==b' as '(a == 0 || a == 1 || a == maxint) && a == b'

Love it.
I've had to do a lot of reading for work and I have to say, the Quest 2 has saved me from a lot of migraines, because I can recline while reading so as not put strain on my neck.

I'm not a Zuck fan, but damn the Quest 2 is a game changer for me.
> And if blackmailing families back home becomes an issue or real fear

Threats of blackmail against families have long been a reality and a key tool the CCP uses against overseas students and businessmen.

There are 8bn people in the world, US can definitely afford to pay close scrutiny to Chinese citizens, they don’t hold a monopoly on skilled labor.

> Our only chance is winning based on speed of innovation

Advantage of speed in innovation is rendered useless when the Chinese just sit & wait while you spend billions on r&d only to steal all your IP when your ready to launch your product.
Authur
This is a conspiracy theory! You want to kill my grandmother! Long Covid!
This is from the same person that reported iOS vulnerabilities recently: https://news.ycombinator.com/item?id=28637276

Thanks for all the work, I hope Apple and the anti-trust enforcing parts of governments take notice.
Not sure why he got rid of the picture of it, but he actually put a computer inside his HHKB. I was waiting for him to do a write up.

https://palmerluckey.com/oculus-goblack-how-to-make-your-ocu...

You can see that on wayback machine.

https://web.archive.org/web/20190325121641/http://palmerluck...
> I think 2022 is going to be the year that we really see legacy car manufacturers come out with truly competitive EV options.

That was supposed to be 2021. And 2020 before that. And 2019. Remember in 2018 how GM was going to kill Tesla because the Bolt beat the Model 3 to market by like five months? (Remember when people genuinely felt the Bolt was going to be competitive with the 3?)

> I don't see Tesla's moat lasting as long as people expect once the EV market expands to the general public.

Maybe 2022 is the year. But... I'm not holding my breath.
Maybe evil is just more profitable than good because it externalizes its costs.

Creating a sports car, or paying someone else to do so, is a lot more expensive than just stealing one, if you can get away with it. Robbing a bank is cheaper than building a bank. If you can do this kind of thing at scale, well, to the extent that you only have to spend money on capturing value instead of both creating it and capturing it, you'll be vastly more profitable than the "suckers" you're capturing it from.

Same thing is true of Fecebutt: creating the mountains of data their users go to Fecebutt for (restaurant recommendations, family photos, thoughtful essays, sexy bikini shots, social-network data) took perhaps a trillion person-hours, but Fecebutt gained control over it at a cost of under a trillion dollars. Ballparking, they had to spend less than 5% of the cost of those assets to acquire control over them. Now it can leverage them to organize genocides, rig elections, and extort photos of government IDs and use them to out promiscuous women and closeted gay people—not to mention selling you tens of billions of dollars a year of stuff you don't need through advertising.

It's hard for positive-social-value companies like Shopify and Datadog to compete on salaries with that 20:1 value multiplier. The fact that they manage it at all is not only a testament to the enormous value they're producing but also the enormous destruction of value implicit in Facebook's business model.
> Next, she labels Hayek as neoliberal. It is hard to take an article seriously if it cannot distinguish between laissez-faire capitalism and neoliberalism. This is a surprisingly common inaccurate generalization. I cannot help but wonder if the author is sincere.

Respectfully, I think you may be out of your depth here. You critique the author for associating a major player in the development of neoliberalism with... neoliberalism? Hayek was a founding member of the Mont Pelerin Society (sometimes considered a symbolic birthplace of the ideology) and his contributions to the field of economics helped lay the foundation for neoliberalism's global ascendance. Neoliberalism's Wikipedia entry is littered with mentions of his name. It's difficult to think of someone more qualified to don the label.
Google ad tech supply chain dominance 'harming businesses, inviduals'
But what's the point of making it through Tx fees -> Hitting all news outlets versus just sending the money normally, as nobody would really bat an eye.
He did it for the likes
I think it can be cheaper to initiate these types of attacks than to defend against them. Just pissing someone off with an extra $20 to spend can give you a bad day
Not just in science careers. For any kind of advice in anything.
> especially given the additional subtlety that what little fascist movements there have been in Australia are paradoxically aligned with the current protesters.

I think the paradoxical nature is a clue that there might be a little more to the story.... My take is most protesters are pretty normal people and the media/politicians overblow the extremist element out of self interest.

> footage of the group/protests that have been running organised skirmishes with police most of this week

I'm generally sympathetic as it seems like the police action is what causes the degradation from protest to skirmish. It sounds like you are aware of the livestreams but for anyone who isn't check out this facebook streamer for full unedited footage (commentary can be biased though). This video at one of the larger protests pretty clearly shows that arc.

https://www.facebook.com/therealrukshan/videos/2149636972096...
> How did we do the Manhattan Project? By taking in all the scientists fleeing Germany and about-to-be-occupied mainland Europe

Given that the same Germans (Klaus Fuchs) then leaked the bomb to the soviets, I’m not sure this is the best example.
I like this one for economic insight: https://carnegieendowment.org/chinafinancialmarkets/
No, I found the same. Team disabled them on every release build, as they felt it was too slow. I may bring them back in the release servers, but it is honestly trying to argue for these when nobody else cares.
Maybe things have improved a lot since I last tried VR, but the combination of low effective resolution and distortion from the fresnel lens (which also produces a kind of discretization effect similar to visible pixels) meant it was very unsuited to productivity tasks.

(Gaming was amazing though...)
Some users have reported that the tracking cameras have gotten white dots in them from sun exposure, but the units that I've seen generally have a few dots in the periphery straight from the factory, so I think they're just not noticing until after. You rarely use the passthrough view, anyway, so it isn't a huge deal, generally.

Other than that, I can't really think of anything off the top of my head. I know someone who uses one on a trampoline in the heat of the summer to cheat in a video game; Q2s are surprisingly durable little things.

Just don't stare at the sun, I guess.
Pretty sure you are just making things up now unless you have a source.

There were lots of arrests, lots of convictions, some fleeing to Cuba and subsequent detentions. Nobody in the Chénier cell the precipitated the crisis was let off on entrapment or, as far as I know, ever alleged entrapment. They regarded themselves as patriots and I believe they would have found the idea very offensive.

None of this of course has anything to do with Justin Trudeau and the fact that the FLQ members negotiated passage to Cuba seems to undermine this weird Castro thing too.
This depends what you mean by "truly competitive". I work in this space and we're expecting the real turning point to be around 2025 for the mass market unless the infrastructure bill gets passed as-is with the massive incentive for BEVs, in which case it would pull that forward by ~1 year.
Say we have an application covered by 1000 tests. We fast forward a few years and (amuse this crazy notion) the application is decommissioned. We look and see that 500 tests never failed; those 500 always passed. Did we waste dev time by writing those tests?

It's an interesting question to think about.
They're talking about MoCA, multimedia over coax. The standard is from 2006 and runs over regular household rg59 or rg6 coax.

That being said, I've worked with 10base5. Drilling for a vampire tap in an open elevator shaft is its own form of exciting.
Well damn. The more you know.

):
This thread should help - https://news.ycombinator.com/item?id=11349870
Not sure what you’re implying!

End of the day, it’s tech. Tech platforms will have security vulns and thread models. Interested to see what that looks like for VR.

Pretending it won’t happen is sticking ones head in the sand.
Midwest prisons don’t typically harvest the organs of their prisoners.
Kudos to the author for gathering some data and sharing their conclusions. I encourage you all to take a look at the survey responses though. I know Scrum and Agile bashing is fun and all, but we're drawing some pretty big conclusions from just over 100 responses. And while the focus of this seems to be pitting "big tech" against others.. with the assumption that we're talking about FAANG.. there are 16 responses from public tech companies (if I'm understanding this spreadsheet correctly).

Data from article here: https://docs.google.com/spreadsheets/d/1Cz7NqDblls_TBJVI4xwD...
As a workflow consultant, that's one of the clues to help someone find their groove. Good and Bad days can happen for various reasons. Finding patterns is key to managing your life well.

One exercise we use is to first track your days and rank them just on productivity, which is just the measure of what was planned and what got done - we worry about volume and type of work later on.

Rank the day on a scale of -3 to +3. Once we have enough of these we see either an internal or an external driver.

Crossing that ranking with a daily work journal (Ben Franklin style is fine), you'll start to see all kinds of things. By far the biggest influencer for better production I run into is day of week.

The day of the week we have the most control over is our most productive day. The exception to that is when people are "burning out" on their work and when they do have more control, they coast / float / rest / runaway / crash.

Once we find the better days, it's usually easier to repeat those conditions than it is to eliminate the poor days.

And just so this doesn't sound like a campaign to turn everyone into a 7-day-a-week work monster, I'm convinced over and over by watching people trim their days and weeks, increase their "people" time, and carry a notebook with them ALL the time, that less labor, more life results in more work and more love of that work.

When you have a great day or two of productivity, and then skid to a halt, ask yourself more questions about the work ahead. Get big picture and drop more questions, puzzles, problems on your subconscious. Chances are a few days from then you'll have all the answers and you'll have another blow out day! Tightening that cycle up is the goal, but take what you get and enjoy the ride.

Happy to give you a free workflow tune-up. Takes about a month, and it's usually fun.
I think managers can be useful, but I am starting to think that maybe the issue is that managers don't have to share power with someone who has technical chops.
I understand that postgres is pretty decent at storing large binary data though?

I've been meaning to investigate trying storing images in postgres on a hobby web project where it could be convenient; I'd still want to make sure I was streaming bytes from postgres to the client, not loading the whole image into memory and only once fully loaded sending it to the client. Looking at the pg API's for my language/platform of choice, it looked at least plausible to do this with a BLOB.
This is a great breakdown of the early state of VR productivity. There are still a few key items that are barriers for me personally:

1. Eye and face tracking. The author mentions lip syncing and hand tracking. That goes a long way, but it doesn't recreate the video experience to me. There are a few vtubers out there that are doing some seriously impressive tracking, but it requires tons of special equipment at the moment. Once this gets resolved in a consumer model, I think things will really shine for virtual presence.

2. Lighter weight headsets. For longer sessions, a custom headstrap helps a ton, but even still lighter headsets will go a long ways to helping here.

3. Better lenses and better displays. The lower res means you're really forced to work at huge virtual screen sizes, as the author mentions. While this is the least needed item in this list for basic productivity, the screen door effect definitely creates a barrier some of the time.

I highly anticipate that we'll see a sizable portion of the population change over to VR for productivity within ten years. It has huge potential, especially with the remote work environment many are in these days. I would love to be able to feel the presence of people around me again, while still not having a commute or the risks associated with being physically in the same room.
Exactly, these are such tired arguments by people that honestly do not keep up with Tesla. HN for some odd reason has a bias against Elon Musk and Tesla, a lot of people on here hope they fail. SMH
The war measures act was repealed in 1988
Yep, you got the quote! And I've even (narrowly) had more vote ups than down.
Where are these cars going to come from in 2022? Which manufacturer is going to produce and sell more than 150,000 (i.e. 1/10th that of Tesla) next year?
Tax the source. Apply the tax to every coal mine, oil well, managed forest, or any other material that has embodied carbon. These companies will do what they always do, raise prices and pass them on. This trickle down effect should ideally work their way through the economy and incentivize using fewer carbon-emitting sources.

Of course there is the question about people that simply _store_ carbon, e.g. what if there's a coal mine where the buyers of the coal don't actually use the coal for its energy purposes but instead for, say, makeup creation, or wood for building? We would probably have to work out special licensing for non-usage purposes and that's where it would probably get tricky.
Ascend Money becomes Thailand's first fintech unicorn
This is a disgusting example of political lobbying by unions. Fords makes Mach-E in Mexico while Tesla makes cars sold in US in US. Why is the one who makes cars here and who is effectively the reason why this market exists at all should be excluded from the incentive??
Yes, I would say most are outside SV. The SV work style isn't a good fit for everyone :).
Do you have any suggestions for a better head strap for the Quest 2?
Line managers should definitely have technical chops.
Recommendations for a strap? We have the Oculus Elite Strap and while better, isn't as comfortable as our Rift S "strap".
> change over to VR for productivity within ten years

Curious, but why not AR for productivity rather than VR? Both could work, and AR is less invasive.
Summary: Right-wing libertarian think-tank says abandoning the gold standard and moving to "fiat currency" caused all the economic problems we're seeing now, and use some graphs to "prove" it started in 1971 when Nixon decoupled the dollar from gold.

Article cites Thorsten Polleit of the Mises Institute as evidence, and of course invokes Libertarian Saint Murray Rothbard. Author is right-winger Jon Miltimore.
You tax carbon when it’s added to the carbon cycle, you refund when carbon is verifiably removed from the carbon cycle. The price of all carbon-intensive domestic inputs go up as a result. If something was manufactured abroad without certified paid-for carbon with a process that matches international standards, then a punitive worst-case estimate is applied upon import as a tariff, such that it’s always cheaper to get certified.
Indeed, it was replaced with the Emergenices Act as I mentioned.

In fact Justin Trudeau considered invoking it for the first time since the replacement in the COVID situation.

[edit] Between that and the Notwithstanding Clause [1] there's a lot of latitude here.

[1] https://en.wikipedia.org/wiki/Section_33_of_the_Canadian_Cha...
I scrolled through it for five minutes just now. Advice animals, rage-bait about politicians, political cartoons, cute animals—this is complete garbage.
Bricked meaning bricked meaning what? Where are the original goalposts?

Because nothing is unfixable. If bricked means unfixable, even with expert attention and unlimited replacements, then bricking is a meaningless term that only applies if you, like, atomize the device.

Otherwise...

There's the point where you have to replace a part entirely, but you might be able to steal that part from elsewhere in the device.

There's the point where you need entirely new parts.

There's the point where fixing costs more than the device is worth.

There's the point point where fixing costs more than the device was brand new.

Is one of the above a good threshold?

Would you pick something else?

Do you disagree about things being unfixable?
> The Quest 2 is really cheap

But it requires a FB account right? Or is there a way to use it without one?
Oh, yeah, that's a good point; even people who don't do test-first most of the time will often do it for bug fixes.

I think the importance of performance to software quality via automated testing is profoundly underestimated.
Most of that calendar is pointless time wasting guff that benefits nobody.

Stand ups should last no more than 10 minutes and a middle manager has no place at them any more than occasionally.

Status updates should be slack messages or emails. Sync ups are just filler.

121s aren't necessary any more than monthly unless directly mentoring someone.

Daily post mortems tell you something is broken with your organisation that needs fixing at least one level of abstraction higher.

You could put every recurring meeting in that calendar in the bin and there'd be no loss to the business, probably a significant gain for having time to do things. This is a broken organisation.
They're in your source code - they are reachable.
US Senate Finance Committee Presses Publishers on Library eBook Contracts
Subtext isn't a spreadsheet, so I don't think it's fair to describe it as an "attempt to expand the kinds of problems spreadsheets can solve".
The term Public Relations was coined by Edward Bernays, whom wrote the incredibly influential book quite literally called 'Propaganda' in 1928. That should make it clear enough.
Did Medialab actually "bring" us those companies, or just acquire them after their founding teams already had?
I couldn't find the actual report, but in the news reports I looked through, it seems they somehow tried to amplify "good" social media messages about covid (wear a mask, covid is dangerous, etc etc), and bolster the government's messages about covid?
Why was no attempt at legal action taken?
To be fair, FPV equipment has always been made largely for outdoor use, hasn't it? I wouldn't be surprised if they found some way to mitigate it.

The Q2 without a non-OEM facial interface isn't exactly tuned as well for outdoor conditions (then again, Facebook just put out a new one) as most FPV hardware is.

By the way, do you know the vendor of the panels in Skyzone hardware? I've been wanting to try some out from a certain vendor for ages, but I can never tell what they're in, just that they're occasionally used in FPV gear that's always discontinued by the time I find out about it. Microdisplays are such a worse market than standard displays (like what's in the Quest 2); it's a real headache.