skysight-inc/HackerNews huggingface dataset:
You may need the .map() for styling based on status but

const isLast = i === cards.length - 1
const className = "card" + isLast ? '' : 'card-margin'

Seems funny to argue for JavaScript's simplicity while using .map() and an anonymous callback function; a good ol' for loop would make it more clear what's happening.

> all in one place and in one language

That seems like the real reason, keeping to one language.

I think following the rule of least power [0], having HTML semantics do what it's good at, CSS what its good at, and JavaScript for the rest is best for robust and performant outcomes.

<Card className={className} />

I only have a little experience with React and that was a while ago, can you not have the Card typed as an Element to use `Card.classList.add(className)`?

[0] https://en.wikipedia.org/wiki/Rule_of_least_power
To test whether your memory of a pitch is correct, you can just sing a note then listen to a reference sound in close succession. Absolute pitch ability is not required to tell whether pitches match.
“We are just getting started.”

We have hundreds of projects that are ready for public consumption. We have over 200 developers that contribute code together in the federal judiciary. Watch this space. It’s coming.

In the meantime, take a look at:
- Code.gov
- data.gov
Keeping a tiny bounded lookahead is essential for the extremely fast and memory-efficient parsing that browsers want for CSS. Sass, less, &c. don't really have to care about that, and they have the benefit of also being able to completely trust that the user won't give pathological inputs - unlike browsers on the web. Also, I think the standards bodies want to minimize their changes in general, to keep the door open for unexpected changes later.
Wouldn't that only really apply while doing intensive memory accessing. Something that you would probably only be doing a very small percentage of time.
Mandatory fees are rent-seeking either way, it's just possible that imposing the rent is justified.

Off-hand, I'm not convinced. I'm leaning more and more against systems designed to prevent free riders—our culture is so primed to value "fairness" that we're willing to impose significant net harm to achieve it. I usually think about this in terms of public policy (free public transport, subsidizing the unemployed/homeless/etc...) but I think it applies here too.

I would not be surprised if a union that had to justify its dues to workers would be more effective for workers than one with mandatory dues because there would be more direct pressure for the union to be transparent and effective. I am not entirely confident in this though, in large part because I don't understand the politics around unions in practice! Mandatory dues do seem like a viable point of leverage against union-busting attempts from management, which could be a more important effect.
I exhibited at VCF West this year, my first time. It was a lot of fun. I hope that visitors had a good time, but the interactions between exhibitors were almost as fun.
I don't think it's about admin powers, but about having to type commands to fix things. That's not the same as just clicking 'allow' in UAC.
And then you can’t nest one container into another, because there is only one “margin” rule and they don’t add up. You start to wrap children into separate containers only to find out that it breaks more and more “nice and simple css tricks” you used before. Eventually you end up with half-broken bootstrap/etc clone that even supports component design if looked at from afar. After few weeks it starts to feel like not using components at all would be much less of a maintenance. Css “tricks” are full of these situational traps.
Lots of things. To name a few - printing literature, building a website, salary for a coordinator to schedule the hundreds of meetings that will come up, and salary for a communications expert who can strategically articulate your position to legislators and their aides.

I know all of that sounds distasteful to some people, but the alternative is not the utopia they imagine - it's Chinese authoritarianism.
I can relate. Everything is approaching a bland, grey state of "it just is".

Well, I do still talk down on and find myself frustrated by not progressing my career, but I think I am on a precipice of no longer caring. Reading HN too much is not good for my mental health though I suspect.
There might be hope for Star Trek:Deep Space Nine yet!
Server push is deprecated.

- https://groups.google.com/a/chromium.org/g/blink-dev/c/K3rYL...

- https://evertpot.com/http-2-push-is-dead/
> ...There is a similar thing about music theory where people from the IT side tend to approach music as though it is something you cram some theory for and then you can go and make it after you pass your exam...

