skysight-inc/HackerNews huggingface dataset:
>you have to start from the beginning and write an API now.

You could refactor your code to share mostly everything .
I have no idea how this templates system work though so maybe you need a different one.

so the API returns an array of users object as a json
the html side of things would have a render function that has as input the same array of user objects. What you will probably lose versus complex frameworks is magic stuff like 2 way data bindings but from my experience those always caused issue, I prefered the old react way of doing things, it was more "functional style" and less magic under the hood and I could(and used) JS and not a special template language with special keywords to render stuff.

Amway my point is yu can reuse the API code for the html render stuff too.
The reading experience on the website is terrible. Scroll through ads to find content? And then automatically get redirected to another site before you can complete the whole thing (could’ve been a fat finger on my part because of the number of ads, but still).
>> so that hate speech against Black, Jewish, LGBTQ, Muslim, and multiracial people would be taken down through an automated system

What about hate speech against white people, or Christians? Have these groups been dehumanized to the point where that is just considered completely acceptable and uncontroversial now?
What’s #3 Monstercat? That seems to be a record label, not playback software.
> Curious if you've actually received the exact same feedback from someone else listening to you sing vs your own thinking? Realize that might just be a stylized example

it's a stylized example, for noobs who find themselves offensive upon any listen-back. For example, the comment I'm responding to suggests "reading their own writing to be painful". This is clearly not performer-tier, which you clearly are talking about.

To flesh out the example, I was bad at singing initially. I could be in-tune in a certain range, maybe 1.5-2 octaves, but even then my timbre was off, my pronunciations were off, it was too shrill here and there, my range was limited, etc.. Easy things to figure out on your own; painful things to hear on playback.

Now, later, I have 3+ octave range, multiple tones I can accomplish, the ability to power voice / head voice / rasp / break / scream, so when I sing for people they are able to give me subjective feedback on my artistic expression rather than my technical shortcomings, so the feedback diverges from what I would think myself, which is fantastic.

My point is that you don't get to the "performer" stage where people critique your expression without getting to a stage where your own art/work is palatable to you yourself.

> Do you draft while you think and research? What's your process?

Yes, I write behind a main thesis statement, and I write a first draft and simultaneously I collect evidence for this point. if I come to some conflict in my readings, I let this fuel my learnings. I don't just brush it aside as confusing, and then publish my work, come back to the conflicting info in 6 months and realize my idiocy, and then be like "oh damn my opinion flip flopped again, oops".
Automation is here. The policies aren't. There's no reasonable policies anywhere on the horizon.

The problem is going to hit us all in the face soon, no matter how much we shout "but social policies will fix it" from the rooftops.
You're right but I see trouble operationalizing it.

(1) I reached out to a guy who was interested in sci-fi movies and TV to watch at my house, he didn't do it, I ended up talking to him in between a suicide attempt and a suicide completion and didn't have the courage to speak up but I don't know if it would have gotten through.

(2) The centering around alcohol is a problem. My doc doesn't want me drinking. Other people are recovered from alcohol addiction and can't be around other people who are drinking.

(3) It is easy to say maintain but a lot of people have nothing to maintain and really need a fast answer to build up a circle of friends.

(4) Intergenerational issues. People 10 years older than me just seem to want to drive buicks and go to the casino. I think I can relate to younger people better but maybe I am kidding myself.

(5) The role of women in all this. Sometimes I find myself trying to avoid "sausage party" events but maybe that's a mistake.

Hate to be the guy with objections.
I think you misunderstand what HTMX is
from the original source:

>They were proposing a major overhaul of the hate speech algorithm. From now on, the algorithm would be narrowly tailored to automatically remove hate speech against only five groups of people — those who are Black, Jewish, LGBTQ, Muslim or of multiple races — that users rated as most severe and harmful. (The researchers hoped to eventually expand the algorithm’s detection capabilities to protect other vulnerable groups, after the algorithm had been retrained and was on track.) Direct threats of violence against all groups would still be deleted.

