skysight-inc/HackerNews huggingface dataset:
Weirdly I find the v8 source and jQuery (at least several years ago) to be the best. They're examples of real-world, multi-distributed-collaborator, mature projects. Harder, I think, than writing "clean" code is maintaining a large code base's organization, distribution, etc and these are really good examples of that.

(d3 and three.js are also very interesting to read, but they're not quite in the same class as the former.)
More plastic? We should be getting away from plastics....
Dark Web drug kingpin charged, forfeits $4M in Bitcoin
I tend to agree with you and I'm not a churchgoer.
Roy Hattersley an atheist former English politician wrote about the relief of Hurricane Katrina

The Salvation Army has been given a special status as provider-in-chief of American disaster relief. But its work is being augmented by all sorts of other groups. Almost all of them have a religious origin and character.

Notable by their absence are teams from rationalist societies, free thinkers' clubs and atheists' associations - the sort of people who not only scoff at religion's intellectual absurdity but also regard it as a positive force for evil.

https://www.theguardian.com/world/2005/sep/12/religion.uk
I've been using my own super minimal unit testing framework for all of my personal projects for about 2 years (https://gitlab.com/distilled/distilled/tree/develop). It's designed to be very flexible, and very, very fast to get up and running -- for new projects I want to be able to start writing unit tests within 30s to a minute after calling `npm init`.

As far as I know I'm the only person who currently uses it, but it's saved me so much time that even if I'm the only person who ever uses it, it'll have been well worth the effort I spent writing it.

I'm working on a similar project for documentation generation (https://gitlab.com/dormouse/dormouse/), and I expect that to be the same deal -- I'll probably be the only person who uses it, but I don't care because it'll pay for itself just from the time it saves me.

Part of the advantage of having your own frameworks that you tightly control and understand is that they can be more specific to what you need. It's a tough balance -- I don't advise people to constantly reinvent the wheel, but occasionally existing wheels are really badly designed (looking at you esdoc), and in those cases it's often less work to reinvent the wheel than it is to use a misshapen wheel forever.
> Many CISC machines (eg Intel's) are CISC in name only. The instructions are translated to micro-ops in the hardware. The micro-ops and the hardware itself, is RISC.

This is an oft-repeated but incorrect statement. Modern x86 CPUs perform macro-op fusion and micro-op fusion. As an example of the former, a comparison and a jump instruction can be fused into a single micro-op [1], which is decidedly non-RISC. As for the latter, some micro-ops perform a load from memory and an arithmetic operation with the retrieved value – also very non-RISCy.

Modern x86 CPUs are CISC above and below the surface.

[1] https://en.wikichip.org/wiki/macro-operation_fusion#x86
You're making the rather giant assumption that the software is good - where good means something besides "open".
s/company/country surrounded by enemies/ ?

The strawman article of course makes it a stupid, anti-youth, anti-people idea. France won't do this, for sure it's not going to happen in the US or the UK even if one voluntary aspect (serve a few years and leave with your education debt paid in full) has merit.

The "greatest generation" prepared a real Dagwood of a shit sandwich for the generations that followed. Thank you for saving us from alien fascists. Please finish the job and take the domestic fascists with you when you leave.
Every object-oriented language that has generics has ended up with separate constructs and overlapping use-cases for compile-time dispatch vs. runtime dispatch. C++ has both templates and virtual methods, and there are many problems where you could comfortably use either. Likewise, in Java you can choose between using a generic class or defining a class hierarchy that depends on dynamic dispatch for behavior.

The overlap seems to be a bit of "essential complexity" - if you support both compile-time and runtime dispatch, then the programmer has to choose which to use, and there are many cases where either would work.
But Google has the resources to fight Apple and Microsoft, in the markets and in the courts, if denied a level playing field in a way that is illegal or bad optics. YouTube content creators, and content creators in general, have no defense against this since the big aggregation companies like YouTube, Twitter, and Instagram have market power over hundreds of millions of creators instead of just a few powerhouses.
Graph(N,E)

What's the problem you see?
DMARC's abysmal adoption explains why email spoofing is still a thing
I've been poking my head in periodically and have yet to see the massive savings of lab-created diamonds, or even moissanite. I keep expecting that the market will have shifted—last time I expected it was when moissanite for jewelry's patent ran out—and one or the other will be down to only a little higher than low-quality replacements like CZ, but it's not happened. They still seem really high to me. Cheaper, yes, but still expensive. Especially lab-created diamond.

I mean I'm on board with not buying natural diamonds and all and it's not like I wanna buy any of these for myself anyway, but I don't think there'll be a full collapse in the natural diamond market until the two best alternatives put some serious price pressure on them.

[EDIT] just checked again, 0.75c and up lab diamonds of middling (by gemstone standards) quality or better sure seem to still be like $2,000+. And 0.75c is merely on the large side of "modest".
Let's say YouTube's parent company invests in a new cosmetics company that's doing make-up tutorials on YouTube. Is it fair for YouTube to then de-monetize the independent content creators who are creating make-up tutorials and therefore hurt their revenue stream? Let's say their algorithm does it by "mistake" all the time, what can be done about it?

Over time, the independent creators have less YouTube ad revenue share. Their competitor (in which Alphabet has a stake), is "coincidentally" given higher search ranking and more visibility in the recommendations as well.

What happens to the independent content creators over time?

What is the legal remedy for the above scenario?

How would one even prove this case in court?
I too fail to comprehend why carbon crystals cause humans to secrete pleasure transmitters. I only secrete pleasure transmitters when solving abstract coding problems, and contemplating the agreeable weather up here on my elongated equestrian pedestal.
Keep your friends close and your grand parents closer
We have plenty of jurisdictions with vote-by-mail who've been doing it for a long time. Long enough that we should have some idea how common this occurrence is. It seems like the answer is that one vote isn't worth nearly enough to risk the penalties involved.
Respectfully, I don’t think I am a sick psychopath
http://archive.is/G3a2i
Savanna and grassland, yes. Almost never heavily forested area.
....in Go?
Of course your choice to make but I would fight them.
Ask HN: Are any software startups scaling via quantum computing?
Disclaimer - I'm sure the likes of IBM & Intel are experimenting with quantum computing.

But is it feasible for a startup to think they can just plug quantum on top of their stack over the course of 6 months?

Given that Spark on K8s and GPU/TPU are so easily accessible, would it make sense for a startup with a modest budget to take on quantum as a way to scale their neural net?

My guess is no, but I would be happy to be proven wrong.
Yes, but will it detect the claims and allow you to fix them without stealing all your revenue?
I like they use main processing unit from a Dutch company; is its ROM open source or/and can be accessed?

All ARM-based Sytem-on-Chips do have a proprietary ROM, which is used mainly for boot-up and multicore management. But there's no access to check if it may do something else.

>> The mobile baseband will most likely use ROM loaded firmware

this is another vulnerability
Two very different cultures. there has been several protests in Tehran in the last decade with no execution.

NK has their own culture too where it's just wrong to critise their rules (or their parents). we need to stop looking at the world from a globalised western lens.
conspicuous consumption != financial commitment

If you have the money to burn on a symbol without any particular utility (and, usually, a fractional resale value that makes driving new car off the lot look like a relatively good investment), you may well also have the money to burn on a divorce lawyer.

Some other form of marriage bond could potentially pop up, I suppose, but meanwhile we have laws which aren't mere gestures of financial commitment, they're enforceable obligations.
i do it when i'm in a REPL and want to minimize typing, but probably wouldn't put it in an actual program... so i guess we mostly agree
Zoning laws are absurdly restrictive, and sometimes just absurd. A few examples I've seen:

- homeowner (me) can't install a duplex addition for a home zoned duplex without turning the front yard into a 4-car parking lot. It doesn't matter that I have one car and could decide to only rent to people with one car, the driveway would need to fit four cars instead of the current two.

- most homes are limited to building one ADU (accessory dwelling unit). Only one ~800-sq foot ADU is allowed regardless of whether you have a 3,000 sq foot house on 4,500 sq foot lot, or a 2,000 sq foot house on a 100,000 sq foot lot.

- if you want to have a home-based day care business, zoning sets a max number of kids that can attend. In California, this is 14 kids. It doesn't matter if your home is 1,500 square feet or 5,000 square feet, whether you're in the middle of downtown SF or in a rural area, or whether you have 2 parking spaces or 20.

I think zoning seriously infringes on people's property rights. You should be able to do whatever you want to your property if it doesn't really hurt anyone. Zoning feels like EULAs to me: you "buy" something, but you don't really own it because another party has a lot of say in what you can and cannot do.
Which specific extensions work well? My wife is visually impaired and she has tried a several extensions. All of them have cause more problems than they have solved. In addition, IE and firefox's attempts to change behavior when using windows high contrast mode also breaks many sites. Safari is the browser that works the most reliably.
Synthetic in terms of the definition "produced artificially", that is, in a lab. Non-synthetic would be one produced naturally (most likely many miles under the earth's surface). It's the method of production, not the chemical properties, the distinguish synthetic from non-synthetic.
You don't like shiny things?

Strange...
They are and they aren't. Depends on how you look.
That I do not know, diesel trucks are very torquey, though Elon said that their Semi could probably pull a diesel up a hill in a tug match.

I live in a pretty steep hillside of the town, and the electric garbage truck here handles it like a boss. It's made by Geesinknorba, but I couldn't find any specs.
If we take "good" to mean, "the opposite of evil," it would most definitely not describe HackerNews.
Sedgewick and Wayne algorithm implementations. Although, those are literally textbook implementations :-) I’m not quite sure what it would take to turn them into a production ready standard library (generics?), but they look like a good foundation for that purpose.

https://algs4.cs.princeton.edu/code/
The parent poster is correct. This is a standard practice for polygraph interviews. The pick one question, more or less at random, and double/triple/quadruple down on it until you break. Or don't.

I got "have you ever committed a crime" (and after a actually pretty cool conversation about filesharing vs recording songs off the radio with a tape recorder, I passed). A friend of mine got "have you ever had sex with animals." I don't think he enjoyed his experience quite as much.
Launching iNeedy.co – Business Showcase Directory
No, they don't. Fully demonetized videos don't run ads because that's the entire point of demonetization - that the video was deemed unsuitable for showing ads (because ad buyers don't want their ads showing next to certain content).

Partially demonetized videos may show ads, but from a reduced set of advertisers - those videos will make money but possibly not as much due to less desire for the ad space on that content.
Let's destroy the planet one incremental update at a time.
Launching iNeedy.co to fill the gap between your great idea and beyond. It can often take months to launch your ideal website and in that time you could be showcasing your products and services to the World. You could also be collecting vital leads for your business. The leads come directly to you and we take no commission.
The copystriking system is totally ridiculous. The person who claimed the video should not be the one to decide appeals if they incorrectly claimed your video.
I know people in their 30s who have suicide as their ultimate end of life plan. They don't have retirement savings beyond a 401k, they live paycheck to paycheck, retirement and pensions aren't an option for them so they know they'll work until they are too old or sick. They're hoping that assisted suicide will be legal by the time they are overwhelmed by medical expenses or pain, but all them are willing to put a gun in their mouths if it comes to that.
Was this a high school internship? If so, I think we went to the same school system.
If one does not mind maintaining a fund to compensate for the losses incurred should a nuclear reactor melt down or a spent fuel storage should explode in an accident or a terrorist attack.
I misread it the first time as one month (May->June) but it was May 2018 to June 2019(!).
5 dollars? Last I looked it wa 50 dollars. I wanted it, but couldn't fathom spending 50 dollars on a game that was developed decades ago
Well when are they supposed to shoot them off? They don't look nearly as impressive in the daytime. ;)

People always say "oh well if your neighbor did X you'd want zoning too". I've lived in those kinds of places and I mind the end-game of escalating lower class trashiness a lot less than I mind the endgame of upper middle class conformity. Bring on the fireworks, the ATVs, the loud music in languages I don't even speak and the drunken arguments.
I wouldn't be surprised if their supply or natural diamonds was contingent on them not selling artificial ones.
It seems like that's how this question is always answered. I'd also be interested to see some good application code.

Also curious about some good, not too hugely sized, game code (preferably something not written in C/C++, maybe like an indie game from the past decade or so). Anyone know something?
YouTube has a monopoly on self-published videos on the internet. "Don't use YouTube" is the equivalent of "shut down your business", so content creators do need to be protected.
You almost need a Hollywood action movie trailer for this story (i.e., hero going into peaceful retirement, bad guys kidnapping his child and taking over, hero is back and dispensing own brand of justice, to save everyone).
>the "good code is self documenting" nonsense

Man I hate dogma like that. My "common sense" comment style is always, "code tells me how, comments tell me why." The only exception is in hand optimized code where I'll non-doc comment what the reference implementation would be above the optimized version, which is _sometimes_ necessary when tests aren't in the same translation unit.
> if your primitives are itself made out of the compositions of lower level primitives

I'd argue those ain't "primitives" in that case; what differentiates a "primitive" from some other kind of computation is that it can't be broken down further.

> Procedures cannot compose

Depends on how you define "procedure". In the sense used in procedural programming, you certainly can compose them (i.e. by jumping into a subroutine that in turn jumps into other subroutines, pushing and popping things to/from the stack in the process). This is a pretty fundamental concept for threaded interpreters, and Forth in particular (as well as other stack-driven concatenative languages descended from it) exemplifies this as the very basis of the language itself.

> Objects cannot compose

Object composition (both by including objects within other objects and by using interfaces and implementations thereof) has been a thing for multiple decades now.
I see the word "crypto" in each of your objections. While crypto is important, it's not the whole world and not everyone needs the absolute fastest crypto possible. If you do, then use a processor with crypto instruction extensions. If not, you can get by just fine with the operators C gives you.

Most software doesn't use rotate operations. When you do need one, it takes three instructions to synthesize it if the shift count is a constant, or four otherwise. Unless you're doing nothing but rotates you're not going to notice it. If you're doing any memory loads that miss in the L1 cache to get the data you're rotating then you're also not going to notice it.

The same goes for the indexed loads and stores. Measure it, don't just go on your feels.

The main problem with the the original post is that the author criticizes things based on his sense of aesthetics, and what he's used to, not on any kind of actual scientific experimentation and measurement of different options.

The whole premise of H&P's "Computer Architecture: A Quantitative Approach" is that you should base decisions about what to put into your hardware and what to leave out based on actual data, not on what seems prettier or more orthogonal to you.
Visual C++ code optimizer improvements in Visual Studio 2019 16.2 release
> you can do an un-permitted remodel of your downstairs, add drains, pave over the soil filter, create a massive sewage flooding problem, and sf will do... nothing. But if you were to try to tear down a house and replace it with a properly engineered multi unit dwelling... are you kidding me?

This is a really good point. Someone correct me if I'm wrong, but I think this applies to US in general; not just SF. Cities will never inspect your house unless you give them a reason (e.g. apply for a permit).

The main deterrents to un-permitted work are: 1) if you need to sell the house, buyers don't like unpermitted work, and 2) your neighbors can file a complaint.
It’s time to invest in glass.
Alexandrite, real ones, are more than diamonds
More people die from air pollution than Nuclear, its much safer than all technologies.
headers are not libraries
So … anyone who's ever had access to it (spouse, employer, school, etc.) can view your voting history forever and there's nothing you can do about it?
You might like FlowNote, as it implements many of these ideas at a high level coding language.

