skysight-inc/HackerNews huggingface dataset:
> How do you cover that in the spec?

OK, how about, "dereferencing a pointer that isn't correctly aligned doesn't work on some hardware". I see that this is a hard area for the spec to do well. But the current situation isn't viable. I can't tell whether I can safely use fread for heavens sake.

I feel like dereferencing an incorrectly aligned pointer could be a runtime error, just like divide by zero or accessing memory that doesn't exist. Maybe that would be an improvement from the current status. Although I'm not sure the spec _could_ be changed like this at this point in time.
Yeah, the Amazon ruling never made sense to me. If your employer is restricting what you can do with your time (I.e. wait for a security screen before leaving work) then they need to pay you for that time.
Likeness rights are a thing, and that thing works a lot like trademarks/“trade dress.”

If a picture could be confused for being something created using a given model as a reference input, then the model has a right to claim a violation of their likeness rights. Just like a can of soda that tries to confuse you into thinking it’s Coca-Cola, without ever saying “Coca-Cola” anywhere on it, is violating Coca-Cola Corporation’s trade-dress rights.
It doesn't make sense.

But they're in a country where the law also might not make sense.

Technical / administrative issues aside here I can understand how an individual might fear some sort of retaliation... even if the basis for it is absurd, the consequences could be very real.
This is a positive spin on what is otherwise known as a recession.
Do you think they wanted to control US people?
An appalling story - but the legitimate news source (the BBC - the other link is a campaigning blog which omits relevant information) makes it clear that PornHub have fully acknowledged they completely failed the victim here.

Its not clear how you move from that story to "The kinds of people who work for Pornhub aren’t going to have moral qualms about this", and even less clear what this has to do with DeepFakes.

There is clearly a real problem with people sharing non-consensual real material; we probably shouldn't muddy the water by mixing it with the phenomenon of DeepFakes - the morality of which is pretty much just a matter of opinion.
The magic here is that software engineers are some of the best engineers. We kill barely anyone in comparison to other engineers. We don't need standards because even without them, we don't kill anyone at anywhere near a few orders of magnitude near those other fields.
It seems pretty easy to fix this for Apple by relying on video to prove whether employees are in store/breakroom by default and allowing overrides for special circumstances. This might result in Apple paying a few minutes more here and there, but the burden should be on the more powerful party (the company in labor situations).

This doesn't even have to be automated, it could trivially be the manager's job to account for their crew's start/stop by spending max 5 minutes a day with cameras. I believe commercial systems can already automate this if you didn't want to burden your managers with this.
My own TypeScript non-ORM, Zapatos, shares much of the same design philosophy (and indeed a sql`...` tagged template function): https://jawj.github.io/zapatos/

Previous discussion: https://news.ycombinator.com/item?id=23273543
https://en.wikipedia.org/wiki/Saeed_Malekpour
You're in the bubble
Judging by this quote, there’s a good chance SCOTUS overturns a ruling on this topic by the 9th circuit a second time.

> Justice Thomas disagreed, saying the appeals court had “erred by focusing on whether an employer required a particular activity.” The right test, he said, was whether the activity “is tied to the productive work that the employee is employed to perform.”

Maybe the 9th will overturn en blanc before it reaches SCOTUS.
Things Keep Credit Union Members Happy
I'm no expert when it comes to transactions or databases in general, so excuse my ignorance, but it seems to me an API to perform extremely simple transactions like the one outlined in that issue (no external systems or other databases involved) would be a very basic requirement for many projects?

Been "hanging out" in the Prisma discord and reading through issues for a while and it comes up quite a lot. It doesn't seem anyone has come up with a simple/viable workaround so far.
in general, you are risking a lawsuit if you use anyone's likeness without their permission, especially if you depict them in a negative light and/or for commercial purposes. parodies are protected (if they are sufficiently obvious like south park), and it is usually hard for a public figure to win such a suit unless they can show that you invaded their privacy.