>…

>But Kaplan and the other executives did give the green light to a version of the project that would remove the least harmful speech, according to Facebook’s own study: programming the algorithms to stop automatically taking down content directed at White people, Americans and men. The Post previously reported on this change when it was announced internally later in 2020.

https://www.washingtonpost.com/technology/2021/11/21/faceboo...
How Your 401(k) Is Helping Destroy the Amazon Rainforest
The term “era” in this context has to be interpreted as a personal perspective to not be confusing. The mentioned paradigm is not new nor does it replace/evolve from React and similar.
This company specializing in flashlights and pocket gadgets would like to sell you a fancy titanium "ear pick".

https://shopmecarmy.com/products/ei2-titanium-edc-keychain-e...
Notice: The latter portion of the video is NSFW.
We drive our SUVs until the local government complains about parents dropping off and picking up children ;)
> seems kind of obvious that any regulation that requires changing workflows would

How was it obvious it would change workflows before his comment? I didn't see discussion of the relative frequency of this type of action, and instead I saw much suggestion that "shady smelters" were necessarily involved as scrupulous shops wouldn't do this. The commenter's added perspective helped inform mine

> it in no way suggests why the changes would be a problem, or would be useless

You have no sense of why suddenly complicating the lives of blue collar workers with some regulations punishing a separate action would be met with resistance? I am not sure why this person would have to explicitly write this all out for you, it was obvious to me in first reading.

I suggest you interpret other's comments with a bit more charity, you are the one who is not adding to this conversation much more than the one you criticize for such because you are somehow unable to consume context or subtext.
That's about the price of a previous-gen video game console with a game or two, not really a luxury good IMO.
Cutting our emissions now will be painful (precisely because we waited so long to do anything). Not cutting our emissions in time will be ruinous. These two outcomes are not in the same ballpark, hence the dichotomy. Moreover, if we collectively choose to do so, we can put the bulk of the burden on the very rich so that the economy—which is driven by middle class spending—remains strong.
Using Answer Set Programming for very general package solvers
MongoDB Atlas Data API Is Huge for No-Code/Low-Code Automation Tools Like Tines
The Grizzlies beat the Jazz 119-118 with Jackson's dramatic finish
How did you make bugs before StackOverflow?
Jaren Jackson had a season-high 26 points to lead the Memphis Grizzlies to a 119-118 victory against the Utah Jazz on Monday night, winning a jump ball and sh...
Dream big. Aim small.
Explain it closely to me then. What is HTMX doing that enables someone to write HTML attributes that make arbitrary actions that update the DOM possible?
Wordpress just works for most people. A lot of freelancers and agencies also make good money making and maintaining websites on WordPress. Admittedly it's not the best code ever written but it does a job quite well.
> Rust :

You’re using the default hash function, which is SipHash 1-3, which is known to be quite slow. Not horrendously so but it was picked for attack resistance.

If you need high hashmap performances and control input (or have a rather safe type) it’s pretty common knowledge that you should replace the hash function with something like fnv or fx.

You’re also allocating a ton in a hot loop, also a known mispattern. I’d expect C++ to also be greatly affected there.
Android and iOS config-driven experiments that don't require releases
Ask HN: Becoming a JavaScript Expert
How much knowledge is expected from a JavaScript developer before he/she can be considered an expert in the domain?

I am reading Addy osmani book on JavaScript patterns, not sure if the patterns he mentioned in the book are still relevant given that React and functional programming style are all the rage now.

What are you thoughts on this?

AND

What are the things in JavaScript world should i focus so that companies come to me for head hunting instead of me going to them?
This is a moderation issue. Also the issue of Facebook as a product vs classic forums. A forum dedicated to transit would have subforums for political discussions, and a subforum for free for all. On Facebook I am not even sure that is possible in the same way.

