skysight-inc/HackerNews huggingface dataset:
>What is a Pattern?

>An 'element of reusable software'

>A design pattern systematically names, motivates, and explains a general design that addresses a recurring design problem in object-oriented systems. It describes the problem, the solution, when to apply the solution, and its consequences. It also gives implementation hints and examples. The solution is a general arrangement of objects and classes that solve the problem. The solution is customized and implemented to solve the problem in a particular context.

Interesting to note that the person defines a pattern as something exclusive to using Objects and classes or in other words OOP. So something like lenses or functors or programming techniques defined outside of OOP are not patterns.

When I talk to people they often define design patterns as a common language for various methods that are common to programming and not exclusive to OOP. Doesn't english and vocabulary fill this space? You don't find carpentry workers referring to domain specific vocabulary as design patterns. Why don't FP practitioners or mathematicians call their techniques "patterns"?

This may piss some people off and get me a load of downvotes, but honestly IMO I find design patterns to be just snobbery. Instead of saying someone is iterating through a list they say that someone is using the iterator pattern. It's really just prefixing the word "pattern" onto some vocabulary. I used the number pattern on the variable pattern and the addition pattern to get the sum of two numbers.

I would've just called the book "Programming Tricks for OOP" rather then "Design Patterns."
> If I wanted to donate a large amount of money to a non-profit, I would structure it as a zero-interest loan, and would just keep deferring the repayment of the loan as long as the org stays true to its mission, compensates executives in reasonable proportion to regular employees, etc.

Not sure if I'm missing something, but this sounds totally ridiculous to me.

You give 1M to someone you think is going to spend it well, and they do; why isn't that the end of the transaction? Why do you forever have a gun to their head?

Maybe you've got all the best intentions about what would cause you to call the loan back. But after they've taken donations of this sort, why would anyone continue donating to them? They've built up liabilities to 3rd parties, I'm not interested in potentially paying off their loans instead of doing good work if some of those 3rd parties change their mind.
Not sure if it's just me but it sounds like you're sort of making an argument in favor of NFTs here. The main argument against NFTs I hear is that what is being certified can just as easily be enjoyed by people who are not the certified owner. And you're saying that that's actually the case for regular art as well - but still someone ends up willing to pay $100M for the original!

I think there is a case to be made for NFTs, but would also not be surprised if you're right that it ends up with mostly bag holders.
Unlicensed spectrum doesn't mean unregulated. It just means individual users of devices don't need operator licenses. To facilitate that operations in unlicensed bands have regulatory operating limits. Devices are under the general rules covering harmful interference (don't cause it), accepting interference from licensed operations (you must accept it), and basic electronic device regulations.
Lullabot | Full-Time, Remote, US, Canada | www.lullabot.com

Lullabot has been a leader in Drupal web development since our founding in 2006 and is now a 100% employee-owned ESOP. We’re a distributed company without a central office, and the majority of our team are full-time employee-owners.

Please apply with your resume and cover letter through the job links listed below:

Drupal Back-end Developer: https://lullabot.bamboohr.com/jobs/view.php?id=21&source=aWQ...

Front-end Developer: https://lullabot.bamboohr.com/jobs/view.php?id=17&source=aWQ...

Technical Project Manager: https://lullabot.bamboohr.com/jobs/view.php?id=22&source=aWQ...
I agree the title is a bit strange (or misleading) but I think it makes sense after reading the article. I originally thought it would be about overweight people or something along the lines of body image.
Does this tool actually uninstalls apps, or just disables them, like in apps settings?
I only use recursion where it makes sense and I can guarantee O(log n) runs. Unbalanced tree? Iterate. Large graph? BFS. That said, I agree with another comment here that you're more likely to have a bug code where you're maintaining a stack by hand. Recursion is easier when it's the best fit for the problem.
Not quite. Investigate the work of John Mew. ( considered a quack by mainstream, I think, though I personally I find him credible)
At least the recursive version stops by blowing the control stack when there is a loop in the file system.
Almost every politician wants more power over citizens. That is why a binding popular referendum is necessary in cases like these. Congrats to the Swiss people, I am a little bit jealous.
> The enforcement, interestingly, is more traditional;

Ah, so they pinkie swear not to do it a second time?
I'd love to open up our bathroom to 99% of the public - most of them would leave the bathroom in better condition than they found it.

It's the jerks that ruin the idea.
Hey George, the ocean called: it’s running out of shrimp!
Maybe do some basic sanitisation?

https://buymysideproject.com/startups/scriptalert1script
No. A thousand times no. Free the web.
Keeping user content on a separate domain is something I'll Reber out of this. Suddenly it makes sense why social media sites have so many different domain names
Out of curiosity, is this true for voice and video or just video? We added voice recordings as a feature for people who don't want to record themselves on camera. We're also adding text as a "type" of message you can send.

One of the interesting things we've noticed is that recording yourself seems to encourage more intentionality in what is being said than a quick chat or SMS (maybe because you're more self-aware while recording?).

