skysight-inc/HackerNews huggingface dataset:
Sockets are very new. Way back when, you'd either use COMET, which was a connection that the server wouldn't close, and you'd append data to it, for the js in the browser to use. This was one directional, so going the other way still required separate requests

For real bidirectional sockets, it was common to make or use a small flash file. You'd talk to it with js, and it would handle the actual socket stuff. Worked pretty well
I agree - it's much more nuanced than my initial take. I guess I oversimplify it, in the spirit of "money is power", but you're right, we could say "money is proxy for power" and acknowledge all the other power plays that are as old as humanity.
I’m familiar with this project - the creator is a friend. I’ll try to get him on here to answer questions.

He’s a seasoned database architect. With SQLsync he’s made a way for frontend developers to query and update a remote database as if it was completely located right in the browser. Because it basically is. The power of WASM makes it possible to ship a whole SQLite database to the browser. The magic is in how it syncs from multiple clients with a clever but simple reactive algorithm.

It’s a radical attack on the whole problem. Much of our work as developers is about syncing data. When you start looking at React and REST APIs as a kind of sync procedure, this approach can open a lot of new possibilities. You don’t have to write a weird bespoke database of trees of objects fetched and cached from the API any more. You can just update and query it locally, with all the power of a relational database.
I read the article twice before commenting, not sure why you say I "obviously didn't"

I still wonder the same after you pointed out that chunk - are the people currently in vogue there at the library making decisions on what to carry and what to highlight and what to down-display based upon their ideology stretching?

In fact pointing out this chunk makes it more of a concern.

I personally believe library people have a very important and very tough job, and much like paramedics if you can't do it fairly you should step into a different role.

I have immense love for libraries, and books, and evolving discussions and thoughts.

I even noticed that the author has posts dating back to 2012, which makes me more curious about decisions they may have been involved in since then, and what classes or other ideology may have shifted, perhaps a big shift occurred after 2016 or 2020 - I find it very interesting.

My main concern is that they hold a position of power in the library.

I also believe moves like this tend to reflect on the brand of the school, and those who have said school on their resumes / linkedin, etc.

If this person was posting this as part of their liberal arts dei studies dept it would not be the same concerns.

Anyhow, I did read it - admittedly I paused and eyes glazed over for moments when I got to the part about "protests of 2020 were overwhelmingly peaceful" - and then when they said "We here in the libraries are world-weary and sophisticated."

So yeah - like I said before, "Glad to see openness like this."

as far as "you’re not even going to read the post? To earn upvotes or something? " - I actually believed I'd get more brigaded downvotes than upvotes - and at the moment that rings more true than the opposite.

I'm not on HN for votes, I don't have any way of monetizing them, no one I know knows what hn votes are about.

I occasionally offer another view point to add to a discussion, not trying gather the likes of any tribe. I hope to add a view that others may not have considered before, and I enjoy reading others for the same.
It reduces the link value to me since now the poster is financially motivated to post it. So do I trust that it really is a good product or is the poster just posting an affiliate link so that they can earn money or is it somewhere in-between.
Totally fair question. Nothing is set in stone - but this approach made it very easy for me to run precisely the same code on both a generic backend (CloudFlare Durable Objects) and in the frontend stack.

