skysight-inc/HackerNews huggingface dataset:
Never said they were and you don't need several seconds of power buffer for this purpose. They might just as well serve a different purpose like I know it just an observation. Either explain why why you definitely need F range for this or don't comment. They are rated 16v so take that into account in your explanation.
There needs to be a script because the tracking still happens client-side and there will be some logic involved. The only way to avoid being blocked by the browser is to track server-side.
This is not a data race in the sense that Rust prevents.

Case in point, here is the same race condition in Rust:

- playground[0] (see for yourself)

- inline code (not that long):

use std::thread;
use std::sync::atomic::AtomicU32;
use std::sync::atomic::Ordering;

static COUNTER : AtomicU32 = AtomicU32::new(0);

fn increase() {
for _i in 0..100000 {
let a = COUNTER.load(Ordering::SeqCst);
COUNTER.store(a + 1, Ordering::SeqCst);
}
}

fn main() {
let mut threads = Vec::new();
for _i in 0..400 {
threads.push(thread::spawn(increase))
}
for thread in threads {
thread.join().unwrap();
}
println!("Final counter: {}", COUNTER.load(Ordering::SeqCst))
}

The data races that Rust prevents are "instruction-level data races". They occur when a single, non atomic, architectural instruction is executed in parallel by multiple threads. In that case we can really get corrupted values, in that "partially written" value in the architectural sense (depending on architectural details) can be produced. Think a double word with one word rewritten by one thread and the other word rewritten by the other thread.

In the given code example that is not an instruction-level data race, the produced value will strictly be in the range <max_number_of_increase>..<max_number_of_increase>*<number_of_threads> (plus or minus the usual off-by-one error), and no architectural artifacts can ever manifest.

I guess the insight of the article could be that `counter = counter + 1` is closer in Python from `a = atomicLoad(counter); atomicStore(counter, a + 1)` than from `atomicIncrement(counter)`?

I wonder if using `counter += 1` changes anything? In any case, I can see how it is easier to trigger accidental race conditions of that kind in Python than in Rust, with the atomic operations being implicit in the former, and explicit in the latter.

[0]: https://play.rust-lang.org/?version=stable&mode=release&edit...
OnlyFans accused of conspiring to blacklist rivals
ahh, interesting. so i'm guessing the whole privacy preserving digital contact tracing system was just capturing these randomly rotating keys (presumably with some signal strength filter and perhaps tuning of the frequency of key rotation) that were already beaconing out as part of having the bluetooth stack turned up.

cool.
Replace “www” with “old” in the url for a saner UI.
Just recently I skipped buying Samsung TV because I feared to get unwanted advertisement in home screen. Is that really the case?
The problem is some TV related software ( like Chromecasts and i suppose Android TV / Google TV ) use hardcored DNS servers, so a DNS level filter doesn't help.
I don't think it's fair to say security only decreases if you install Lineage. Yes, you'll lose some security during the boot process and with debug mode, but you also get newer security patches fixing exploits your older OS would be susceptible to.
I believe VSCode's editor is actually built on a variation of a piece table (they call it a piece tree)

https://code.visualstudio.com/blogs/2018/03/23/text-buffer-r...

Not sure if this is still the case, but it was as of 2018.

Its really kind of fascinating to me, all the different ways we've come up with over the years just to manipulate text.
It's a standard ingredient in toothpaste.
> She really needs to find you intuitively compelling in a general sense, and this will be practically interchangeable with physical attractiveness in her mind. One reason I know this is that it works just fine the other way around.

