skysight-inc/HackerNews huggingface dataset:
So I think I understand how this works? Correct me if I'm wrong...

So I made this example: https://jsbin.com/meqibawotu/1/edit?html,css,output

We have two "toggle vars", `--is-hovered` and `--is-special`, which are triggered by a hover selector and a class, respectively, though they could be triggered by anything (like a media query or JS).

The "false" value for the toggle is "initial", so at the top I set:

div {
--is-hovered: initial;
--is-special: initial;
}

The first trick is that assigning a variable value as a single space token is valid according to spec (https://www.w3.org/TR/css-variables-1/#syntax), making the var(...) usage substitute a single space. So if our variable should be "true", we use whatever method to set it to a single space:

div:hover {
--is-hovered: ;
}

div.special {
--is-special: ;
}

The second trick is that an invalid property value will fall back to the second argument of the `var()` function. So we first create a property that only has a valid value if the flag is true (a single space):

--hover-opacity: var(--is-hovered) 1.0;

If the div is hovered, `--is-hovered` is a single space, so the property value becomes:

--hover-opacity: 1.0; // note two spaces

If the div isn't hovered, `--is-hovered` is `initial`, so the property value becomes:

--hover-opacity: initial 1.0;

Which is invalid CSS!

We can then interpret this in our final opacity property:

--regular-opacity: 0.5;
--opacity: var(--hover-opacity, var(--regular-opacity));

If the div is hovered, the first argument is evaluated to:

--opacity: var( 1.0, var(--regular-opacity));

And since that's valid syntax, the second argument is short-circuited (ignored). However, if the div isn't hovered, then the opacity property is computed as:

--opacity: var(initial 1.0, var(--regular-opacity));

The first argument is invalid! So the property falls back to the second argument, and we get `var(--regular-opacity)`.
> I don't understand the nostalgia for these planes. I see a big plane and I think "cattle car."

Perhaps. But flying business class in the upper deck is definitely not cattle car material.
World Emoji Day: Data Trends on Most Widely Used Emojis on Social Media
Why would they care? They’re running a company, not a charity.

Of course I don’t necessarily see it like that, but I can see how people would. Especially if they’re already competitive.
If it gets sent back or if it ends execution, which releases the &mut T, and the borrow. It isn't your memory temporarily. If it was forever, you'd be passing ownership, not a reference.
I don't think anyone would call Autohotkey "enterprise".
P3X OneNote will scratch the Linux OneNote itch, or just run it in a browser tab. Better than nothing.
After having read the article i can say that the headline is a misnomer. It is more of a travelogue than about the water crisis. But an interesting read nevertheless.
Any tips for these systems? I'm imagine you are navigating deals and points systems but I dont have much travel expirance yet.
I love Zulip. Not only does work smoothly and with no bugs, it was one of the least painful installs and maintenances of any recent service I've tried to self host.

I've tried to get traction with it as a self hosted solution at a few orgs instead of cloud offerings, and often meet with resistance by ITS in party because of the pains of administering a lot of these products. However, one I have succeeded pushing it through the feedback has been, 'Great, it just worksout of the box. We don't have to deal with it regularly'.
The ones in the granite encased hotels or the ones without glass in their windows?
phone numbers for almost anything is dumb.

Discord wants my phone number for forums about sexual topics that could get me killed if I was in certain countries. Obviously I don't want to give them something which actually identifies me.
They are in Africa to do business. I don’t know whether your claim of them selling surveillance technology is true, but even if it is, what does that have to do with your implied assertion that China is war mongering?

Many people point to the Sri Lanka port as an example of debt diplomacy. But what they fail to mention is that Sri Lanka is the ONLY example, that Sri Lanka is happy with the outcome, and that China recently cancelled debt payments for many African countries.
On the flipside, I find IntelliJ causes my computer to go into overdrive while VSC is pretty snappy. A shame because I love using their software. I guess I just need to get a new computer lol
hi, I'm Kpler CTO. Indeed the space is crowded. To succeed you not only need strong algorithm on top of AIS data (ML, Operational research) but also lots of hard facts coming from partners in the supply chains (brokers, ship agents, ports authorities) that you need to extract with NLP and other strategies. Having a strong team of analysts with expertise in each commodity market is needed to interpret and complement the automation.
Last piece is also to have a strategy not only to cover shipping transportation, but also storage, production, consumption of the commodities, so you can deduce more interesting intel. We for example use satellites and drones images as well to know the crude oil inventories onshore.
Out of curiosity, what UI toolkit does Thunderbird use? GTK or the UI system derived from Firefox?
>> Just because you can make exorbitant profits off of your workers doesn't mean you necessarily should. I'll never understand why someone would you want to own a company that treats its people like shit and sucks to work for.

> Middle management can run distraction on the owners so that they don't see the misery of the operations people who actually keep the buisness going.

More likely, the owner is greedy and just doesn't care about how miserable the employees are as long as the cash keeps coming in. Some people just plain lack the regular moral compass and feelings of empathy, and others have gotten good at holding on to BS justifications to assuage any guilt they feel.
R. sphaeroides

https://news.wisc.edu/microbe-eats-formaldehyde/#:~:text=Ent....
that was my thought until:

“Only negative is that it is all so over the top - wife and I more comfortable in biz or e+”
I just checked, it's the fact and you are denying it, be less arrogant and ignorant.
Same experience here. I’ve been carrying a knife since I worked a retail job in high school unboxing product. I still use it almost every day. Likewise I have no intention to use it in an altercation. They can have my wallet. Getting into a knife fight, knife/gun fight, or any sort of other situation where I’m more likely to be hurt than walk away... is not in my life plan.

Lots of things that people tear open are better cut open instead. New bag of coffee? Out comes the knife. Annoying stickers they seal boxes with? Knife it. Packing tape? Knife it.
This is really a very cool language! I wonder how nested regions works out in practice. That seems like an obvious way to deal with Rust’s limitations on aliasing (IIRC Cyclone used regions that way) but I wonder what the pitfalls are in actual use.
It's better having 1 page from an SEO perspective.
Have you looked at the network traffic coming out of macOS lately?
Man that Lufthansa pod look cheap. You should try Emirates
Yep, an API is definitely on the roadmap as well. :)
>>American who at age 16