As for wasm-in-wasm specifically. It would be nice to experiment with the component model to load reducers alongside SQLSync - but the UX isn't quite there yet.
Akamai, HP, IBM... Those are just a few I looked up. I didn't look up the ones you did. But I think you're sort of making my point. Do you believe Dell pays better than at least one or two of the companies I listed?
Personally I think DRY only makes sense as long as either the code is shorter (here it's longer...), or you encapsulate logic, especially when that logic will be called from multiple places in the code base. Here it won't...

I think some of these methods might be ok in a public helper class ("go here if you want to know the correct way of finding these kinds of objects so we have a single extension point"), but not as private methods...

The irony here is they try to let you read the main codepath top down, but because they unnecessarily obscure details they force you to jump back and forth between a ton of methods instead, completely ruining any benefit.

I love code that lets you actually read it sequentially, but then it needs to actually let you do that.
Your FAQ is hilarious. What are you running on the server side? Python? Also, data handling, what are you doing with all the content? Are you deleting it after generating or are you storing it. I did not sign up, but are you using any CRM for this? Maybe I am cheap, but $14 seems a bit too steep for something that is not fully automated. Good luck.
Ah, yes, my favorite sort of HN reply. The author puts in a lot of effort to precisely articulate an issue which is difficult to articulate, and a commenter just dismisses the entire thing with a vague "You're holding it wrong".
Weighted by wealth?
At least some of the sectioning in that file would probably be better handled by leaning into the language more, doing things like nesting selectors.
"A billion dollars isn't cool. You know what is? A billion dollars."
I think you are straw manning their argument. I believe it's clear from context that they are referring to something different than material conditions.
https://news.ycombinator.com/item?id=14070135

Prior discussion on 80 hours a week.
> But at first glance it sure doesn't look good for these "researchers".

The "researchers" were the Union Bank of Switzerland. "UBS manages the largest amount of private wealth in the world, counting approximately half of the world's billionaires among its clients." https://en.wikipedia.org/wiki/UBS
My first question, on seeing a picture of the drive, was how this allowed the wheel to be turned for steering - this is, after all, the difficult part of driving the front wheels (if you are not using an in-hub motor) and is why a CV joint, and not just any universal joint, is needed (when turning sharply, the wheel axis is nowhere near parallel to the motor axis.) Neither the article nor the video mentioned steering, however, and neither did the video demonstrate it, despite showing an all-wheel drive installation. It even has an animation of vehicles going around a curve with all the wheels resolutely pointing straight ahead!
I knew about the Pascal "with", but I didn't know JavaScript had the same construct.

That kind of "with" is a lot less intuitive to me.

I was responding with Python's "with" because it sounded like they were talking about programming languages in general, but now I can see they were obviously talking about JavaScript's "with" given this context.
I never got a response after Google assured me that they'd do a full retro
Booking is the largest and thus a juicy target for both attackers and articles. Having worked there, I know that competitors had the same problems though.
Google meet works for my team. We have a few rooms dedicated to hang out in during the day. Some people leave the camera off, others don't. It reminds me very much of the office where if someone has a random question there are already people around to answer it. There is no expectation you have to be in a room but lots of people do it because it is fun and interesting.
> One unforced error lead to another, and that's a lesson that nobody ever seems to learn.

As HR McMaster likes to say, "all wars are the result of a miscalculation"
I ended up using parser combinator library nom. It's not something I use daily, therefore parsing became a puzzle on its own.

Nom already has a parser for numbers. However, I didn't find an elegant way to take at most one digit. In the end I used take_while_m_n, and mapped it with u64::from_str().

Another challenge was absence of something such as find_all, that would repeatedly try to parse beginning from each character and then return all matches. I ended up writing my own combinator.

https://github.com/drola/AdventOfCode2023/blob/main/src/bin/...
I find if you subscribe to the "Write libraries not software" mantra where your libraries/packages/classes are focused and adhere to the single responsibility principal, code organization kinda sorts itself out. But I agree with the author that organizing and commenting long files like this makes it easier to grok what's going on.

But if you are clicking around a project and scrolling with your mouse, instead of taking advantage of your IDE's ability to use keystrokes to find and open files, jump to references/definitions, find and replace text, etc., you are handicapping yourself. It's worth the investment to learn.
For Language Acquisition, Input Is All You Need. (Mostly)

What would be really cool is something that can autodub videos or audio into your target language. The hardest problem learning languages that aren't English is often finding content to consume in them.

Disclaimer : I am Krashenist so this take is biased
> boy, i wonder if these researchers maybe did more research than casually glancing at at top 10 list on the internet?

The "researchers" were the Union Bank of Switzerland. "UBS manages the largest amount of private wealth in the world, counting approximately half of the world's billionaires among its clients." https://en.wikipedia.org/wiki/UBS
I am a strong believer in "nohello"
https://nohello.net/en/

If you use chat like it's a conversation then you'll have a bad time.

If you use it like it's business communication like short-form email it's better.

It's bizarre that the same people who will send an email that says "Hey, send me this information asap" will start a text chat with "hey how's it going"

People who say hello and then wait for a reply will wait a long, long time for a reply from me.
Russia would never risk losing access to the Black Sea, as it’s the only year-round military port they have.

For that extremely obvious reason Russia would never allow NATO to control that region of Ukraine.
Sorry, people still use Evernote??
If they knew they were unlikely to be able to live up to the promises when the promises were made, then that is unambiguously fraud.

> Fraud would be someone intentionally deceiving you, which in this case would be nearly impossible to prove, hence not fraud.

Being difficult to prove the case in court doesn't mean an act isn't fraud. It just means the fraud is difficult to prove in court.
Search HN. Look at how almost every single post critical of Israel’s ongoing genocide in Gaza has been flagged to death. You’re not allowed to talk about it because it’s ostensibly not tech relevant.

And yet a post like this can make it to the front page and stay there.

You can bash China day and night on HN because it won’t cost you your career.

That’s why a story about China replacing Salafi style turrets and minarets with traditional Chinese Muslim architectural features is seemingly a greater crime and more worthy of outrage than Israel bombing not only mosques but refugee camps and hospitals with people in them also.

It’s pure hypocrisy and moral cowardice.
Kagi let's you hide it.
yeah for sure, I understand the hurt. I guess that I feel bad because I like a drink or four and I don't think I hurt anyone else but feel like I should be guilty all the time.. so I stop boozing and then I really miss it.

In simpler times I'd live in the pub I think, I might be happier for it!

Or dead.
> while our universe does have a cosmological horizon (due to accelerating expansion), this horizon does not work the way your hypothetical "event horizon" does.

I think this statement is really the crux of the counter-argument. Your statement that matter has average uniform density in all directions around us is obviously only correct in sufficiently large frames of reference; there are galactic voids, and galactic-super-strands, uniformity really only exists within the "mathematically and hypothetically infinite" frame.

You should expand on why the cosmological horizon does not function in the same way the GP's "event horizon" analogue does; and/or possibly, expand on how large the frame would have to be to achieve reasonable uniformity.
FWIW regex are also a DSL for finite state machines acting on strings, so in that light it’s a straightforward jump
Yes, I just changed it, makes more sense :)
According to several reports, chatgpt can't be made to solve day 1. It's strongly hypothesised that Eric increased the difficulty of the problem specifically to thwart them.

