skysight-inc/HackerNews huggingface dataset:
>If you do this before you understand EXACTLY what you need, you're going to be wrong.

The main problem with this is culture imo. I agree 100%, but it is so hard to fight against the idea that "real engineering" or being a "good developer" means tiers of abstraction.

To me, being a good developer actually means understanding what your operating parameters are, and then writing the smallest amount of code that satisfies the business requirement. Sometimes (a lot of times!) this DOES mean you have to go back and refactor or completely throw away code. By _design_ you chose to only solve the immediate problem. However, culturally, this is seen as a failure rather than a success.
for diff algorithims in Rust, see https://nest.pijul.com/pijul_org/pijul:master/6afda19ba69307...

for a Rust diff library crates, see https://github.com/changeutils
If you didn't have to source your material from Earth, it would be a lot cheaper.
Use webm instead of gifs.
Please don't say implementing JavaScript on punchcards.
Mate first of all my huge huge respect to you for keeping at it. This is true passion and I really really wish that see more of it. I hope you are doing what you enjoy for another 50 years at least!!!
Heh, someone finally followed the line "writing about music is like dancing about architecture" to its logical conclusion.
I think most people have been getting much, much more sympathetic to the police as the week goes on. Like, American police are abusive and terrible, but I'm forced to regrettably side with them over the people who are burning down cities.
Downvotes can be annoying but everyone gets them. Please don't go on tilt like this. Or like https://news.ycombinator.com/item?id=23359460.

https://news.ycombinator.com/newsguidelines.html
Religious practice is incredibly varied. And unless the rule is "don't be religious," religious people will try to be flexible. Christians have an obligation to gather, but many churches can satisfy that obligation with a 15 minute service, no singing, and ample distancing, if those are the rules.

Theaters, concerts, and theatrical performances have a harder time changing the product. "Wonder Woman 1984 in 15 Minutes" doesn't sell. Cutting a college lecture down to 20 minutes doubles or triples the number of lectures needed to cover the material.
Life expectancy has plateaued and may be trending down in the U.S. The culprit is likely obesity. (See https://time.com/5100737/obesity-lowering-life-expectancy-un... )
The idea that it takes significant viral load to initiate infection makes it quite interesting to try and form a mental model of how transmission takes place. For example, you have a globule of viral particles that float through the air and lodge in the respiratory system. According to the "viral load" theory, this is unlikely to initiate infect by itself. We need repeated doses, possibly over a period of time.

You could theorise that the inflation of risk is no more than that from the linear sum of the doses, ie: any given "dose" has the same probability of inducing infection. However the "viral load" idea suggests that multiple exposure is worse than just the sum of independent random events. It suggests there's some sort of interaction whereby multiple doses within a short period of time are especially potent, as if the viral products from independently replicating infections in the respiratory system are able in some way to reinforce each other and make it more likely than two independent chances that an overall infection will take hold.

Curious if there is any work in this regard that would elucidate the underpinning process of infection.
Please don't post in the flamewar style to HN, and especially please don't cross into personal attack here.

https://news.ycombinator.com/newsguidelines.html
Good point. Compared to murder, animal cruelty segments will be a lot of cruelty without generating much sympathy.
That was 12 years ago. Perhaps they have learned from it?

(I don't believe they have learned anything, but this tiny chink in the armor suggests that at least I'll give them the benefit of the doubt on this blog post.)
So what are the MFC experts doing nowadays?

Anyway that's precisely the problem - either get sucked into all the horrible fads or not finding a job. That's a pretty bad choice.
That's not true.

Typically any server with a watch functionality will have a mutable reference to the data that's being watched. When you change that data out you're both changing the mutable reference, and also deallocating any memory that was previously used. One could separate these two steps, moving the watched data to another variable that's dropped in another thread, if you wanted.
God Speed Sirs!
Keep in mind that legality only matters within a jurisdiction and that everything is illegal somewhere and at some scale, privately doing this is almost never illegal but doing it at industry scale would be. Next, try asking your lawyer if the factual law has much sway over the commonly shared understanding of the law (in a lot of countries it does not (e.g. you cant insult the monarch in most constitutional monarchies according to the exact word of the law, however this is not enforced nor cared about). Lastly, its only really legal till Nintendo throws enough money at it being illegal (there is no money in it for them, unless its about brand protection).

To conclude: the real answer lies in that the presets given from the Atari vs Nintendo case in America state that clean room reverse engineering of these chips is legal.

PS: IANAL, also gameboy games would be a trademark violation because of the security involving the nintendo logo being rendered on the screen by the cartridge and then being compared to one from ROM, a personal fav trick from nintendo also physically applied on the disks of the famicom disk system which held the nintendo logo on them physically indented allowing a stamp inside the disk reader to be inserted into it (easily bypassed by great groups such as hacker limited by simply adding a flat piece of plastic to the 2.8 inch quickdisks, or sipmly adding instructions on how to add this yourself).

A lot of this gets bypassed using ye olde method of selling the means and then making the user do the bypass themselves using the means.
Would you please stop using HN for ideological battle? It's not what this site is for, and it's against the guidelines because it destroys what it is for.

https://news.ycombinator.com/newsguidelines.html
The thing that I've always wanted to read about with nukes is what it's like to work with them i.e. being a nuclear bomb mechanic - in a philosophical sense rather than practical advice.
>You've just introduced an exponential explosion into your testing burden. The pay-off: additional functionality that might be useful later.
> edit On reflection I suppose it's not a 'exponential explosion', it's merely a 'multiplicative explosion'.

This statement seems rather inaccurate and misleading. What you thought about 'multiplicative explosion' is the number of integration tests required. Generally, software testing focus more on unit tests, and so in this case, the number of tests is still linear.

> The article doesn't go into detail on what it means here, but the more serious the software work, the less the artistic mindset applies. [1]

This claim seems to be too opinionated. I doubt seriousness makes a difference. I have seen artistic/creative design in some very serious projects before.
That is wonderful! Hey I'm from Florida too! (I assume you've at least been there since you mentioned FAU) :) You are doing what I hope to: code even if I 'retire' I intend to code till the day I can't anymore.