And you believe we should not treat minors different than Adults? this is another area where i disagree with many, as I 100% disagree with this modern trend of prosecuting teens as adults
Here's one such encounter: https://twitter.com/greg_doucette/status/1283452585945583618

What rights do you have resisting being grabbed from the street by somebody who isn't identifying themselves as law enforcement? They just have a "police" patch, they could be cosplayers.
The school closures are going to hurt universities far more than most know: Sports activity revenue.
NRT... ugh, flights so stacked going in that a plane failing to clear the runway fast enough resulted in us having to go-around and re-enter the deep approach queue. A nice 30 minutes added to an already 12 hour flight...
Plus the other FSMO roles... and some things only work with the PDCe... and some DCs can be RODCs...
yes, he is wrong that Apple and Disney are pawns of the CCP, it's a ridiculous accusation from an alternate reality.
Exactly, assume zero trust but VPN with MFA provides another layer of security. Given the weekly volume of package vulns Github notifies me about I don't want to miss a 0day and get scanned. Perimeterless is fine if you're only using SaaS or you have an army of SecOps, but I don't want an internal app rumbled.
How does it compare to Honeycomb?
if there's a question mark in the headline, the answer is no. Is there a rule to this?
A US president has the power to unilaterally launch the nuclear arsenal:

https://allthingsnuclear.org/dwright/trump-and-the-nuclear-c...

Whether the military would actually carry out those orders when no one else has ICBMs in the air is debatable, but the president's defined role as the commander-in-chief and the sole arbiter of when to open the gates of hell on earth is not.
Same. If you can possibly manage a stint at Netflix, do it.
YEP! Absolutely nailed it. That's what's up! I've been calling it Space Toggle. It does all kinds of stuff beyond toggle though - the whole world of conditional logic is possible. You can combine them in any way, &&, ||, !, it's all possible.

