skysight-inc/HackerNews huggingface dataset:
Ask HN: Tell us how you deal with merge requests and code rot
Only asking about work environment, not personal projects or OSS. On average, how much time passes between creating a pull/merge request and merging it in your organization? Do you make any conscious effort to keep this timeframe small? How often do you have to deal with stale merge requests? Is the merged code always shipped in the next release/deployment or not? Do you employ any specific techniques on increasing PR/MR throughput (amount of code changes merged) without compromising quality of the final product? Do you think automated test coverage is absolutely critical in this context or it might be possible to improve/optimize while not having a lot of automated tests and relying more on manual QA?
I don't think major hacker sites getting hacked, or the MSE exploit from a few months ago qualifies as "sensationalism". These, especially the latter, are a Pretty Big Deal (tm).

What do you consider a big news item that isn't "sensationalism"? (Your link timed-out)
“It is key for Switzerland to catch up with other countries when it comes digitalisation“

Why?
I should have been more clear. It's not that developers are unfamiliar with the string/array equivalence in C, but rather it's less common to encode constant strings that way and I've rarely seen it done.

I can find data showing that adding the second const is uncommon. Here are the number of code results for different github searches:

"const char " - 310 million results

"const char" - 385 million results

"const char * const" - 30 million results

"const char* const" - 37 million results

"const char *const" - 36 million results

Unfortunately I'm not sure how to search for the array style syntax.

One way or another, my point is that I'm more interested in optimizing for readablity and the way people expect things to be defined rather than the extra bytes.
Too late they already do it
> NFTs are nonsense and just as much a pyramid scheme as everything else crypto.

https://news.ycombinator.com/newsguidelines.html
Pay restrooms won't stop street defecation due to poverty.
Plenty of countries (if not most) have this or something similar, anchored in either their constitution or at least in regular law.

This should not come as a surprise either, since it's essentially the implementation of Article 12 of the Universal Declaration of Human Rights.

Where it usually goes wrong, is with the interpretation of the words "privacy" and "communication". Also, governments have a habit of defining exceptional situations in which these laws can be violated in the name of some supposedly higher purpose (e.g. national security).

Strictly speaking, the UDHR is rather clear about one thing: the declared human rights are inalienable (meaning, they can neither be taken away nor be given away freely), so all the exceptions are essentially bullshit excuses. Those should not exist in the first place, at least not according to the "inalienably" part of "inalienable human rights".

Additionally, there is no law/treaty that explains why modern technologies should not be subject to Article 12. While plenty of governments/businesses would like to convince people otherwise, almost everything we do online is strictly speaking telecommunication of some sort or another.

The sad truth is that pretty much all of today's online privacy issues are strictly speaking in violation of the UDHR. There is just way too much at stake for businesses and governments alike for them to ever acknowledge it. It doesn't change that they are blatantly violating a treaty they signed, ratified and should be upholding though.
>Mathematicians aren't building/designing things all day long so they don't need this word.

Not true, they build proofs. Within proofs there are many many common techniques, aka "patterns."

Either way you seem to imply that "patterns" are for people who "build" things, which isn't emphasized in your definition below:

>"A pattern language is an organized and coherent set of patterns, each of which describes a problem and the core of a solution that can be used in many ways within a specific field of expertise. The term was coined by architect Christopher Alexander and popularized by his 1977 book A Pattern Language."

The problem with the above definition is that English vocabulary already communicates what a pattern does perfectly fine. What is the point coming up with an over complex name and postfixing all of these things with "pattern?" It's basically a redundant concept.

In fact, my communication with you at this very moment is employing many many common patterns. Check the pattern in the previous sentence "many many." I call it the double emphasis pattern and I've used that pattern twice in this reply. I'll write more about it in my book on Design patterns for English communication.
This is also business as usual which is why we need to end nuclear as soon as possible. It's not like Fukushima was the only reactor with a large incident either.
"A fool and his money are soon parted"... This is a great way to part the early, non-sophisticated but luckily wealthy bitcoiner and ETH-holders from their rapid and "easily" won windfall.
This kind of firehose, right?

https://www.boringcompany.com/not-a-flamethrower
It seems a bit presumptuous to call how the FAA dealt with Boeing "oversight". "Total subservience" might be closer to the mark.
there is IMO an excellent series of articles documenting exactly what the problems with MCAS were and how it went wrong. It's written by a pilot called Bjorn on leehamnews.com if anyone is interested.
I'd expect most 2fa to be through an authenticator app (google authenticator for example), SMS, or a physical device like yubikey.