Welcome to HN! It's a great place, has a few things I don't like here or there, but overall a great place to learn all sorts of things and learn about all sorts of people from varying backgrounds.
Ask HN: How can you get started with software consulting/contracting
As a software developer how can you begin your career as a consultant or contractor after gaining some experience
I must've been a bit older when the Cold War ended, because I still keep an eye on where permanent security council members* have their sub pens.

On USENET, people used to give their "icbmto:" coordinates in signatures. Ha ha.

As far as "Who's Next" goes
https://www.youtube.com/watch?v=oRLON3ddZIw
reality imitates art: Alabama (SSBN-731) does indeed have the bomb.

* might we explain much US right-wing two-minute hate against France by the simple existence of Brest?
Can you explain this from the article:

"Georges Dirani, BNP’s general counsel, told the judge that the bank accepted “full responsibility for its conduct"

"There’s no question the organization will not tolerate the kind of behavior we have seen in this case,” Dirani said."

Am I missing something or did you just submit a terrible example for your allegation?
In my company, we can get "Senior Developer" title after 3 to 4 year experience.

What your current title?
Matrix Calculus for Deeplearning Part3
So is spacex. It's a dictatorship.
Partly cribbed from my comment downthread: I think I'd classify Knuth as the slightly different "longest working computer scientist". He's known for his quote "Beware of bugs in the above code; I have only proved it correct, not tried it."

Or perhaps I'd classify him as the somewhat more sycophantic "longest working genius" or "longest working cool guy". Heck, Knuth was uniquely awarded a master's degree for his bachelor's because his work was considered so outstanding, he's an organist and composer, and he's hilarious. I love this quote about him: "If you had an optimization function that was in some way a combination of warmth and depth, Don would be it."

A quote from him in an interview I found: "Indeed, as mentioned above, my life's work was to be a teacher."
Mariah Carey Calls for Justice for George Floyd with Powerful Performance
> runs Javascript