But implementing a whole site filtering mechanism for derogatory art sounds like an extreme measure.
Yeah, good point, as opposed to anonymous pipes, which also still exist.
Creeped out: how much power we have given Google in exchange of pictures of cats
SpaceX put a telescope with a mirror 10x the size of Hubble's at the Sun-Earth L2 point? I missed that bit of news, but impressive!
Right. It uses JS but you don’t write any. Or very little. Or in a custom DSL/framework.
It doesn't matter. People have convinced themselves these measures must work or "the experts" wouldn't have recommended doing them. The reality is they are participating in a giant uncontrolled experiment. There is probably a reason no society ever attempted to do this in the past (and probably will never do it again in the future). It doesn't work, and if it did, the benefits are so minute that they don't outweigh the immense societal costs.

The very fact that people can legitimately question the efficiency of lockdowns means they aren't worth it. For lockdowns to be worth the cost their effect should be so apparent and dramatic that any reasonable person looking at the data would see it was worth it. If you need PhD level math to discern the difference between your control and test groups.... it means even if lockdowns work they aren't worth the cost.
Sounds like you never used Vercel now AWS. I wouldn’t call AWS “super trivial” nor is Vercel equivalent.
That's interesting. That makes me think of all the times a frontend engineer has tried to get me to put display logic in backend APIs. Their arguments were:

- We can update the site without deploying code changes

- These configurations can be actual configurations in our administration site, vs. code in the frontend

- Dramatically simplifies the frontend

My counterarguments were:

- it doesn't make any sense to `GET /songs&limit=50&offset=1000` and also get ordering information or what have you, which changes the mental model from data store to application state store

- we're not lowering complexity, we're just shifting presentation information to the backend where it certainly doesn't belong (imagine having to list songs in two different places that are presented differently--is that a different endpoint, a `scene` parameter, blah blah blah)

- this information almost never changes

But taken to its (I guess) logical conclusion here, where there's a sufficiently smart generic HATEOAS frontend, it's pretty cool?

But I also guess it's not really different. Something has to know what order the buttons are in. If we're looking at the chain of a web stack, we have:

[DB] -> [API] -> [Frontend]

