skysight-inc/HackerNews huggingface dataset:
I don't see a lot of shade being thrown at the author, just a lot of confusion.

Not armchair tough, just not fully understanding... yet, I think there's a difference.
I've been in the vicinity of news/magazine press or knew the subjects personally about a dozen times.

In every single instance the facts were grossly misrepresented and in the three cases at Vice/Motherboard told the complete opposite story of the actual truth.

Vice's article about "Sugar Weasel, the One and Only Clown Escort" is a complete fabrication (well, other than his own self-delusions) and any basic fact checking shows the story to be false immediately.
Probably not, but if a regime wants to persecute someone (maybe they went to a protest?), they could comb through the individual's accounts looking for slightest evidence of breaking the law.
Just like the War on Drugs.
Hashtag justanothergang
> I feel like dereferencing an incorrectly aligned pointer could be a runtime error

By checking the alignment on every access? That'd be far too expensive if the machine you're on doesn't trap.
I think that's still reasonably within the intent of the law. Like, if you had a local eBay competitor you might have tens of thousands of sellers, and you'd certainly have a "relationship" with all of them, even if only via automated systems.
You never know for sure in an authoritarian country, but it's plausible there could be. The Iranian government has engaged in some public efforts recently to get rid of Israel-linked tech.
Millions of economically vulnerable Americans already had wholly unusable insurance.

Before the ACA there were no out of pocket maximums, coverage was mostly limited to $100k per year per person, insurance companies could price you out or drop you as soon as you became expensive, and people with preexisting conditions were completely SOL.

Before the ACA if you didn't have employer provided insurance, there was basically no insurance option. All affordable individual insurance options were effectively prepaid minor to moderate medical care plans.

Yeah it sucks, particularity without the individual mandate, but it is significantly better than what existed before.
- The large bundle sizes were recently addressed here. It doesn't seem to be a problem in practice: https://github.com/halfnelson/svelte-it-will-scale

- You could perfectly fine write update functions á la React for your component state if that is what you prefer. Personally I don't feel that's necessary and prefer Svelte's direct way.
Huh?

People have been working on making things addictive / attention getting forever. Sugar? Caffeine? Video games? Back in the day plenty of drugs, including those sold by pharmacists.

Either you have agency or you don't. I for one very much like the idea of someone with some actual expertise in how addictive products are created talking about how to avoid the addiction.

If you don't want to read his stuff - don't. And if you wanted to avoid these issues, even before this book lots of others. One easy one - no TV at home. I don't watch any TV shoes. I don't play any video games. Not sure if that's in the book, but getting outside, getting exercise, sleeping, spending time with partner, no phones at the dinner table (or breakfast or lunch) etc go a long way to just being a bit more distraction free.

Agency means you can decide what you want to do with your day and your life.

To much of anti-addiction / behavior self improvement stuff comes across as just pablum.
I just went through it and didn't see any problem. After wasting my time you owe me a specific example of what you were trying to point out.
Yeah, great rundown.

The class abstractions added to ES spec. didn't happen in a vacuum; it was very much on the back of community demand. Backbone especially had an outsized influence.

Perhaps that was a necessary step toward realising tools to solve problems without those abstractions, I don't know.
How does this work considering PHP is heavily made up of code from Zend (which was an Israeli company)

Can Iranian-built websites not use PHP?
Mario Kart Meets Augmented Reality
I use i3wm.... I really never see my wallpaper. I'd have to go to floating mode to do so.
Missing: Working Class Founders
"good" is a subjective term by definition. What you mean by "objectively good at something" can at best mean "many people think the person is good at something".

What's considered "good" also changes over time. "Earth is flat" was a "good" theory until people found out other possibilities, and so on.
Here's how I like to do it:

https://play.golang.com/p/AB6exUIkNRg

Contents pasted below.

package main

import (
"fmt"
"sync"

)

func main() {
wg := &sync.WaitGroup{}
e := NewParallelExecutor(uint64(10))

for i := 0; i < 100; i++ {
wg.Add(1)
func(_i int) {
//make closure to capture i correctly
e.Submit(func() {
fmt.Println(_i)
wg.Done()
})
}(i)

}

wg.Wait()
fmt.Println("All done.")
}