I don't think I've seen anyone use e-mail for 2fa. All the devices I listed above are in real-time through TOTP timings. E-mail is NOT in real-time.
As an alternative to SPID you can also use your national electronic ID card, which is issued by the state without the involvement of private companies.
TFA says 190k miles of petroleum pipelines, 2.4m total with natural gas included
Math heads frequently use the term for proofs. I see it as carry over
...(3 meals a day) is largely a consequence of industrialization, which formalized the workday and drew much of the population away from home on a regular basis. Preindustrial America was more rural and agrarian, and people worked during daylight hours, pausing midmorning and later in the afternoon. “It was more like a two-meal kind of schedule that was based on outdoor physical labor and farm labor, and those meals tended to be quite big,” Bentley told me.

With at minimum 1, but often 2 of the 3 meals a day model spent away at work/school, it’s hard to see this as immediately worse to say the least.
I'm not even comparing that. I have been to SF all the time. SF--just SF--is not as dense as downtown Houston, where housing is affordable.
It's not that the "obvious solution" is so terrible, it's that the workaround (not needed in 99% of cases) is really easy and arguably good architectural practice. You can emit an error/ok union and have the error return the structured information.

Note that this isn't like go's "if err = nil" monstrosity, either.
I really admire the swiss political system & culture.

It's has all the modern postulates of liberty & governance that most countries are striving for
without the "scam orchestration"
> I don't see why my health in particular matters

There are a lot of people who have no idea about a profession or field and still have opinions (strong ones at that).

> when there are olympian athletes who are entirely vegan and additionally many who are vegetarians.

The point is I don't care that "there are some people that do x without y", you have that in every field in medics system.

"My grandpa smoked till 90 and didn't die." I don't care about your grandpa.
First of all, people aren't always resisting when the cops kill them. There have been numerous instances in the past few years that got international attention, so I'm not going to detail these.

Then there is the very obvious problem of SWAT raids, where police regularly get the wrong house! But they still go in with their guns, and sometimes shoot before they ask questions. How would you feel if police broke down your door and pointed assault rifles at you, threatening to kill you if you moved? Also, how would you know they're police? They regularly break down the door and threaten to kill someone before ever announcing that they are the police. And even then, how would you know that they are the police? I'd feel absolutely justified murdering anyone that attacked me like that, I don't give a fuck if it's the pope.

Here's some data you can explore if you want to, though.

https://www.prisonpolicy.org/blog/2020/06/05/policekillings/

https://policeviolencereport.org/

https://www.theguardian.com/us-news/series/counted-us-police...
Drives me up the fucking wall. Spend years bombing the shit out of countries and selling arms to despots, then having the gall to complain when refugees from the situation you encouraged turn up on your doorstep.

You solve the “refugee crisis” by fostering peace and prosperity in countries that don’t have it, not by spreading lies about it.
Can pipeline owners be fined for leaks?

Are pipeline owners obligated by law to rehabilitate spills?
Because person hours are expensive (because food is expensive because person hours are expensive because socialized health care is expensive).

Every process that currently involves reams of paperwork (like the ~20 page tax declaration that is due this month - yikes) that can be done digitally instead saves the taxpayer or customer money.

