skysight-inc/HackerNews huggingface dataset:
"This means we need a way to represent loss functions in SQL, so we first introduce some necessary mathematical background and define the terms used in our implementation. "

Jesus flippin Chrikey kill it with fire. Academics; where do they come from?

Having scoped out a design for this, seen a design for it in a large corporate research lab, and noting that several large scale machine learning packages .... almost do it .... themselves: you just need to lay out the data in a memory friendly way, and you're freaking done. It's a completely straightforward task which could be done with any number of existing columnar data stores if it hasn't been done already. The only reason it hasn't been outside of (large research lab) is the type of skill needed to lay out the data in the DB properly and the type of skill needed to write efficient machine learning algorithms almost never exist in the same person. Then you get academics .... who think you need to write automatic differentiation in SQL to integrate ML with databases, having never heard of, I dunno, online BFGS or Pegasos, and, like, C.
If I could add a few more suggestions:

1. The blue on purple color scheme is a little hard on the eyes. Changing the blue lines and circles to #0f0 green helped a lot. (Green also has strong "on" semantics)

2. My SO and I both had trouble finding the trash can. We both tried to drag components back to the workbench or off of the mat to delete them. A larger trash can icon or just making it red might help.

3. I ran into some z-layering issues (at least on Firefox). Opening a component info bubble from the workbench displays under the mat. Also the "results" popup displays underneath any components that might be on the far side.

Overall great game though! I had a lot of fun with it. Thank you!
I work in UK FS in London as a contractor. The work is pretty lucrative (for the UK) but not overly exciting. It possible to make this sort of money (I do not) but it is extremely rare.

Most of the >£100k permanent (not contract) jobs I see have "Architect" in the title which typically means not just coding.

As an additional note, the UK contracting market is on a precipice at the moment with an uncertain future.
Well, all of those things still exist, though?
I kinda wonder about your history and other beliefs, because we think and do alike in this case :D
But HTTP/1.1 using multiple TCP streams means that, where there are a lot of small requests, there's a lot of bandwidth left on the table because the TCP window never grows.
My pessimism tends to agree with you.

OTOH social distancing and wearing masks has shown recently that (most) people are fine with changing their behavior, if necessary.
One of the Internet’s most aggressive threats could take UEFI malware mainstream
Yeah, this is a good point and something I learned the first time round.

Just because I (as a manager) had previously been willing to adopt bleeding edge tech with no hoops to jump through to eradicate hundreds of man-hours, doesn't mean that the average customer is.

If you're not representative of the typical customer/user, you need to find someone who is to use as a yardstick.

It doesn't automatically mean you're headed in the complete wrong direction, but it does mean a lot of your initial assumptions (pricing, deal size, sales cycle, etc) are probably way-off.
I don't know why there is this insistence on avoiding low co2 activities. The alternative to watching someone produce a lot of co2 is to produce that co2 yourself.

Someone who watches races or plays racing games could just as well drive to the circuit with their car and watch or participate in races in real life and cause far more emissions.
Does anyone know the motivation for this in bash? A quick glance at the git history shows this goes all the way back to bash-2.04. As a grumpy old *nix person I can't really I like seeing extra "features" like this.
The issue of piety doesn't even come up once in the whole article.
You're really projecting if you think normal people give a crap about expensive abstractions or even speed of development.

Most of those "abstractions" and "development" are working against the user anyway: most webpages have not added features in more than 20 years but still require more power because developers can't get their shit together.

Speed is the reason people bought SSDs. It's the whole core of Apple's M1 Marketing. It's probably the biggest reason why people buy new computers. Lack of speed is the reason I had to throw away my Smart TV after 8 years of useless upgrades.

People pay more for faster internet because they want more movies in bigger quality or to download big things faster. Not because they give a crap about your shitty app.

> Unless you have a performance issue that’s really pathological, speed really doesn’t matter for most applications

And that's only true because developers are constantly forcing hardware developers and customers to throw money at the problem.
> Who can do 25 cores in the mobile phone industry?