I'm shifting uncomfortably in my chair just reading that
hackernews traffic crashed the host :( Cant wait to try tho!
Well, consider an authorization system where you have a subject's group memberships and an access control entry set consisting of grants to group and user IDs, and access is granted if the intersection of the two is non-empty.

In such a system, sorting the two sets of IDs allows you to implement an O(N) or O(M log N) algorithm depending on the relative sizes of the two sets. If one set is much smaller than the other, then you can just iterate the smaller set and binary search the larger set. If the two sets are comparable in size you can walk a cursor in each.

These IDs are probably small -- 32 bits will generally do. That's a "pure scalar type that is native to the machine".

Mind you, these are smallish arrays in practice. Typically you might see users with a few hundred group memberships and access controls with a few tens of grants. But you might have many users, and many access controls, so many sorts to perform.
I am getting a Cloudflare 522.
> a 3-4 gb git repo is ridiculously huge.

It's an old long SVN repository with a lot of files. I would like to
split it in two SVN repos but that would destroy their history. Any
ideas?

> I'd expect everything to be slow.

It's actually very OK with git in cygwin-bash.
it seems like PR for usury to me. there's been quite a bit of 'bankers are nice guys' propaganda since the coronu.
#startups is for idiots - never found it useful just the same 5 people blathering constantly and judging newcomers

#debian-mentors on OFTC is nice

Really any channel where a bot posts recent builds...
The data set is small. The search system is exclusively based on similarity search using word vectors. One result of this is that an image that should be returned for a search for 'parrot' is only returned for a search for 'bird'. A better search system would combine both word vectors and keyword matching so that if a description contains parrot it matches parrot but bird would also match parrot.
Are you really saying that setting fire to a police station was self-defense?
I do this with mashed potatoes.
My mother is still coding Fortran at 76. I think she may have started a couple of years after you though. Fortran forever!
[2] includes the explanation of why its legal, the atari vs nintendo lawsuit.
> would be to simply convince the public that it's very dangerous to go outside

That theory is being tested in Sweden right now. No government force, just strongly trying to convince residents to socially distance. And now its one of the highest death rates in all of Europe.

The libertarian ideal of people "doing the right thing" simply doesn't work.
I've been using this a lot the past year. It's consistently been improving along with each version. My main love for this tool is you can see the cluster health on the screen, can see evicted pods and running / scheduled cronjobs and easily jump into the shell of any running pod. This tool is always on one of my screens, definitely a job well done.
It makes more sense to use a second stream or named stream.
Where does it show that? Am I missing something?

On my side it shows Segment's website in the two screenshots, I am not sure if this is just an example or if it believes I am linked to Segment in some way?
Everything You Need for Principal Component Analysis (PCA)
Money.

But in your head hear that as "Moooonneeeeeeyy" from the Pink Floyd track.
Exactly what you said. To critique is easy, but make damn well sure you can point to the examples where you’ve done better.
We only locked down mid-March, but we're back down to less than 2% of our peak and have been unlocking since end-April. Stopping the spread is easy, but it apparently requires a population that understands and is committed to hygienic measures.
According to NYTimes, preliminary results from an autopsy "revealed no physical findings that support a diagnosis of traumatic asphyxia or strangulation."

https://www.nytimes.com/2020/05/29/us/derek-chauvin-criminal...
They have physical buttons for super critical stuff like aborts (the large handle between seats 2 and 3 in the center and deploying parachutes along the bottom below the touch screen. Touchscreens cuts down on the weight and space requirements a lot too and interfaces can adapt to include more or less information as the mission demands.
I would still appreciate an invite, in case you check in here: kzs.lobs<at>mailnull.com
I thought the tl;dr was we don't know for sure and we need to collect more data.

"But the question remains — beyond these known clusters, how did the tens of thousands of Californians who aren’t accounted for in publicized major outbreaks become infected?"

...

"“We don’t know if people just going to parks or beaches, just sort of casual social gathering, contribute a whole lot to infections,” Riley said. Public health officials “really need to identify the high-transmission settings and then target those and not have these unfocused measures on social distancing.”"
Right, both vendors need to keep the underlying hypervisor and physical host up to date.
In an interview Bill Gates said he likes TypeScript. It was about a year ago. Sure he’s not a full time programmer but something tells me the itch will always be there for us the curious! :)
I no longer think it's a chicken and egg problem with Haskell, and more of a goals & culture problem. Libraries like lens and parseq have a huge amount of effort put into them, probably more than what it would take to create a good HTTP client library. The problem is that creating industry friendly libraries is apparently not a goal that the Haskell community has.
Woah! This is super cool.
I don't know if there's any name about this specific refactoring change :-)

In general, it is best to create small functions that takes few dependent variables for the intended flexibility. The first judgment here is to decide whether a value should be a constant or variable. Constants would then be declared at the top, and variables come in as function arguments.

You reminded me that another pattern to handle this is to put some of these values as configuration parameters. For example, the email alert may need to be sent to different people for different environments - DEV, QA, and PROD.
Expose your RASA Chatbot to millions on Android
My experience recently has been great steps forward in features, and massive steps backwards in reliability.
I regularly work on 10GB+ repositories and every operation is pretty much instant.
Please don't be a jerk on HN. Apart from breaking the site guidelines, it gives people a reason to dismiss what you're saying, which is not in your interest and particularly bad if what you're saying is true.

https://news.ycombinator.com/newsguidelines.html

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
I think it's closer to The Trolley Problem.
Hi, I have just come across your comment, and I did come to that conclusion as well. I did start to list the weekly names on the site as well. But thanks for that.
Any engineers that had morals would've already quit long ago. In the grand scheme of things, what Facebook is currently accused of is tame compared to the stalking and privacy violations they've been doing for over a decade now.
Eh? The OS can be updated just fine, or are you just saying that all those devices won't be updated instead of can't be updated? Because that's going to be true for the enthusiasts & people no longer going through standardized testing, definitely. For those doing standardized testing, though, it wouldn't be all the much of a shock if tests mandated / provided an update to use the calculator on the test.
Congrats, you made it top 1 on HN! When we live in a world where experience is treated as baggage it is remarkable to find people in places like here to still appreciate it. I hope you will be able to enjoy your career until you decide yourself to retire! I think a lot of younger folks here, who are old by modern standards - I just turned 40 this year - are thirsty for some wisdom and lots of questions will be asked. And please don’t be offended if someone attacks you for some oppinion, this is the world we live in nowadays, someone’d find a fault in almost anything or anyone.
> Hindsight 20/20 as they say

