skysight-inc/HackerNews huggingface dataset:
Short question: Does anyone know about any performance issues using semantic vs class-based css?

I ask, because in the early days of css we also tried to use semantic style and had strange rendering issues on huge data tables and everytime, when the page had a lot of content. After trying a few things we came to the conclusion, that (especially but not only) IE had huge performance issues with semantic style. After switching to classes, everything worked fine. It technically made no sense, but since we did not change anything else, we came to the conclusion, that class based is faster than semantic...

Did anyone ever measure this for modern browsers?
You are arguing against facts that I have already clearly demonstrated. Get out Wireshark and test.

Once again, mistakes made by an application-layer program (or spec!) do not invalidate the facts of underlying layers.

The hostname will always resolve to the same IP. A search domain doesn't change that, it changes what hostname is resolved.

(BTW: hostnames have existed since long before whatwg or even the web. I'm not sure why you would think whatwg have the authoritative definition of hostname.)

Also, since you like specs, here you go: "every domain name ends with the null label of the root", implying that the domain `foo` is, in fact, canonically, the domain `foo.` - RFC1035, November 1987. (The RFCs contemplate search domains as well, and mention that the final dot might be used as a cue to the application/library whether or not to apply the search domains, but that's entirely an application/library decision and changes the effective hostname/FQDN.)

In short: I never said that browsers and servers don't in fact treat them differently, I said that's a bug. You can't say "well they do it that way and the spec they wrote says it" as reasoning for it.
Both work for me in Firefox on MurenaOS (LineageOS based).
Biden won't allow Nord Stream 2 to be opened up though, and it seems he has more control over the pipeline than (the prime minister of) Germany: https://www.youtube.com/watch?v=OS4O8rGRLf8
Julia is used by exotic firms like Jane street
Not to turn this into an evangelism subthread, but I think GP is right. The performance optimization could apply, but the bug as described should be prevented by the borrow checker. In fact you can do neither x = … nor x += … when anything else still references x, because assignment requires an exclusive reference (&mut), which is statistically checked.
Wow. These look like the Yoko Ono of cutlery. Or Tim Burton.
Procedural SQL is how you package reusable/common operations in the DB world. In terms of programming languages, you'd use an ORM.

SQL isn't as broken as you think, it does what it's supposed to do very well. There are many ways to work with SQL such as procedural SQL and ORMs that build on it.
> The Dirty Work Theory: The lamentable work that many people avoid are great places to look for high impact, low hanging fruit.

One person's KTLO is another person's promo project.

It's fascinating how much a project can be glorified in one-company and is dismissed at another. I had the (not necessarily thaaatt) strange path of working at Amazon to going to work at Siri/Apple.

When I was at Amazon, "client" work was not sexy; rather sharding a database is what all the magic-makers did. So, as a newly hired Java/Backend engineer at Siri, my first project, which I pitched for, was sharding our database for operational efficiency. Yay! Win! But, after about a year of that work, my manager (who's happy with my work) says ".. to get you promoted, let's get you on some more customer impactful work, where we can get you to demo some user facing features...". So, I dive head-first into the challenge on learning Swift/iOS stack and accelerate our team's services to run on-device; winner-winner-promotion-dinner!

Nobody at Siri wanted to touch the old server code. All the glory of WWDC+features+new_device_handouts were going to the folks working on client. The senior engineers who'd been around for decades across the industry were working on the client. They'd still fix server bugs nobody else could handle though. At Amazon, all the rockstar sr engineers had worked on services/distributed-systems for decades. But yeah, senior engineers (rockstars or otherwise) don't stick around at Amazon. They tend to leave after 2 years; weird.

That 18th month at Apple was the biggest learning so far in my career: someone's view of a KTLO project is another person's view of doing god's glorious work.
We humans like to get mad at things, especially things we have no power to control.

Which externalities do we tax? Which behavior of others should we control? What corporate and economic policies are bad? What should we do to stop the country from melting?

I do it too. It's a tale as old as time.
> This reads like a paid ad for those spoons. I’d expect a “mad quest” to talk about trying many spoons, deep discussion of spoon properties. But no, this looks like standard-issue blogspam.

If it is a paid ad, there's not much of an audience: the article is paywalled for me.
On ML teams, a comment like this would not get past code review because it's obvious – avoiding in-place operations in PyTorch is the standard.
I was in this position recently. It's pure hell. I moved teams internally. Now I'm happy. It feels like an abusive relationship, you don't realise how bad it was until you leave.
Actually I keep using both for hobby coding, and muss confess I rather lean on C++ side even with its C inherited unsafety due to stuff like this, and the ecosystem naturally.
Yes and no. They din't skip it, the FAA acceptrd and certified the new design based data Boeing provided. Boeing should have, in my opinion, completely recertified the MAX instead of treating it as just a new 737 variant.
Debugging Teams: Groundhog Day
Exactly. It's the automobile equivalent of the Shepard Tone.

https://en.m.wikipedia.org/wiki/Shepard_tone
Everyone forgets the obvious fact that python is a default install on most linux distros and many, MANY researchers are in government labs or universities where installing software is tightly controlled and are presented with choosing between waiting months to get approval to install something versus starting coding now today in python.. I swear Python rose to popularity in the DL community for this very reason -- for many researchers it was all they could use without a lengthy approval process.

That said I'm no lover of python, I just think this is a huge contributing factor to its rise in popularity. A little conspiracy theory, if you will ;)
That is one of the reasons why I enjoy working with PostgreSQL. It's reference manual is of such high quality, that I consult it before Google or Stack Overflow when I have questions. That lead me to the discovery of many useful features of the years.
There are just too many new languages all vying to be the new Python. I personally like Nim, but it's also gaining traction too slowly.
Building Your Team’s Safety Ecosystem
> Perhaps because this is just one of the external costs, and these costs are absorbed through taxes (for instance, road wear is higher for heavier vehicles, so lighter car effectively pay for the SUVs and trucks)

The externality we are specifically talking about is the safety risk to others that comes from having a larger vehicle. Other externalities can be solved different ways, but doe this specific one this seems like precisely the scenario addressed by liability insurance.
This change isn't a matter of Python being slower than a compiled language, it's changing the meaning of the code. The line

x = x + y

creates a copy of the array x, adds y to it, and then sets the variable x to that new array. In contrast, the line

x += y

adds the array y in-place into the array x (and so hopefully no other piece of code is relying on x being immutable). This kind of trade-off occurs in pretty much all programming, for instance you see it whenever big-integer libraries are used in C++ or Rust.
The biggest long term impact this has is in climate policy. Faster fossils rampdown enables Europe to lobby sooner, more credibly and harder for fossil rampdown on the global stage.
Translate your Akeneo content with ease. Setup integration once, define your localization workflow and spend less time managing translations.
Digital Caliper Pinouts (2010)
I would not consider years a short period. But anyway I have started with around 50-65k. Don't remember exactly. Around 50k was inheritance. I knew about investing since I was a teenager. I was interested in trading futures because that's what was popular back then during my high school years. But I realized day-trading is just another day job, so I never got into it. And stocks, back then, were expensive(broker fees) and you needed a lot of money(thousands instead of hundreds) which was simply out of the question for a teenager. When I inherited the money, I wanted to tuck it away and preserve it but then I said to myself "F. it", I always thought about investing in stocks one day and there won't be any better time. So I started.And I found out the fees and complication were no longer such an issue like in the past. On the contrary, it was very easy and cheap. Slowly, with couple of thousands to get my feet wet and couple of months later, I invested all of it and my own money on top of it, as I gained confidence. And it was the best decision in my life. Mostly because it inherently provided the best financial, economic and geopolitical education no school could ever give you. And as I have said, I have been living off of my investments already. Since last year(I could have sooner but I had a great job). Sure, not all people inherit money to start with but that can be equalized by time(ie. start sooner with less). Also, it is a waiting game. You need patience. It's not get rich quick type of thing. And you learn along the way. You make mistakes and you learn from them. If you have 1000$, there is nothing stopping you but your fear of letting the money go(not lose, just not have access to it).
I would cautiously recommend considering Elm.

Pros:
- strict typing across the ecosystem with best in class DX around typechecking

- ease of refactoring and making large scale changes in your app. I can’t overemphasise this one. At work we have switched out out UI system several times across several apps, which would have been a Herculean task in most other front end tools. Here it was an entirely painless, even easy (if somewhat laborious) task.

- stability. Elm is very stable in its features, there is almost no churn.

- good testing library (sort of) built in with property based testing

- the elm-ui library abstracts CSS for you. This takes away some of the trickiest parts of “front-end”

Cons:
- if you need to deal a lot with imperative DOM apis, this can have a bit more friction than in other solutions. Usually this involves writing webcomponents in plain js or ts and calling those from your Elm code with event driven communication between them. Our relatively complex web apps at work each use about half a dozen of these, so is usually manageable, but in some cases this can be a lot worse. Probably worth looking into.

- somewhat unusual OSS project leadership. If you don’t expect to have any influence on the direction or pace of Elm as such, you’ll be happy.
Dealing with HTML email building that has CSS in it can be tricky. This article by Mailtrap goes over the most important principles of using CSS in emails as well as showcases examples.
Analysis-U.S. ban on Nvidia, AMD chips seen boosting Chinese rivals
align="right" wouldn't work?
I see this every single day here in Tokyo. It's totally normal to have 1 or 2 toddlers on a bicycle.
UFS Boot environments?

https://forums.freebsd.org/threads/ufs-boot-environments.796...
Ask HN: Is there a way to submit academic papers online for review?
I have a paper I'd like submitted for review by serious phds and academics, but am outside of academia. Is there a way to submit this paper online? Thanks!
That is actually extremely common in the Netherlands. [1]

[1] https://www.youtube.com/watch?v=rQhzEnWCgHA
According to that figure, while transit buses are safer for "Users (passengers and employees in a vehicle)" than passenger cars and light trucks are, they're more dangerous for "Others (e.g., pedestrians and passengers in other vehicles)". And isn't that exactly the same thing going on with big vs. small cars? Buses are bigger than cars and SUVs, so they're safer for their own occupants at the expense of everyone else. (Note that the figure measures fatalities per passenger-mile, not per mile, so the advantage that fewer buses would be needed than cars to move the same number of people has already been factored in.)
Nice tool! Curious why it doesn’t auto populate Zillows estimated rent value?
Last I checked, most cyclists aren't the ones building the roads you have to share. You should anchor your complaints towards your local government to improve road infrastructure for cyclists rather than complaining about someone else sharing roads in a perfectly legal manner.
Also a bullbar absolutely throws the vehicle off balance if you don’t put in new springs up front. Not sure if they consider that in the ratings.
It's on Amazon prime. Will watch it tonight! Thanks
oh this posting is not good for my productivity...
Rabble, someone that define himself an "anarchist". But made a fortune in early 2000's selling a company to Palm Inc. Still today working with venture "capitalism".

Yes, semantically capitalism and anarchism can not live together.
That's exactly the sort of information I was looking for, thanks!
> They perform optimizing transformations which are guaranteed to preserve the behavior of valid programs. Some programs are considered invalid (those which execute invalid operations like out-of-bounds array accesses at runtime), and those same optimizing transformations are simply not required to preserve the behavior of such programs.

I think this is the core of the problem and it's why people don't like these optimizations and turn them off.

Again I'm not the odin designer nor a core maintainer, so I can't speak on behalf of the language, but from what I understand, Odin's stance is that the compiler may not make assumptions about what kind of code is invalid and whose behavior therefore need not be preserved by the transformations it makes.
One-on-ones with executives
yeah, it's not restricted to only high-paying jobs or tech jobs :)
The HN title is inaccurate. Based on the abstract, it should say "occupants" instead of "drivers".
Which doesn't work, unless you have Xcode or the Command Line Tools installed.
I assume he meant pressure as, if there are already a bunch of particles stuck in a dead-end branch lower the chance of going there.
This is the paper by the way. I haven't had anyone who has been willing to review it, I'm completely out of money and I just want to know if any of my conclusions are correct at this point. I don't know if this is the appropriate forum for review by academics per se but this is one of the more serious minded forums I've come across.

https://www.dropbox.com/s/d4yznf0v2e71ksw/Sep11EarlyMorning....
16MB? No. 16GB? Sure.
Whenever i get into 'a discussion' with an angry car driver, at some point "you cyclists" - as if we're a cohesive group (in your case - "Especially if I eventually got past him only to find another such person doing the same thing in the next aisle over.") I just casually mention that as peadophiles drive cars, the angry person must be a paedophile, and i refer to car drivers as such: you paedophiles.
And i do not stop.
If the conversation gets heated i just accuse louder. And louder.
Seems people in big cars that dont have time to wait, but do have time to stop and discuss traffic with me don't like being accused, and publicly embarrassed.
No, i cant do it at home, unlike yourself, you fucking paedophile. What are you in such a hurry for? School closing soon?
There is and isn't. SRE is Google's more strictly defined DevOps, basically - after DevOps started to get slapped across everything (classic sysadmins, CI/CD tooling people, etc.), Google came out with something that basically defines, more narrowly, something very similar to the DevOps role (as originally intended), in a lot of detail.

There is a slight difference in focus though, because DevOps also focuses on the role's interactions with development, while SRE focused on the role itself and using metrics and data to be able to do the work required (SLOs, etc.).

I personally prefer the SRE term, because it's usually better understood and has a narrower meaning. DevOps can mean a lot more different things.
> The compiler is already doing that when it performs any of the optimizations I mentioned above. When the compiler takes a stack-allocated variable (whose address is never directly taken) and promotes it to a register, removes dead stores to it, or constant-folds it out of existence, it does so under the assumption that the program is not performing aliasing loads and stores to that location on the stack. In other words, it is leaving the behavior of a program that performs such loads and stores undefined, and in doing so it is directly enabling some of the most basic, pervasive optimizations that we expect a compiler to perform.

No, that's C-think. Yes, when you take a stack-allocated variable and do those transformations, you must assume away the possibility that it's there are aliasing accesses to its location on the stack. Thus, those are not safe optimizations for the compiler to perform on a stack-allocated variable.

It's not something you have to do. The model of treating each variable as stack-allocated until proven (potentially fallaciously) otherwise is distinctly C brain damage.

> If that is indeed what you want, then what you want is something closer to a macro assembler than a high-level language with an optimizing compiler like C. It's a valid thing to want, but you can't have your cake and eat it too.

This is a false dichotomy advanced to discredit compilers outside the nothing-must-be-faster-than-C paradigm, and frankly a pretty absurd claim. There are plenty of "high-level" but transparent language constructs that can be implemented without substantially assuming non-aliasing. It's totally possible to lexically isolate raw pointer accesses and optimize around them. There is a history of computing before C! Heck, there are C compilers with "optimization" sets that don't behave as pathologically awfully as mainstream modern compilers do when you turn the "optimizations" off; you have to set a pretty odd bar for "optimizing compiler" to make that look closer to a macro assembler.

It's okay if your compiler can't generate numerical code faster than Fortran. That's not supposed to be the minimum bar for an "optimizing" compiler.
My Android work profile setup
Since I couldn't find much information about how to do this, I wrote down how I use Android work profiles to separate private and work-related content.
Last month was the first time I got to $500/month with an app I have built for sports teams to manage their player of the season voting.

https://getcontendo.com
I see Crowdin support Webflow integration, so I’m thinking about bringing my website into better localization processes.
> female college student was having an affair with her professor...and there were other plot elements...but the amazing thing was that the other characters did not think the relationship was unusual at all

Thats because females in 1950 USA had very little rights. It was barely 30 years into letting them vote, but only as long as they stay in the kitchen homemaking 'where they belong'.

>would be portrayed as scandalous

exploitative is the word, balance of power is pretty clear here.

>this nation is entering some sort of neopuritanical hell hole

because you cant willy nilly fuck people you have authority over? indeed end of the world.
I think that is basically why Docker was invented.
MiniZinc is a fairly simple-to-understand and open source constraint language: https://www.minizinc.org

I learned about it when a friend gave me a programming challenge: https://gcanyon.wordpress.com/2009/10/28/a-programming-puzzl... She was going to work in PHP, I wrote a solution in J, and a commenter solved it in MiniZinc. Here is their solution in MiniZinc: http://www.hakank.org/minizinc/einav_puzzle.mzn
I'd say that sounds like a huge success, 300-500 euro is a decent extra bid of money for most people.
In which state(s)?
Germany has tried setting up a parallel, email-like system where it cost money to send messages to avoid spam. https://en.m.wikipedia.org/wiki/De-Mail

Uptake has been so limited, it‘s essentially useless.
Go to reddit.com
How about this? (As the copy operation implicit in x=x+y seemed ok.)

def _forward(self, x, context=None):
x = x.contiguous() if x.device.type == 'mps' else x
x = x + self.attn1(self.norm1(x))
x += self.attn2(self.norm2(x), context=context)
x += self.ff(self.norm3(x))
return x
And possessions can work this way too. Our house is chock full of stuff, but it's stuff that we have acquired during extensive travel around the world. Every tchotchke reminds us of some place we've been and the experiences we had there. The stuff is meaningless to everyone else but full of meaning for us.

Case in point: I have a cheap stuffed animal in the shape of a lobster. Out of context it's a piece of junk. But when you know that I bought it to commemorate the very first ad ever placed on Adwords (I was the lead engineer on that project back in 2000) -- a company called Lively Lobsters -- it takes on deep significance.
I'm not sure what you mean by "same behavior". I don't think you can externally distinguish between "x = x + x" and "x += x" in Rust, because while in the first case a new temporary value will be created, it will overwrite the left side value: x will be the "same object" as it's in the same address in both cases. In Python objects are stored indirectly, so after an assignment x will then point to a new object instead of the old one.

But yes, not making copies is more efficient so the same optimization applies.

Nevertheless, in Rust (or C++) the parameter x would not have been passed as a mutable reference into the function, so the value provided as input would not have been mutated.
I'm a bit of a cutlery snob. Most high grade consumer brands are way too expensive. We finally found Salvinelli Grand Hotel, after dining at a small Italian restaurant in Amsterdam. I actually called them back the next day to find out which line they had. Salvinelli only sells b2b, as far as I can tell, per dozen an item. Their Grand Hotel line is a heavy 4mm. 2 dozen sets of 6 only set me back €480.
Interesting how it visually changed so little throughout its production span.
Not strictly for review, but for serious publishing: https://arxiv.org
> Considering property taxes, do you really ever own your house?

Your basic point is correct. But, consider that a renter is also paying the property tax on behalf of the owner (+ some percentage profit), so you're always better off being the owner instead of paying it for someone else.
poetry is a game changer for sure.

I’ve found using conda, in dev, to provide system libraries and poetry (+ a build.py for our C extensions) to be a really comfortable experience.

In CI we use cibuildwheel to produce “statically-linked” wheel files. They’re not really statically linked, but they behave as though they are by bundling all dependent libraries into the wheel and doing some RPATH “magic” to look those kind up during runtime.

I’d like to reduce the delta between dev and CI at some point, but it is stable rn so I’m inclined not to futz with it.
I love that site! My son and I used to play on it for hours when he was in train journeys with me.
Adopting Poetry as the official Python package manager seems like the fastest path out of this mess.
Gossip’s Web is one of my favorite sources:

https://gossipsweb.net/
Plant-Based Meat Analogues Weaken Gastrointestinal Digestive Function
In
x += op(x)

mutation of LHS x really starts before RHS has been evaluated completely?