I'm actually curious why we have not seen many-core devices.
Typical desktop CPUs still only have 4-8 cores, as do mobile devices. (disregarding the many small hardware-management cores like SSD controllers, GPU management, modems, ...)

Why not have many more cores with different performance profiles, that then are dedicated to various tasks. Like a bunch of low power, in-order cores for background OS management or background apps like Slack that just check for new messages and send notifications, ...

Naively I would assume:

* the increased hardware complexity (wiring, caches, ...) makes this both cost and power budget prohibitive

* current operating systems are not really built for that world

* the benefits compared to current big/little designs with two hands full of cores are not worth the effort

Maybe someone knowledgable can offer more insight?
Data Center and Servers in 2021
You tell me why poor countries wouldn’t invest in solar, wind, hydro, or geothermal. (Hint: you have to build the infrastructure first, and not all of these are even practical everywhere.) Hydrogen isn’t all that practical as a fuel, and biomass just puts CO2 back into the atmosphere.

Can you think of a renewable source of energy that’s both attractive to poor and developing countries, and also practical?

Oil is easy. You put it in a tank, then pump it through an atomizer, and set it on fire. You can transport it easily, it works anywhere, and you can run a car on it. I know, electric cars are a thing, but not in the places I’m talking about here.

Electrical transmission across long distances, and, especially between different countries with different power grids is a nightmare.

What am I missing here?
> Our approach enables common machine learning tasks to be performed faster than by extended disk-based database systems or as well as dedicated tools by eliminating the time needed for data extraction

Data extraction time is insignificant compared to actual training except for trivial models. Databases can read hundreds of thousands of items per second while a model can only process dozens to hundreds.
When the topic of bloat comes up, I often point out that it's only a problem in certain software domains. High-performance game engines must (by definition) be performance-competitive or they'll be out of business. They don't bloat in the way messaging applications have over the decades.
> In contrast, I don't get React

What's the point of reviewing something you don't understand? I'm a tech lead as well within a remote team and I don't review such PRs.
The loaded script appears to be some free geoip/country detection service, that as a side effect, also does maxmind.com/en/solutions/minfraud-services/device-tracking - unsure what it's used for but it's probably for giving a single page app access to language or country by geo
Opstrace launches its open source observability platform
Why not do the code review with the other person and get them to explain what they are doing and why. You can cover any non-functional issues like styling, performance security as you go. Surely this is the point of working in a team?

If you don't really get/like React maybe you should do a small project in it?
The new iPhone (12? 13? 293?) comes without an AC adapter.

Because that is good for the environment :)
Starting for Euler's formula you can write cos(x) = (exp(ix) + exp(-ix))/2 so the cosine is in some sense a "type of exponential". If the cosine is a type of exponential then its inverse (the function that takes you to the angle measurement) is inherently a "type of logarithm".