free speech enjoys strong protections in the US, but so does copyright. I'm not sure why the article acts like all the legal processes available are onerous and/or inapplicable. it's not complicated to file a DMCA takedown, and it would almost certainly result in these videos being taken down with minimal review.

of course, you would likely see the same thing as with other copyrighted material. you can push it off the main sites where it gets the most views, but if people really want to upload and view something, they will find a place to host it. you can either accept this, or you can push for more draconian laws that don't fix the problem, but make everyone's lives a little more difficult.
Generally what makes it 'refrigeration grade' is the level of vacuum down to which it can pull.

Here are some examples of refrigeration vacuum pumps:

https://www.grainger.com/search/hvac-and-refrigeration/air-c...
Heating buildings still takes more energy than air conditioning (usually much larger temperature differentials), people in the past used an enormous amount of energy on heating. They just consumed and generated the energy locally in the form of burning fuel, probably wood and coal instead of using an electric grid or natural gas.

Also, I don't think A/C is any more of an energy wasting gadget than a heater. I can survive, moderately comfortable on a camping trip down to -10C, probably colder if I needed but I certainly wouldn't want my office/home to get that cold. Similarly, I don't want my house to be 30C with 85% RH.
FWIW, Redux has never been pitched as "an effort to make React more opinionated". It's always been about trying to make state management more predictable.

See my post "The Tao of Redux, Part 1: Implementation and Intent" for details on the original design goals of Redux:

https://blog.isquaredsoftware.com/2017/05/idiomatic-redux-ta...
I think it would be helpful if this said at the top of the readme what it's checking the health of. Looks like HTTP services maybe? HTTPS? TCP?
All the people arguing semantics when the author lives in a repressive dictatorship that would literally torture you for a confession and then execute you for it.. if anyone EVER comes by this PR even a decade from now.

Meanwhile, no one here would even think of violating US export controls against North Korea... when the consequences are likely just prison time.

Armchair tough guys.
Who's being passive-aggressive? The Iranian guy added commits to the PR, it seems he was going to merge it and realised he probably shouldn't
6 Ways To Stay Productive When You Work From Home
See also lexicon, which supports over 50 APIs:

* https://github.com/AnalogJ/lexicon
It's probably a case of the person being super careful, as they live in a jurisdiction where a mistake could have tragic consequences.
The web has been haphazardly put together over decades by committees and big companies.

Alot of this started as workarounds for the problems with web development and then became monstrosities of their own.
Out of necessity (after existing conventional treatments offered little help) I've been conducting a 10+ year self-experiment related to this topic.

Like others have described, when I started experiencing symptoms of conditions resembling anxiety, depression, ADHD, mild bipolar, paranoia and CFS/ME, I initially sought mainstream medical psychiatric treatment and undertook talk therapy and was prescribed anti-anxiety (benzos) and antidepressant (SSRI) medications. There was some relief but there were also unpleasant side-effects, and I just had a strong feeling these treatments were not really addressing the core problems, and indeed I even felt like the symptoms were fairly normal reactions to the life experiences I'd endured.

Later I tried to heal myself with nutritional and exercise-based approaches, and relatively conventional emotional approaches like meditation. Again, some mild/temporary improvements were noticeable, but they were inadequate, and it still felt like there was something deeper I needed to connect with.

About 8 years ago, I found an approach that involves identifying and releasing traumas, attitudes, behavioural patterns, self-perceptions and defense mechanisms that are held in the subconscious mind, particularly ones that have been attained in early life and have snowballed through repetition compulsion [1] (a concept that Freud first articulated).

I've been undertaking these approaches continually since I discovered them, and bit by bit all the symptoms have resolved.

My experience has confirmed, at least to me, that these conditions are "adaptive responses to adversity" (or something else related to that concept), and that in order to heal the symptoms, I needed to understand their basis at a very deep level; as Jung said, "making the unconscious conscious" [2].