You can see some more of my examples here:
https://twitter.com/James0x57/status/1283912525248069632
https://twitter.com/James0x57/status/1283596399196680192
https://twitter.com/James0x57/status/1282303255826046977

The second version of augmented-ui is packed to the brim with it, I've been working on it for months :D
It's so painful to discuss China online. The claim I was responding to - that you called "correct", if you needed the reminder - was that most Chinese citizens are being systematically disappeared, tortured, and killed. It is not correct. Let's not get emotional or move the goalposts?

What you are saying is factual (though you may be surprised to what lengths you can go to re: speech). I challenge you to find where I said otherwise. I was refuting OP's counterproductive hysteria. What you have mentioned here is unrelated.
I’m a person who finds out what I’m thinking as I speak. Iterating towards an idea with confidence in each turn.
Even if you end up in the vicinity of where you started, problem not actually solved, you demonstrate how you move through problem space.

Similar to another comment I read comparing interviews to athletic tryouts and competition, which tries to assess how a body moves through physical space.
Only one I've been able to find so far: https://twitter.com/greg_doucette/status/1283452585945583618...
Not rich or wealthy, this is middle class. 60% of Americans are happy with their healthcare.

If it was just the rich that did well, it would be trivial to get consensus to vote for change.
> US prison system

https://www.bjs.gov/index.cfm?ty=pbdetail&iid=6766

> law enforcement system. BLM movement

(I assume you mean what BLM is protesting and not that BLM is killing people)

https://www.washingtonpost.com/graphics/investigations/polic...

> We do systematically repress them to lower classes

If you are systematically repressing people, please stop. I'm not, so I'm not sure where this "we" is coming from.

> and also kill them directly (through a violent law enforcement system)

You are more likely to die by car accident, heart attack, suicide or coronavirus than cop. That doesn't mean we shouldn't improve the system.

> and indirectly (deaths of despair, deaths from crime as a result of systematic poverty).

I encourage you to fight poverty and the best way to do it is through donating to meaningful charities. That doesn't seem unique to the US though.
However “Common sense” is often wrong. That is why you can’t treat people based on whatever hunch you have. Also you would hope that common sense and basic medial ethics would make you avoid violating the Nuremberg code.
I'm skeptical. Geekbench seems like just about the perfect use case for Rosetta 2 translation - I wouldn't be surprised if performance is close to native. If that's the case, the A12Z is only approximately competitive with Intel of a similar vintage despite having a process node advantage.
sound good until you realize there are more than two players and both sides have proxies to act through deny-ably. There is a reason North Korea has survived its so when cCina wants to threaten the US without repercussions they just let whichever Kim is in power act out. We do something China doesn't like Kim Jung Un throws a fit and drops some artillery shells in South Korea or attacks a Japanese fishing boat. geo-politics is a bitch. We get upset China says don't look at us it was North Korea. We threaten Kim, then China goes: Don't you do anything to them they are our ally we wont let you put troops on our boarder. We back off. repeat.
Pay special attention to the reasons the author gives under "ask if it's okay first."
Why Did the DOJ Declassify and Release the FISA Application on July 21, 2018?
> except that it also leads to an internal culture of "congrats!" and "thank you for your amazing work!

For that, no internal culture is really needed: Google is in California, a state where the use of positive superlatives is mandatory for every single human interaction :)
List of computer vision pretrained models
Do you have some examples? I've used IntelliJ or variants of it (Clion primarily in more recent years) since ~2004 and rarely had any issues, but it's possible I'm missing some obvious things here.
The chemical imbalance explanation is... wanting. My response typically is, "Which chemical is out of balance? Phlegm, blood, yellow bile, or black bile?" The chemical imbalance explanation has been used for centuries as a crutch when we don't know what's going on.
You most certainly have the right to defend yourself with lethal force, but good luck practically asserting that right. About the only hope for that would be citizen militias organizing to defend society against these lawless criminals.

This here should be a call for the libertarian-oriented red tribe to fight back against government tyranny. Either much of the red tribe needs to break free of their propaganda bubble misleading them into thinking this totalitarian behavior is in any way American, or things are going to continue to get uglier and uglier.
> but there's no good way (that I've found) to really represent the Plane/Airport example in a way that doesn't discard safety, incur a runtime cost, or freeze the containing Vec…

