skysight-inc/HackerNews huggingface dataset:
"Alignment done with spaces" would look like this for that code.

module whatever {
->fn long_function_name_whatever(arg1: type1,
->...............................arg2: type2,
->...............................arg3: type3);
}

It works just fine - tabs for indentation and spaces for alignment.
Wally is my hero. Wally can probably teach a thing or 2 to kids here.
I recall Uber using it in a white paper writeup.

Is the speedup that remarkable? I'd be curious at to the increase in speed versus loss of precision.
Evil – The Math
Ah yes, forums, usenet and emails!
To add to this, the USA was lucky enough to hustle a bunch of Nazi scientists out of Germany and into the US just AFTER the war, too. Werner Von Braun comes to mind, but there were others.

Von Braun did not give a shit about Nazi philosophy and only wanted money so he could build and test his rockets. That’s what we promised him to get him to come to to the USA.

But as I recall, there was a “secret” operation created with the singular goal of getting Nazi scientists out of Germany and to the US in ‘45 and ‘46 before the British or Soviets could recruit or just plain kidnap them.

EDIT: Operation Paperclip

https://en.m.wikipedia.org/wiki/Operation_Paperclip
Entrenched special interests driving policy is what the US is. Even an erstwhile democracy can fall into a stuck state.

Democracies can be perverted and also have a history of destroying themselves. See Greek history.
These are the monsters who told us "XML is too bloated" and "who'd ever want a self-describing, self-transformable interchange format anyway?"

The more I see things like JSONSchema and JSON5 get away from Crockford's original overly simplistic syntax, the more I think we can all agree with Richard Gabriel. Worse Is Better!
> I think it's very interesting how deeply culturally embedded the notion that a service wants customers is.

By definition, a “service” is to serve. Even if you are the only “customer”, it’s still serving someone. And most people have this notion because most services do, in fact, serve other customers, and that’s their main purpose. Not sure why that’s surprising.

> I don't really care whether you use the site or not, I made it for me and you can use it if you pay for your resources.

Going through the effort to make this a publicly accessible service with copy explaining how to use it and what it costs, implies that you at least care enough to serve other customers to go through the effort to do that much.
It's not the polls or politics that matter, it's the economics.
"While AMP itself isn't a ranking factor, speed is a ranking factor for Google Search. Google Search applies the same standard to all pages, regardless of the technology used to build the page."

https://developers.google.com/search/docs/advanced/experienc...
Do yourself a favor and spring for a Brother.
Not for long if everyone plays this “game”.
You're right that making it conditional would be bad. But we can just not do that. Why wouldn't we make it unconditional? It's not like you lose your Social Security payments for having committed criminal acts.
Adding “heat press labels” to your dropshipping products
Want to start your own clothing or product line with a customized logo on your goods? Looking to brand your dropshipping business? Check out this video: https://swiy.io/5qrp
Sourcing agent Ship To The Moon provides this add-on service to dropshippers, they customized orders for you and send them straight to your customers. Get free consulting here: https://swiy.io/5k-N
iFerrar?
We don't need assumptions. We have actual evidence that everyone can see. Epic started this fight and lost.
This is a typical example of overengineering.

When one speaks about "string slicing" they don't mean stripping the skin colour of an emoji. If there is a black Santa emoji in a string, I want to keep that Santa black. I am not interested whether it's a composite emoji or not.

The simple syntax should cover 99% of use cases and there should be a special, more advanced syntax for the rest, one that you'd use if you are writing an Emoji parser.
Not all code is reachable. Especially things like top-level try/except clauses.
So the tides have turned. In the late 1970's a high tech company by the name of Nikon hired Giorgetto Giugiaro, known for designing a number of Italian cars, including Ferrari, to design their flagship F3 SLR. Now Ferrari is hiring someone who helped essentially destroy/evolve the camera industry to design cars. They've already shown reluctance in switching to EV technology, despite having already seen other boutique manufacturers get exceptional performance-- at least when Richard Hammond isn't driving, that is.

