skysight-inc/HackerNews huggingface dataset:
> because I spend half of my time writing tests.

Only half your time? You're doing testing wrong if it doesn't take 80% of the time ;-)

I have a love hate relationship with testing. Working for myself as a company of one, some of the benefits testing bring just don't apply. I have a suite of programs built in the style of your point (1). The programs were quick to market and hacked out whilst savings ran out not knowing if I would make a single sale.

Sales came, customer requests came, new features were wanted, sales were promised "if the program could just do xyz". More things was hacked on. The promise of "I will go back and do this properly and tidy up this god unholy mess of code" slowly slipped away that I stopped lying to myself I would do it.

Yes there was a phase of fix one problem add another, but I have most of that in my head now and has been a long time since that happened.

Not a single test. Developing the programs was "fun" and exciting. Getting requests for features in the morning and having the build ready by lunch kept customers happy.

Now I am redoing the apps as a web app for "reasons". This time am doing it properly, testing from the start. I know exactly what the program should do and how to do it, unlike the first time when I really had no idea. But still, I Come to a point and realise the design is wrong and I hadn't taking something into consideration. Changing the code isn't so bad, changing the tests, O.M.G.

I am so fed up of the project, I do all I can to avoid it, it is 2 years late, I wish I never started it. The codebase has excellent testing, mocks, no little hacks, engineering wise am proud of it. The tests have found little edge cases that would have been found out by customers so avoided that. But there is no fun in it. No excitement. Is just a constant drudging slog.

Am trying to avoid dismissing testing all together, as I really want to see the benefit of it in a production substantially code base. If I ever get there. At the moment, the code base is the best tested unused software ever written IMO
Yes, we are aware of some flaws in the current documentation that have been migrated from the old site to the new site. Very soon we will improve this.
hehe, I didn't write one (yet :p).
but if you wanna chat about it, i'm down. ping me on twitter
I'm sure strong containment would help, but that degree strikes me as an infringement upon liberties. It is extreme, and the fact that it was effective doesn't change the legality/morality of that sort of infringement on personal sovereignty.
Hi petargyurov, great question!

Every recommendation is first produced by a model. Then for a recommendation, we add a human to the cycle that understands the client's infrastructure and adjusts the confidence score accordingly. The savings are then shown on a user's dashboard - alongside an analysis report.

When we onboard a new customer, we spend time understanding their infrastructure plans. Then we keep that information for our human-in-the-loop.
Completely OT: A grammar question about the headline.

Using "next" with "since" sounds wrong to me. I'd prefer "first" with "since" or "next" with "after". It feels to me similar to a tense or gender or number mismatch, but I don't know of any actual grammatical categorization to justify that feeling.

But I also know English has grammar rules that native speakers follow but that are often not taught in native schools. A good example is adjective order. When using multiple cumulative adjectives, they are ordered by determiner, opinion, size, shape, age, color, origin, material, and qualifier [1].

So...is there some grammar rule to justify my feeling that "next"/"since" wrong, or is this just a case of me not liking it for stylistic reasons?

(Well, I also don't like it because every supersonic commercial aircraft that makes its first flight after 2003 is the "next" to do so since Concorde. What's special about this one is that it is the first to do so. Thus, I think that even if "next" is OK grammatically with "after" it still should be "first" because that conveys what is actually newsworthy about this flight).

[1] http://theeditorsblog.net/2014/04/08/keeping-adjectives-in-l...
I think you would really appreciate Rust for backend web dev. Quite a few people who were once upon a time hardcore rubyists gravitated to Rust and became some of its greatest contributors: Steve K., Sean G., Carl L., Florian G., and many more.
the comment is relatable to a testing mindset progression, which is relevant.

Your comment on the other hand, less so...
I think if such a DNS/ip based round robin server is down, or replies 500 error, the client won't try another server

Unless there's a way to get all ip addrs in js? By custom client code that queries the DNS system?
Did you read the article? The buggy app was popular.