That's true. But according to your blog post, neither does Vale: it makes you choose between unsafe mode and reference-counting-overhead mode. From what I can tell, the advantages you're claiming are:

1. Optimized reference counting: Valid, though I'm wondering how much difference it makes.

2. Constraint references: Valid, but as far as I can tell this could be easily implemented as a wrapper around Rc like the C++ version is around shared_ptr.

3. Mutable aliasing: I think this is the most important one. In Rust you can do this by wrapping all your struct fields in Cell or RefCell (so that the 'immutable' references you get from Rc are actually mutable ones), but the ergonomics are poor. Other reference-counting languages (e.g. Swift) do this ergonomically, but have no way to opt out and use a borrow checker for increased performance. There's definitely room for a language to combine features of both.

4. Ability to compile the same code as either fast or safe: Doesn't appeal to me, because safety matters most in production where you might actually get exploited; but YMMV. I know game developers tend to have a different outlook.
Good point! When I was new to the Zulip codebase I thought the same but after a while, my views changed. Its a very long model (and file) but very linear and organized, so it doesn't have that usual set of problems for which we have the common wisdom of not having long classes or methods.

Basically, for this you have to ask yourself why you want to split it and what would you split it to. If ultimately what we'll get is something like UserProfileA, UserProfileB, UserProfileC, then that's arguably worse than one long UserProfile.
What's really happening is that these rioters (not the protestors) are watched trying to instigate violence at the protests and when they leave the area, they get arrested. This is because the local government has been absolutely useless at doing their job at stopping the rioting.

Start at 9:30 timestamp:

https://youtu.be/3ptD6koTknw?t=570

People sharing videos of this share either selectively edited videos without context OR they only share the ending part where they are arrested and not the part where they were instigating violence in the peaceful protests.

https://youtu.be/ha-7SETmJD4

Also they are not unidentified. They have Police on their chest.

There's also a theory (can't confirm this) that these are undercover operatives being extracted as they have been infiltrated Antifa.
I thought it was a SWIM thing too.
For an on-prem general purpose logging server, it's fast and easy to maintain. The query engine supports fairly complex queries. Did I mention it's fast? Plus it's an industry standard so it's an easier sell in the enterprise. It's also actually not that expensive at low data volumes -- prices are comparable to Sumologic.

Cheaper alternatives? You can roll your own logging server with fluentd and a database. Some folks will recommend elasticsearch, but we tried it and it was challenging to set up just right.
I bought one a few days ago (weird coincidence), from Amazon for around $35 at the advice of a friend. Skeptical also, my 97% level upped to 98-99 with deep breathing, and then I held my breath as long as I could possibly do it and it dropped to about 93-94.

That's obviously not a confirmation that it's calibrated or trustworthy, but at least it shows a relative measure that seems real in both directions of oxygen saturdation. Surely if I have a drop due to illness I should notice, even if the number isn't exact.
Yeah, the DTK hasn't exactly shown that Apple Silicon can outdo Intel, let alone AMD.

I remain rather skeptical. I think this is a business win for Apple moreso than a technical win.
I don't even have the rep to downvote comments.
Atlas Shrugged by Ayn Rand. HANDS DOWN!
Well, the Vietcong were assassinating thousands of Southerners in their effort to overthrow the Southern Government. It’s not like they were just living peaceful lives.
The US will defend Taiwan by any means necessary, including nuclear options. If they don't, they've already lost to China. Chip superiority is everything. If the US can't manufacture or source modern chips then it's over for them. US leaders and the military know this to be true. Taiwan is not Hong Kong. The US doesn't need Hong Kong. The US needs Taiwan.
These people are not protestors. There were rioters who would mix in with the protestors and then start violence. Protestors don't show up dressed in all black with a helmet and baseball bat.