Last year they fucked the global leaderboard early, then completely dropped off during week 2, so I can't say I don't welcome it. I didn't find part 2 an issue, but I completely grug-brained it and that was not sensible to the overlap issue.
For part 2 there is an elegant and very simple solution that doesn't use regex and doesn't need to work around edge cases... you just have to find it ;)
Not OP, but Ill take a stab at it (not an endorsement, just an explanation):

While FT is hyperventilating over China, calling it an erasure of Islam there has been scant coverage that during the current conflict in the Levant, one of the two belligerent has destroyed millenarian places of worship of many various faiths. Also, said belligerent has a sizable, growing, and politically very powerful minority that wants to blow up the third most holy place of worship for the other belligerent's faith and build a temple for themselves in top.

Again, not the OP and I don't particularly care much about the ME.
Whenever someone says something like this, my immediate reaction is to think they don't understand the economics of media or the attention economy. Productivity alone isn't a good metric.
What incentive would this guard have to keep working?
Try a different language? Something you enjoy writing.

I could never do it in one of my work languages.
If their bosses do the same it won't be seen as indulgent. And indeed cargo cutting what their boss does might well be another aspect of it.
I kind of agree with the post. For me, this technique almost starts overlapping with literate programming[0].

One trick I use[1] is adding certain characters before the section name. e.g:

