skysight-inc/HackerNews huggingface dataset:
Code quality is all about risk management. You're balancing the risks of:

1) Bugs/outages that affect your customers

2) Hard to grok code that slows down onboarding of new staff

3) Features taking longer time to develop

How you weigh these risks is different from business to business. For a fintech startup a bug in the code could end up bankrupting the company. For a VC backed social network, being able to quickly onboard new hires is really important. For an app that supports say BLM protestors, time-to-market is everything.

In the great scheme of things, having a crappy codebase that makes money is a good problem to have.
Hospitals pinned hopes on private management companies. Now they’re deep in debt
Neat! Perhaps you could run this against H2 (I’m a maintainer). Although best to run against our current master, release is a little old.
National Security Implications of Fifth Generation (5G) Mobile Technologies [pdf]
Satellite phones for remote areas have been a thing for decades specialized uses.
California Set to Spend over $1B to Prevent Wildfires. Then Came Covid-19
I can't answer your question, but I can offer a nice alternative in the form of extension, aptly named "Open in Reader View", works a treat!

https://addons.mozilla.org/es/firefox/addon/reader-view/

https://add0n.com/reader-view.html
Indeed - Google Fonts lists some good typefaces! I've listed my favourites at https://fonts.tasuki.org/
What I always learned about Da Vinci was that he was a pacifist. He was employed as a "military engineer" but he saw himself more as a scientist [1]. It's also debatable if those "errors" were left on purpose to prevent his work for being copied or it where real errors.

[1] https://theconversation.com/four-ways-in-which-leonardo-da-v...
You're trying to exploit a slippery slope. There are many churches which have had no such scandals, and are not associated with any who have.

Just because Monitor (dozens of offices, thousands of employees) worked for Gaddafi doesn't mean "John & Jane's IT Setup Helpers" around the corner must also be an inherently immoral institution.
I'd have liked to see cost on an axis on some of the graphs.
Coo, thanks for the tl;dr :)
Missing the point. In the examples above, the ideology would say it would be impossible for the Irish to be racist against the English.

Unless the definition of racism was based on bigotry, intolerance, prejudice and stereotypes based on race which is how the majority of the world understands it. This also includes the possibility for whites to be racist against whites, and allows systems to be racist. it's actually a more encompassing definition.
How long ago were you looking at it? I have no idea whether they've implemented anything like that but they do make regular updates.

Btw another big change the researchers are working on is statelessness, where the on-chain data is just merkle roots, the actual data is held off-chain in a distributed but reliable way, and clients submit merkle proofs with their transactions. That would drastically reduce the amount of data that full nodes have to store, and presumably allow large reductions in storage prices.

(But that doesn't mean solc shouldn't work on compiler improvements like you're talking about, they're not the ones working on statelessness.)
Be bad enough to ship.

Be good enough to not fail an ethics test re customer data.

Everything else is sales.
Here you go: https://imgur.com/a/fnt4677
I don’t think getting lost in their conceptual roles in society, or what the “mean” to do when gassing, is particularly helpful.

At the end of the day, their actions are what matters, not their intent. If they harm you, someone not participating in the action they intend to lawfully suppress, then their action was an overreach.

What if we were talking about bullets, instead of gas? We’d never assert that indiscriminately firing into a crowd is warranted. Just because tear gas isn’t (often) lethal doesn’t really make it different; it’s an indiscriminate, unjustified use of force against arbitrary groups of people.

You’re right, of course, that there are limits and we wouldn’t expect the police to take on unlimited amounts of risk, but don’t get too lost in the theoretical here - the protests are not unruly mobs and are not anywhere near they hypothetical levels you’re talking about.
It seems that a lot of the current games with real-time ray tracing do not actually do path tracing, they only use ray tracing for shadows and (single-bounce) reflections. Even that UE5 demo doesn't seem to do path tracing, it looks like at best they're ray tracing for iterative updates of global illumination (though that's a guess, I haven't been following that too closely). So Nvidia's use of terminology is largely correct.