https://emblem21-opensource.github.io/flownote/docs/06-flow....
Lizzie Bennet Got Her Books (2018)
So would private tutoring be technically illegal in CA?
> It seems some posters here are missing an important point about engagement rings: they are a gesture of financial commitment.

And all this time I thought it was to indicate a commitment to marriage.

> The expensive price tag is a feature, not a bug...

Feature? For who? The diamond industry?
Another interesting take in NY Times:

> Yet where progressives argue for openness and inclusion as a cudgel against President Trump, they abandon it on Nob Hill and in Beverly Hills. This explains the opposition to SB 50, which aimed to address the housing shortage in a very straightforward way: by building more housing.

> What Republicans want to do with I.C.E. and border walls, wealthy progressive Democrats are doing with zoning and Nimbyism. Preserving “local character,” maintaining “local control,” keeping housing scarce and inaccessible — the goals of both sides are really the same: to keep people out.

> “We’re saying we welcome immigration, we welcome refugees, we welcome outsiders — but you’ve got to have a $2 million entrance fee to live here, otherwise you can use this part of a sidewalk for a tent,” said Brian Hanlon, president of the pro-density group California Yimby. “That to me is not being very welcoming. It’s not being very neighborly.”

https://www.nytimes.com/2019/05/22/opinion/california-housin...
Your idea is very well placed and your vision has a lot of value but I think you're trying to achieve it in a very painful way.