People don't care so much about small bugs, developers do. People care about bugs that stop them doing what they need to do.
Mask Cuts Own Risk by 65 Percent
Stronger containment measures does not always equal better. All it does is buy time at the cost of time (and human rights). The curve gets flatter, yet the volume remains the same, unless they're biding it out for a vaccine. And who knows if/when that will come.
I don't understand what you're trying to describe there. A raspberry-pi as your computer? It's too vague and pictures seem to not correlate with this short text.
This is, IMO, one of the most underrated aspects of the monorepo, that has such a valuable impact over time.

It only takes a handful of extremely passionate engineers (and I really mean a handful, like less that 2% of engineers in an org) to raise the quality-floor of the entire codebase.
I was answering the previous comment, but yes you are also right, though I tend to think citizen's rights are more at risk in China. Anyway that cannot also be taken for granted in the US or Europe, regulation must be agreed and evolved through time.
This makes me think of that X-files episode about the couple that were compelled to travel west to avoid physical discomfort: https://en.wikipedia.org/wiki/Drive_%28The_X-Files%29
Yep, Label LIVE uses fabric. It’s all wrapped in a React app that syncs state with redux, and app state elsewhere (e.g. user design files saved to disk).
In germany we have a drought right now. I never assumed that we in germany get water issues.

Now farmers said things like 'i have never seen so little water at this time of year in the 30 years im a farmer'.

I don't have the feeling we are recognizing the elephant in the room.

My personal take on this is to buy a farm, buy water reserve tanks, have a little garden and trying to become independend. Which is not a bad plan in general as it helps to cut costs down anyway if you do it smart enough. Its not that i get money when i put it in the bank and corona showed how volatile shares can be.
Not an answer to your question, https://www.tandfonline.com/doi/full/10.1080/03086534.2017.1... doesn’t speak about India (which I fully accept might be a counter-example), but you can add Sri Lanka/Malaysia/Malta to the list of places with untrustworthy records, and it casts suspicion on others. (the article also makes clear at least sometimes it was done with the consent of the new regime).
I think “hanging around” is a little too loose of a term to have a truly meaningful discussion, but I generally disagree with your assertion.

If you are in a herd and can be near another other herd member, it would not be beneficial to be near the one that predators are likely to target. If you are near that member, any mistake you make while running away might be your last. Less so the further away from that member (and the predators) you place yourself.

Predators do not always catch their prey. A fit herd can escape without any of its members being eaten. A herd benefits from having its weakest members culled, not by having weak members. No herd animal I can think of would slow down a trek for its weakest members.
The for/Else Statement in Python
I type fast enough that somewhat longer names don't hurt. Also tab completion has existed both in IDEs and in shells for many years now. But just like very nearly everyone else I fall into the "7 ± 2 items in working memory at once" capability range. Having to remember what a command/function/syntax element does instead of reading a word that says what it does takes away from that working memory.

Long-term memory is similar, while it's not bounded in the same way it takes time and effort to develop. I'd rather type `git new-branch` than have to remember `git checkout -b` and I certainly don't alias it to `git nb` or something: I can type `git n<TAB>` and let that complete it.
> I genuinely don't understand why people dislike it so much when software processes information about them, for their own benefit. I use Google, Facebook etc. a lot, and I've never witnessed any bad consequences of being tracked. If not for that strange aversion, technology could be so, so much better.

I think it's partly because we in the western world have a lot of exposure to hypothetical dystopias in our entertainment and rhetoric. And that's probably based in part on the paranoia that we had during the Cold War. I wonder if it's different in Eastern Europe, where you are IIRC.

On a related topic, how would you feel about websites being able to know that you're running a screen reader? In the American blind community, many have expressed concerns about possible discrimination against blind people. I would be in favor, but then I'm partially sighted (low vision).
One thing which I very much liked about it is that the installer takes care of luks / cryptsetup.
It's useful if you use something like Firefox containers and aren't necessarily logged in when you visit a reddit link
> seems to