They have also been allowed to throw bricks, molotovs, bats etc on law enforcement and people. They are destroying the peaceful protests to turn them into violence. Local law enforcement hasn't been doing anything to stop it because the mayors have been useless. That's where the feds intervene - especially because most of these people who are getting arrested are crossing state lines and therefore federal.
Riding on a British airways 747 was one of the coolest experiences I ever had. The entire cabin had first class level comfort. This will surely be missed.
Yes, all the incentives are perverse during an exit interview. HR is only interested in avoid suits, and the ex-employee wants a good reference, or if not at least their severance.
Shoelace 2.0 release: UI toolkit that works with all frameworks or none at all
Totally.

We need trusted, certified layer shielding people from all these lousy service providers who can't keep their pants on.

For all intents and purposes customer is a long numerical token for them.
Take it or leave it.
Isn't it strange all the work we put into securing networks etc... while we're engineers working from home and all it would take is someone figuring out where I live via Linkedin or whatnot.. and all this goes away with my physical security being pretty much non-existent.
“ Necessity is the mother of invention and nowhere else is there the capital, political will and now sheer necessity as there is on the Mainland.”

It’s also the mother of the GFW, which greatly impede the innovation. For example, many latest IT technology cannot be speeded effectively.
Ownership was fully aware and encouraged.
Working when SEARCH all GITHUB is selected

https://i.ibb.co/5Gkpg4J/git.jpg
For those out of the loop like me, Rocket is a web framework for Rust that apparently was using a lot of experimental features. https://rocket.rs/

Or maybe it's an explosive weapon crafted with metal pipe and gunpowder. https://rust.fandom.com/wiki/Rocket
The trick of switching the implementation of owning_ptr and constraint_ptr based on a compile flag is very neat.

Is there any risk of the compile flag influencing which object owns the reference, and therefore causing a kind of "heisenbug" where it doesn't crash during the safe mode but still has dangling pointers in the fast mode?
> At least they feel bad and apologized. Caltrain leaves early 20+ secs all the time and they cared less.

How confident are you that your clock wasn't 20 seconds slow?

https://www.electro-tech-online.com/threads/cell-phone-clock...

> I have a company where everyone has a phone that used the same calender program, same service, same type of phone, etc. At 8:50 and again at 9:00 every phone will ding to announce 9:00 meeting. There is no 0.01 second syncing of the phones. The time might be exactly the same but the "dings" happens over 30 seconds. Then one phone might be a good minute or more off. (usually mine) There are many times where the dings are within 5 seconds.
This was the attitude 100%. Especially in Tech consulting, sales is everything, absolutely everything.
It seems this young man has perfectly rational reason to be enraged at authority.
Agreed the multi line To field was a frustrating user experience. From my office we were reliant on the addon MRC Compose as no-one would use it over outlook otherwise
Check out the "spruce goose" and how it was moved.
It's happened before

https://en.wikipedia.org/wiki/2018_Horizon_Air_Q400_incident

https://www.cnn.com/2018/08/12/opinions/seattle-stolen-plane...

> most airlines do not lock airplanes because access can only be obtained by security vetted employees through jet bridges and coded door ramp access.
Show HN: IMmaSignUp (YC Didn't Make IT to S20) – Virtual Queues for Anyone
I assume Emacs can be made to do anything under the sun, but UltraEdit comes out of the box with a friendly GUI that exposes some fairly complicated text manipulation tools. On some level it's just personal preference and familiarity.
According to the US DoJ they use technology which was stolen from US companies, so it's at least partially American design.
> We are talking about the vietnam war ... how were soldiers fighting in it retaining the freedoms of the US?

The soldiers that fought the Vietnam war didn't merely retain freedoms, they established practical, though not Constitutional, freedom from conscription.
This is the agency that "saved" Elián González, subtlety has never been their specialty. Good to see border patrol performing their job...
One thing I have been wondering about - speaking of changing URIs, did they (W3C) change/merge the domain name from w3c.org to w3.org at some point? Some old documents seem to point to w3c.org instead of w3.org. (e.g. http://www.w3c.org/2001/XMLSchema) Not that it hugely matters, the old (?) w3c.org links still work, since they are redirected anyway.

Example from a book: https://books.google.com/books?id=yLj8m3K0kNoC&pg=PA224&dq=h...