Of course, the long-term goal is to have real-time path tracing, but that does seem to be a ways off still.
Some I haven't seen mentioned

r/sfwpornnetwork/wiki/network links to all the sfw porn network some great pictures depending on your interests and to waste some time

for graphics
r/vfx r/simulated r/gamedev/ r/generative/ r/blender

for idle time
r/DIY r/ArtisanVideos r/BeAmazed/ r/bizarrebuildings/ r/EngineeringPorn/ r/ScientificArt/
r/Lost_Architecture/ r/specializedtools/

for food ideas
r/EatCheapAndHealthy/ r/chinesefood

for book recommendations
r/books r/scifi
If you aren't compute bound, most workloads are dictated by the speed of main memory. And most business workloads spend their time waiting. Intel has historically focused on single core performance, this is what they are _really_ good at while this graviton part has decided to go wide and focus on many core.

The memory controller on the ARM part must be excellent given that the Intel machine had 2x sockets.

I don't think a core to core comparison or core to hyperthreaded core makes much sense. There are so many other unknowns, they only appear to be similar metrics. $/work_unit is the benchmark I would focus on in case like object storage.
Because it may change the default: Perhaps you're more likely to end up doing immoral than moral work / working for an immoral, violent, indirectly-homicidal organization. The esoteric clients like Gadaffi rare.
a) Yes. All the time. But it has more to do with management than the programmers. If your code is approaching catastrophe, it's time to seriously reassess what it is you're trying to do and if it's feasible for the programmers to understand, not for you to build.

b) The best metric is what is most boring and what is most comfortable. Boring tech is good. Boring code is good. Things are more or less defined by their failures than successes with languages. You want to be defined by what doesn't happen in your code because you made cogent decisions.

c) Do most YC write good code? Yeah but that's not what defines their success. Clean code is presentable. Clean code sets a tone. Tests are sometimes snake oil, sometimes valuable. It's hard to assess how valuable a metric is once you become invested in increasing it. No, writing tests won't save you. But decent DevOps will hopefully reduce cognitive load in managing features. Writing unit tests is in my opinion, a nice reprieve in between coding sessions. I look at it as paid downtime.

d) As someone pointed out, there is survivorship bias to consider. It's pretty common for v1 to a complete disaster where nobody knows what they are doing. Most fail and do not attempt v2. Eventually the to-do's and somedays just pile up and you lose to a competitor.

e) Another perspective, almost everyone's code will be some kind of dumpster fire. You'll realize perfect pipelines will always be desirable, as in nobody has one. The only code that is 'bad' is the code you fail to take accountability for.
I fixed it. Thanks for reminding me.
Alas, it's technically difficult to get input from the user using printf.
Fans are not turbines. You understand that, right?
Research paper https://eprint.iacr.org/2018/758 introduces an unified view for HE plaintext spaces. It allows switching between integral, approximate numbers and bit level representations (different HE schemes). But I'm not aware of a HE library implementing this. For the IDASH 2018 competition we have used 2 different libraries (TFHE and CKKS) in the same computation, although the scheme switching procedure was done manually.
Yeah, this is why teachers are always murdering their students and slashing the tires of parents. This is why casino workers are always mugging patrons and stealing their chips.

Unions were created to equalize the negotiating positions of both parties when establishing the terms of labor contracts, or rather, to give laborers a position more equal to that or management. There are plenty of unions who don't then use this power to enable and protect the anti-social behavior of their members.

Also, different lines of work select for workers inclined to different social pathologies. Police work tends to appeal to people who are comfortable using force to dominate their neighbors; who are comfortable in an authoritarian relationship to others where some issue commands and others obey without question. This selects for different anti-social tendencies than you're likely to see among garment industry workers, say, or agricultural laborers.
This only works if you're not dealing with Unicode, where the number of bytes, the number of characters, and the width of those characters can all vary.
One critically important question here I think - has the startup achieved product/market fit, or gotten a strong market signal that you were building the right thing?