Do you have a source for this? IANAL but if a Google font was disallowed for a jurisdiction, Google would be in legal trouble for advertising/hosting it on their own site, but that would be a separate case. I seriously doubt they'd share any of the liability for you using it on your site.
My thoughts exactly. Unit tests are a huge help in computational-heavy portions of a project and are easy to write. The other areas of a project don't benefit as much and the tests are harder to write and keep maintained.
Thanks, great resources. I must admit to having never seen these three sites before.
Exactly, though I believe there's still a thin line between testing the interaction, and testing the db itself. Just like, the difference between testing some code, and testing the language itself.
I don't think any VC would like to be attached to the app if the author were to be committing fraud under the FTC Act. Not only are the app reviews suspicious, but the testimonial pictures[0] are definitely faked.

[0] https://getbright.app/
Very true, although I do like the addition of font awesome and preprepared ublock rules in the addon
I've been using this for quite a while to get all posts with points >= 100. It's great.
Well, according the CNCF statement mentioned by techcrunch [1], Istio has been submitted in the past when it was very very young [2] - that at least shows intent?

[1] https://techcrunch.com/2020/07/08/google-launches-the-open-u...

[2] https://github.com/cncf/toc/pull/70
> Yet we continue to treat it (economics, the global financial system) as some kind of inevitable force of nature, rather than as something that we invented and (to some degree) chose. I wish I knew why that is.

Because markets and financials systems behave like a force of nature. Nobody sat down and invented them, they emerged. The only thing you can invent is regulations.

However, you can't arbitrarily regulate markets, or credit. If you do, black markets and informal credit systems emerge. You can't arbitrarily set prices, if you do, shortages and scalping are the result.

There is a window where regulation doesn't fail, which is going to be fairly close to where the market wanted to go anyway - kind of like building a dam.
If that were me, I’d have sent them an email, I’m sure they’d be happy to talk to you, just have to be a bit tight lipped about details of what you did until money changed hands.
Google Loon bringing internet to Kenya
Hi Thristle,

We're more than just RIs. We also offer Savings Plans, Rightsizing, and Spot Fleet management.

Our permissions include CPU, network, and memory logs. We can scale permissions back on a customer-by-customer basis, though (as we have in the past).
I've used Decentraleyes for a while now and it works great. I would actually like to see it—or more specifically, the idea—integrated into browsers. It would improve privacy, (potentially) security, and speed at the cost of disk space.
Criminal charges reveal the identity of the “invisible god” hacker
That _is_ the context. There may be problems with puritanism in our society but this particular complaint is incredibly silly.
> "their physical state was not compatible with self preservation"

I say that regarding the action of suicide exclusively, to illuminate the choices involved. Whereas someone poisoned, or someone with a severe allergic reaction to "just a little poison" did not have that choice.

The other point of pointing out the choice is that our society clearly has a negative view of suicide, but doesn't consider how random motivational anti-suicide words don't address why people want to kill themselves. As in, perhaps it is a perfectly valid option.

So,

I say "if we want to prioritize self preservation", because its a big if, suggesting that if we understood it maybe we would come to a different conclusion.

I say "not compatible with self preservation", because they might have a perfectly valid choice, and it is accurate that choice doesn't include living or our more familiar self-preservation instinct.

I see this cognitive dissonance and misunderstanding all culminated into cases like Aaron Swartz. Where all the energy is directed in the wrong way for the wrong reasons. A college student playing around and getting the attention of an overzealous district attorney? The suicide is a complete non-sequitur and red herring. As a more recent example, a daytrader misunderstanding margin requirements but mostly user experience quirks, Robinhood is a red herring.