This is a very handwavey statement. I would say a more precise statement is that the proper exponential and log maps are the "correct" thing to use to map multiplication to adidtion and vice-versa. They are exactly the maps that do this properly. The fact that cosine is a sum of exponentials means that you can write the inverse of cosine as a (slightly ugly) formula in terms of logarithms (arcos(z) = -i log(sqrt(1-z^2) + z). This is the sense in which the map to angle measures is a "type of log".
I think this would be nice to wait for a socket to be available instead of doing `sleep n`.
Oh please.

Tailwind’s entire premise stands on these pillars which are shaky at best:

- Developers don’t want to write css so they add insane amounts of nuisance in templates. Impossible to read the design language.

- The original author of Tailwind complains about naming classes in the css but Tailwind ironically names things that are “tx—-bb-4-2” or whatever the hell that means. No thanks, I’ll write “customer-support-card” or something useful. Maybe even more generic - “card”.

- Tailwind’s front page is everything that’s wrong with this. Moving around components with “mr-4” tags and shifting it up. Left. Right. Making it larger. That means that there is no standardized design language and you’ll create design that will have no cohesive unity. One component will have “mr-4” margin and another “mr-3”.

We have the technology. Sass can create compositional components with reusability and logical hierarchy. There is no need for this Tailwind nonsense.

Tailwind is a controversial project, not mature. It’s proponents think that others just don’t get it. No, we do. We’ve used it and it makes it very fast to get something working but that’s more telling about one’s inability to take the time to think about layout/design and writing proper sass.
Okay, and what good are those features if users are afraid to run the app lest it eat all their RAM for breakfast?

Like, if you just need to spit out a prototype to hit the ground running fast, then fine, but long-term there are pretty clear benefits to using the right tool for the job.

The "work faster" argument is pretty dubious on its own anyway; yeah, maybe web devs ain't particularly productive with Qt or similar frameworks, but desktop devs absolutely can (and arguably should) be productive with such a framework.
Time Flows Toward Order
The "you're the exception" excuse doesn't work here because no one is forced to buy a new phone every year, a new laptop cause the old one doesn't have nvme for Chrome, or a new dishwasher when the old one smells.

No one is forced to go on vacation thousands of miles away or throw out half the meat they eat.

It's all a choice, not a result of circumstances.
30 Years in and Arm Looks Stronger Than Ever
I don't see how this is tied only to the new M1 CPU.

All systems and OSes suffer the same faith eventually. That's why you don't use your machine from early 2000s with modern apps.

For me it seems that his statement shows some envy.
Pretty sure this is disabled at compilation time for debian based distros, at least.
Vision in ancient marine creatures drove an evolutionary arms race
I don't think we can assume costs will keeping coming down in a kind of linear fashion. To get to 50% renewable energy it probably will and I think this will happen by itself because there's a clear financial benefit to it. For the other 50% this may be difficult, but this is where carbon taxes probably will have to fill the gap, but this could also mean things like biofuels and carbon capture and a whole bunch of unconventional things we haven't even dreamed of yet will be cost competitive to further expansion of renewables.
Rot is decomposition of organic matter; rust is a chemical reaction, oxidation, in fact.
I think you're forgetting to ask yourself if you can do 25 cores with 5w, you can have 5 cores with 1w, which would be pretty damn good in a mobile phone if it's for real!
BBC Programme Explorer
TimescaleDB vs. Amazon Timestream
Maybe your familiar with it already, but Joe Armstrong had some similar ideas about addressable entitites: https://joearms.github.io/published/2015-03-12-The_web_of_na...
Austria/Vienna – the most livable place for software developers?
Does the 8GB variant have all 8 channels or just 4?
Five Lies You’ve Been Told About Sales
We have a certain amount of time and interest in the day; I’d rather spend time figuring out how to reduce the biggest polluters than rounding errors.
> the other advertised benefit of http/2 and beyond (avoid head of line blocking) turns out to be marginal at best

When I'm on a slow connection (EDGE, for example) I can clearly notice a difference with HTTP/2. The extra round trip times and potential connection resets they might encounter do have an impact that can sometimes be measured in whole seconds of loading. The same might also be true for those forced to use satellite connections for internet access, where latencies of half a second are common even with good reception and clear weather. Burst speeds are fine, as long as the data comes in over existing connections, for which HTTP/2 provides are real benefit.

Most websites still push half a megabyte of JS down your throat on slow connections, so there's not as much of an improvement as advertised, but that's not the protocol's problem. Of course there are no improvements on cable internet or faster, but there are plenty of people for whom protocols like HTTP/2 make a difference.

As for Kubernetes, it's a decent tool that solves a real problem. Automated replication and load balancing isn't trivial and for companies that need it, k8s, even on bare metal, can save huge amounts of development effort. It wasn't the first product in its class, it just became the most popular. There are plenty of alternatives available online if you just look for them. That said, most "cool" companies that use kubernetes because it's the "standard" or whatever should really pick something else because you waste loads of resources for nothing if your problem doesn't need a solution as complex as K8s.
It seems to be orders of magnitude more efficient though.

Is the focus on efficiency covering up that it can't scale up to be actually as fast as the m1?

It all seems a bit too good to be true, what's the catch?
That would cause inflation for the working class.
Big companies never want to give you a changed contract. It's a power trip thing and generally has nothing to do with what you actually want to change.
Installing Audio Capture Engine on M chip-based Macs
Let me teach you a secret: You don't need to memorize any trig identities, you just need to know Euler's formula and one or two more facts:

exp(ix) = cos(x) + i*sin(x)
[cos(x)]^2 + [sin(x)]^2 = 1
i*i = -1

That is, the complex number exp(ix), which lies on the unit circle in the complex plane, has real component cos(x) and imaginary component sin(x). Consequently, the line from 0 to exp(ix) in the complex plane makes an angle of x radians with the real axis.

Any complex number can be written as an exponent like rexp(ix), where x is the angle and r is the distance from the origin in the complex plane. Using this understanding, we can interpret complex number multiplication as a rotation in the complex plane:

(a * exp(ix)) * (b * exp(iy)) = ab * exp(i (x+y))

Ok, the above was a digression, let's get to the trig identities. Let's derive the double angle formula. We can start with the point on the unit circle representing an angle of 2x, and use Euler's formula to simplify it one way:

exp(i*2x) = cos(2x) + i * sin(2x)

Ok, we can also use the fact that a^(bc) = (a^b)^c to write the same expression a different way, then FOIL it:

exp(i*2x) = [exp(i*x)]^2
= [cos(x) + i*sin(x)]^2
= [cos(x)]^2 + (i*i)*[sin(x)]^2 + 2i * cos(x) * sin(x)
= [cos(x)]^2 - [sin(x)]^2 + 2i * cos(x) * sin(x)

Now, comparing the two expressions, we see that

cos(2x) + i * sin(2x) = [cos(x)]^2 - [sin(x)]^2 + 2i * cos(x) * sin(x)

Taking real and imaginary parts of both sides, we find that:

cos(2x) = [cos(x)]^2 - [sin(x)]^2
sin(2x) = 2 * cos(x) * sin(x)

This works for most identities you want to derive, and there is a variation for things like cosh and sinh. This trick came in handy on calc 3 exams whenever I couldn't remember the silly trig identities that were required to perform integrals.
tricky question, since it can be interpreted as the mRNA is safe.

First, no vaccine is 100% safe, I would talk about degree of confidence.
So in both my degree of confidence is low but lower in the case of the Oxford Astrazeneca.

The technology used in the mRNA has genetic instructions but it's not gene modification. those instructions are synthesized in laboratory. they will get to the cells and get transmit(message) their information to produce the coronavirus proteins to train our immune system (we already have natural mRNA in our cell to transmit information).

In the case of the Oxford Astrazeneca, we are starting from an adenovirus derived from a chimp, a living cell modified to not be able to reproduce itself, where we introduce a gene of Sars-Cov2 into the adenovirus(a bit like gmo).
Yes, their technology is "older"(80's) than the mRNA but it was never proven successful on human (despite some lab using the work proven) or with a high degree of confidence, The only vaccine existing today using this technology is a rabies vaccine to immunize wild animals never used on humans.

In both cases, I am a bit on the defensive. but inject a modified cell in my body, I would like to have way more innocuity tests, it's why I consider it has a lower degree of confidence for me.

Don't get me wrong, I am sure those technologies are the future of the vaccine, their potential is huge. Especially in HIV, Ebola maybe even some Cancer.
But I am very concerned by the push of those laboratories who could take the opportunity to put their technology on the market earlier than expected, especially when we removing some safeguard (at least for Europe who modified some regulation for them) And as well we can still use other "traditional" way like the inactivated virus already use since many years.

Big disclaimer: I am no virologist or even researcher. I am just a computer engineer.
I am spending dozen of hours by week to get information around all of that stuff, trying to cross check every bit to avoid the rampant disinformation in our current days.
What I said is my interpretation, It might be not totally accurate, hopefully, someone with better knowledge could correct my mistakes or approximation if there is any.
If you want to make your own point of view I can try to find all my sources I got when studying this subject.
It is possible to do with five. I found the/a solution by just trying out combinations.
No one is forced to murder either.
To each there own I guess. I've been using twin for a few projects this year and absolutely love it.

Overall I think opinions on HN are quite progressive, the only area where I've seen this being different so far is CSS-in-JS frameworks.

I think a lot of people already have an opinion without trying it, oh well.
What motivates an individual to join a direct selling company?
Thats quite cute. I imagine it is (doing something equivalent to) using the complex exponential and taking the real an imaginary parts? exp(iz) = cos(z) + i sin(z), so by working out exp you can get cos and sin for free.
There were lots lf problems with the testing, so now it looks like the FDA wants to retry Phase 3. The results already look underwhelming for old people though. I myself will go for an mRNA vaccine.
Reducing usage of technology can increase emissions through secondary factors.
It's a major inconvenience with a minor or even sometimes negative gain (real life activities like driving are more co2 intensive).

Reducing meat consumption doesn't increase emissions because animals already have to eat plants and they already fart on our behalf. If you cut out the middleman (the animal) you need less plants and also fart less. It's a major inconvenience with a major gain.
> The only reason it hasn't been outside of (large research lab) is the type of skill needed to lay out the data in the DB properly and the type of skill needed to write efficient machine learning algorithms almost never exist in the same person. Then you get academics .... who think you need to write automatic differentiation in SQL to integrate ML with databases, having never heard of, I dunno, online BFGS or Pegasos, and, like, C.

I'm curious. In your opinion, is there a scenario where there is a possibility and need to do what the authors have done?
That can definitely be the case. In our case, we sometimes have MR's that specifically mention things like "I did X as a shortcut to get this running, we will have to optimize this before we can do Y", which are totally fine and laudable.

However, we also have MR's where e.g. moving the mouse causes jank / slows updates down to <20 fps. Doing a paired review on those leads to the observations above: many developers simply don't know how to measure and optimize code, and even less how to estimate impact before writing that code. It would be easy to dismiss this as "bad developers", but I've seen it so many times over the last two decades that I think it runs deeper than that.

And then we all end up on HN with our favourite complaint: slow bloated Electron apps - except VSCode which is fast. The problem is not Electron, it's a systematic lack of knowledge and incentives about performance in the field.
I was thinking the support it at the ends and it will break explanation is lacking.

Thinking about it is you detonate an explosive under a boat it's going to create a shock wave that will hit the boat like a hammer and probably do a fair bit of damage to the hull before maybe the support at the ends thing happens.
That's true but the lingering issue is that if Boeing and the FAA collaborated in pushing the broken design through certification, how many other issues can and will they cover up that the pilots don't know about? I think most want this systematic problem to get fixed as well, the MCAS at this point is as you say hopefully solved..
Yes, also the core idea of the network came from him. There are a couple of interesting podcast interviews with Stamets. Fascinating stuff. He truly and deeply cares about nature and mushrooms in particular, has done extensive research over the years and has found a wide variety of applicable solutions.
I am not sure if you explored the links in the article but https://aem.asm.org/content/77/17/6076.full#aff-1 states that plastic is not "munched" (absorbed/attached) but biodegraded (broken down/dissolved) by the fungi. Also, the kind of fungi used is https://en.wikipedia.org/wiki/Pestalotiopsis and that's not a kind you'd ever have in your pizza, I guess.
I agree.

But in the UK people routinely buy houses/apartments on leasehold which means you only "own" it for e.g. 99 years (sometimes less). Crazy if you ask me, "normal" if you ask them.
It’s used a bit in quantum computing research.
CSS Classes Master Course Ever
> Can you guess which race were those teenagers?

Do you come on Hackernews every 2 years to write racist things? Your last comment is from 2018 and has the same white supremacist talking point.
https://dev.to/prodexia/ultimate-css-classes-master-course-e...