You cannot force people to like something: for any initiative to be successful long term, it has to be accepted naturally and organically.

What you are proposing, your idea of a community, counseling, engagement, friendships are very good and a natural way of living life - that's how it used to be forever and still remains to this day, across most of the world where people live truly fulfilling and meaningful lives.

Except mostly for the U.S. and the countries that try to emulate it.

I wrote in some details about the challenge, the U.S. faces, here: https://news.ycombinator.com/item?id=20557757
Most of those things can only be found in museums.
the really interesting story is around how the law enforcement works here . Indian Tigers (especially the Royal Bengal Tigers) are some of the world's largest predators and are prized in Chinese medicine. Its brilliant how poachers have been kept off.

For those interested, there is a brilliant web documentary series called "Ranger, Ranger" about India's forest rangers who work in the sanctuaries - http://mukha.co/ranger-ranger/

here's the one with the Tigers - http://mukha.co/ranger-ranger/project/resurrecting-paper-tig...
What to expect in a code quality assessment
Not just browser extensions. I miss an API in all kind of software we use at work.

No wonder the half of the companys in this world run on excel.
Cultivating Inclusion: Brian Reaves on building a future workforce for all
There is a difference though. One is voluntary, the other mandatory. And I can see it having it's advantages, even if offered to people of all ages (only requiring evidence that they comprehend and understand what it is they're asking for).

Suicide's main issue is the sudden and unexpectedness of it all for those that remain. We like to say that there is help, that we need to talk, but every time someone like me reaches out, the ones that espouse the most of saying life is worth living, that there's someone willing to listen...are often the ones that swiftly step back when they realize that execution is more costly then rhetoric. If you're lucky you find only silence, if unlucky, becoming ostracized from people that cannot or do not want to understand.

A medically program would help would negate this. Being able to say definitively that you're going to kill yourself with an open way of doing it means that at least the family has some time to prepare themselves. And perhaps bring some comfort in a person's last minutes; the moment of dying is terrifying, even against the greater fear of living.

And as to your last point... it's a nice thought. But for many that simply is not true. There are people's who's lives have no value, even to their family. There are people that die without any to mourn them, even among the very young. You never see them because they are often invisible unless you look carefully; the one looking tiredly out the window of the bus, or the one shuffling down a street asking for change. And the systems that collects the unmourned dead is rarely ever thought of by the living.
The "cheating device" was just a feature flag that could be enabled on the engine computer made by Bosch, who also makes engine computers with similar software for most other car companies. Bosch told them about the feature, educated them about what it would do, what it would mean, how it's not really legal etc, and then Volkswagen decided to turn it on.