Once that had been done, adopting new, healthy attitudes and behaviours and living free of those symptoms has been fairly easy; i.e., healthier behaviours just emerged naturally once the causes of the unhealthy behaviours were identified and understood.

If any researchers or laypeople are interested to know more about the techniques I've used and the results I've experienced, I'm happy to be contacted (email address in profile). None of the approaches I've used or their underlying hypotheses are novel; it's been written/spoken about extensively by veteran experts on mind+body health including Maté and Bruce Lipton. But there doesn't seem to be much in the way formal studies into these concepts, so I'd be happy to connect with anyone working in the field or anyone else interested to explore further.

[1] https://en.wikipedia.org/wiki/Repetition_compulsion

[2] https://www.goodreads.com/quotes/44379-until-you-make-the-un...
> the perpetual fueling of the narrative that magic is just around the corner

Do you know why humans went to the moon in 1969?

It wasn't just that people suddenly woke up one day and wanted to. The earliest known story of a voyage to the moon was written by Lucian of Samosata, CE 125. It wasn't that people woke up one day and were smart enough; the orbital mechanics were hard math, but the basics were understood since Newton.

It was that in 1935, the Aluminum Association was founded. Extraction of aluminum was only started in 1825, and we only had the array of necessary technologies to do it in mass quantities, reliably, with the development of massive power stations. Aluminum is useful for several things, but most importantly: it can be hammered into a thin but solid material that can form aerodynamic shells and contain pressures against vacuum. It was, basically, a miracle metal. It made the aviation age cheap and (coupled with other breakthroughs like radio, which is still only a 100-year-old-technology) the space age possible. One generation after the founding of the AA, humanity set foot on the moon.

I believe people think magic is just around the corner because the previous two or three generations have lived through one miraculous invention after another. And you're right; these inventions don't spring from nowhere. They come from people observing unexpected phenomena, dogging that phenomena until it can be understood and reliably manifested or controlled, and putting ingenuity on what could possibly be done now that the rules of the world have changed, because, in a sense, magic just happened. At least from the point of view of the average person living through the technological revolutions as they come one after another.
Just use Dbup [1] if you're a .net shop, and flyway [2] otherwise.

They are both existing, popular solutions that helps you organize your plain SQL migration scripts.

1: https://dbup.readthedocs.io/en/latest/
2: https://flywaydb.org/
I just went through it at your suggestion and it all seemed fine to me. So you have a specific example?
Iran is known to monitor the internet of its citizens especially social media (of which Github could be seen as a specialized version) and email (where PR notifications go by default) [1]. Even if its not being monitored at the moment, its likely it could be picked up later on by the Iranian government. If the chances are 30%+ that the dev in question could be sent to jail for years, its more than understandable why he didn't merge in the changes.