That of course assumes that men and women work the same in this respect. There are so many differences between the sexes, both biological / hormonal and social / expectations, that this is not a given. (Though yes, personally I'd guess we're rather similar. Just pointing out that it's not a given, at least not just because it works that way for men.)
And still, it's Russia invading its neighbors, not America.
I bought a Samsung TV in 2008, my friend liked my TV and bought the exact same one several months later. 7 years later, my TV died. Screen only showed the red channel of any picture. Like clockwork several months later my friend had the exact same issue.

My Samsung refrigerator has been the biggest disappointment I’ve ever had from a major appliance. It constantly freezes up. I had it repaired multiple times under warranty, and it just kept doing it.

My Samsung washing machine lasted several weeks past the warranty.

My early experiences with Samsung were so positive, my camera circa 2003 was great, as well as all the dumb-phones, and my first smart phone, a Galaxy S, but something changed. They’re not the quality they once were.
Maybe a beamer?
This is such a simp comment. You’re saying that countries should not attempt to regulate Apple, lest they threaten to leave the country’s market?

BTW, the Netherlands has significant power over FAANG/etc, as the majority of American corporations and unicorns are all registered in NL for global tax evasion purposes. What irony!
You didn't understand the issue. It's not that these drives lose data with sudden power loss. It's that you tell the drive "please write all data that is currently in your write cache to persistent storage now" and then the drive says "ok I'm all done, your data is safe" and then when you cut power AFTER this, your data is still sometimes gone. This has nothing to do with any batteries, or complicated technology. It just means make your drive not lie.
> The 3D model will differ from the actual construction. From the very beginning and more and more over time.

Not really. The point of construction is to turn the "3D model" into reality.

Some problems in the original planning can and will be spotted during construction but that just means plans are updated once conflicts are resolved.

There's even a occupation specialized in ensuring that what's being constructed complies with the "3D model": construction and building inspectors.

The mental models that are formed by software developers based on their personal experience within software development activities is not compatible with any day-to-day practices of any engineering field.

> Documentation is hard enough for software projects. Why would we expect documentation quality of construction to be better?

Because it is, by it's very nature and purpose. Practically all of the engineering deliverables are written documents. These documents held engineers liable to any defect. In engineering, documents matter the most.

Engineering is not software development, and software development is not engineering. Engineers need to put in writing stuff that works for decades, at their financial and even civil and criminal risk. You don't just hit the "build" button and retry if something failed. You put into writing exactly how something needs to be done in order to meet all requirements, and make sure that everything is done according to what was put in writing. If anything goes wrong, what's written down is the engineer's only defense.
Non-trivial I/O requires knowledge of the host. Trivial I/O is things handled by the slurp or println functions. The obvious way of doing GUIs is swing (Java), 3D means JOGL (Java), file manipulation through clojure.java.io expects a grasp of Java's Reader/Writer abstractions and associated structures.

It doesn't require Java as such - I can't really program in Java and Clojure is great. A lack of Java fundamentals is still a handicap and probably around my #3 annoyance as a Clojure user. It makes dependency management (#2 annoyance) harder because the already complicated Java dependency management systems gets a thick layer of Clojure confusion ladled on top. The stacktraces obviously take the spot for #1 annoyance, which is a consequence of the Java but knowing Java won't help navigate them.

Can't recommend Clojure enough though. Very fun language.
Most people, esp. in the US especially and in Western Europe in general
fake happiness. esp in public. With true friends less.

US: I lost my job. I am so happy. It was time for a change, and I know
there are so many better opportunities out there.

Russia: I was fired from my job. It sucks.
How am I to find a new job in this economy?
What am I to do? Followed by vodka with friends.

(Stereotypes that may or may not be exaggerated)

Managers reading this will demand happiness, so people must fake it even more.
and they must fake it all day long at work.

Work Survey:
Are you HAPPY?

Yes? (Manager wants it)
No? (Won't get promoted, won't get anywhere)

It is impossible to engineer long term true happiness.
Or at least nobody has figured it out yet.

Drugs, floggings (must improve your happiness), bright colored cubicle,
A new Ferrari every quarter.

One could aim for "contentment".
Even that is unattainable for most people.

When it comes to soldiers WTF?
Victim shaming?

Soldiers are successful because they are happy?
Thus if you are unhappy, depressed, PTSD, all that happened because you were not happy.

(Stretching it a little for effect).

This all reminds me of evangelical churches.
(Who also forces people to be happy)

> God Heals the sick.

But God has not healed me, and I prayed, and people prayed with me.

> That is because your faith is weak, and you have too much sin in your life.
If you were a true believer, you would be healed.
I get a Black Flag instead (https://i.imgur.com/j7vYE9M.png on Brave+Firefox/Linux)
For general parsing of data I am currently advocating LR(1), and GLR or Earley for those that need ambiguity. The exception to this is programming languages, for which I think the #1 priority is error messages, thus recursive descent is quite logical. If whatever you are parsing is unambiguous isn't strictly LR(1) a small lexer can almost always fix that, but often scannerless works fine.

LR(1) gets a bad rap for impossible to understand conflicts while writing a grammar. I strongly believe this is due to most tools advertising LR(1) actually using LALR(1). LALR(1) is deservedly awful, and introduces mysterious conflicts. But modern parser generators can support minimal LR(1), which generates parse tables almost as small (or often exactly ad small) as LALR(1) without the mysterious conflicts.

Finally LR(1) gets a bad rap for screaming at you at all during parser writing, but I see this as a feature, like the type checker in a programming language, preventing you from writing ambiguous or expensive to parse constructs.
we have a samsung tv that is exclusively used with an apple tv and it’s seemed ok this far but i’m not sure how/if i can completely kill it trying to connect as we currently have no nearby open networks but if one pops up it’ll try and connect and i detest that
I'd like to know how the quantity of particles compares to titanium dioxide from paint in a typical house before I panic.
In New Zealand, you could claim that since the manufacturer will sell a 3 year warranty that the item should last for at least that long. The Consumer Guarantees Act overrules whatever the manufacturer says and states that a device should last for a reasonable amount of time. If it is more expensive, then it should last longer. If they won't repair or replace it, you can take them to the Disputes Tribunal where they aren't allowed to send a lawyer. It generally works quite well.
I would say that the PM needs to do the best for the company, which sometimes is defending their team, but others is making their team understand a recent company pivot/shift.

A PM without the support of his team is dead. But if he doesn't get along with management, he and his team are also dead.
While you're entitled to your own opinion, I can safely say this study matches my own observations 100%. Having hired and led over a hundred engineers, I wasn't surprised of the magnitude of this finding at all.

Yes, happy people get easily worn down in bureaucratical organizations.

Some of them adapt and get cynical.

Some of them quit and join organizations where they can be happy and effective. It's the best part of my day to work among many of them.
The Excel team is adding support for abstract data types and lambdas. It's currently in the preview release. https://www.microsoft.com/en-us/research/blog/lambda-the-ult...
The deeper question is not really about which came before in any random pair of "chicken and its chicken egg" or "chicken egg and its chicken".

It's about how chickens and chicken eggs emerge (first means "very very first"), and it's supposed to point to this paradox: If you need both chickens to have chicken eggs, and chicken eggs to produce a chicken, how did either came about?

E.g. did something non-chicken-yet that could lay eggs suddenly laid a chicken egg? Or did a non-chicken egg suddenly produce a chicken? and so on...
"Selling your data" is marketing nonsense created for disinformation. Companies like Facebook, Google or even Samsung don't sell data. They collect data and get advertisers to pay them to target ads on their behalf. The user data never leaves their system (unless hacked, but that's a different topic).

No, it doesn't bother me that they show me ads about products I'm actually interested in based on what they know about me. Not only it means that I don't get bothered with things I would most likely not be interested in, it also means that advertising costs go down significantly allowing the market to produce very niche products which would otherwise not be viable. Targeted ads is the best thing that has happened to the economy in the last decades.
Local flags can be quite interesting. That Ohio flag is beautiful, but a somewhat different result can be observed in the flag of Brown County, Nebraska: https://www.crwflags.com/fotw/flags/us-ne-br.html
I think Americans are more optimistic and thus are happier. Someone somewhere said it was America’s super power, that we believe things will always get better and it creates a self fulfilling prophecy.
> Modulo wraparound is just as much a feature in some situations as it is a bug in others.

That’s an extremely disingenuous line of reasoning, the situations where it’s a feature is a microscopic fraction of total code: most code is neither interested in nor built to handle modular arithmetics, and most of the code which is interested in modular arithmetics needs custom modulos (e.g. hashmaps), in which case register-size-modulo is useless.

That leaves a few cryptographic routines built specifically to leverage hardware modular arithmetics, which could trivially be opted in, because the developers of those specific routines know very well what they want.

> signed vs unsigned are just different views on the same bag of bits […] The question is rather: was it really a good idea to bake 'signedness' into the type system? ;)