If the answer is "no", then the tolerance for bad code goes way up.

Either way, in the early stages of a startup, a great deal of the code will end up being throwaway, and the trick is sometimes knowing which things are important to get right upfront, and which things can be punted on.

Well-defined service boundaries help a lot. This doesn't mean going to microservices, but it does mean keeping things well-isolated and independent even in the same codebase. In effect, you can have "well-architected bad code" which will help you stay flexible even as you move quickly.
I have to agree with that. A decent CNC is a few 10k$, plus ongoing cost like tooling. At that point 60/month is pretty minimal.
>> 3: Work on the most mentally-demanding tasks first. Once you’ve narrowed your list down to what is mission critical, start with the hardest one.

No. Just no. I learned this in a past life working in the film industry and apply it daily in the military. If you have three things that must happen in a day, do the easy tasks first, especially where these tasks involve multiple people and/or equipment.

Think of what happens if you start with the hard task. Little problems happen. Delays stack up. The quest for perfection stretches the one task into the entire day. Soon the sun is going down and you haven't accomplished anything. If you start with the simple things those little problems are easier to solve. On a film set this is why the big action shot, the complicated bar scene with the moving camera and twenty extras, happens at the end of the day. The core team warms up by doing the easy two-person dialogue scenes early in the morning. When it is time for the harder tasks all the equipment has already done its thing. You know all the necessary people are present and ready. And the looming deadline means there is a sense of urgency in the air. Everyone wants to go home and so puts maximum effort into making that final shot work in as few takes as possible.
The virus does not and will never care about cause or justification.
Yeah, it was pointed out by someone on /r/rust when I first posted it. I thought I had corrected that, but apparently not. I’ll revise that tonight. It’s obviously a bad mistake.
Good link - there's also a clear case that "requiring" the kernel to provide long-term stable driver API/ABIs is simply reallocating a cost towards the benevolent open source maintainers, to allow closed-source companies "leeching" (to use Greg K-H's words) from the kernel devs to benefit.

There's clearly a non-zero (and indeed non-trivial) cost to providing a stable kernel driver API, and the kernel devs don't want to bear that cost, as they feel it would hold back the kernel from evolving, improving on APIs, and fixing security issues or other implementation bugs.

The other side of the coin is that closed driver developers want this stable API to reduce their own development costs, but they will not follow the "intended" workflow that reduces the ongoing maintenance cost to effectively zero.
He Left His Corporate Job and Raised $400M to Empower the New Surge in Ecommerce
Even when military service is compulsory, there is still _somewhat_ of a choice. In many of these countries you can effectively avoid enlistment - through "undisciplined behavior", playing up health issues, claiming psychological unfitness or even just going "off the grid" for several years.
> Drafting allows for a more representative selection of the population, giving more conscientious and better troops.

Maybe that is correct, but it does nothing to get more conscientious government and military leadership. There are bad consequences as well - draft can increase duration of war, leading to more crimes and more deaths. Also, drafting strips many people of belief in personal responsibility.

> Drafting is democratic because it is equal. Drafting should also be an anti-war effort.

Do you know what democratic means? If you got drafted into Vietnam war, there was nothing democratic about it. Government lied to people from the start and was covering up evidence of how the war was going.
> Leader/follower is much more accurate and clear than master/slave in basically every way

Not for me. A master is to me much more controlling than a leader. A follower is to me much more independent than a slave.

Again, take say i2c where the master is the only one who can initiate a transaction. Being an "i2c follower" doesn't convey to me that the follower is prohibited from initiating a transaction.

The controller/worker suggest by others is much better than leader/follower, but "worker" doesn't work very well in all cases IMO.
I've had to deal with code like that, only poorly mimicking Lisp instead: `#define unless(_x) if (!(_x))` etc...