type Executor interface {
Submit(func())
}

type parallelExecutor struct {
queue []func()
inCh chan func()
doneCh chan struct{}
}

func NewParallelExecutor(limit uint64) Executor {
pe := &parallelExecutor{
queue: make([]func(), 0, limit),
inCh: make(chan func()),
doneCh: make(chan struct{}),
}

go func() {
running := uint64(0)
for {
select {
case <- pe.doneCh:
running -= 1
case f := <- pe.inCh:
pe.queue = append(pe.queue, f)
}
if len(pe.queue) > 0 && running < limit {
running += 1
fmt.Println(fmt.Sprintf("Goroutines in flight, waiting: %d | %d", running, len(pe.queue)))
f := pe.queue[0]
pe.queue = pe.queue[1:]
go func(_f func()) {
_f()
pe.doneCh <- struct{}{}
}(f)
}
}
}()

return pe
}

func (p *parallelExecutor) Submit(f func()) {
p.inCh <- f
}
I think this entirely depends on if the people involved in the comparison are using the same basis of measurement.

If everyone agrees on what is being measured and how, then it should be easy to then do the measurements to get results. (who is best)

If the people involved in the comparison don't agree to a basis of measurement, then it's an exercise in futility and nothing more than an exchange of opinions.
Tell me honestly please. Would you rather trust a media company that is funded by the government or one that is not? The whole "establishment media companies" thing is not just a joke but rather actual companies that try to portray narratives that work out for them.
Why would it mean that? The compiler can still remove anything inside an if(0).
Can you expand on this? From my understanding ETF's re-balance quite slowly, once every few months, how does HFT even help, much less make ETF's possible?
>Where I live in Germany, small traditional butchers and bakers etc. are also closing down, but not for the lack of customers. They get too old, and nobody wants to take over.

Their kids don't want to take over because those peoples kids have better career opportunities that were not available to their parents. Third parties don't want to buy the businesses because it's not as lucrative as it once was.
Just by luck before the pandemic hit I installed ground heat exchange with cooling for my house. This is so efficient the cooling is free. How do you ask is that even thermodynamically possible? Well all the heat from the cooling is used to heat the hole, which you get back in cheaper heating of the house from the same hole in winter. It's amazing!
Oregon company gets approval to build nuclear power plants
I'm curious, what if anything is different from node-canvas? Not that I'm complaining in any way, just curious.
https://www.casebriefs.com/blog/law/intellectual-property-la...

"Under California law, intentional imitation of a celebrity’s distinctive and widely known voice for commercial purposes constitutes tortious misappropriation."

Intentional is the key word here. So I presume that if you look like Emma Watson and go with your real name, you're fine. If you pretend to be Emma Watson, then it becomes infringing.
ESL here. What do you mean by “ walking race condition”?
>The result the same kind of application takes TWICE the resources that it did with simpler tools of the past.

what is an example of a simpler tool? .net Winform?
I think "relationship" might be bad translation. It's more helpful to think about it from a sanctions point of view. If you own a B2C software company you wouldn't personally know most of your customers either, but that doesn't mean you can sell to Iranian/North Korean customers.
In fact, this is a PR on a PHP-language repo!
In every country there are laws that don't make sense. Yes, the same can be said for your own country. The quantity and ridiculousness can be argued, but there's no place on Earth that's "good", just "better". For any given person, they will have some disagreements regarding the body of law that applies to them.
I don't think it's an acceptable state of affairs if people feel pressured to keep their nationality private.
Good example, React is to web what Kotlin Android is to Android, over complicated and bloatware.
And of course, the world has been burned by shitty ad-infested apps because nobody wants to pay for apps... (not that I necessarily disagree with you - I only got Threema because of a trustworthy recommendation)
NRC Release: https://www.nrc.gov/reading-rm/doc-collections/news/2020/20-...
"The case that the Supreme Court ruled on Tuesday turned on the meaning of a 1947 law, the Portal-to-Portal Act"