To me, it is clear that your crusade is to illuminate the equivalence of mental health and physical health. That's a nice crusade too, we are agreeing in the sense that it should be more understood. My crusade is that we may come to conclusions that create a very different view of the choice of suicide: hypothesis to conclusion. Current suicide discussion and research is based around conforming things to a conclusion of suicide avoidance.
Seems like a solid move, given the capture of the market by the food delivery apps, and their shady business practices (like the thread from a while ago where a delivery service was making fake websites for restaurants, without their knowledge or consent).

Why have this expire post COVID though?
I'm not disagreeing, but without a referrer the request would go out anyway - with decentraleyes it doesn't at all.
Wow, I'd guessed more like 35. Interesting how life is different in this case based on gender

Thanks for replying
Purchase Tech Referrals – Rooftop Slushie
You missed the first question:

> why wouldn't a company hire a contractor to do the same thing you do for a one-off fee? I just don't see why this is a subscription model

This is something I am curious about as well.
Right. Intel stock is still somewhere around double what it was only 3 years ago, and I'm pretty sure that they're not in a better situation re EUV, 10nm, competition from AMD etc. than 3 years ago.
>For example in a hospital, there is no good reason for employee to use Tor on work computer.

"I'm a doctor in a very political town. When I have to do research on diseases and treatment or look into aspects of my patients' histories, I am well aware that my search histories might be correlated to patient visits and leak information about their health, families, and personal lives. I use Tor to do much of my research when I think there is a risk of correlating it to patient visits. - Anonymous Tor User"

From here: https://blog.torproject.org/remote-work-personal-safety
This pattern of a having code in one language generate a static JSON 'spec' for a figure for rendering in Javascript is very widespread actually... We have Plotly wrappers in Python, R, and Julia and the community has made many others e.g. Scala, F#, Rust, .NET, C++ I believe even!

This is the same approach used by non-Plotly systems like Bokeh
in Python (and at one time in R?), Highcharter in R (targets the Highcharts Javascript library) and Altair in Python (targets the Vega-Lite Javascript library).

One of the major advantages of this approach is that it makes it easy to move from visualizing data locally to embedding these same visualizations into a web application, which is what Plotly's Dash library is for: https://dash.plotly.com/
As the parent insinuated, stipends are set by the NIH and congress, not the university. They are largely paid out with grant funding from the government. If an entity wanted to pay a researcher more, it can't come from federal funds which is how most labs (outside of big ones that have industry collaboration) primarily fund themselves. So while markets work, this isn't a competitive market, it is a regulated one where a ceiling is being set.

https://www.niaid.nih.gov/grants-contracts/salary-cap-stipen...
These kinds of articles criticising unit testing always seem to work out more to do with the way people go about composing their software and the design. Interface explosion and unnecessary abstractions as presented in the first part is often the nightmare people get into early in the their software development journey. But that's a problem with design. Possibly unit testing lead you down that path, or perhaps that path was shown to you by some advocate of unit testing. In the article even the final code seems too messy for my tastes, also could be simpler and more modular. Which then makes the testing more straight forward and you'd pretty much the same thing in the end.
>an infringement upon liberties

Which is more of an infringement on liberty, a temporary quarantine or permanent death?
2015 Comments from the original author:

https://news.ycombinator.com/threads?id=TreyHarris
China has a processor from Sunway powering the #4 supercomputer as of June 2020, it was #1 when it launched in 2016.

https://www.top500.org/system/178764/

https://en.m.wikipedia.org/wiki/Sunway_(processor)
Let's call it rule "XXXIIII", to be a little naughty!
It is an infringement upon liberties. It's more a question of "when are such infringements, as bad as they are, warranted?" - presumably there's enough people in this case who think it's worthwhile that people cooperated.
Awesome: Donkey Kong, Super Mario Debuted Today in 1981
That's where my third bullet comes in... you need a high degree of metacognitive awareness (mindfulness) to be able recognize your own biases. Together they do make a difference. If you're well versed in cognitive biases, then as you increase your mindfulness you will begin to recognize them in yourself, at first with a delay, upon reflection, and later --- when you're practically a Zen master ;-) --- you may recognize them in real-time and be able to correct them immediately.
You're absolutely right: functional code is the source of the readability. But writing unit tests incentivizes engineers to keep things functional.