One of my favourite accidental features in Rust is that macros are so annoying and cryptic to write that people think twice before abusing them.
Any HNers in Brazil? How are things going in your area?
To me, the single biggest distinction between working in a startup versus a traditional organization is that all your work has immediate impact. There are points in the lifetime of a startup where code quality and test coverage have immediate impact, and other points where they don't. In a startup you have to learn how to budget your time and effort to create the most immediate impact to further the mission, so if code quality/testing aligns with that then it makes sense to spend time and effort to do it.

I've worked at a few startups and I'll give you some examples where it matters and where it doesn't.

I was hired as employee #4 at a stealth startup that would turn into a zombie and I was the last non-founder to leave when our runway ran out. At no point in my time there did code quality or test coverage matter even a little bit - our biggest problem was convincing people to pay us, which was particularly difficult because our value to the people we wanted to pay us was intangible (at least to them). This was why the startup failed, we tried to sell to the wrong people for too long (ie, misaligned our values with what our target market actually valued).

Code quality didn't matter because we essentially strung up demo after demo in different contexts, the core technology was basically finished within a few months of founding, and the rest of us worked to put it into different contexts to show people what they could do with it. Those demos would never reach production, and most of them had a single developer. Who cares if there were no tests or it was all spaghetti? We were just trying to show off.

I'm currently an early employee at another startup and spent a lot of time over the last six months developing ci/cd infrastructure and we're going to make a major push for testing/benchmarking coverage in the next month or so. The reason is that we have a tangible and immediate impact to our business because it directly affects our value proposition.

So to answer your question, the answer is it depends. It all matters when it affects the bottom line, because code quality/testing doesn't make you money; it just costs you less money in the future. There is a very definite stage in the life of a startup where that matters, and as a developer in the org you have to budget your time to commit to it when it matters.
It reads like a parody to be honest. I'm hoping it is one.

Of particular interest is the author's equivocation of Jobs' Reality Distortion Field. The author makes it seem as if it was Jobs' ability to distort the world to create something unexpected, but most of us use the term to describe how Jobs could make people believe all sorts of dumb things while in his presence (and the effect wore off when not in his presence, when people realized these things were indeed dumb). It's not a positive thing.
That's very clever, but wouldn't a simpler way to track the sun without electronics be to use a mechanical clock set to local solar time?

You'd have to rewind it and adjust the time slightly every few days, but then the mechanism in the video doesn't appear to have any way to return at the end of the day, so probably has to be reset daily anyway.
I resonate with what you are saying. One of my biggest motivations at the moment is my family and my wife's support in me leaving a well paid job.

Thankfully HN let's me have a little whine about the toughness of a startup which is better than whining to my wife and causing her undue stress.
Edge defaults users to Bing, which as of last year was a $7.5B business for Microsoft[1]. That's nearly 20x the revenue Mozilla gets from advertising.

[1] https://www.forbes.com/sites/ewanspence/2019/06/03/microsoft...
Tend to agree. Leadership needs to send strong, clear signals about quality and acknowledge existence of potential technical debt well before the team starts feeling crushed by it.
In Firefox ctrl+enter prepends www. and appends .com to whatever word you’ve typed in the address bar, then loads it. So for www.ikea.com, just type ikea then press ctrl+enter.
I have always said this.

For many years working at a large defense contractor (SAIC, now called Leidos) I only worked 32 hours a week, and when at work, I would often talk co-workers into taking walks around La Jolla Cove, near of office, when we had to plan work, discuss problems or improvements with our software, etc. That was decades ago, and I feel that it was the correct strategy for getting valuable work done and making a positive impact.

A little off topic, but I have been exploring ways to spend much less time at my computers, easier for me to do now that I am (mostly) retired. As an experiment, I have been using a high compute capacity VPS and a small iPad Pro to write code examples and do some of the actual writing for a second edition of a book [1]. I find that I do even more thinking away from any device, usually while hiking or walking around the block. I do cheat and occasionally plug my iPad into a large high resolution monitor that my mosh client takes great advantage of. +1 for Mosh + tmux + a VPS far more powerful than a laptop.