This is the problem. The Supreme Court has no choice but to follow the law. It's up to Congress to change the law. This appears to be an outdated, badly written law that doesn't account for present circumstances.
The word "relationship" in this context refers to any kind of relationship including a business relationship. And a quick search shows that the law in question appears to basically make any interaction (no matter how minor) with people from Israel or the Israeli government a crime, so it does seem that it applies here[1]. In particular note this quote:

> Furthermore, hardware and software developed in Israel or by companies that have production branches in Israel are forbidden.

(For the avoidance of doubt, I find the whole situation quite insane -- nobody benefits from governments blocking collaboration over the internet.)

[1]: https://www.jns.org/opinion/irans-anti-israel-law-desperatio...
Sounds dubious. It sounds anything but simple. Converting from cow meat to bison meat would certainly have different economics so who knows what would happen. Sequestering carbon in the grass would probably help, but let's not say "enormous" as if to imply that it would solve the problem.

I don't have numbers and transitioning from cows to bisons could plausibly have some positive effects. But its hard to compare it to plans like messing with ocean chemistry in terms of scale.
At least Star Trek tries to answer this in some way even though bs but still cool for the effort, mainstream space is definitely dumbed down compared to that.
> If you for example use anycast DNS you will run into issues.

You're not wrong, but this assumes that you use the your 'service hostname' for verification as well, rather than using CNAMEs.

So let us say you want to have "svc1.example.com" in your cert: you could put the ACME challenge under there, but if you have anycast delays that's a problem (as you mention). (A kludge is putting a 'sleep' somewhere to allow for propagation.)

So instead what you can do is have "_acme-challenge.svc1.example.com" be a CNAME that points to (say) "_acme-challenge.svc1.dnsauth.example.com". This sub-domain is not anycast, and may actually be a single machine that is used solely for this purpose.

The LE/ACME server goes to your main domain, finds a CNAME, and follows that to the real record and verification is achieved:

* https://www.eff.org/deeplinks/2018/02/technical-deep-dive-se...

* https://dan.langille.org/2019/02/01/acme-domain-alias-mode/

* https://github.com/acmesh-official/acme.sh/wiki/DNS-alias-mo...

The CNAME has to be set up initially, but can be left lying around otherwise.

This is how $WORK deals with getting LE certs for internal domains: we create a CNAME record (but no A records) for the internal hostname in our external DNS that point to our "dnsauth" domain which gets updating by internal clients via an API.
No, that's not what happens. I have a long story fighting my metabolism. It's just not possible for me to eat like people around me and not get fat, except in periods where I've been very physically active, as in heavy exercise dayly.

In my twenties I did the diet three times, alternating with sports, last time for two years. Later the problem was eating in restaurants for work. Eventually I regained control without the need of a diet... until a couple of years ago. Nothing worked and it seemed like I was going to lose the final battle. A relentless weight gain, even with very limited calories intake. So I decided to try again keto in March, that I had not done in a decade.

For me it's not a problem to keep relatives or acquitances from tempting me. I did learn the key phrases to shut the allegedly well meaning people that offers sugar. It's funny how the most frequent question is: why a diet? You're not fat. People are used to diets that don't work.

Now the only trick is to prepare meals at home. In any case, I don't plan to be doing a diet forever. Just some months more to lose a little more, then exercising more often to keep the weight.
Thing is... talks like these give a wide body of application developers ammunition to say "smart pointers are slow, we need to use raw pointers!". Which is incredibly damaging. In many real-life situations, the difference literally doesn't matter (one more memory move? pfft... I'd take the whole complicated, exception-safe function body over knowing that in case of an exception I won't have a memory leak)

There are indeed cases where this sort of difference in performance matters; But those are a vanishingly small group of people; and as far as those people are concerned - they typically look at assembly anyway.
Elon Musk’s space Internet service Starlink officially reveals download speeds
Show HN: Simple MD5 hashing and compare program to detect crypto-malware
Simple file MD5 hashing and compare program to detect crypto-malware
Gautama Buddha! =)
I see. Any parts of the law I can cite if I complain? At least in my case and OPs it doesn’t seem that the law is being followed in practice.
Why Amazons Can't Unionize
Only if that something that someone does is objectively measurable.