Theory offers some shortcuts, like circle of fifth, chords, composition, rhythmic patterns etc. which one could of course discover personally, but if there's any focus on a particular style of music, then there's a respective theory package for learning that, just like with any craft.

In any way, practice and really doing it, while it's still fun, makes the real difference!

Btw, perfect pitch is a nifty shortcut too. I can imagine an excitement of being able to read store signs easily for the first time, it probably could be that liberating with the perfect pitch (guessing here).

...Just to eventually find oneself drowning in the sea of meaningless text around our lives, just as a miriad of music sources may turn into a meaningless yet pervasive cacophony.
I wonder how much alternative number representations have been studied for use in matrices. Like, storing the log of values instead so that multiplication can be done by just adding. Or something like Zech's logarithm. Or even, take the log of whole matrices (which is a thing apparently [0]), then adding them to compute their multiplication. I wonder if the logarithm of a matrix can be computed using ML.

[0]: https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
Came here to post this. Eddie Woo is fantastic math channel.
software engineering is decades behind other engineering disciplines; it's in the phase of elixirs, etc; that's why it's "so hard" because the industry is optimized around various insular self-reinforcing patterns; like recruiting practices in the movie Moneyball;
CaixingGlobal.com
SCMP.com
GlobalTimes.cn
fmprc.gov.cn

You have to read all sides and then think for yourself. Hard to find impartial point of view. Sounds a bit delusional. Most humans live in physical bodies and are victims to a large extent of geopolitics
Your recommendation is not "especially helpful for beginners."

It's spam promoting a web dev firm
The dot-product of two vectors quantifies their similarity -- in fact, we call it "dot-product similarity" in a nearest-neighbors context: If the dot product > 0, the vectors point in similar directions; if < 0, the two vectors point in dissimilar directions; if = 0, the two vectors are orthogonal.

To make it more explicit, dot product of two vectors is just cosine of the angle between them, multiplied by their lengths.
I responded to the child comment, but I do have to say that this kind of dismissive aerial view of all world history and the progress made toward freedom in liberal democracies in the last 200 years really irks me, and has a decidedly millennial / tweet-like ring to it. It's all nice and great to have theories about how everything is fucked and all government is corrupt, from the relative security of a permissive western country where you've never lived under anything resembling totalitarian oppression. Worse is to believe you actually are a victim suffering under it and have no choice but revolution. A more rational and educated stance, undertaken by generations of civil rights activists before you, is not to dismiss the entire premise of government as a pure ugly display of power, and instead to fight tooth and nail against the individual attempts that culminate in its going out of control (in contrast to saying they'll get away with everything up until there's a revolution - which again, is defeatist posturing).
Surely the taliban could make use of a few of these.
The networking overhead of serial requests would be reduced by multiplexing in Http2, i.e., multiple http requests/responses can reuse the same tcp connection in parallel...
That’s not that big of a problem, as you can easily reduce the problem of multiplication of rectangular matrices to multiplication of square ones.
I haven't ironed anything in a decade or two. After trying one of those steamer irons, which promptly broke.

It had been working, and I wondered how much the heat was a factor. So I replaced it with a $1.99 fine spray bottle from Ikea, and it worked just fine! Saves a ton of electricity and time.
I don't understand what "confusion rate" metric was in the article. Also don't see any comparison with original high-res image so that we can see how true to life the generated images look?
By this logic, the average person shouldn't trust union bosses, as there are incidents where union bosses commit violence to achieve their ends (the mob/racketeering history).
no - simply refreshing memory state costs power. The DRAM memory refresh cycle happens about every 60ms. In the background, memory cells are constantly read and rewritten.

Power consumption adds up pretty quickly.

https://en.wikipedia.org/wiki/Memory_refresh
Enabling Seamless Kafka Async Queuing with Consumer Proxy
I always feel these sorts of posts are misguided. They portray VSCode gaining market share as something other than an marketing investment by Microsoft. Similar vibes go for why Java rose to popularity.