The entire point of a type system is to interpret bytes in different ways, so that’s no different from asking whether it’s really a good idea to have a type system.

As to your final question, Java removed signedness from the type system (by making everything signed). It’s a pain in the ass.
You can adjust this by simply requiring user to type a code from their email.

That said, if an attacker had persistent access to your email, you’d still be compromised through this method.
Cash is only as safe as the device you hold it in.
Assuming they were on Windows, someone should teach them about Sticky Keys.

You press shift once and then the next key you press is capitalized (or a symbol or whatever).
It's not even that simple. Evolution occurs gradually, so gradually in fact that there is no "first" chicken. Any given chicken/ancestor you pick will be so genetically close to its parents/children, that they're the same species by any definition.

Another way of putting the paradox is "Which chicken arrived first, the chicken or its parent"?
In case you missed GP’s sarcasm, this is the beginning of the lyrics to Radiohead’s Fitter Happier.[1] To give you the general tenor of the piece’s downwards spiral, the song finishes with:

Like a cat

Tied to a stick

That's driven into

Frozen winter shit (The ability to laugh at weakness)

Calm

Fitter, healthier and more productive

A pig

In a cage

On antibiotics

[1] https://genius.com/Radiohead-fitter-happier-lyrics
They don't, although they can. Say if, the secret service sends them a request in order to protect some higher-up, they would have to comply.
Any details? Concerned Samsung phone user here. This statement is very unspecific
> made it seem like "mini LED" would be LCD with per-pixel backlighting.

I thought that was microled? Which does all that and seems like a strict upgrade over oled. However, there are currently just about 4 models on the market and starting prices are at 100k.
I use it on a Yunohost instance, on a raspberry pi hosted behing the home router. Works great
>Eggs have existed far longer than chickens (eg dinosaur eggs)

Which is neither here, nor there, and has little to do with the question, which is based on the paradox that you need a chicken egg to produce a chicken, and a chicken to produce a chicken egg.