[1] https://en.wikipedia.org/wiki/Internet_censorship_in_Iran#Mo...
Pretty much every AC in the US has schematics somewhere behind a cover plate because field service by ordinarily trained technicians is a part of the equipment's life cycle. Basically, it's a safety issue (it might even be a UL requirement, I just didn't go that far down the google rabbit hole beyond the UL White Book https://legacy-uploads.ul.com/wp-content/uploads/2014/09/UL-...).
> Many who are willing to appear naked expect to be paid for it

Reddit would demonstrate otherwise. As would Burning Man, nude beaches, and any number of other locations where nudity is allowed/expected.
When the consequence of being wrong could be death, what risks would you take?
"-our" endings are a fairly recent British concoction based on French envy. (French spells it "couleur".) French probably has a good reason to write it that way because it captures the phonetics. The extra "u" does nothing in English other than take up space and ink.

The "color" spelling is: (1) shorter: absence of the superfluous is better than its presence; (2) etymologically correct, since the Latin original is "color"; (3) closer to the spelling of the word's cognate in a bunch of languages: Spanish: color; Basque: kolore; Italian: colore; Polish: kolor.

For at least these three reasons, it can be regarded as correct.

English dialects that use "our" endings and whatnot should rid themselves of the baggage, except in the case of direct French loanwords like "velour", pronounced "..oor".
If this PR would have come from a sufficiently anonymous user (no location / profile picture), I'm sure it would have gone through. I'm certain maintainers don't check identity and nationality of every contributor.
Right, but Ale does this too (replace multiple plugins, supports completion, linting/formatting).

Is it that coc.vim doesn't make you install the binaries of the tools (i.e. go-pls, python-language-server, clangd)? If so, that would be enough to explain the popularity to me.

IMO, one could make the argument that it's somewhat antithetical to vim-culture, to not understand the non-vim binaries your editor is executing.
Oh yeah, I'm not buying what you're selling. There isn't any theft here. And "in your favour"? Give me a break. Failing to complete payments is not in PayPal's favour, and I don't even mean some "in the long term no one will trust" crap. They literally make money off transactions. Transactions that cannot be completed do not make them money.
Part 2: https://krebsonsecurity.com/2020/08/confessions-of-an-id-the...
Have fun trying to get a legal definition for that. The evil machine just copies what it has seen before to create a composite, while the human 3D-artist just draws from what they know. Not to mention that the rules around what's considered 'art' is extremely murky; e.g. the band Scorpions feature a nude minor on one of their album-covers which is fine "because art" while people have gone to jail for having hentai featuring underage fictional characters.
Gregory the Great's Transvaluation of Life and Death
Just my personal opinion, but the thermometer on an A/C unit is kind of worthless unless you sit within a foot of the unit. I prefer being able to read a sensor on the opposite side of the room, or even several sensors throughout the house, rather than one on the A/C unit. I don't use any OEM app at all, just my own. The OEM ones never do exactly what I want, so I have to hack something additional onto their features anyways. Home automation systems are really personal anyways though. I'm sure anyone here who's implemented their own has their own unique opinions about what's best ;)
I'm browsing with Firefox and uBlock Origin. I didn't have that issue. I agree it's bullshit and a gross perversion of the web.
orbit is so low it decays in a few years max. the lowest orbits may decay under a year.
I would recommend people watch this lecture by Stanford professor Robert Sapolsky, who studies these things in depth and is an actual expert.

https://www.youtube.com/watch?v=NOAgplgTxfc

There is a lot of arm-chair thoughts on this matter in this thread, and I feel this lecture sets a lot of things straight.

A helpful quote from the talk: "...the single point I want to hammer in here over, and over, and over, is something that people with depression constantly battle with. Back to semantics, we all get depressed. Bad stuff happens to us. We all get depressed. We feel lousy. We feel withdrawn. We feel a sense of grief. And we're not taking much pleasure. And we withdraw. And then we get better. We cope. We heal. We deal with things in life. What's the deal with you that you can't do that? And there's this lurking sense given that all of us have periods of being depressed and come out the other end. When you look at people who instead go down and stay down there to this crippling extent, there's always this little voice between the lines there of, come on, pull yourself together. We all deal with this sort of thing. I will make the argument throughout here that depression is as real of a biological disorder as is juvenile diabetes."
Simple Steps in Learning C Programming on FreeBSD
> How is accepting a PR account to having a relationship with an individual.

Perhaps the original sources from the Iranian government (e.g., legal texts, judicial rulings, etc.) provided clearer language.

It wouldn't surprise me if the Github discussion comments used simplified / less-precise language for the sake of readability.
I am wondering about the implications of deep image generation when it comes to child pornography. It is one of the few kinds of speech that is not protected under the First Amendment.

How would it be possible to tell an image created with image2text or similar was generated from a model trained on images of child pornography? In this case it would probably still be illegal. Although nobody is harmed from the generation of such an image the courts would probably only care about where the source of the image originated, as with copyright.

Or what about using the likeness of a child on the body of a consenting adult for a deepfake? I that case nobody is harmed to begin with.
Could it be this the PR recipient was worried about?