Usain Bolt, Michael Jordan, objectively the best at what they do.
>As I said in another thread, the problem is not writing the SQL. The problem is everything else after you have written it (applying on deploy, automating for other's dev envs, rollback, etc)

What's wrong with migration managers ? They handle all you mentioned just fine. The only problem I've seen with this approach were when working on a team that didn't have proper CI flow, then it was possible for people to check in bad migrations and screw up branches, etc.

I've worked with both approaches in multiple languages, and frankly I prefer the no-magic migration manager approach.

Migrations automatically generated from model also mean your DB is tied to your app, which I'm not a fan of, if anything the reverse should be true, and the fat model approaches of rails are terrible IMO (I haven't used Django for anything serious in over 10 years so I don't remember how fat their model layer is - I know it has enough metadata to generate the admin CRUD but don't remember if it also encourages having logic on models).

The best solution I've seen is F# which uses dynamic type providers (basically compiler plugin) to auto-generate models from DB/schema at compile time, and yesql in clojure (clojure being dynamic and built arround working with data using SQL results inside of it is natural and amazing).
Avoid React if you can, keep your tooling and frameworks minimal and simple for productivity and high performance.
>but there's no place on Earth that's "good", just "better".

I don't know what you mean by that. I get the rest, but not that.
>Loot boxes and gambling could arguably be fulfilling a human need as well.

No. There is a categorical difference between a first-order human need and an nth-order need.

>we should ban/regulate these sorts of things that can have detrimental, generational-impacts on the viability of our society.

This is absurdly paternalistic. This new moralism is frightening. There was a time when religious moralizing dominated society. We finally broke free from that and now the left is replacing it with secular moralizing. Some people seem to have an intrinsic need to control the behavior of others, the justification is mostly ad-hoc.

I am immediately suspicious of any offered moral precept that has zero cost to the advocate. For someone with no problem socializing or finding new friends, I'm sure it seems like a great idea to you.

It turns out few people actually believe in freedom, they just want freedom from other people's arbitrary rules.
Also came here to ask to see more examples of day to day usecases!
React started going down the path of "redux". Lots of sugar on top and blog-driven-development. We use it today reluctantly, but the bloat is hardcore.

Goddamn 'useMemo'? - come on son.

I'm looking forward to abandoning ship, this is getting crazy and I don't have the same energy I did when I was 19 reading blogs all night and writing code katas. I just want to get work done and go home.
I recently installed a mini-split in my garage, Mr. Cool DIY 24k. The lines come precharged, as long as you don't need to alter the length, you can completely DIY it. Most people just coil up the extra line behind the unit if needed, the length of my run meant I had no extra.

It's clearly not the same quality as the non-DIY Mitsubishi and other units, but US installers barely know what mini-splits are anyway. Installing mine cost under 2k total IIRC, and the nearest quote from a pro was 5k+. Highly recommended.
Yes, as long you properly define what it means to be good and make sure it's measurable.

Tolkien is a good writer when we define 'good writer' as a writer whose stories are enjoyed by millions of people, or a writer who is capable of supporting themselves financially by writing fiction.

One of the definitions of good is 'having the qualities required for a particular role', which is pretty explicit in requiring someone to establish criteria with which you judge something as 'good'.
I'm in Bridport all the time and I've still never been so I think I'll stop by there next week.
> I sincerely doubt the authors intended to protect lies, deceit and libel.

I think the authors intended to prevent the Government from being able to declare by fiat what counts as "lies, deceit, and libel". That some people will use their freedom to do wrong is the price we pay for freedom. It's still preferable to the alternative.

You actually describe the right way of dealing with lies, deceit, and libel in a free society later on:

> In retrospect I should have been smarter and should have gone for a financial settlement of sorts to compensate for the damage they caused.

