skysight-inc/HackerNews huggingface dataset:
Doing a project that’s already been done before is such a learning experience. The person in the article learned a whole new framework to try and optimize their project. What a great bonus skill to have in your back pocket.

I have been trying to develop my own soft skills. I used to think things like small talk were a waste of time. I didn’t realize they were a way to open the lines of communication which you can then build up to something substantial. I don’t feel soft skills in this industry are frowned upon so much as people (like myself) are just a little ignorant about them. I’ve noticed devs can give some really blunt feedback and genuinely think they’re being helpful, and they are! But a person receiving the feedback who already isn’t confident can feel like they’re being criticized. The two people need to almost meet half way. Be confident enough to take the feedback, and be a little more careful with your words when you give it.
Managing Risk with the NASA Risk Matrix
The alleged crime should not have been a crime; hence the post we're commenting on. State actors are, indeed, immune from criminal charges by definition, but that does not mean they are not culpable in the broader ethical sense.

And even then, I'd argue strongly that given the amount of mental illness in our society, the state has a duty to ensure that their process of deciding whether to commit harm to someone does not commit undue harm in itself.
>In the year after the iPhone was announced...

The iPhone was a one-in-a-generation product that upended an industry. Yet I see 10 products being compared to it a week.

It may sound cynical to people here, but in the long-run, you'll do a lot better thinking "this is probably not the next iPhone" than having FOMO that every second tech company might be the next Apple.
“little app” is an absolute beast
Is this an example of "evolutionary psychology"?
Put another way, if your code is very difficult or complicated to unit test, you've probably abandoned best practices for the language you're writing in somewhere along the way, in the name of expediency.
i don't know about ph, but i don't think hn minds if you post updates every month or two?
> we're trapped in a system that doesn't provide workable means to solve our pressing problems

Generalization: most of those problems are political rather than technical, and unlike with technical problems, if you make a wrong guess about how to solve a political problem, the costs might be unboundedly catastrophic (e.g. world war).

I personally believe that the best response to global warming is open borders, because it would mean that all the people who:

* are living in the global south could relocate somewhere colder and further inland, if they wanted;

* are subsistence farming, but who would be great engineers, scientists, etc. given the right opportunities, would be more likely to get those opportunities.

Most people think that open borders would be bad, and I don't think I will be able to persuade them otherwise in my lifetime.

In general, alternatives to persuasion in politics amount to seizing power and/or changing the rules of the game. Even if I thought I could do that, which I don't, I wouldn't, because all too often in history, the cure is worse than the disease.

That's why I think these problems are hard -- and why I'm scared of people who propose grand solutions to them.
Without the LSP implementation out in the open, though, sorbet is just a type checker. It's not made much for sense for me to start integrating it into my personal projects just yet, since I only get the benefits when I run tc manually. Once Stripe opens up the LSP, however, I can see it gaining widespread adoption.
Experience taught me the opposite:
If nobody have implemented your product idea, most likely it is because there is no need for your idea. If you don't find any competition - quit.
The way you are going to be executing on an "idea" is what counts. Seldom is the case that the first one implementing the idea is the one that ends up taking over most of the market.
it's possible they're trying to avoid a monoculture of web servers that serve tor sites in order to avoid many sites becoming insecure in the event of a bug disclosure for a software package they have no control over
What a good example. I heard this claim recently from a family member and decided to look it up. It sounds unbelievable and deeply disturbing that Cuomo would knowingly send infected people to be admitted to nursing homes. The way the story is told, it sounds like he's actually trying to spread the disease and kill old people.

It turns out it's all spin. I'll admit it took quite a bit of digging to get beyond all the nypost/wsj/fox stories spreading misinformation. Yes, Cuomo said a COVID-19 diagnosis was not a reason to exclude patients from returning to a nursing home in March. But also, hospital bed space was absolutely critical during that time. While this was happening, about 25% of the nursing home workforce was infected anyway, and staff seems to have been the primary means of transmission. Also, after a week or so of showing symptoms, it was thought that the patients are no longer infectious to others.

The reason that you, my family, and the right-wing media are going crazy over Cuomo's decision is because Trump is making it a political issue and using this as a talking point. The reality is that Cuomo arguably made the best decision possible at the time, and there wasn't really an alternative. Other states made the same decision at the time, and based on the outbreak numbers we're seeing today, we'll see that decision again in the near future. The only other option was to let hospitals overflow their capacity. Maybe there should have been centers for COVID patients that are released from hospitals, but that's a massive logistical problem to be solved on short notice in the middle of a pandemic.

Cuomo's executive order happened in March. By May, once things were getting under control, Cuomo changed that order, presumably because hospitals now had more capacity to house patients. Take a look at the curve from NY and tell me you could have made a better decision at the time: https://www.syracuse.com/coronavirus-ny/