As you mentioned, some people are very intentional while writing, but I'm not sure that's the norm.

Many of the chat tools' design decisions encourage stream-of-conscious writing (e.g., press enter to send instead of line-breaking, one-line text boxes).
Probably the other PR just slipped through... What I find difficult with recursion in practice is that the stack depth is quite limited, also depending from what stack depth you are calling the function. Of course memory can also blowup but this is easier to reason (and adding 128gig might just solve it)
> Wow, danluu takes this very seriously indeed.

Ah no, he is simply hosting the review. From the top of the page:

> These are archived from the now defunct su3su2u1 tumblr. Since there was some controversy over su3su2u1's identity, I'll note that I am not su3su2u1 and that hosting this material is neither an endorsement nor a sign of agreement.

I'm not aware of any drama beyond this. The review has some good points though.
I think one should also reflect on the wonders that big tech have given us. For example, because of Google Maps I can drive to any place with detailed directions and without fear of getting lost. I am terrible at directions, and this a great help to me. Thanks, Google.
I delete cookies regularly and would find this incredibly annoying.
Wayback machine link: https://web.archive.org/web/20210306195504/https://www.nytim...
> I wonder if the refugee crisis would have happened at all

Pretty sure the main issue, the fact that people needed to leave their homes and countries, would still have happened.
Who cares? If they’re billionaires in the sense that they hold crypto assets with that market value, that’s not he same as holding cash that could be productively invested. It means other people are holding that cash. Crypto assets pretty much by definition have no connection to the real economy.
The want it proved is people want to get rich fast. It’s important not to mistake want for wealth, for want for NFTs.
On an absolute basis, SF has horrifically restricted housing policy that makes it incredibly difficult to build new, denser housing. However, compared to the broader bay area, SF has incredibly progressive housing policy.

It is ridiculous to compare downtown Houston, which is surrounded on all sides by a zillion square miles of suburbs (under city control!), to SF, which is surrounded by a limited number of more expensive and more restrictive enclaves that SF has no power over, and most of those places are a bridge or tunnel away. Obviously there is going to be less demand, and less premium for land if there are 10,000 other plots within 30 minutes. That just isn't the case in SF.

If the bay area as a whole had better housing policy than it would help SF a lot. But they don't, so it makes it worse for SF. And SF has no control over the housing laws passed in other counties. SF is of course partially at fault, as they should have better housing policy themselves, but they are not entirely responsible for the problem.
While on a mobile I have a gmail app (always logged in), on the desktop (browser) I don't store cookies so I'm rarely logged in. Typing a password with 2-step verification to follow a magic link is not optimal.
Really proud of this result; the failsafe once again has done its job against heavy lobbying.

There was so much misinformation around mostly due to lack of technical understanding (e.g. "it's a digital passport!") and the (yellow) press heavily pushed for a yes.
I don't think that applies to 900MHz in the US. It definitely does to 433 and I think 315, though.
I use a wireless phone headset from Plantronics that operates in the 900 MHz range. It works so much better than Bluetooth since the range is farther (especially indoors) and the band is less crowded with interference.

The last thing I want to see is a bunch of new random consumer junk cluttering it up.
> EUT is claiming there are parallel universes

Nope. Unless you claim that all discussion of probability does the same.

If an agent satisfies the vNM axioms , that is sufficient to conclude that the agent’s actions are equivalent to maximizing the expectation of some function, which we call the utility. These axioms do not require any assumptions about “parallel universes” beyond simply the concept that “there is such a thing as probability”.
Presumably, the same idea would work even if the “probabilities” in question were all from logical uncertainty due to limited computation time, taking place in an entirely deterministic universe. In such a case, there explicitly cannot be the “alternate universes”, because they would be logically inconsistent, but due to computational limits, the agent is still uncertain, and so it still makes sense to deal with expected utility.
You are exaggerating lots of things here.

- The link between “Independent practice is valued over teamwork” to "private tutoring" is very weak.

- The link between “focus on getting the right answer” to "private tutoring" is very weak.

- No. Those measures do not particularly unfairly penalize students from rough backgrounds. No matter what other measures you propose, affluent students can benefit more.

- No. Racism in US teachers is not a big problem.

- Focusing on right answers and using standardized tests actually help students from tougher backgrounds. Not the other way around.
Sure, but I'm also confident this level of incompetence (not exclusive to Japan) can find ways to defeat new designs (for example, improper installation of the design).
Did you try a fly trap jar yet?

You hang it out behind a shed or garage, the lid has a little maze that they crawl into and then they can't find their way out.