Exactly. Another quote from Jefferson seems apt here: "Eternal vigilance is the price of liberty."
>>>reddit
Do you understand how Ale works?

I use Vim not for philosophical or cultural reasons but because I enjoy the UX.

CoC's autocompletion is much more advanced than Ale. I used Ale for years.
Wild huh? I think insurance paid $500 for one 500mg Ibuprofen. Even drove myself to the ER, no ambulance, that'd be another $10k I'm sure.

https://khn.org/news/appendicitis-is-painful-add-a-41212-sur...
My own reverse engineering. There was a hidden packet in protocol implementation that opened a shell for you
> no one here would even think of violating US export controls against North Korea

If there were a vibrant industrial or creative community in North Korea to interact with, I’d see the light in this argument. But there isn’t. The only entity to contract with is the state.

That makes the comparison difficult. Cuba, on the other hand...
This is the problem with the internet now, profile pics, egotistical bio summaries and emojis.

It was more fun when it was anonymous and the person you were talking to could have been a 43 year old neo nazi with blue hair, but their code or stuff was good, so you didn't have that getting in the way of you.
Perhaps the experience disparity goes the other way.
Depends if the Iranian authorities in question care about prosecuting/arresting the person in question, aka how connected is the coder to the government
This is not only a problem with bakeries or butchers (I also know of two shops here and in my home village who closed down not because business was bad, but because it was so good they retired in their mid-fifties - and nobody wanted to take over). Old restaurants and pubs have the same problem.
This made me feel pretty uneasy about Wired's posthumous Holloway story.
Key Machine Learning Algorithms Explained in Plain English
So the URL can turn on different features?
Some related discussion from a few months back (specifically, a critique of hooks): https://news.ycombinator.com/item?id=22995928

FWIW, I think the single tweet that sums up the reason why hooks are the way they are is this: https://twitter.com/sebmarkbage/status/1094093984211787776

> A property of Hooks is that it forces you to confront them early and then you just learn patterns that don't have the same issues. I don't know if that is worth the tradeoff, but I stick to the claim that this is the tradeoff.

(That's Sebastian Markbåge, who's basically been chief architect of all things on the core React team for the last 5 years or so.)
That's why I said "feels". Redux is quite obviously about making state management better but just try to build a reasonably sized app using the Context api instead of Redux and you'll quickly realize that the structured, opinionated, "right way" of doing things in Redux makes for a much happier experience.
There's 2 important measures of a battery storage system. How much power can it give you (kw) and how much energy can it store (kwh) when it is full, which tells you how long it will last. Articles like this seem to jump between the 2, not realising they are different things.
Students occupy top arts university in Hungary after leadership resigns
Could someone with experience of Threema comment on the quality of its voice and video calls, especially for group calls of up to a dozen or so participants?
And in the case where crooked cops have infiltrated the department to the point where it's effectively impossible to fire just the crooked ones, shut it down and start over. Or do something better and call it "police" so that the pearl clutching causes less nerve damage.
First rule about Iran. Nothing is logically consistent.
Unfortunately in my experience that "only" represents a somewhat large percentage of HR or hiring managers.
From the New York Times article at the time:

The case that the Supreme Court ruled on Tuesday turned on the meaning of a 1947 law, the Portal-to-Portal Act, which says that companies need not pay for “preliminary” or “postliminary” activities, meaning ones that take place before and after the workday proper. The Supreme Court interpreted the law in 1956 in Steiner v. Mitchell to require pay only for tasks that are an “integral and indispensable part of the principal activities for which covered workmen are employed.”

So, if someone disagrees, it seems as if their beef is with the 1947 law rather than the Supreme Court. While I'm sure there are grey areas, there isn't any real disagreement that, in general, workers aren't paid for getting dressed and commuting for example.

ADDED: From a lay perspective somewhat related would seem to be the question of whether workers are "on the clock" when changing into work clothes and protective gear. And the answer seems to be only to a limited degree. (Basically yes for special protective gear but not for work clothing in general.)

https://blogs.orrick.com/employment/2014/02/05/get-paid-for-...