https://en.wikipedia.org/wiki/Nikon_F3
> American and European brands are far more dominant in China than the other way around. If anything, the story of Huawei shows that once Chinese companies try to move beyond selling low-value-added products in the West, they are viewed as strategic rivals and face discrimination on poorly explained national security grounds.

When it comes to Huawei, the national security implications are obvious. Just read China's national security laws. Chinese intelligence agencies can walk into Huawei at any time and force their cooperation. Of course, the CIA/NSA can do that domestically too (perhaps with more oversight), and that is why I wouldn't blame China for not using US sourced devices in their critical infrastructure.
That only happened after it failed.
It only has to work for you! Did/do you need/use animated gifs?
That ones down, here's a reprint:

https://www.theautomaticearth.com/2021/09/spartacus/
Disordered Grids in the Third Dimension
"Horny Space Opera"!?
The Wolves of Nova Scotia!
Being dependent on something isn't a good reason to become dependent on even more things.

The EU needs to build both independent energy infrastructure and independent electronics infrastructure. When dependence makes economic sense, it should at least be done with allies or compatible world view regimes.
Right but you could also accidentally mistype it as 'b == 1'. Or 'a == b*b'. Or '(a == 0 || a == 1 || a == maxint) && a == b'.

I'm not saying more tests can't catch specific bugs you might come up with, I'm asking how you can choose numbers that have fundamental edge cases for this specific requirement without looking at the actual implementation. I don't think you really can. maxint/minint/0/-1/1 are generally common choices but only because they do tend to catch signdness errors or inequalities or division by zero or whatever, they aren't really fundamental to the requirement of this function though. If we just wanted to blindly blast those numbers in, it would be 25 individual test cases for all permutations. Doesn't seem to be reasonable.
I don't think that's the case at all, very little in Scrum makes sense.

Scrum is anti agile, it's basically processes over people.

Honestly I find it hilarious how agile people try to bring scrum into companies just so they can get a tiny bit of extra power.
I don't know if Huawei firmware has backdoors, but I can tell you I've looked at it (when evaluating their network switches) and it's a humongous mess of NIH. They even wrote their own SSH server and userspace IP stack (but still use the Linux one internally). It's rather buggy; simply scp'ing a file off of the switch leaked memory leading to a crash and reboot. It's just very poor quality.

Backdoors or not, I have very little doubt their equipment is full of exploitable security issues.
What?!? BREH, read Effective Java on Serialization.

Every serialization format has security implications.

Some try to make this explicit and probably fail in capturing all conceivable holes. Some leave this implicit to give you "fun surprises."
Not really surprising.

The current leader's family has always maintained close personal ties to dictatorships, such as the Castro family. [0] [1]