https://www.jpost.com/middle-east/iran-news/iran-passes-law-...

Don't tell them about the Linux kernel.
Yes, I actually thought of the snow in RDR2 as I wrote that comment! The beginning of RDR2 with the deep snow is one of the most impressive visual scenes in a video games so far, visually, to me.

You could implement little bugs without all that much trouble, true. Maybe a better way for me to think about it is more like, the real world has an incredible diversity of appearances at a small scale, that's hard to reproduce in a video game. The bug isn't the part that causes trouble, it's the fact that every leaf looks different, some leaves are oddly discolored, some leaves have bug bites on them, some got a little torn up, et cetera.
This version of their site has less visual clutter and flashy graphics: http://lite.cnn.com/en

Spoilers, it's still shit. The biggest problem with CNN is the shitty writing. CNN articles seem to be written for an audience of borderline illiterate idiots. Do yourself a favor and read the NYTimes instead. The biases there are basically the same, you're getting the mainstream American centrist take on things, with the difference being the NYTimes hires people who actually know how to write. CNN is dailymail-tier.
The viewpoint that bipolar (and other brain differences) is a difference rather than a disorder can enable a person to have self compassion, and find peace and self acceptance, even though the condition will continue to affect them.

The idea that it’s a disorder and can be treated as such is a reasonable hypothesis for medical science to pursue, but that is all it is. Outside of that it’s just a source of stigma and misinformation.
TIL soulseek has a wishlist.
> has a lot of people working with it who have very little CS background

This and so much this. This applies to "frontend development" in general. I work as a contractor in the frontend space (Europe, no where near FAANG like companies) and very often I meet other "devs" that have basically become frontend "engineers" out of being a webdesigner - like you know, creating nice html templates for wordpress, having decent CSS and photoshop skills and later in their career started to copy-paste some jquery plugins into their template to get nice animated toggles and alike. It is very common in "frontend teams" that people started to get into JS out of webdesign, and have never actually programmed in any other language.

Another issue is even with people with a CS or another STEM background, they only get taught in the "traditional" OOP sphere on top of blocking thread environments. Those usually have a hard time wrapping their heads around higher order functions or async-based development (and to be fair, I also had a hard time when I first encountered it).
We were talking about extension cables to protect the connector on your most expensive equipment. And while there do appear to be TB3 male to female cables, I confess that TB is a problem I haven’t solved yet, and it’s getting bigger.

Generally I’ve only been unlugging my work laptop from my desk about three times a week but for work-life hygiene I should probably unplug it at 5pm 5 days a week. Since it’s mostly split across 2 laptops and occasionally a third, I know the cable will go but haven’t thought too hard about the laptops so far.

TB monitors mostly means I’m wearing out one connector instead of three (can you wear out MagSafe?) so it’s an improvement.

You seem to be asking about a solution where you don’t have to move any cables? I’m not sure I have enough TB3 ports anywhere to do that. Someone with a complete TB3 system might be able to put one computer at each end of a chain, but I think you’re right that they won’t play nice, and you could never go to three. Docking station or KVM switch are probably it.
This was my thought as I counted 9+ React alternatives mention in this thread alone.
This is not limited to Asian, single units are also common in European, and Central American cities; (likely buildings that existed prior to air conditioning ubiquity -- which also related to sealing of the home);

Much of this is related to air conditioning attitudes as well; Do you need to have comfortable temperatures in the entire house or just a living room with comfort when working, watching tv, eating dinner.

tldr; air conditiong views vary from necessary to an accessory; where they're an accessory, one of units are most common
Especially if it says "don't get distracted" or "too much information too fast is toxic" in a comment right above the line blocking HN.
Some folks really like Vim more than "vim-mode" for any given editor. I don't see any problem here if no one is forcing you to use it. (It's not built in to Vim).

There are a ton of people that use Vim because it's productive, not because of how "lightweight" it is. I see no reason to shame people if they choose to use "heavy" plugins to achieve whatever functionality they want.