If you want a reason to be outraged at Cuomo, the real scandal here is NY state providing immunity from lawsuits to nursing homes who mishandled the outbreak. The reason you're not hearing outrage about that from right-wing press is that it's also a republican strategy. States across the country are granting lawsuit immunity to protect insurance companies and care facilities.

This is the closest you're going to get to the real story, if you'd like to learn more: https://www.nytimes.com/2020/07/08/nyregion/nursing-homes-de...
Could not disagree more. I train 10+ hours a week cycling and race competitively. apps and data are absolutely critical. I even get value out of apps with instructor led classes when my motivation is low.
The notion of a public API is really more fluid in the context of internal codebases as well. It's important to maintain your contract for forwards/backwards compatibility when publishing a library for a world. When you can reliably rewrite every single caller of a piece of code, you don't have that problem.
I think the market is betting more on AMD than Intel serving that market though.

I could have kicked myself for not buying AMD stock years ago, even joked about it with some friends at the time but couldn't afford to take the risk. The reason was (rightly or wrongly) Jim Keller returning to work on Zen.

He's worked on a few different and really exciting things since, but he's at Intel now. I suspect they'll sort it out and turn things around, but running their own fabs is their biggest problem now. They aren't competitive with TSMC and they desperately need to be.
Slack acquires email app Astro in biggest acquisition to date
A 9-Step Formula to Craft SaaS Content That Converts (No MQLs)
This is dangerously close to not understaning what you are doing. _Thinking_ what to test has a benefit of making you think, not just cargo-culting.
I’m a software test engineer and spend quite a bit of time performing code reviews. One thing I always ask for is proof that the code works - this requires a combination of unit, integration, and e2e tests.

Unit tests are great to show that some code works in isolation, and then a few integration tests can cover the functionality. You should at a minimum cover each path through a function with boundary cases, which would be far too much effort to do via integration tests.
Unreal Engine can now capture facial expressions via an official iOS app
> For some reason though, we have to go over and over this mind numbing stream of preaching and virtue signaling every week. You start anew every time and have to prove your loyalty to the grand cause or the ruling party, or whatever it is at this point

You can do whatever you want. As can everyone else.

If anyone doesn't feel that either of those things are true, then I really genuinely recommend some therapy. Therapy is great.
The lack of recorded history is more about the west-central African, Caribean and American colonies. India has a decent historic record surviving today and it shows the usual story of class-stratified kingdoms waging wars, persecuting ethno-religious outgroups etc.

Source for the systematic destruction of historic documents in India and America ?
Lemmy looks great. The codebase is really nicely done. They really need serverside rendering though. I started working on a PR a few weeks back but it's a huge undertaking. Also it needs non-websocket support. I really hope it takes off though.
I guess I'd disagree, since multi-level marketing scams are marketed as ways to make money, and as a general rule that is not what digital nomadism is marketed as.
The screenshotted paragraph on deplatforming, asserting lack of transparency in ultimate service of MasterCard or fear of Patriot Act, is not the case.

On the contrary, the lack of transparency largely traces to a sort of “security through obscurity” principle applied to fraud, money laundering, or other regulated/illegal uses of funds.

The idea is that if something inappropriate is happening, the account holder must not be tipped off until investigation is completed, so the account holder’s behavior doesn’t change. Another way to think of it is that telling account holders what’s happening could be interfering or tampering with future evidence.

This is not unique to the financial system, it’s how it works in any situation where investigation is needed of ongoing activity.
If you believe that the political right and political left in America are equally anti-truth—or even within a few orders of magnitude—then you are the one who is willfully blind.

For 2 decades now, the right wing has been selling lies to build anger and get votes. It's well-documented and easily provable. The left wing (such as it is) has politicians who do what politicians do—which is to say, some of them are incapable of telling the truth to save their lives, while others are genuinely people of integrity trying to make things better—but they have absolutely not had anything like the kind of concerted effort to erase truth from existence in service of their own short-sighted ends.

And the "even-handed" approach you are attempting to perpetuate is—again, demonstrably—a huge contributor to letting the Republicans get away with their many lies.
There shouldn't be anything particularly complex in test code, limiting the extent of any "reimplementation". Moreover, if the test client is different from real clients and not "in sync" it's a good thing: unit tests that do something differently within the limits of documented acceptable behaviour expose assumptions and bugs.
For example, suppose outputs should be sorted in a certain way, but they are sorted if a client presents sorted inputs and not because they are actually checked and sorted: a test with random inputs can expose the hole.
And do it early, marketing shouldn't be something you just sprinkle on at the end - there some things that make marketing easier that can be baked into building whatever it is you're building.