At some level, to build a market, you have to invest in marketing.
Large projects usually fail because of politics/resources/… Not because of the programming language used. There are successful and failed large scale projects in almost any programming language.
Um yeah, what's the virus going to do, die off?

Of course not, it's going to mutate and continue to survive in as many hosts as possible. A mutation that's more easily transmitted but less deadly (which jives with the lower death rate count lately).

There is some irony here that would be funny if it wasn't so sad. The news calls this "the pandemic of the unvaccinated". In all likelihood the delta variant came from someone vaccinated and the vaccines do next to nothing to stop transmission.

The solution we're told? More vaccines of course (no I am not making this up).

Meanwhile studies come out weekly which prove natural immunity from a previous infection is more effective than the current leaky vaccines.

Not only is natural immunity superior to artifical or vaccine induced immunity, it might be our only way out of this mess.
This can be really useful in criminal investigation.
I dont think server push is a thing anymore, but preload hints (<link rel=preload) might work just as well for this usecase.
If only we had <sizer> (or display:sizer) element that could expand, disappear on wrap and not count as a regular child (sort of like a space in a text node)… But that would be so '90s.
'Market forces' are just what people want and are willing to pay for.

Of course, there are always enlightened and sophisticated people like yourself that know better what's good for the unwashed masses.
If you like some of the art others have mentioned in this thread, the very analog and mechanical art by James Gandy might also be of interest:

http://www.jamesnolangandy.com
Scammers pounce on internet-for-rent services generating cryptocurrency in quiet
Easier method to deal with monthly payment...Create a purchase order with 12 lines. One line for each month with dollar amounts defined. The purchase order serves as the "approval" so Accounts Payable can process without asking for coding information.

Example: I only have to revisit licensing once a year, to create a new 12 line purchase order. It's still a pain but I prefer purchase orders vs dealing with credit cards. In addition, querying expense history for purchase order lines provides far more detail vs querying a credit card platform. Credit card history tends to go into a black hole.

One possible hitch...Some companies might restrict Accounts Payable from receiving purchase orders for separation-of-duties reasons.
And I am suggesting we should do careful cost benefit analysis, instead of just assuming that our favourite pet causes will surely come out ahead.
I have a cochlear implant and strongly disagree that it prevents me from enjoying music. So much so that I've taken up piano lessons again after a break of 20+ years.
This is less upscaling and more using a seed to generate a believable high-res image. Which is interesting in and of itself, but I find myself mostly wondering how much variation you can get from the same starting seed.
Facebook doesn't allow 2 accounts for the same person for account security reasons. This is also why they tried to get so aggressive with checking ID cards to create facebook accounts. So either you delete everything from your personal account before linking, or link it as is.

Source: Relative who joined FB recently
So many of these upscaling technologies feel like the sketch of crime scenes. Artistic, to be sure, but probably not as good for actually filling in details as we'd like. And downright dangerous if they set unreasonably high expectations of fidelity.
Antitrust regulators do.
I dont think that helps much in this case (or not any more than http/1.1 keep-alive did).
You may want to provide a contact method in your post or your profile because there is no pm feature on this website.
Antitrust regulators don't care about the size of the trusts they're meant to regulate? Interesting.
This[1] is a very good explanation.

[1] https://www.quora.com/What-are-some-amazing-coincidences-in-...
This is generating a fantasy face. To use this kind of AI-generated content as if it was factual would be terrifying.
This is the way.....
How? We don't trust machine learning to match faces, why would we trust it to recreate faces? Genuine question.
I think it really depends on the type of work and people involved whether east/west can work well.

We're working with some contractors with a 9 hour time difference between headquarters and their office, but having really efficient weekly check-ins against concrete, written goals, good async communication, and a lot of people scattered in timezones in between is helping us succeed.

It definitely takes coordination and a good team, but I think it can be really useful. Most of the experts for the super specific thing we're working on are actually in Europe, so it would be more challenging to do this project if we limited ourselves to north/south hiring.
For identifying persons of interest from bad footage perhaps. Not so much for positive identification.
Poor rich, rent-seeking property owners being abused by actual poor people who have no choice, no assets, and income reduced or eliminated by a global pandemic.