Doesn't it just seem like presentation stuff goes where we do the presenting? I think people's issue with HATEOAS is that we actually wanted an RPC backend where frontends control every aspect of the presentation, and HATEOAS wasn't just extra bloat, it put a straightjacket on design and asked backend engineers to start sending HTML again.
That would entirely depend on the local laws in your jurisdiction. In the US there is no law against creating or publishing racist content. (I'm not claiming that it's morally right to do that, but it's not illegal.)
> git bisect is the "real" way to do this, but it's not something I've ever needed

uh, yeah, you did need it, that's why you came up with "2. Track down a commit when a command started failing". Seriously though, git bisect is really useful to track down that bug in O(log n) rather than O(n).
this needs clarification -- the Operating System under Mac OSX is designed during the Great-TCPIP-Expansion, and is NOT chatty, in fact things that were chatty were slapped down regularly. Since then, the MBAs at Apple Inc have built their "I Phoney" world, and certainly have added stupid chat. The details matter, for those that wish to move forward
I did web development work in the early 2000s (PHP, MySQL) and briefly in 2013-2014. In the past few years, I explored a recent version of Angular, React, and some other framework.

The tooling seemed really nice at first, but I was actually shocked at the number of dependencies and just the overall complexity with all the layers of abstractions.

Fundamentally, these are still websites. I honestly see this as people getting bored, inventing new things to deal with their boredom, and the rest of the industry follows.

Meanwhile, the services I was writing in Java like 10 years ago haven’t really changed. We agreed Spring sucked and moved on. At a FANG where I work, we use Java and Kotlin. A lot of my data crunching jobs are in Scala. We did start using Rust for shared libraries deployed on mobile operating systems… because the entire team preferred it over C++.

But I come back to web development and there’s always a new flavor of solving the same problem. /shrug
TCP server cannot assume the security context of the client, thus privilege elevation attack can easily happen.
Opt-in vs opt-out makes a huge difference.
Gundam Wing! It's not a huge commitment either - 50 episodes plus a couple movies.
Strongly agree and thought I was alone in this thinking. A flashy new web-design makes me immediately think "VC, smoke and mirrors salesy BS, here today gone tomorrow". If I don't see links to "Screenshots" "Docs" and "News" immediately in my view on the landing page, I peel out.
Just watching the trailer I thought that this is by far the most beautiful animation I've ever seen. I can't imagine the amount of work it was to paint all this stuff. The only fault I found with it is the face animation. The beautiful faces move in a stiff way that seems out of place.
List of recommended higher math websites
The difference is subtypes being treated as super types, ie, OOP stuff. Type erasure is different in a language where basically any typed value could also contain a value of any subtype. All those other languages you mention make that functionality opt in, which is why they aren't object oriented languages.
> 80% of the team is not in Europe either, with the entire management team in the US.

Is that really the case? Their main R&D center is in Romania and it's huge.

If anything, it's probably the other way around since management is the top of the pyramid, which kind of by definition, is not a lot of people.
How so? I feel like this is just unfamiliarity / resistance to learning. It's not like these new tools prevent you from accessing their internals. The internals are all still "right there." They just have internals that have been engineered for efficiency over composability or observability.

For example, journald. People know and understand "rotated-gzipped text .log files in a /var/log directory." People don't know, but more importantly, don't want to learn, this: https://systemd.io/JOURNAL_FILE_FORMAT/. It's a simple format, that makes perfect engineering sense as a format optimized for the goals it's trying to accomplish. But it's not text — not the thing a greybeard sysadmin has spent the last 40 years working with — so it's "hard."

Instead of just learning this format and writing tools to interface with it, people instead think of this data as being impossible to access, somehow "locked away" behind journald / journalctl, as if there were some kind of DRM put into your OS prevent you from accessing your own log data.

As it happens, though, journalctl already builds in support for manipulating this data with POSIXy text-based tools — getting your journal as JSON is one `journalctl -o export` away.

But nobody knows about these features (I only just learned about it now, from the link above!), because nobody talks about these features, because the tooling already solves 99% of the real-world problems people encounter, and so it's very rare to actually need to script against the journal.

And if you are in that 1% use-case, maybe you're e.g. engineering a distributed log-ingest system for efficiency; in which case you wouldn't use `journalctl -o export` anyway, but would rather link to journald's C API to parse the journal directly, because that's what's most efficient, even if it's less convenient/UNIXy.

-----

This is similar to e.g. how people pushed back against SPDY/HTTP2.0 for being a "less debuggable" protocol, just because it's binary rather than text-based.

Of course, it's extremely rare that anyone needs to actually debug the transport, rather than debugging their own application-layer protocol they've built on the transport. And because every server and client that speaks HTTP2 still also speaks HTTP1, every application-layer protocol flowing over these links can just be debugged using HTTP1 messages.

But even if you have that 1% use-case where you need to debug the transport, there are simple POSIX-pipeline-y tools to bijectively map the binary wire representation to a text-based one.

But again, when you hit that 1% of use-cases, you're probably a professional doing something weird, such that you probably want to pull out WireShark to analyze the complete nested app-in-HTTP2-in-TLS-in-TCP-in-IP-in-Ethernet packet capture in its original binary form.

And so, even though those bijective HTTP2-to-HTTP1 observability tools do exist, nobody thinks they do, because nobody talks about them, because everybody with the 1% use-case is likely solving a large-scope problem for which the simple UNIXy solution is "underpowered."
The headline’s framing is absolutely yellow journalism.
I'm personally quite curious as to how they managed to achieve such painterly lighting. Even with aggressive post processing and touch-ups, they had to have been doing some shader magic to achoeve the base of the effect.
Bay Area Mobs Loot for Third Straight Day in a Row
SF Mayor London Breed: Step the fuck down now!

You should be arrested under RICO! You should be sent to San Quentin you illegitimate socialist pieces of shit!
According to the article, junk yards buy them with proper ID. I assume if you're only selling one a single time, you won't have a lot of trouble
... nonsense! EU startups are not "talent" but capital limited. Boring or not, EU startups lack money to develop their product to a decent stage, grow to a sort of minimum size to be taken seriously, etc.

It's not magic though. Keeping a company alive takes money. (And if it's the investors' money it's called capital.) US startups pour a really ridiculous money into growth exactly because they want to break out of this stage. And naturally that's risky.