For the coding school idea, I imagine some level of referrals would be one of the first tools at your disposal - something that should be native to the product itself.
Given that the sanctions also blocked Huawei's license of the ARM design. I think the Chinese will create their own processor family.
We recently got a very green new hire at work. I told him to learn some vim because it would be helpful for him. He went rogue and used nano instead.
Below are some examples of nsibidi recorded by J. K. Macgregor (1909) and Elphinstone Dayrell (1910 and 1911)

< Examples follow >

Toilet soap

Ummmm?
https://www.grammarly.com/blog/fish-fishes/
It's been possible for a while but never really taken off. As you say, because Microsoft don't control or profit from the hardware (apart from their own Surfaces) they have no real incentive one way or the other.

They did try a more locked down version of Windows, Windows RT, on ARM. It was predictably a disappointment.
I know you are making a joke, but a barrier of entry is definitely part of the equation here. Right now, a good portion of the web development seems focused on removing friction as much as possible.
It takes skill to know which parts to test with unit tests.

If you start striving for over 100% unit test coverage, then you'll be testing if the IDE pre-generated setters and getters actually set and get the value. This adds zero value to the codebase and you'll be testing things that, if they fail, will break half the world anyway.

Unit Tests are for algorithms, stuff that does something complex and not immediately obvious. Preferably deterministic, every time X goes in, X+Y comes out type of stuff.

Most tests should be either integration tests, testing the interfaces between different parts of the software or automated tests pretending to be the user, made with Robot Framework or something similar.
AFAIK it only caches js files, not fonts.
Didn't expect to scroll this far to find this.

TL;DR: GetSolarTimes(Location, Date) is a unit-testable function.

Had some thought been put into writing with unit tests, there would be no problems with that example.
Rule by diktat is a recipe for demotivated staff.
there is real world research that actually shows that the 20/80 works in unit tests, the last 20% hardly catches any issues or contribute very little to quality
No, you can't find bugs that you can't think of.

Property based testing and random values in unit tests find lots of bugs you didn't think of though.
How to Gain Business Value from the Internet of Events
Technically Jim Keller is still at Intel as a consultant I think but not for long ...

https://www.anandtech.com/show/15846/jim-keller-resigns-from...
Not that I especially want to validate your reference to a piece of diegetic COINTELPRO agitprop in a not very good and rather outdated polemical novel, but if it's "two mutually antagonistic but still self policing Outer Parties" you want, have you seen the ostensibly competing libertarian tendencies that currently make up American public politics?
It's weird, when I was I younger I used to love shortform syntax like that as well as removing unnecessary punctuation

But now that I'm older, I appreciate things being more descriptive and orderly, including strict use of semicolons, functions that say what they are doing (e.g. to_string), or being explicit about converting (e.g. static_cast<type>)

I think it's because I find trying to make everything as succinct as possible ends up trying to be too clever.
GP seems like someone who interviews like I interview. I never ask candidates to talk about their personal life. I ask them to tell stories, and I try to understand whether they can reflect on their experiences and form a narrative. I’ve found that technical ability alone isn’t a great predictor of success. What matters is more that the candidate can communicate their thoughts fluently and that they give some consideration to their goals and how to work with others to achieve them. So I ask behavioral questions. And I ask questions and prompt people because I want to make sure I got a good story out of them. Some people don’t immediately trust you with a good story so I try to establish trust first. I do that by actually telling them what they’d be doing and why and what my employer is about first.

I’d rather hire for those skills plus code reading ability because I’ve honestly never used a single “algorithm” in my entire working life.
On that note it is a great tool during development to get a piece working without connecting it to the broader application. Test driven development gives a nice debugging context that is easier to work with. The code coverage and regression part comes as a nice bonus feature.

I’d also like to add that if you contribute code to an open source project it is extremely beneficial to have iron-clad unit tests. Since there is so many devs it would be easy for someone to accidentally break something you fixed already.
Obviously you need to think about how to test. Usually this leads to finding omissions in your code adding edge cases.
This is the correct way, but in my experience less-traveled programmers start striving for that elusive 100% coverage and end up writing unit tests for completely obvious stuff like constructors (which do nothing else than setting values) or setters/getters.
This seems to me the idea(s) of a young person who's working (no pun intended) on the small picture, but missing the big one. In short, somebody who doesn't know yet what to do in life, however, not what to do in the planning or business sense (which is what described in the post), but more precisely, what they _want_ to do.

To me, rather the conceptualization(s) proposed, the words of John Carmack are immensely more powerful: when asked about what's the difference that being rich made to him, he replied "not much, I wake up in the morning, I go to work, and I do my best"¹.