What's a better term than "dependency injection"? What should I call an argument whose default is always used in production code, but is there to make passing a mock easy? I'm not trying to be snide -- I'm genuinely curious.
I want this on a mobile browser too
A more pithy version: https://www.youtube.com/watch?v=oP3c1h8v2ZQ
It wasn't about agreement or disagreement. The pendulum swung HARD the other way in 2016, and /r/the_donald dominated the front page for the year leading up to the election. This is why is should be clear that Reddit makes a lot of money by manipulating the front page feed. Trump just simply outspent Clinton on Reddit.

They just binned /r/t_d entirely, and, in my opinion, that IS an agree/disagree decision. The same folks will be back with the same content under a different sub, but I doubt they spend enough to punch through again this time. I think, given their success last time around, that the price will be much higher.

Then again, what do I know? I was a pretty avid user at one time. Now I block the whole site and everything related. At this point, there's very little useful content left. It's basically just a giant portal for porn, and with 2 young boys in the house, and no way to filter it, I don't want it on my network. If they'd offer a DNS-based "safe" mode, like search engines, I'd open it back up.
RPi Zero W, set up as an stand-alone wifi access point, running off a usb battery pack. I used it with an ssh client on my phone for Python code and writing while traveling.

Old Thinkpad with no battery just after ext3 with journaling came out. I would yank the cord without shutting it down. Never lost data ;-)
Well.. it's not like your comment bursts with cleverness either. But yeah, I clearly overdid it... I just got triggered by that presumptuous comment. I'm really sorry, but I have to work with code written by these "pragmatic, quick 'n dirty"-people everyday. Yeah, the kind of guy who is liked by the management because "they get things done"... IMHO people like that can go and write a poc.. or something that can be thrown to the garbage, but not something that has to be maintained over many years by a lot of different people. Please keep them away from anything serious. Their short-term pragmatic and profitable solution doesn't come for free - it is based on the debt left for others to pay in the future... I am not saying there isn't such thing as overengineering. There is a lot of that too, rest assured that I've seen it more than enough. But overall, I've seen 10x more code that is hard to maintain because it was written by a "cutting-the-crap" guy compared to a something that is problematic because it was overengineered... anyway, that's just my opinion.
Oh, it was just a joke ;) I've been down this road way too many times - procrastinating instead of working by "researching" or "learning" how to do things differently, more efficiently, learing new tools, paradigms etc. that will improve my productivity and whatnot.

What I've learned is it's way better to just do stuff and improve things as you go (be that the optimal way to be a digital nomad or whatever ;)
That is true if you have to write your own. 99.99% of the time, if you need a graph, you use petgraph and move on with life.
If scalable search is so important to the business and "literally prints money" then maybe that business will consider paying for it.
I think kingkawn is using a less technical meaning that I hear often... "having no self-awareness" ≅ not considering the effects of one's actions.

Certainly I think that's what my parents were implying when they accused me of it. At least I doubt they were worried I was a p-zombie.
It is also possible that a fisherman from South America got stuck in ocean currents and went to Easter island instead.
This is simpler than making it to South America and then back to Easter island. There are ocean currents in the SE Pacific that can take a boat from the shore into deep in the Pacific.

If there was an Easter Island seafarer that went from Easter island to South America and back, then they would have a very good standing in the community. His guests would leave a bigger genetic mark in the community.
https://spearhead.co/ basically converts founders into solo capitalists under their own brand.

Easier than ever in some ways. Your personal network becomes your unique sourcing advantage that firms can’t get dibs on. What do you know, founders tend to trust other founders.