Of course if the access to capital was a lot easier compensation would be higher too.
It's good they're publishing these; I'll squirrel them away until the hardware comes up cheap on ebay.
You're not going to be seeing very many stars there, either. Your tin can's not going to have much in the way of windows.
The TSEC is basically a smart card built in to the SoC.
It’s done with JS but that’s all written for you. But as a bonus, LiveView apps do work without JS (they just aren’t updated over web sockets anymore).
I am neutral on crypto but this ban is not surprising. The amount of fraud, mis-selling was so rampant in recent times that there were increasing number of calls for govt to look into it.

For short term this might be ok but in medium term the govt should study this space, do broad consultations and bring some regulations instead of banning it.
> that was around PHP 7.0

7.0 is when php switched to open addressing: https://www.npopov.com/2014/12/22/PHPs-new-hashtable-impleme...
Perhaps you haven't seen https://userinyerface.com
The article seems to be struggling to state its purpose: give useful feedback, but don't be a jerk.

The author dances around English vocabulary definitions in this article: soften, kind, nice, actionable, rude, useful, direct, bottom line. It'd be much clearer to title the blog: how to give useful feedback.

I seem to dislike many chosen titles of blog authors. They're incentivized to have great titles regardless of the bottom line of the article. This article doesn't take its own advice, which is to get to the bottom line. There's so little about "soften" in here, why is it in the title?
Seems like the cure for all of this is for politicians to get around to making it federally legal. That would involve going against their lobbyists / donors so not sure its going to happen any time soon. Would be pleasantly surprised if it did though.
Literally go fuck yourself.
Y, hopefully this can help us move off Go for some of our stack. Not that Go isn't a great language, but there are some cases where our external devs want to use other languages to extend/override base workflows, and Javascript is the #1 requested language.
You’re intentionally missing my point.
If you're ready being paid below the RH data, your bosses probably don't think those high numbers from e.g. levels are real, so the RH data can still give you something to take into compensation discussions. Also, if RH only includes base comp...
My 2c - big companies pulling out of Europe would be a welcome opportunity and not a crisis for eu
Of all the conspiracy theories out there, this one, to me, has the highest coverage-to-interestingness ratio. It just seems like a teen hacked an AV system and did a goofy presentation. I'm surprised that type of thing isn't more common, and I'm befuddled as to why this one gets so much attention.
> Ideal for what purpose?

To shove it at companies like Tencent who will ban you for trying to run WeChat in a virtual machine, and restore freedom to the user to run software how they want. WeChat also randomly scans for Wi-Fi networks, I'm guessing they sniff VMs with tricks like that.

It should also be a violation of disability law to force users to use a hardware mobile phone to run a particular piece of software. VMs open the doors to custom accessibility solutions.

They shouldn't even have the right to know what it's running on, they should just hand me bytecode of a suggested (but not required) client, and open a port on their server for service.

Also in general to shove it at any company with potential spyware. I always run unknown closed-source software in a VM and I should have the basic right to do that. But sometimes those companies try to detect VMs. If the VM engine is good enough they shouldn't be able to.
Yeah, I felt pretty ripped off by NASA :-) As a kid I fully expected to be spending vacations on the Moon by 2010. If Starship meets about 65% of the vision SpaceX has for it I have some hope that I might be able to go into orbit before I die.

All in all though, what NASA really needed to make this stuff real was what SpaceX is working to provide, sending tonnage into orbit at an economic price.