[1] https://leanpub.com/hy-lisp-python/
Yes, the Freedreno work is a really good start, and an admirable one at that which has reached fruition!

I think there's quite a lot of closed userspace drivers that need (or would benefit from being) freed - I don't have a list to hand, but a quick look inside the /vendor partition (and directory) of a recent phone will give an idea of the closed userspace drivers being shipped on devices.
The data is available here:

https://transparencia.registrocivil.org.br/especial-covid
You can refer to https://homomorphicencryption.org for more details about security, libraries and standardization. Although for the moment it's in early stages of standardization.
Also, you swear your oath to defend the _constitution_, against all enemies foreign and _domestic_:

https://www.army.mil/values/oath.html

this comes _before_ the obligation to obey orders. Meaning that, at least in principle, a soldier is obligated to disobey unconstitutional commands, and in fact, to act to countermand them.

Of course that's not what armies are like in practice, but still.
To be clear the question is not “is this morally questionable?” but rather “I know this is morally questionable, is there a way for me to avoid responsibility?”

Otherwise I am having a bit of difficulty actually untangling your comment.
Analogies are like jokes. If you have to explain them... I stand by my original observation. It's a poor analogy.
'dragonwriter is correct that USA is founded upon thoroughly colonialist principles from the beginning. Even the War of Independence was fought at least partially in reaction to England's Somerset v Stewart case in 1772. The nineteenth century in North America was a devastating slaughter of the natives from beginning to end. African Americans got a few years of hope and respite during Reconstruction, but that was preceded by centuries of slavery and followed by a century of Jim Crow. The 20th century began with exporting our racist colonialism to the Philippines, which was to be a model for American military action up to the present day. Our later atrocities in Asia and Latin America weren't anything new for us.

In short, we've been at this a lot longer than you seem to appreciate. I think you're right that today's barbarities depend on those of yesterday more directly than those of centuries ago, but they also depend on those of centuries ago. It might be that poor whites are more observant of our common interests with minorities than we used to be. We had been promised a society with more freedom and possibility than the one we have received, and our Stupid Wars have played a role in that, here and abroad. As Thucydides observed, the tyranny Athens imposed on others it finally imposed on itself.
I agree with others who disagree with the post. It's true that both Leonardo and Jobs were visionaries and it's true that Leonardo lost interest quickly (I guess that's because he was curious about so many different things) but there's a very big difference between the two: Leonardo was inventing, designing and eventually building his own things, Steve Jobs had hundreds of highly talented engineers for that.
We're talking about x86 being a monopoly. Without Windows & major developer buy in, Apple's ARM platform would not affect x86 desktop dominance in a significant way. It would be a platform with a significant niche of macOS users, but x86 would remain dominant.

Windows' deployed in places Mac never visited, like the majority of world's government institutions, schools, (Chromebooks aren't big outside U.S. & Western Europe).

You may argue that Apple will have the "high-value" market, but in terms of sheer numbers I don't see them competing with x86 anytime soon.

As for the iPad being "pro", once you're able to develop serious software on the device itself, we may have a discussion, (I am aware of rumors that XCode is present in iPad OS 14, really curious about that). The existing "Pro" apps still lag behind desktop in many areas and no serious programmer or video editor uses iPad OS full time.

To be clear, am not doubting Apple's ARM chips being really competent, just doubt it will unseat x86 on the desktop.

As for ARM on the server, probably eventually it will be the majority, but I'd guess another decade. Current efforts are more experiments than anything.

My fear is also that if something does displace x86, it won't be a clearly superior, relatively open platform to develop for, but rather a patchwork of workload specific vendor ARM chips with entirely proprietary ways to interact with them. In that scenario, I'd rather take x86.