My parents always used https://www.bigstinkyflytrap.com/ . It definitely caught a lot of flies, which can be different than catching enough flies of course.
I think it was the ZX81 (and later the Spectrum) where my brother and I had it hooked up to the mains on my parent's boat. The problem was there was only one 12V battery (via a voltage regulator) which not only powered lights and our computer, but also served the engine. If we were sailing and the wind dropped, we established a protocol where my Dad would have to give sufficient notice for us to save whatever we were working on to tape before he started the engine, as the starter motor drew enough current to dip the voltage below the 9V the ZX81 needed, thus causing it to crash. And of course, RAM wobble wasn't helped if there were heavy waves. It's amazing what we put up with just to get some computing time.
Craig newmark is a cunt pedophile
Police warn Craigslist and other online sites used to sell sex with children
Craigslist and other online social networking sites are being used to sell sex with children, say police and child protection workers here as the online classified ad “erotic service” listings.
I was supposed to meet Newmark Monday morning but an email marked URGENT that landed in my inbox late Sunday afternoon said he was under a “legal media gag,” which is to say his legal counsel advised him
There is no question the Internet is being used as a tool at times to prostitute or pimp out young people, being used by pedophiles to locate children as potential victims,The pedophile of the past would go to a playground. But the pedophile of today goes to the Internet.
Advertisement The same is true with many forms of prostitution.”
Diane Sowden, executive director of the Children of the Street Society, a non-profit organization and the leading advocate for the protection of children against sexual exploitation, said the risks to kids are real.
It is not an isolated situation,” she said. “We talk in classrooms and We’ve got young girls who are posting themselves online thinking it is time to party. They are supposed to be of age to be on there, but there is no security to control that. If you go not just to Craigslist but on any social network, it has become a huge issue that has to be addressed.”I’m not seeing the government commitment to this issue that there should be as far as funding and staffing,” she said. “I’m not saying it is all government responsibility, business has to come up to the plate as well.I think it is everybody’s responsibility to put the safeguards in place and step up to the plate when it comes to the funds and the staff to make it happen.” Tim Petruk wrote about what happened when that paper set up a profile on Nexopia posing as a 16-year-old girl.the on-going story of a man charged with trying to lure a 14-year-old girl to have sex
Personally I'd rather them support magic links than support only google login, only apple or facebook, only github, etc. Nobody supports all of them.
If you check out the website of Coil, metioned in the article, they suggest a fixed rate of 30 cents an hour or so, until you've passed above your number of hours, then the rate for an hour becomes = CONTRIBUTION/HOURS.

Even if you contribute only $5 per month and browse the internet for 10 hours a day, every day, you'd still be giving over a cent an hour. It's something.
Nit: HMz in title looks like a typo. If anyone wants to fix.
> If I wanted to donate a large amount of money to a non-profit, I would structure it as a zero-interest loan, and would just keep deferring the repayment of the loan as long as the org stays true to its mission

This flies totally in the face of Paul's post. His point is to donate unrestricted to non-profits you _trust_. If you can't trust the organization or need to put controls in place to prevent them from doing something bad, you should find another organization to donate to or need to check your ego.
Nothing is as passwordless as the existing social login Auth0.
> Ironically,...

Not to lionize andy or anything, but I'm pretty sure that strategies to neutralize these concerns is a deliberate choice in his stewardship of the language.
But of course there’s only one place you can redeem them. That means either that party is ok with transfers (in which case your point is moot because they can offer that themselves like Ticketmaster does) - or they’re not ok with the transfer in which case they won’t honor the token, making your point moot.
What is? ...?
> The point is that you could physically separate the organ from the body and just make the person take a pill with hormones. Unless you're some crazy Extended Mind Thesis guy who thinks that the environment is part of your mind, having an influence on the mind is not the same thing as being part of it.

The same could likely be said for pieces of the brain, if we had a way to synthesize the right substances. What seems much more relevant to me is whether the glands are directly controlled by the brain, in which case they are simply a kind of support organ, just like the heart; or if they have their own signal processing and can "decide" (in the algorithmic sense) to secrete substances based on their own analysis of the internal or external environment, separate from the brain. If so, then I would characterize them as a part of the mind. The fact that their function CAN be replaced by taking hormones doesn't mean that X+testicles would be the same person as X+testosterone-testicles: the part of their mind that decided WHEN to produce testosterone would be gone.

Note that this is all an IF. It's quite likely that the decision to release certain hormones in certain quantities is controlled entirely by the brain, with the glands responding only to nerve signals.

> Hormone replacement therapy seems like a pretty damn large change, but I don't think I've heard of a case where there's truly radical personality changes. The same goes for other gland issues and their treatment.

From what I know, there can be pretty extreme effects from hormone issues, like extreme mood swings and defensiveness related to child birth, for example, or extreme aggression/irascibility related to high testosterone.
It's some hilarious turf/flame war.