This is a cherry-picked example to demonize the poor and demand evictions in the name of profit.

The homeless and very poor rationally should demand housing.
> Also don't see any comparison with original high-res image so that we can see how true to life the generated images look?

Was wondering about that too. It certainly produces realistic-looking high-res images, but especially when the article talks about potential uses ranging "from restoring old family photos to improving medical imaging", it seems like accuracy may be more valued than "looking realistic".
Try Racket and DrRacket.
https://en.wikipedia.org/wiki/Christian_mysticism

Historically, Christian mysticism has taught that for Christians the major emphasis of mysticism concerns a spiritual transformation of the egoic self, the following of a path designed to produce more fully realized human persons, "created in the Image and Likeness of God" and as such, living in harmonious communion with God, the Church, the rest of the world, and all creation, including oneself. For Christians, this human potential is realized most perfectly in Jesus, precisely because he is both God and human, and is manifested in others through their association with him, whether conscious, as in the case of Christian mystics, or unconscious, with regard to spiritual persons who follow other traditions, such as Gandhi. The Eastern Christian tradition speaks of this transformation in terms of theosis or divinization, perhaps best summed up by an ancient aphorism usually attributed to Athanasius of Alexandria: "God became human so that man might become god."[a]
I'm no expert in parsing but my gut tells me there's no way this can actually be a performance concern as much as a implementation complexity concern
I actually disagree. You are expected to do your job well. If expectations are high (as they should be) then meeting them is great (ie: meets = you get your target bonus.)

Exceeding expectations is above and beyond "doing well."
It’s probably a tool that could be used for generating a likely appearance for helping to find a person to interrogate, similar to eye witness sketches. I would hope it’s never allowed at trial though.
Go buy a couple of singles off iTunes over a couple of days and see how long it takes to hit your card.

Apple has always deferred charging cards to minimize processing fees by bundling multiple purchases together.
>borrow at 3% invest at 10%

There is a reason that is an old banker's adage. My response would be, why would you loan to me at 3 when you could invest at 10? The answer is risk. The banker knows how to calculate risk.
TigerLake-U no longer officially supported S3 suspend
These cycles are interesting to observe from afar:

Financial bubble: People complain about not making enough.

Three years later after S&P falls 40% and massive layoffs: Same groups will say "I'll take anything, so glad to have a job"
Japan finds another Moderna vial suspected to contain foreign substance
> I think hardcore Lispers see stuff like a Lisp GUI and natively-graphical Lisp editors as pointless bells and whistles – Emacs was good enough for John McCarthy and it still is for me! – but they really are not in 2021.

That's almost the last line of the article, but it hasn't established any credible argument about why "they really are not in 2021" other than a much longer form of the same assertion.

> Summary: You have to get in there and compete with mainstream, play their game by their rules, if you want to compete.

1. Why does someone want to "compete" ?

2. What would you be competing with?

Convincing people that they could & should use Lisp instead of Python or Swift is facing stumbling blocks far, far larger than the user-experience in an editor/IDE.
Maybe Gentoo is the closest thing.
Contrast: A macOS app for quick access to WCAG color contrast ratios
Yeah, a big fan of what they've designed - just waiting for version 2 so that all the production bugs are discovered and ironed out. Hopefully v2 will come with an AMD processor.
As it intentionally looks like HTTPS traffic, that's a different game; you kind of have to whitelist rather than blacklist.

Here's an idea that supposes you have some server available: Force all traffic over your network, even when roaming (VPN). Squid+Privoxy as HTTP proxy (your choice if you want to DPI and add own TLS CA as root on devices, in which case you can actually block it, or just do HTTP CONNECT). Optionally also set up a SOCKS5-proxy (microsocks). Configure all applications to go over proxy. Applications that don't support it can usually be "proxified" with tsocks or proxychains4.

