skysight-inc/HackerNews huggingface dataset:
Hey, we could also make them more efficient by using steel for the wheels and rolling surface!
> I also dispute that it’s hard to unit test the first function—-you would simply mock the api response and then you have a great test.

How many times have you seen a test pass or fail when it shouldn’t have because the mocks didn’t match the actual code? It’s a useful technique but it has drawbacks which are not easily prevented.
I don't know any of the definitions, grammar rules of English yet I'm still able to effectively communicate with and understand others.
The author could stand to flip the sentences around a bit, but the introduction is basically trying to say "these three thoughtful guys collectively formulated some useful ideas about software architecture and in this post I will present those ideas".

It is important too attribute ideas to their originators (or at least the source from which one has learned them) and it is good that the OP is doing that.

I agree it could have been done a little more gracefully, though, with just a minor tweak to use phrasing that doesn't seem to assume the reader is familiar with those dudes.
Didn't they pull the Android app?
Have you heard of Stuxnet?
Clear mapping of change request == commit, allowing for easy building of multiple in flight change requests, rearranging them by using git rebase, updating with push to refs/for/master. Easy diffing between states of the CR (patch sets), so you can see what changes since the last round of comments, even if it spanned multiple updates. This is the feature I miss the most from other code review systems - be able to easily work on another commit that bases on one that I just sent out for review (even starting review on the new while the parent still hasn't finished being reviewed!), and rebasing my current change as the parent change gets reviewed/updated.

Possibility to send out a PR for review using just a push (change message in commit, push to refs/for/master%r=foo).

Snappy and compact code review experience (no space wasted for whitespace, avatars, pretty buttons). Full coverage with keyboard shortcuts.

Powerful review rule system based in Prolog, allowing for things like code owners, experimental subdirectories without the need for review, etc.
Couldn't they just have said "no we have no backdoors"? NSA would look good, Congress would look good for asking the tough questions. When eventually new evidence comes to light that they do have backdoors, they have the choice then between continuing to deny deny deny, or pointing to national security interests.
> ... used the Web since 2007

Am I really that old?

Something that was stated, but not directly, is what's driven a lot of the latest additions to the browser: Cross-platform development.

The operating system provided the abstractions around various hardware implementations in the past, which meant being able to (possibly) run your software, if re-compiled, on different hardware platforms (it reality, some OSes weren't available except on a single platform and others were frequently not straight forward to get compiling on different platforms).

The browser is providing abstractions to the same hardware around various OS implementations. Add in WebAssembly, and you can pick from a number of languages -- including those that were traditionally used to write apps not designed to run in browsers.

But to the quote: I was cleaning out my basement, which quickly became a "treasure hunt" of sorts since I've been storing things that I took from my parents' house when I moved out.

My favorite find was a CD-ROM that was basically a CD-based Search Engine of the Internet. It was "Designed for Windows 95" and was probably a free disc given to me by a vendor rep when I worked at CompUSA in my teens. I'm tempted to see how many of these actual sites still exist (I'm sure none of the deep links do). Incredibly, these things probably sold very well back then. It even came with a browser (neither Mosaic nor Netscape; no clue who's it is).
What do you think about this option from Project Wren? It looks like the money is going to an established organization (TIST) run with an eye towards everything you said.

https://projectwren.com/projects/community-tree-planting

I just found out about Project Wren recently, turns out they are a YC company.

I want to pull the trigger on signing up for it but I want to be really sure what I'm donating towards is actually effective.
There's a lot of great resources out there for learning both Rust and C/C++. That being said, I feel like if nothing else, Rust serves as a great way to teach you the importance of memory safety. This is a skill that translates very well if/when you want to learn C/C++, as well.

If you have memory safety issues in Rust, it just won't compile (with extremely to-the-point compile errors). In C/C++, you might have to debug for a while (especially if you're new) as to why your app is inexplicably misbehaving.
I've had a bit of a lousy week

Sorry to hear that. I hope the rest of your week, and the week to come, are absolutely awesome to make up for it!
This also reminds me of the Matrix except no one would be able to wake up from the dream. Could be fine if the Matrix was a comfy place to live I suppose. ¯\_(ツ)_/¯

Think San Junipero vs the before mentioned I Have No Mouth and I Must Scream, if the dream was fun and felt like real life your lab grown brain wouldn't really know the difference, it would just have a different perspective.
In my experience, the quality of customer support has degraded as the volume of sales in the online marketplace has increased. Recently, I had an Amazon customer service supervisor in India (or at least, everyone in the chain had an Indian name and they didn't seem to understand the difference between USPS and UPS) mouth off to me about an issue that eventually resulted in a refund and apology from someone in the USA.

I imagine it is even worse for sellers, because they aren't traditionally viewed as "customers" (thus they are not "always right") and many of them are indeed pushing counterfeit merchandise -- especially when it comes to shoes and apparel. I would not be surprised if Amazon characterizes seller support as a cost center, rather than a profit center.

Personally, when it comes to oft-counterfeited items, I view a brick-and-mortar presence as an indicator of greater trustworthiness. For me, the takeaway from the story about Mr. Govani's lost inventory is that (A) Amazon's seller support is poor, (B) Amazon has no idea how to counteract its problem with rampant counterfeiting, (C) Amazon doesn't see much value in treating sellers as customers of its platform, and (D) Mr. Govani moved way too much existing inventory to Amazon rather than transitioning gradually with freshly acquired product.
I understand that. But if the POTUS could order someone to do the dirty job for them, then they wouldn't actually have to think about it, so they'd remain removed from the reality of killing someone (or a few million people). So the POTUS doesn't have to play or not play- they are immune to this kind of morality experiment. It's like trying to second-guess god (a non-existent entity). What have we learned from the exercise?
C/C++ is not a thing: they are separate and very different languages.

Especially if you're interested in embedded applications (and probably otherwise as well), I would suggest learning C to start with. Whether to go for Rust or C++ after that is up to you.
Sure. They are just fine. We just have too many of them. Everybody uses either RAVPower adapter or iPad chargers.
>In areas where they see actual competition, like in selling cloud to enterprise customers, they have excellent support

I'm less inclined to believe that is because of competition and not because of the fact enterprise SaaS always has great support. If you are spending thousands, you will almost always have someone dedicated to your account. Likewise there are very few companies with razer thin margins that have excellent support.

I recently had an issue with my Smart Thermostat - where there is plenty of competition (Nest, Honeywell, Ecobee) - I called support and only got someone after 90 minutes of waiting, who was ultimately unhelpful. I spoke to my building who contacted their support line (the building installed the same, non-smart, thermostats as well), and the issue was solved in the same day by a trained technician in a little over an hour.
KubeLinter: An open source linter for K8s
KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.
One thing stopping me from moving my company's code to gitlabs cloud offering is the storage sizes for repos being extremely small. I heard from a rep that this will change in November. I'm wondering if this purchase-more-storage change come relates to this?
One upside of learning Rust first is that it will provide guidance on how to write C++ code afterwards, so that might be valuable.
Giving drug addicts money gets them off drugs
Please!!
Yet somehow every site became a single-page app rendered client-side. I'm absolutely certain that browsing consumes at least twice the power it did 10 years ago (and 5x the RAM.)

I visit a lot of the same pages I did 10 years ago, but now they take as long as they would have taken 20 years ago to render.
I think "blob" is being used in this case to refer to a "large undifferentiated mass".
Appreciated, Twitter is universally blocked for me.
Are you working with Tomorrow ("Tmrow") [1] at all? They're doing something similar with their Bloom Climate [2] product in Europe (their product helps businesses measure their impact and offset accordingly). Also the folks who built and run https://electricitymap.org and who Google is using to schedule compute workloads around low carbon intensity electrical generation [3] [4].

Definitely understand there is a "Faux Pax" (mea culpa) element about mentioning competitors in what looks very similar to a Show HN, but there's a lot of climate work to be done so I hope y'all can connect if you haven't yet.

[1] https://www.tmrow.com/

[2] https://bloomclimate.com

[3] https://www.tmrow.com/blog/announcing-our-partnership-with-g...

[4] https://blog.google/inside-google/infrastructure/data-center...

Disclosure: No relation except as a volunteer contributor.
I liked the small sections that quickly showed me that this could be something useful, like the "Actions and custom code" with the simple picture on the side. It made me try the product for sure.
You might not understand the depth to which you can be exploited. They will simply let you use your laptop and switch your USB cable, which has a built in 6ft antenna.

https://en.m.wikipedia.org/wiki/File:NSA_COTTONMOUTH-I.jpg
There's also what's known as the "geometry" problem - 1 self driving car takes up as much space as 1 human driven car.

Part of the problem is the general incompetency and mismanagement of US public transit construction -- the costs are insane, even when compared to "socialist" "high-cost" union-heavy Europe.

This was a great read on why we get so little for our money: https://www.nytimes.com/2017/12/28/nyregion/new-york-subway-... - and it busts the common misconception that it's 100% because unions. (tldr: it's because politicians get rewarded for creating jobs (votes) and spending money on contractors (lobbying), and because we outsourced everything)
What about them? Any sources on how many are crippled for life? When we are not even a year into this?
There are some articles poping there and there about some lingering health issues after covid. Not much talk about how they compare to lingering health issues after flu or other viral infections. And not high quality either (self-reported, etc.)
PMs need to get a lot done. This is how we do it
It helps to follow trends. For a while I thought Gitlab was part of GitHub.

When I see enough news about something on HN, I look into it.

I even did a little Rust tutorial recently.

Buzz makes a difference
Probably because you got used to Critique at Google ;)

I agree though. I think the most important thing in a code review system is inline comments in the diff itself, and that’s something you get from Gerrit, Phabricator (Differential), etc. It encourages people to discuss the particulars of of a diff. Merge approval can be made contingent on resolving minor issues within a diff. Diffs are also approved on a per-diff basis, and it’s less typical to merge a stack of diffs.

I think the pull request / merge request makes sense with the “trusted lieutenants” development model that the Linux kernel uses, but for other projects you would be more likely to want a work flow where someone submits a single commit/diff and then someone approves it (after comments).

When I review PRs on services like GitHub I very often think, “This should be several different reviews” and the discussion thread in a PR is often not a high-quality discussion. I don’t use GitLab as much but my experience is that it has the same problems. What I would love is to review a stack of commits and approve / make comments on the commits individually.

(For those reading: Mondrian -> Rietveld -> Gettit, and also Mondrian -> Critique. Mondrian and Critique are internal tools at Google. Phabricator originated at Facebook which has a lot of ex-Google engineers on staff.)
You could. X.25. Gopher.
oh thanks, I remember glancing over that information at some point but I rarely boot into windows these days so was never motivated to look into it.
Finally some humor on HN! No doubt some Vulcan-wannabe will downvote you. Here’s hoping my upvote cancels that.
Great? It's a brick! Just put "sourdough" into Google images
Quite considerably less. This one from Adafruit (hardly the cheapest supplier) is $30 and has GPS built in too: https://www.adafruit.com/product/2637
It continued with:

> This site was set up to be cached by Cloudflare at one point, but over time things changed. Somewhere along the line from a WordPress plugin or hosting upgrade, the cache-control headers were changed, and the caching was broken.

I find the assumption that it once worked a bit optimistic. Could be true, but people do stuff that doesn't actually work all the time. Easy for me to see someone setting up cloudflare without either verifying that it has the desired effects of reducing latency and surviving load or digging into details like request rate to the backend and cache-control headers.

I'm mildly curious why each request had 500ms latency at best. I know PHP isn't the fastest out there, and talking to MySQL on every request doesn't help, but still that's pretty slow. Also, no parallelism? That's a bit sad.

If the content isn't truly dynamic, I'd recommend to anyone just using a static website generator like hugo. A cheap VM can easily do thousands of queries per second without requiring cloudflare.
Except the massive revenue from Google ads via Google.
maybe accountant was a poor comparison. I chose it because (AFAIK) the barrier to entry for a career as an accountant is similar to that of a SWE. there aren't many fields these days where completing a four-year degree gives you a good chance at a steady job with good pay. SWE is definitely an outlier when it comes to pay vs credentials. when I got my cs bachelors and starting working, I instantly hit the 90th percentile income for a person my age. a CS major is relatively difficult, sure, but it's not that difficult. I have to assume that over time pay and opportunities for people with CS degrees (at least at entry level) will converge with pay for other similarly difficult STEM degrees.
Comparing Static Site Generator Build Times
I guess you can get the hang of Gerrit, but i tried it out a couple of times (i occasionally do work on projects in the Wikimedia git repo) and is pretty evident that the interface is written by developers with little knowledge of user experience. Moving stuff to Gitlab will probably increase the number of volunteer contributions, at least i'm more interested in contributing more now.
Wikimedia is very cautious in making changes because they take very seriously the values of sustainability and predictability.

That they are moving from Gerrit to Gitlab is a blow against Gerrit and a boon for Gitlab (assuming it goes well).
Ah, a breath of fresh air. Hat's off to you.

I was tempted to say something like "Sure, look at the best C code bases." but that would have been too snarky.
I'd love to know how you expect a computer to navigate a blizzard on an unpainted country road when even adaptive cruise control systems can't handle a bit of snow on the sensors.

Sure this stuff works fine in Arizona where there is no inclement weather most of the time, and the roads are in perfect condition because freeze/thaw cycles don't cause excessive wear, but what about the rest of the country and the world?
I much prefer the model of force-pushing your development branch to create change sets. It lets you more easily see how development evolves in response to feedback. And the final state of the branch which gets merged leaves all the in-progress work that no one cares about behind only in Gerrit.

With Github/lab's model, if you force push your PR, you lose the ability to view its previous state and diff against that. Alternately, if you just keep adding commits, then the final branch that gets merged (unless you squash) has all the in-progress work which pollutes the repo's history.

Gerrit also has a finer grained permission model, but I don't care as much about that.

Gerrit definitely expects the user to understand how git works conceptually a bit more than Github/lab.
If it makes you feel any better, I've had the "please don't trim your toenails on your desk" discussion.
> I think that these large communication platforms absolutely resemble other large communication platforms that are currently covered by common carrier laws

They have nothing in common except the "communication" label.

> Specifically, a lot of the functionality that these platforms provides, fulfills a usecase that is similar to the phone network

They don't. The "phone network" is what provides access to the internet, a website is not a phone company, it sits at a higher level of abstraction. That's like saying a popular TV show is a broadcast network because everyone watches that show.

> online communication platforms are now as important as the phone system

That's not true. If the top 10 most popular websites on the internet disappeared overnight there would still be many thousands of ways to communicate over the internet.
I remember a few - for example someone would introduce themselves as a lawyer and then point out that some clauses in t&c are illegal and that he will report it "to authorities" (and sometimes they would offer "help" if I pay), or someone would upload their nude pictures and then report this to hosting provider that the website is showing these pictures without their consent. Some people would demand that I give them access to private messages of their "partners" and would threaten me that they will find me and "sort me out". Sometimes I had technical issues where the server would go down for a couple of hours - so there was a profile of a local band, something like a Facebook pages are now, and they made a post about the concert they are going to have, but the server was down on that day and they blamed me they lost money because just a few people came to the concert. I also had someone claiming to be a partner of one of the users demanding that I delete his partner account as she ignores him and only spends time on the website and sent me my home address. Very stressful.

edit: I remember one more. One guy would post his nude pictures typically exposing his face and his bottom and then he would write his name and address and add messages like "beat this guy up", "come find me" he would register other accounts and then post degrading comments under these pictures of himself. I initially thought that this is some kind of revenge and I was promptly deleting this and removing these accounts. Eventually that person would write that this is turning them on and was very upset that it gets deleted. It's when I added IP blocking and blocked all addresses he used.
Don't lump C in with C++. They're very different languages. If anything, I'd lump C++ in with Rust. They're both big, complicated languages. If you're just looking to understand the C model of computing that underlies any Unix-like system, spend some time with C. Learn to write a linked list, experience a few segfaults, and then decide what kind of safety and abstraction you'd like in your systems language.
Keith Schwarz maintains an "Archive of interesting code" which has lots of C++ implementations: https://www.keithschwarz.com/interesting/
They say it’s for large scale cloud management, but, think of worst case scenario:

https://www.zdnet.com/article/minix-intels-hidden-in-chip-op...

It seems like a massive waste of chip transistors and R&D with limited gain. The hidden minix OS runs at a higher privilege than your host OS. Even if your data is encrypted, any time you decrypt locally, they can see it. I get it, they are looking for bad guys, what if the bad guys take over? There will be nowhere to hide. Yes, I am wearing a tinfoil hat.
> C++ takes forever to learn (basically, it never ends)

It's not just that it has a huge and growing feature-set, it also has an outsize wealth of dark corners. As a slight silver lining, there's an excellent community on StackOverflow where these quirks are explained well.

You can spend hours just reading about initialization in C++. I have, and I can only recall a small fraction of it (but I rarely use C++). It's nightmarish in ways you'd never imagine. [0][1][2]

[0] https://stackoverflow.com/a/54350350/

[1] https://stackoverflow.com/a/620402/

[2] https://news.ycombinator.com/item?id=18832311
> Average users value performance, cost, and battery life. The cost efficiency and capabilities of cloud compute will always outpace that of consumer mobile devices. So remote compute with zero user control is inevitable.

I don't think this is a question of what users value, it's a question of what large software companies value. Non-technical users absolutely value their privacy and freedom even if they don't put it in explicitly ideological terms: they want to pirate copyrighted material, they are annoyed by paywalls and ads, they are creeped out by how much social networks knows about them.
Maaaybe?

The one silver lining of this catastrophe of covid is that the FDA process has been turned up to 11. There is some hope that it'll stay that way after/if a vaccine is made. The ModeRNA vaccine is looking to be some amazing stuff and it would have taken at least a decade to get through before covid.

CRISPR-CAS9 technology and a faster FDA should result in some very good outcomes for all humans. The biotech centers of San Diego, Boston, NC Research Triangle, and Denver should see growth from that kind of a boom.
And use safari :)
it was interesting to read their reasons for not using github, especially related to no control over bans or sanctions. Microsoft could pull the rug out from under them at any time if they got pressure from somebody like China.
Any background / references on this?
Oh they changed it alright... now it only works on Apple products.
Tools and Trends: Security Testing for Risky Functionalities
> Many don't trust Intel processors and Cisco routers anymore

That's Cisco's own fault given that there are rarely more than 6 months between critical firmware releases that either have some way of hardcoded backdoor account, remote code execution or other similar bugs.