It's not about whether some other random eggs existed before, but about when the cycle of chicken and chicken egg came to be, and how the vicious circle was resolved.
This paper does seem a little dodgy in its assumptions. We shouldn't dismiss military-based studies? Okay, (ish), but then the study doesn't measure happiness vs performance, it measures "how do you rate yourself" vs "the army's selection process for awarding medals".

Given medals at least partly exist to reward extremely optimistic behaviour at the expense of personal safety, shall we say, having an optimistic outlook could singularly apply to the field of warfare where individual optimism in the face of unlikely odds is a good thing.

This isn't sort of mindset we wouldn't want in our doctors or engineers or bankers, or almost anyone else.
Thank you for the write-up! One correction I would make is that per [1] VTSAX does have a $3,000 investment minimum. Before, VTSMX used to have the $3,000 minimum and VTSAX $10,000. However, it looks like recently they've gotten rid of the VTSMX share class entirely and dropped the investment minimum of the VTSAX share class to $3,000.

[1] https://investor.vanguard.com/mutual-funds/profile/VTSAX
Cool, do you have a way and controls to set contrast, color, brightness, temperature, etc like in factory monitors via an OSD menu?
Alas, mnemonics always seemed no-go to me, at least in the usually-advocated ‘use them everywhere’ approach—because I never had any memorable ones pop up in my mind. And if I made up some random ones, I would likely just forget their associations also. IMO Anki is a very different method altogether: it just keeps the info warm in the brain until it's burned into the memory—which is supposedly approximately one the ways memory actually works.

OTOH I just learned that green and orange in the Irish flag stand for Catholics and Protestants respectively, while in the Ivory Coast flag, they symbolize some run-of-the-mill cliches. So now I'll know that when I see Catholics first, it's Ireland, and when I see “color of rich and generous earth”, that's Ivory Coast.
What exactly was so terrible? I'd like to re evaluate my planned next phone purchase but you didn't provide details really. Thanks in advance :)
There’s no denying that a snack can be incredibly convenient—especially when you’re on the go, or when you need a quick energy boost to make it through your day.
This example and the others just prove the point, really. The only people clamouring about "thought police" are cranks, extremists and other parasites; when they go somewhere else just for them en masse it will rapidly devolve.
THIS ^ :)
Wikipedia while the donation banner is visible? :)
> Sounds like you're working at a more traditional company

Isn't the traditional company approach having engineers in charge of engineering?
Throwing your client under the bus seems like a bad move. I wouldn’t hire that ad agency.

I understand wanting credit where credits due, but publicly scolding is just unprofessional.
Apple’s customer service record with the butterfly keyboard fiasco was abysmal.
On the contary, it's people that have a purpose who are the happiest - and can shrug off almost anything that comes their way...
This is not a rebuttal.
I thought the study was saying you need to be happy first.
This is one of the reasons I like GUIs. I can recreate almost all my configuration from scratch on a brand new Mint install in 15 minutes aside from a few VS code settings I'd need Google for.

My .xonshrc just has a few visual tweaks. I have set up exactly zero cron jobs aside from maybe whatever mint's backup stuff uses for a timer for the snapshots. I don't have any custom bash scripts that I use, other than some build scripts and things like that, that live in project repos.

I call it "decustomizing" as a counterpoint to minimalism. I don't try to simplify my life, I try to remove customization and unusual tech, even if that means using a 100MB app instead of a 1kb script I'd have to maintain myself.

I've just... had about enough of small time garage tinkering level projects at this point, and have really started to appreciate monolithic opinionated systems. Stuff that lets you do anything, in exactly one way.
I think the critique and the passage go hand in hand: if Samsung repaired the break for free, they would be the ones bearing the risk of the new technology. Because they didn't, they're making the customer bear the risk.

That the phone might break is inherent in the fact that it's a new technology. The question is who pays for it when it does, the customer or the manufacturer.
It's possible all the engineers are bad at being engineers.

What do you think the other possibilities are?
Looked up the California one. I think it’s ugly, but when you compare with flags of states of the USA, the bar isn’t high.

Looking at https://en.wikipedia.org/wiki/Flags_of_the_U.S._states_and_t..., it’s so bad that at least 8 states feel the need to write their name in large print on their flags (Arkansas, Wisconsin, Oregon, Iowa, California, Kansas, Montana, Oklahoma; Illinois IMO is borderline large print), presumably because they fear people wouldn’t recognize it without that help.

Countless others have lots of unreadable details and small print. Wyoming, for example, would be nice if they removed that seal.

Delaware seems to have had a few flags in history that looked so similar that they wrote the date on it to make it easier to distinguish them.

For those wondering: “California Republic” comes from https://en.wikipedia.org/wiki/California_Republic. AFAIK, no such republic exists today.