¡¡ settings

This makes searching and jumping between sections a lot easier.

[0]: https://en.wikipedia.org/wiki/Literate_programming

[1]: https://ricardoanderegg.com/posts/write-apps-in-single-file/
> I think Elon says things fully expecting them to become true.

I thought that of him years ago, but it's become really clear to me since then that he just lies.

But, practically speaking, that distinction doesn't matter much. Either way, it means you can't believe anything he says just because he says it.
The majority of the US.
Agreed, added a wall of disclaimers to clarify what it is and what it isn't.
I have no clue how it will play out, but Autogen looks like it's going down the right path + has MS behind it.

I am able to get some pretty nice ideas out of LLMs by gaslighting them into larping as tenured professors at <insert good university for subject here>.

I haven't really tested yet if using actual people's names helps or hurts.
Consider:

1. The actions of the US and allies towards Muslims the last few decades and/or weeks.

2. This bleeding heart article.

I'm just squaring the circle.
Could you share about the way leaders plan, execute, and communicate effectively?

Do you have an email address or a contact method?
I was forced to use a Mac for work and almost resigned because of it. I happily concede that a lot of it is what you are used to, but to me I need to be able to configure all aspects of my UI / DE ... including things like universal font sizes (which was my biggest issue due to my eyesight and finding that their fonts gave me headaches on my external monitor).

For people who are not "power users" then I suppose I can see the appeal. But the "it's our way or use something else" philosophy doesn't work for me. I will use something else (the problem is when you're forced into a system with that mindset). The computer is a tool, I am the master of the machine (especially as a programmer), and I can't stand feeling like there are barriers between me and how I want the system to behave. "Finesse" to me is the ability to install a completely different desktop environment if I so choose. To type "rm -rf /" as root and not have the machine question my command (very dangerous for the non power users I admit).
The article is saying that the inherited wealth of the remaining 20% of today's billionaires is greater than the wealth of those new-made billionaires, there's no contradiction there at all. And obviously you'd expect most new billionaires to have a net wealth close to the $1bn mark, so all it would take is each of the 20% to inherit four times as much on average.

This page lists nine people who inherited over $50bn each, and another 23 who inherited between $4bn and $50bn, totalling just over $1.1tn of inherited wealth. Easy to see how that would outweigh the wealth of a larger number of new billionaires.

https://www.madisontrust.com/information-center/visualizatio...

And that list doesn't include any of the inherited wealth of the various royal, noble and other old money families around the world...
I was going by memory but yes there's just a clock generator, nothing comparable to say a GPIO controller.
definitely exciting to see more local clients come out. As mentioned in other comments, there are some great ones out already. I've used automatic1111 which is quick and doesn't require a ton of tuning. But it still has lots of knobs and options which makes it difficult initially. Fooocus is super quick but of course less customization.

Then there's ComfyUI, the holy grail of complicated, but with that complication comes the ability to do so much. It is a node-based app that allows you to create custom workflows. Once your image is generated, you can pipe that "node" somewhere else and modify it, eg: upscale the image or do other things.

I'd like to see if Noiselith or some others offer support for SDXLTurbo -- it came out only a few days ago but in my opinion is a complete game-changer. It can generate 512x512 images in ~half a second on consumer GPUs. The images aren't crazy quality but that ability to make a prompt like "fox in the woods", see it instantly and then add "wearing a hat" and see it instantly generate again is so valuable. Prior to that, I'd wait 12 seconds for an image. Sounds like not a big deal, but the value of being able to iterate so quickly makes local image gen so much more fun.
An algorithm to detect hosting providers and their IP ranges
> billions of dollars' worth of safety measures