Now you have more fine-grained control over your traffic. You can do fun stuff like setting up several incoming ports, several outgoing proxies (including Tor/I2P) and allow/block based on destination, domain, protocol, etc.

Finally disable outgoing traffic on your devices/route to a black hole. Or route it via your VPN at least, where you can do some rudimentary stuff with nftables/iptables. Oh, and something not everyone knows: you can route traffic based on uid/gid on Linux, so on your workstation you can leverage that too selectively control traffic on an application-basis.

On non-rooted Android and iOS, I suspect this is not perfectly achievable but if you have the time you can get pretty far otherwise. It's an arms race and I feel like we can keep up.
My understanding is that they present people with two images, the real original high-res image, and the upscaled image, and ask "Which of these is the real image". The extent to which people are confused demonstrates how good the algorithm is. If it was perfect, and there was no difference between the original and upscaled then you'd expect people to pick each image about 50% of the time randomly.
There's work CSS scoping going on as well.

https://drafts.csswg.org/css-scoping-2/

Yet another thing Miriam Suzanne has been working on is a proposal for CSS Layers. I think it's a way of declaring what styles should "win" when specificity is equal instead of "last one loaded wins" or using the very crude `!important` tool. This could be particularly helpful if stylesheets for 3rd party components are loaded dynamically or on platforms where the style author doesn't have absolute control over stylesheet order.

https://drafts.csswg.org/css-cascade-5/

All of these will take some time to get right and then some patience for older browsers to die off (or decent fallback strategies, I think all these would be hard to polyfill).
Absolutely. The people who can come up with the right tools to motivate at home workers, will be very rich.

Human failings are always a super-large business opportunity.
I found the compounding errors quite interesting, especially with the dog. The pixel changes originally caused by diffraction of light around the edges became a quite distorted skull shape with a rounded muzzle that resembled a poorly-done taxidermy job. The original photo of the line of teeth with a single dark spot is transformed into a bizarre serpentine line of teeth that would never exist in real life.
>If I were developing an embedded project, I don't know about you, but I would suggest focusing on the project itself might be a nice idea, not wasting time on things like a custom OS.

And that's why you're probably not working on embedded. Minimal environments with almost zero footprint is a must in almost all cases. If you're rolling a custom board, you simply have to go custom, which is where OpenBSD will fall short on you. Check Variscite's or Toradex websites and see if you find any BSD in there.
Nice one. Somehow I've never chosen a C reference. That's a good one.

I use the two intro notes to "Don't You Forget About Me" for D, E.
They're mostly out-of-touch since they're isolated from the reality of everyday hardships and believe they're entitled to wealth extraction, what do they care? They don't care about the janitor at a subsidiary making $11/hr and living in their car when they could afford $18.
This supports the article's assessment that "it may be better thought of as a continuous spectrum." Long term memory for the key or opening note of a particular song seems to be a more widespread skill than naming the pitch class of a pitch without such context. From wikipedia: "People who are not skilled singers will often sing popular songs in the correct key, and can usually recognize when TV themes have been shifted into the wrong key." https://en.wikipedia.org/wiki/Absolute_pitch#Pitch_memory_re...

See also: "The Levitin Effect" https://www.youtube.com/watch?v=x1CBPV1_uTI
To save a few clicks, Elmhurst is a suburb of Chicago, IL.

Do people lug their vintage machines to the event, or is it more of a software-based meetup?
Comment unclear, will recommend Pixel with GrapheneOS anyhow. Fingerprint feature is useful.
Handing out Dale Carnegie books to Lisp evangelists would be a good first step.
Heh. You'll enjoy this:

https://www.youtube.com/watch?v=P4fuXCBJLKc
It’s pretty easy to verify that apple paid the credit card feeds from their cut, brief googling reveals many articles like this one:

https://nypost.com/2004/05/07/apple-tunes-up-price-of-hits-m...
Yep. That's how Apple hardware is dirt cheap.