And the Swiss do like their money.
I was a bit flippant, yes sometimes you have to breathe through the mouth but whenever possible one breathes through nose.
I'm not the original poster, but I also had the same issue. I'm not in an incognito window nor do I have any special privacy mode (I'm using Chrome on OSX).

Error 400: redirect_uri_mismatch
The JavaScript origin in the request, https://www.getpingpong.com, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauth... to update the authorized JavaScript origins.
I have this happen as well!

Makes it hard to stay fit in the winter.
How do you decide the things that shouldn't be voted on without voting?
I think there should be regulations on this aspect of programming/marketing. Sadly it's hard to monitor, and it's the best way to be successful in today's market.
Dependent types are one way to achieve that effect, but I think what you're actually referring to is "refinement types".
Expected utility doesn’t say that you should buy a ticket, no.
Obviously no.

That would only hold if you assume that utility is either linear or superlinear in money (or, more precisely, that the marginal utility of losing a dollar, times 1-(1/1 million), plus the marginal utility of gaining a million dollars, divided by 1 million, is greater than 0)

If this is the sort of argument that people advocating for EE are making, it makes EE seem less worthy of attention.

Oh, you said EV not EU? Ok, but no one claims that people maximize expected money. That would be stupid.

Using EU rather than E$ isn’t some hack to add a fudge factor, it is capturing that people have preferences about things in general, not merely how much money they have. Placing money centrally is silly; money isn’t some universal terminal goal. It is a convergent instrumental goal.
Depending on what I care about, the use of money to me will scale differently, just like how the scale of other things to each-other will.
The idea of utility is to pick the quantity which I do value linearly in probability. However I take probability into account, provided I do so in a coherent way, there is a unique-up-to-positive-affine-transformation utility function which corresponds to that.
I agree with 99% of what you said - I think a lot of simpler patterns aren't actually "patterns" in the first place, iterator probably being the best example. However, for things like factories and things more complicated than that, it is helpful to have a lot of context come along with just a word or two. If someone says "facade" or "memento" you know exactly what they mean.
So it needs a isolation like firefox containers
That will change when cosmetics can be shared across multiple games, which is already starting to grow with the onset of custom multi-game avatar+identity APIs being provided to game developers.

When you avatar persists across multiple different games, it makes sense to have an ownership mechanism that isn't managed by a single central authority.
Magic links and federated emails have the same points of failure. If you got their email password you're in

And I don't like federated emails because I can't tell Google (I can tell FB, ironically) that I don't want all my data shared with the service I'm logging in with (some services like Samsung phone stuff wants to get everything)

So thanks but I'd rather only share an email/password in some cases
A layer of privacy shouldn't be downvoted or considered complexity. If someone chooses to not be tracked that is not something to look down on.

If you care about privacy, you'll pick flows that all your users to maintain their privacy.
With the current leadership of Boeing I wouldn’t really trust anything they do or say.
>VScode is a shining example of what that can accomplish.

A platform should be evaluated by what an average team can make with it, not by one shining example -- because a sufficiently talented team can make something excellent on any platform.

If the VSCode team had built something like VSCode on another platform, I'd probably like it even better than I like VSCode.
You should also account for how early NFTs are. If you've been following blockchains for a while, you may recall that in 2012 and 2013 there were an ocean of Bitcoin knock offs that distinguished themselves by changing things like the difficulty adjustment algorithm, or the hashing function, or the total coin supply. All of these "altcoins" to experts seemed to be completely useless and many chalked the entire category up as worthless. Eventually of course a lot more interesting altcoins were invented, and it turned out to be a great source of innovation, it just had a hurdle to cross first.

I feel like NFTs today are roughly where altcoins were in 2012. Lots of good fundamentals to the ideas, but most of the implementations are really missing the mark. Whatever the NFT equivalent of Ethereum, Zcash, Sia, etc is... it's not here yet. And it may yet be a year or two until it first appears.
There's FCC rules on how the space can be used to prevent what you are describing. Sure, this will increase the noise floor, but Amazon can't show up and start acting like they are the only ones allowed to use it.
If the standard library doesn’t do follow that convention, then it doesn’t matter what I do in my code. I won’t get the information I need from the standard library, and third party libraries are unlikely to follow this ad hoc convention. I’m certainly not willing to rewrite the entire world to follow this ad hoc convention.
If I were any of the half dozen non-profits I've worked with, I would be unwilling to accept that loan because it is a completely unreasonable amount of risk to be beholden to some untrustworthy random person for any important sum of money, and a completely unreasonable amount of work to be beholden to some untrustworthy random person for any unimportant sum of money.

Start your own foundation and manage your own money. This isn't genius, it's ignorance.
"I'm not talking about orthodox utility theory ("EUT"), and I'm not trying to say that it's currently a good theory, either."

The reply button is missing below so I'll reply here.

The issue is that the major results of economics in this sort of area are been effectively destroyed by EE. Prospect theory for example is completely gone.

There may be places where people's behaviour isn't rational but research into that needs to be effectively carried out again from scratch. The main "evo psych" results in economists have been effectively disproven.

So you might be right that people don't act rationally but all existing research into that area is currently dead in the water. It's start from square 1 again.
Perhaps sell links to software job postings which start on the front page? HN readers are already used to this.
I believe the desire is for people to use the Sensor API instead now:

https://developer.mozilla.org/en-US/docs/Web/API/Sensor_APIs
"Extraordinary evidence" nowadays means "evidence you will be prevented from obtaining, or that you have but we will refuse to read". Predictable, really.

All a claim needs to be "extraordinary" is to provoke uncomfortable questions, such as would require some tenured professor to learn a new skill. Even direct observations can be extraordinary, now.
What prevents someone from creating another NFT platform for tweets and do the same thing? The tweet is only unique on the Cent Valuables platform, not on the blockchain itself. Or am I missing something?
A Method for Creating Enormous Space Telescopes
I understand MCAS is only necessary when performing the most extreme, emergency maneuvers. Even then a good pilot would cope without it.
I don't think they're banning coal powered bitcoin mining. They're banning it in Inner Mongolia in particular. They're selling their inter-regional political conflicts as environmentalism.

China still built some 40 GW of coal plants last year.
I find it curious how the phrase “politically correct” entered western political language as as self-critical satire by the left (presumably in reference to Soviet political officers), before being transformed into criticism by right-wing commentators, to the situation of being surprised that the Soviets didn’t care about power imbalances and what we would now regard as inappropriate behaviour.

Such linguistic shifts happen a lot (title of this forum included), but nonetheless tickles my mind whenever I see it.
This site is already heavily monetized. Basically every yc startup gets exposure to a broad tech audience. Shit ain’t a charity.
It really depends on the university. Many do not have substantial endowments. Many educate a disproportionately high number of first generation or low income students.
> The right question isn’t “What is my favourite tool?”. It’s “If this project had a soul, how would it want to express itself through code?”

I somewhat disagree. What you're saying is basically "pick the right tool for the job", but more poetically (not a criticism, BTW, I like your phrasing).

But what I think this is missing is that the "right" tool is at least in part based on your favorite tools are.

Or to put it differently, using a tool that may be suboptimal for the job, but which you know extremely well, may be better than using a tool you don't know which is optimal for the job.

Of course, this is much less of an issue for hobby projects, and if one of your goals for a project is "learn new stuff" (a goal I often have for my own hobby projects), then picking the optimal language may be exactly the right choice. You get to learn a new thing while not fighting with the language.
ZX81 -> ZX Spectrum -> Atari 520ST

It wasn't the first computer I used but it was the first computer I owned. I still have all the hardware somewhere (including minutia like the ZX Microdrive sitting on my desk right now), I have some books as well ;)
> efforts of skilled and effective people.

This has been a truism for more than 100 years and has been mocked for as long it exists. There are entire "Yes Minister" episodes about "we use the usual formula: comparison with wages of industry leaders" (they use chairmen of BP and IBM for comic effect).

Also highly recommended is the episode where Sir Arnold leaves the civil service and looks for a suitable successor who will put jobs his way ... sorry, ask him to undertake the jobs.

Excerpt:

Sir Arnold: Also, I would like to be chairman of the
Anglo-Caribbean Association, which would
give me an opportunity ...

Sir Humphrey: ... to be of service.

Sir Arnold: Precisely, especially during the winter months.
There are already cars that use cameras instead of mirrors. I think the electric mini does.
Even when it's people's kids they as often as not don't take their addiction seriously. With families there's a lot of enabling and co-dependence that occurs. That's in addition to the views that addition is some moral failing or idle habit.

I think issues around not taking addiction seriously or not understanding it are facets of us collectively not taking mental health seriously.
I'd initially missed 'explainer' pages - I was clicking what looked like links, but they weren't initially working.

Even after reading some of these pages, things still don't make much sense. If there's a link to 'racism', I'm still not seeing it.

Another weird one was "teachers enculturated in the USA teach math the way they were taught math". But... I was under the impression that we'd been using 'common core' stuff for the past 10+ years, and a big complaint is that teachers can't teach it because it's not how they learned.

Very little of these explainers seem to make any attempt to connect the racism angle, which is disappointing.

As you pointed out, bad teaching can just be bad teaching, and doesn't have to have any other explanation.

A few others I saw:

"Have students create mathematical definitions in their own words in groups, and bring the groups together to co-construct mathematical definitions as a class."

Unless there are agreed-on definitions up front, how would you determine if anyone is correct or not?

"Let’s get into partners and do a thinkpair-share. We will incorporate everyone’s ideas and try to synthesize them."

I had 'group work' 30+ years ago. It sucked. It assumes that everyone even cares, or cares enough at the same level.

"How do I dismantle power structures in the classroom?"

Classroom Activity: Flipped learning, where students teach concepts to other students.

That's just creating other power structures.
Except using electricity at German prices wouldn't allow one to break even mining Bitcoin. They'd be at a net loss. Also Germany will have to clean up its act by 2038, 8 years later than most of the EU.
Location: Toronto, Ontario, Canada

Remote: Yes

Willing to relocate: No

Technologies:
System Design: UML, design patterns,database design, UX/UI design, communication protocols
Languages: Java, JavaScript, Typescript, C/C++, Python, C#, HTML5, XML, CSS, SVG
Database: PostgreSQL/PostGIS, DynamoDB, MySQL, Oracle, DB2, MongoDB.
Operating Systems: Linux, OSX, Windows, AIX, Solaris, HPUX
Cloud: AWS (S3, EC2, EBS, RDS (PostgreSQL), Lambda, SQS, SNS)
UI Frameworks: React, Vue, Angular, GWT, MeteorJS, Bootstrap

Résumé/CV: https://drive.google.com/file/d/0B-MYilVVi1sVZUxFOUdpUFprblk...

LinkedIn: https://www.linkedin.com/in/paulwujek/

GitHub: https://github.com/pwujek

Email: Paul.Wujek@gmail.com
The revolutionary thing about lisp macros was that you could freely manipulate code as data.

What zig offers is completely different: it allows you freely manipulate types as data, while disallowing the ability to manipulate syntax.