The father even went as far as to "suspend constitutional rights" (apparently that's a thing over there) for dubious reasons back in the 70's.

[0] https://www.macleans.ca/opinion/the-trudeau-familys-love-of-...

[1] https://www.cnn.com/2016/11/27/world/justin-trudeau-castro-e...
The concept of "intellectual property" is a novel myth circulated by the industries that benefit from it, and it always has been. There was a time before copyrights, and I personally think we are already living in a post-copyright age (and, for all their complaining, the major copyright industries seem to agree -- why else pursue things like DRM?). Some future generation is going to be scratching their heads trying to figure out why this current generation wasted so much time, effort, and money trying to stop everyone from using the most effective copying machines ever conceived of to make copies of things.
This isn't true at all. Consider buffer overflows, bugs in your bitwise arithmetic, division by zero, or null pointer exceptions.
I don’t understand calling John von Neumann “John” early in the article and then switching to “Johnny”throughout the rest of the article.

To me it seems disrespectful. I don’t understand why it was done.

What did I miss, if anything?

(As an aside my first name happens to be John.)
using fancy neural nets for learning hash functions from data is indeed pretty cool, but hash functions fit to data isn't new. see "perfect hash functions."

lsh is most famously used for approximating jaccard distances, which even if you're not doing stuff like looking at lengths or distances in l1 or l2, is still a vector operation.

lsh is best described in jeff ullman's mining massive datasets textbook (available free online), which describes how it was used for webpage deduplication in the early days at google.
Thank you for this book. It's the best book I read all year about figuring out if the thing you're building is a complete waste if time or actually solves a real need.

I used its guidance at my big tech job when trying to build a new tool for researchers, and it helped me better understand how to understand what they need, iterate, and better tailor the sales pitch afterwards. Who would have thought that talking to customers is the single most valuable thing you can do!
I would like it to be illegal to sell hardware which forces an account for basic usage.

With Nvidia, you can give them 2k USD and still need to signup for a GeForce account to use your new card.

After struggling to find one for 12 months.

What if I'm in a locked down environment, or GASP don't have constant access to the internet.

Can you get around this with Ubuntu/Debian/Raspbian . It's not unreasonable to have a PI just for print jobs.
That would be if the US bombed every single inch of Russia. There was not that capability for a while. Not saying killing any people is okay, let alone millions or hundred million. But I don't believe the intention of a strategic first strike on the USSR was to kill every person. Knocking out 1/2 cities would have accomplished their goals, resulting in the collapse of the Soviet Union, and in their mind saving more millions from the believed inevitable global nuclear WW3. Again, not saying it's justified, you're just viewing this from the future where you can see the outcome.
> The Lockdown Code of Ethics:

> 1. Human life has an unbounded value that places it above all other ethical concerns. Life is sacred. It cannot be part of any cost-benefit transaction. The fact of living trumps quality of life, full stop.

> 2. Not doing everything possible to extend life is unethical. Material and psychological setbacks can be overcome, death cannot. If we have the scientific tools to extend life, we should spare no effort to do to.

> 3. Age should not factor into the life-saving calculus. We should labour as hard to save a ninety-year-old as a nine-year-old. A life is a life. The health-economic measure of QALY [quality-adjusted life years] is reductive and offensive.

> 4. Individual health is a collective responsibility. This applies especially to transmissible diseases. Our collective duty to keep transmission in check overrides our freedom to manage personal risk. If someone catches a disease from us, we bear full responsibility.

> 5. Human rights rank far behind public safety. Safety categorically trumps liberty, and a state of health emergency supersedes individual rights.

=====

A pattern: Modern liberal societies do not understand the concept of 'area'. We are systematically prioritizing large visible individual benefit in a small chunk of the population vs. small individual costs spread over a large chunk of the population, even if the total benefit area is much smaller than the total cost area.
I've never used Facebook so I can't pretend to know how it works or is laid out, but if I were tasked with creating a "timeline" for you on FB based on what I know, your aunt sharing that her favorite act was "Freddy Mercury" is exactly what I would share with you. What would be more apropos?
>> I believe this will continue and I fully expect that at some point the United States will deem those born in mainland China, regardless of current citizenship, to be a security risk and they won't be allowed to work in areas of national security or national interest.

For top secret programs, maybe that makes sense, but if you’re thinking it should apply to any science/engineering areas with broad national interest/security applicability, it’s not a good idea at all. First, besides the moral implications (handled by others), there’s the fact that it preemptively disarms the US of one of its greatest strengths: the ability to brain drain other countries of their top talent and add it to its own. How did we do the Manhattan Project? By taking in all the scientists fleeing Germany and about-to-be-occupied mainland Europe (and after that, Operation Paperclip gave us a leg up in the Cold War). This would be a massive self-own, and it’s not worth it just because it might somewhat reduce industrial espionage a bit. What we should do is give every STEM graduate school graduate in good standing from other countries full status and ideally a job.

Having a Chinese grad student as an asset on a science project is practically a meme, and China is indeed a huge labor pool from which we can cherry pick the best and the brightest. It makes no sense for us to educate their elites and then force them to go home even when they want to stay and become Americans.

And if blackmailing families back home becomes an issue or real fear, then the State Department should do something about it. We’re not powerless here.

Having seen how the actions driven by fear of industrial/national espionage can often be far worse than the industrial/national espionage ever would’ve been, I’m wary of taking measures that would directly mitigate our greatest strengths. Let’s lean into the whole “Statue of Liberty” Nation of Immigrants mythology, and build on it. It is our strength and it’d be foolish to give it up due to fear that China will copy our stuff. I mean, they’re going to do that anyway, even if we put Chinese background people in internment camps. Our only chance is winning based on speed of innovation (which can’t happen if we spend all our resources on paranoia… paranoia has a MASSIVE overhead and slows innovation to a crawl… no one can steal our inventions if we stop inventing stuff!) and the cultural victory of acting like the good guys and being the city on the hill. Remember, this is a game we now have to play by convincing people to like us and be our allies. We are no longer the unchallenged hegemon like in the 90s; we need our allies.
> The federal government never asked for the so-called information operations campaign, nor did cabinet authorize the initiative
Cloud Run PM here. Sorry for the inconvenience. This is an issue for which we have a fix, but the fix still needs to roll out (internal bug 154368323 for googlers reading, we're still evaluating the best rollout strategy). Until then, I'll add it to https://cloud.google.com/run/docs/issues.
> "suspend constitutional rights" (apparently that's a thing over there)

That's a thing in the US too. https://en.wikipedia.org/wiki/Internment_of_Japanese_America...
> clearly has dark stains in its history

No, it is not its shady history, is its present. The US still has policies against African Americans. It still has Guatanamo Bay. It is bombing innocent civilians in the middle east. It is still detaining children for the crime of crossing its borders and expelling people who came to ask for legal Asylum. It is still persecuting whistle blowers. It still has a world wide program of wiretapping. It is pure hypocrisy to talk about China as a human rights abuser when the list of US abuses is this long.
This a thousand times. This is a manufactured energy crisis. We've divested from the fossil fuel space of so aggressively capital that there's no way out without a /lot/ of pain. It also doesn't help that nuclear is being phased out.
Agree. It only takes a few lines. But how long does it take to learn what those lines are?
That's because you know how to write good tests but TDD didn't force you to do that.

Simply put, TDD just means you write the assertion first, see it red, then change the code to make it green.

You can do that by specifying a failing test via input/output testing. You can also very easily write a failing test that tests that the YXZ() method is gonna be called on some internal thing that you're replacing with a mock. Add that method and voila, green test, TDD happy. Bad test though.
I've never had any issues with the E2E tests in my company either, and I'm unsure where the flakyness would even come from. Using Cypress with great success.
Can the reMarkable 2 be used as an extra display for a Linux Desktop machine?
>This idea has been explicitly stated by those who oppose a $15 federal minimum wage, arguing that people making current minimum wage, or close to minimum wage, are not actually poor,

Again, you claim was that it was said that those who make minimum wage are not actually poor. I am quoting you verbatim. Apparently you suffer from amnesia or disconnection from reality. Cato did not say this.

> People work "gig" jobs (e.g. drive for Lyft) for extremely varied reasons (some even do so in addition to other jobs, in fact, your source says most Uber drives do this).

Ignoring all your disengenous obliviousness to your straw man and refusal or indifference at any source that shows concrete effect of wage regulations, I'm glad at least you've come around to admit that many people working low wage jobs are doing it in addition to other jobs and for extremely varied reasons, one of which may be to use the job as a bridge. Which is exactly what Cato was saying. You've at least admitted now that Cato was correct.

>Preferably, yes. "Concrete examples" are also called "anecdotes," and are not at all convincing of large-scale, job market-wide, patterns or effects.

So where is your citation that minimum wage is good for people who cannot offer value reaching minimum wage? I've seen nothing at all from you showing these people who can't offer enough value to gain a minimum wage job benefit at all from raising the wage.

>That is another assumption. You "presume" that gig workers would choose non-gig work if given the option... With no actual evidence of that being the case at a meaningful level. People work "gig" jobs (e.g. drive for Lyft) for extremely varied reasons (some even do so in addition to other jobs, in fact, your source says most Uber drives do this).

I said I "presume" that many would choose. Not all would choose. In fact, I don't even have to presume at least one would choose because I was a gig worker once that would have liked to make minimum wage but at the time had nothing to offer yet that got me a minimum wage offer. I absolutely would have liked employment protections but did not get them, although after several years I was awarded some money in a class action lawsuit along with many others who made the same claim as me that we wanted and believed we should have been afforded employee status. So I guess I didn't presume at all, as it was born out through claims in the court system. Would you like a picture of my check as part of the class action of the many who wanted to be classified as employees?

Your constant dismissal of evidence whenever it suits you is little more than the dictatorial activity of a narcissist, a lying one at that who makes false claims about the statement of Cato.
I wonder if that statement will stand the test of time (and declassification).
I found it refreshingly honest. Most of us aren't landing people on Mars or working on a cure for cancer here. Most of us are, infact, relatively unimportant (including the guy managing minions.)
There were three dedicated scrum masters at a previous job - two seemed to watch Youtube all day and eventually left and the other one read about tech all day and got made redundant.
The scrum masters that survived did dev work as well.
Have you spent the decades of your career working at companies that blew their competition out of the water with better software, like Google, Apple, WhatsApp, and Facebook, or at companies whose software was unremarkable or inferior? If it's been some of both, did you note a difference in the degree to which stakeholders grappled with the kind of uncertainty you're talking about?
Out of curiosity as well as sheer ignorance; isn't AWS Shield designed to help with DDoS? was it more complex or expensive or not applicable?
Death penalty for Zuck, please.
Make sense for the US to do - though again can be easily used by CCP to incite nationalism. Although more and more people in China does not admire US as a whole anymore, after Trump, Afghanistan shitshow
Large scale international IP Treaties weren't really a thing until the near the end of the the 19th century, so "theft" isn't really the correct term when there were no agreements or laws governing trans-national IP rights.

Those agreements really only got started with the Berne Convention-- mainly creative works-- and the Paris Convention-- basically industrial patents. (Yes there were some other smaller agreements before, but these brought things into much larger scale with many, many more signatories to the agreements)

Besides, your line of reasoning amounts to "Other people got away with bad things so it's not fair that I do to" As a parent, I spot that line of logic often in with my kids, and it doesn't hold together very well there either.
Look at the parallel between the US and Vietnam. Both were ruled by colonial dictatorships(AKA Kings). In 1776 the USA revolted against their King - at that time.
Now 220 years later Vietnam was ruled by a French colonial dictatorship on the ground in Vietnam, yet who professed to be a democracy in Europe - but not in Vietnam - they were hated.
The USA supported the French - is it any wonder the Vietnamese natives supported anyone who could have torn the French off their back, then a local dictatorships of grafting generals took over - with US support.
Repeat in Afghanistan - the native populace supported their fellows. The warlords that run Afghanistan were crooked grafters, and just like Vietnam, as soon as the USA left, the locals took over.
Why does the USA feel a kinship that goes against the spirit of 1776 - crooked and corrupt leaders are supported - does this tar the USA with a similar corrupt aspect?
We deal with it by electing a better grade of leaders, cracker jack prizes will no longer cut it...;)
I have a personal relationship with my manager, and we often chat outside of our 1:1s. We spend our 1:1s talking about work stuff, and end the meeting early if there isn't enough work stuff to talk about. When we're in the mood to chat person-to-person, that happens organically. When we need to talk business outside of the 1:1, that's more structured. I consider this distinction to be a healthy boundary; you may benefit from the same.