Is this a bad thing? Investing a lot into safety measures to avoid catastrophes seems better than investing significantly less because we assume is safe.

Could you elaborate on why this investment is an argument against nuclear?

I once talked to people that worked at Angra Nuclear Power Plant in Brazil and they said the real danger is actually the spent nuclear fuel. The power plant itself is safe due to many redundant safety measures, continuous tests and monitoring. I don't have a source for this, and don't take my words for absolute truth, I'm not an expert in the subject.

> kept from harming us by a large crew of skilled people

I'm glad to hear people working with nuclear are skilled ;) I assume people working in solar/wind/hydro are also skilled at their craft. And I'm sure you didn't imply that, maybe the phrasing wasn't the best?
Wasn't this more about reusing the regex?

I mean, who said you had to use a regex to begin with?
Everyone says "unsprung mass" but you also have to provide cooling without ingesting all the dirt and water off the road. It's not that simple.
Real UK Prime Minister was an actual pig fucker, of his own volition no less, no blackmails necessary

https://news.yahoo.com/british-prime-minister-reveals-put-00...

https://www.thedailybeast.com/david-cameron-accused-of-sex-a...
Ask HN: Who wants to be hired? (December 2023)
Share your information if you are looking for work. Please use this format:

Location:
Remote:
Willing to relocate:
Technologies:
Résumé/CV:
Email:

Readers: please only email these addresses to discuss work opportunities.
Ask HN: Freelancer? Seeking freelancer? (December 2023)
Please lead with either SEEKING WORK or SEEKING FREELANCER,
your location, and whether remote work is a possibility.
Ask HN: Who is hiring? (December 2023)
Please state the location and include REMOTE, INTERNS and/or VISA
when that sort of candidate is welcome. When remote work is not an option,
include ONSITE.

Please only post if you personally are part of the hiring company—no
recruiting firms or job boards. One post per company. If it isn't a household name,
explain what your company does.

Commenters: please don't reply to job posts to complain about
something. It's off topic here.

Readers: please only email if you are personally interested in the job.

Searchers: try https://www.remotenbs.com, https://hnjobs.u-turn.dev, https://hnresumetojobs.com,
https://hnhired.fly.dev, https://kennytilton.github.io/whoishiring/, https://hnjobs.emilburzo.com.

Don't miss these other fine threads:

Who wants to be hired? https://news.ycombinator.com/item?id=38490809

Freelancer? Seeking freelancer? https://news.ycombinator.com/item?id=38490810
Note also that Bill Gates is giving away a vast majority of his wealth for philanthropic purposes. So if you tax Bill Gates, it turns out you're actually taking mostly every cent of that money from starving kids in Africa and elsewhere. That's something to think about for sure.
Your comparison is based on administrative borders rather than on the cities themselves. If you compare population densities in urban areas (as listed in Wikipedia), Seattle has 3600 people / square mile, Helsinki has 4800 people / square mile, and NYC has 6000 people / square mile.

Typical Helsinki consists of medium-density residential areas separated by large parks and forested areas. The urban core is dense but not particularly tall. The kind of suburban sprawl you often see in American cities, with massive areas with a low population density but little undeveloped land, is largely missing.
Also agreed, there's a lot of inflation of reported numbers here.
This seems like needlessly conspiratorial thinking.
It's a US based organisation isn't it?

So all the standard US problems (national security letters, etc) would seem to apply.
Good catch! SQLSync runs in a shared worker to enable cross-tab reactivity and centralise both local storage and the replication system. You can inspect the worker at the magic url: chrome://inspect/#workers
I don't think "class mobility" is a thing that we have to have. I don't think its a problem that needs fixing.

I also don't think its a problem that there is a big gap between rich and poor.

I _do_ think we need to make sure that our governments are well funded, and that it can afford to feed, house, and make safe all of its people, no matter how disabled, unlucky, or lazy.

I also think we need to have protections in place so that the wealthy can't use rent seeking behavior to feed on those with less money.