The paper itself is pretty interesting if you know some maths and haven't thought about non-linear utility functions. You can also read that "original" paper by Bernoulli, he has some simple examples there (for example why does it make sense to buy insurance despite it having negative expected payoff, he brings the example of ship cargo insurance but it applies to any kind of insurance really).

EDIT: Daniel Bernoulli's paper: https://www.semanticscholar.org/paper/Exposition-of-a-New-Th...
Thanks! The plugin from Mozilla solves quite a bit already indeed.
Have you ever

- Traversed a directory hierarchy to compute the total size or other statistics about its contents?

- Searched for a DOM element on a web page matching certain criteria without using third-party libraries or helper functions like querySelector()?

- Implemented a hierarchical navigation structure in a user interface?

- Work on parts of a compiler/interpreter or other code that has to deal with formal language?

- Written a parser for a file format that contains arbitrarily nested data structures (e.g. HTML/JSON)?

- Done anything with trees?

- Solved a problem by breaking it down into smaller versions of the same problem, solving those, and then combining the results?

I know that for lots of programming tasks recursion is not needed, but I'm genuinely curious as to what kind of software you work on where you've never encountered a problem that requires a recursive solution?
> NFTs are the digital equivalent of a vehicle title, that's the strongest usecase (proof of ownership)

No they aren't, and least not until they're recognized by law as such.
> new random consumer junk

Like wireless phone headsets?

What makes your use of this public band more important than that of others?
Cheating-detection companies made millions during the pandemic (2020)
Quite a few people who voted against this did so purely because they didn’t want private companies controlling the system.

If the proposal had been for the government to issue and control the identities, it may well have passed.
> In my experience, the persuasive bullshitters might not even understand that they’re bullshitting.

But if so, it seems disingenuous to call it “bullshitting”, since that word caries the negative connotation of purposeful deceit, and not of simple wrongbeing. The latter can be considered either neutral or also negative, but strictly less so if you desire truthfulness.
This is including industry like aluminum smelting which are basically running their own power plants to work. Aluminum is either used directly or indirectly for everything produced.

It's also including households, trains, data centers, etc. Things people actually use to live. Meanwhile with Bitcoin people are just rushing to calculate as much zeros as possible into their hash to append 1 MB of data to a chain.
Easiest way is probably to get a job at a company working a language that forces you to write recursive algorithms. I started my career at a startup where everything was Erlang, and a year of that made FAANG interviews a breeze with all the graph/DP problems.
The Ubiquiti Rocket M900 would be a good place to start.

Or if you have a couple old Ricochet E-radios and want to do some packet hacking, they'll do 1Mbaud at whatever modulation you ask.
There's no reason to build a LoRa mesh network if all the devices are connected on WiFi. Instead, it sounds like Amazon is building out a network of LoRa access points where their customers pay for the hardware and operate the access points. It's hard to say what their plans are for the network, but if they wanted to make a tile competitor that could find your stuff in an entire city, this would make it possible.
The Forth is not strong with this one... (I am fully on your side btw)
On Hacker News? Someone has probably already tried it. Possibly even more than one person — I mean, the linked paper isn’t even the first time I’ve seen research into the idea of anti-mosquito lasers, so anti-mosquito water cannons have probably been tried too.
I think that's a fair comparison, indeed.
> “Facial coverings are contrary to our value system,” Wobmann told Swiss public television, SRF. He said there were now clear rules in place so that “people know that in our country, you show your face in public”.

I wonder if this reasoning will be re-examined due to widespread good faith face mask use during the pandemic.
I did contract work for Rise Science several years ago, and they never paid me for my work. Hopefully, they've managed to iron out all the issues they were having with Celery in the intervening years.
Use your browser’s password suggestion.

I haven’t picked a password in a couple of years.
People who issue tickets through Ticketmaster absolutely get to dictate terms. Otherwise they wouldn’t use Ticketmaster and would use a competitor.
> non-technical companies sometimes strongly undervalue IT or programming expertise

Half of this is actually the right way to do it. On one hand undervaluing IT in almost any company these days is a major problem waiting to blow up. IT isn't just an end, it's the means to do everything else. Using computers but ignoring any good IT practice under the excuse that it's not an IT company is like working from an office with asbestos, lead paint, and black mold because you're not a construction company.

But on the other hand non-technical companies, meaning ones without a strong IT culture and focus, should undervalue programming expertise. One of the worst things a non-tech company should do is deploy all kinds of custom IT solutions developed internally by their "programmers with expertise". Invariably (and I mean this in the most literal sense possible) they will end up with a patchwork of systems that nobody understands or maintains properly but which underpins all the core services the company needs or delivers.
Click on the service you want to log into, wait 30 seconds-10 minutes for email to arrive, THEN click on email and click on magic link.