¹=I can't find the reference. I don't think it comes from Masters of Doom.
When people do this, they're usually following a convention where those short symbols are understood to mean certain things in that domain. If there's documentation describing what the code is doing and why it's doing it, that can be much more useful than longer variable names.
Yes! I do something similar which is sometimes referred to as functional core imperative shell. My goal is to put as much code as possible in the computational/functional part. This part is easy to test since it's pure. The remaining plumbing/imperative part has much less code, less dependencies, and less logic, which as you say doesn't need unit tests anymore. It needs less dependency injection as well, which is a huge bonus.
"Self reliance" that depends on a walled garden doesn't sound very self reliant to me. On the contrary, it increases your dependency on a for-profit juggernaut, whose interests are aligned with yours only insofar as your interests increase their revenue.

Tolerating such helplessness is not for everybody.
I love the “jumped the shark” metaphor, but in the interests of derailing the thread with pedantry, I think that’s the wrong metaphor.

To me, jumping the shark is typified by the creators/stewards of a thing making more and more desperate attempts to cling to relevancy, with no coherence between their attention-grabbing efforts, and with nearly all of them corrupting the thing that made the original show/site popular to begin with.

HN may not be the place it was, but I don’t see the site doing wild things like allowing people to post videos that play on the site.

I really think “Eternal September” describes it: There is a new generation of users that now dominates the culture. Thus, it is no longer what it was, but nevertheless the stewards aren’t trying to recover its lost “glory” with stunts.

To me, it feels like a pub that used to be a cloth-cap and sandwiches place, but as the neighbourhood around it gentrified, it evolved to serve a wider menu. But it’s still a pub, it’s not like they pulled out the darts boards and replaced them with a DJ and dance floor.

Reddit, on the other hand... Reddit is throwing stuff at the wall incoherently.
Looks at yjs - it's probably the project that's furthest along here.
A basic issue of encapsulation: objects shouldn't rely on the mutable state of something else, but only on their own.
If someone is coughing and sneezing do you give them a hug? But if they aren't do you? This is a ridiculous article.
Yet another Dell laptop with Killer Wi-Fi issues. When will they learn?
What's missing from the title of these articles is "to me" or "in the context of my project". The approach to testing a CRUD/line of business app is tested is different than the approach for testing something like EC2, which is also different than how a library/package is tested. Without context, it's really easy to argue exceptions or counter-examples to any opinion.
Custom mediation guide to bring happiness, success and freedom to your life
Someone will lose money, but you can't rely on Softbank throwing another billion dollars down a hole every time you've a tech disappointment to unload.
I'd really like to hear more about which payments in specific MasterCard objected to. I can believe that MasterCard is being overly censorious, but I can also believe that these 'free speech' alternatives to mainstream products do often attract some really bad actors that would genuinely cause legal issues.
GitHub Awesome-Starless Repositories.
I’m just using it as an example of an incumbent being disrupted. It takes a few years to show up in the bottom line.
Reference-counted graphs are usually quite fine.
I'm definitely a fan of higher level tests that frequently survive refactorings.

I'm not arguing unit tests are useless.
Yes! Or a terse, “this has already been done,” with a link to the project. Some poor soul just said they spent the last 2 years of their life learning to make their project, and you’re gonna hit them with the “been done” punch?
>> Or are there any other laws which would cover this kind of unauthorized access?

Here's the thing. Violating terms of service and unauthorized access are two different things. Your site apparently is publically accessible and anyone can create a fake user profile. You are not vetting anyone or granting any specific person access.
Can you explain why you think this is a modern thing?

IMO if someone in your group starts vomiting can mean the food we just ate is bad so would be safe to throw up sooner then later.

I was raised with animals in a village and I have no trouble with cleaning animal excrement but human excrement's smell instantly has an effect on my stomach(I had to get some samples for a medical test from my son poop). But sure there are daily working with such thing and they get used to it.
> Unit testing is most likely underrated - and essential.

You are right, but it still doesn't mean aiming for high coverage. In the big company case you'll want to cover the interfaces and dependencies and less of your team's code.

I know that part of this will fall under "integration" but definitions are sneaky.
Huawei’s ARM-based 8-core Kunpeng 920 processor shows up in a desktop PC
> (Hello Red Hat lol)

I think you underestimate the revenue OpenShift is generating... If I see the support contract bills of my clients, holy crap, you could host a ton of stuff on GCP for that.
That would be fine with me. Ultimately if I knew the first listed result when someone searched "mapquest" was mapquest.com and not a malicious ad, I'd switch every senior citizen I know to using that search engine immediately.
I thought the debian SAT solver was a maintainer tool rather than something that ran every time? In any case, conda's implementation is really quite awful by comparison and they would have been well served by copying something that works instead of building something that doesn't.