Sorry, but that excuse won't fly for several reasons:

1) We had sars-1 and mers earlier, both corona viruses

2) China was slow in providing info initially, but eventually they did. There's a number of papers to read online. (Same as in sars-1, where world notification was delayed from Nov. 2002 to about Mar. 2003.)

3) The CDC and other agencies are supposed to be on top of pandemics. The White House has a pandemic playbook. These are paid professionals who are supposed to have foresight, not blame hindsight.

(FYI: one of the US disease pros involved said that false alerts essentially neutered pandemic response since 2010 in this country. I empathize with that. All I can suggest is to point out that sars-1 killed thousands, and mers and sars-2 are also coronas.)
What I have learned about Deno so far
Hi. I decided to start including the weekly domains on the front page as well so people can see them if they visit the site. Thanks.
for reference as to "small": current Covid deaths in the US are probably over Fat Man (長崎) but under Little Boy (広島市).
The estimate I've seen was that fourteen years of work of Opportunity would have been two weeks for a geologist in a Mars buggy. So 52x is probably very pessimistic.
HTTPS is already almost everywhere. This addon is pretty much unneeded in 2020 not to mention it did very little anyway.
Let's say larger variance in life expectancy--we expect a longer tail of a new generation living longer.
Just reading the script from TFA, it attempts to find secrets.pyc and decompile it, but doesn't even check if secrets.py is also in the repo. A glance at search results (I just used GitHub's web interface, didn't bother to run the code) tells me when secrets.pyc is committed, secrets.py comes with it at least the vast majority of time.

I guess the author did find cases where secrets.pyc is committed but secrets.py is not? It's hard to fathom how that could have happened (especially inside "organization" settings). Sounds like the result of absolute rookies in both Python and git following a tutorial with a step "add secrets.py to .gitignore" but unfortunately takes ignoring __pycache__ and ﹡.pyc for granted, which is too much to ask for some people.

> it is very easy for an experienced programmer to accidentally commit their secrets

No, it doesn't take an experienced programmer to put __pycache__ and ﹡.pyc to global ignore, or use a gitignore boilerplate at project creation, or notice random unwanted files during code review.
As I noted, this is only going to work when the batteries are as cross-vehicle as current gasoline pump nozzles. And I would wager that this implies government action (or at least, the threat of government action) to bring about.

It's not useless to do it on a smaller scale, but ultimately until you can just drive into what used to be just a gas station, put your car over the designated spots and in 20 seconds your battery is swapped out, then its still not a serious replacement for oil-derived liquid fuels.
Congrats! Just curious, as someone with so much experience, do you still have to do coding challenges when interviewing for positions?
Seems like our political system is broken then.

If the public so adamantly wants laws that elected representatives refuse to pass, then it seems that enabling direct democracy would be one solution to getting these laws passed.
> if you write the types that you expect up front, there's only one or few possible implementations.

That does not square with the constant complaints about insufficient documentation.

It also does not matter if there's only one or two valid ways to call a function if the programmer can't figure out how to do it.
It’s not impossible. They could be doing something stupid like running eval on a JSON payload, or generating SQL insert statements from the unsanitised data. But I doubt it.
Modern Leadership from Art of War
Bit of a strange criticism. They've got to drive out in something, why not an electric vehicle? And the spacesuits are bulky and difficult to move in, so the falcon doors on that Tesla model make sense for easy egress.
Someone should get this gentleman on a podcast
I'm not so sure it would have been. Many officials likely lived through the Hong Kong flu in 1968, which killed an estimated 1 to 4 million people.

Far fewer than the Spanish Flu, but a much more recent reminder.
That wouldn’t help. The point is to use local allocators which have extra information about the data structures and usage of the memory.

This is routinely done in medium to large C++ programs for different reasons (performance, debuggability...).
Real senior developers with lots of experience are usually shown the finger in our industry. There’s no such title to reflect 57 years of experience; i’ve heard it unofficially refered as baggage
> The physical buttons are used for manual docking.

I don't think so, they're using the screens for docking too according to their own site. [0] You can do the same basic task the pilot would be doing during a manual approach from what I think is Waypoint 1 (meaning Dragon is in front of the ISS pointed mostly towards it). You can see the actual text on the buttons here [1] and they're all critical system tasks like power cycling the controllers, aborts/emergency response commands, or manual triggers for things during landing.

[0] https://iss-sim.spacex.com/

[1] https://www.nasaspaceflight.com/wp-content/uploads/2018/08/2...
When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."

https://news.ycombinator.com/newsguidelines.html

Your comment would be fine without the first sentence.
How many programming languages and frameworks have you learned in total?