skysight-inc/HackerNews huggingface dataset:
How is that conceptually different from IPC? The graphics system appears to somehow pass mouse and keyboard events to the client programs over a channel. At least that part seems similar to an Unix X11 setup where this would be done over a socket.

I guess I just don't see what is conceptually the difference here versus something like doing basic HTTP over a TCP socket, it seems like the same kind of multiplexing. Either way, you still have to deal with the same issues: can't pass pointers directly, need to implement byte swapping, need another serialization library if you want the format to be JSON/XML or if you want a schema, etc... So in cases where that stuff isn't important, channels would come in handy, but of course that is now getting closer to a local Unix IPC. Am I getting this right?
Considering related threads are getting nuked all across Reddit I'm going to guess the article wasn't really the issue.
It's fun but for the most part boils down to software trivia, similar to Quiz Bowl. The key to succeeding with leetcode on the harder questions is memorization of things that frankly anyone can google up pretty quickly. It's a poor reflection of actual work.
If everyone donated $3/month we could create a network of Outline VPN servers hosted on Lightsail (or wherever).
> Haskell has a somewhat unique garbage collector based on the fact that all data is immutable. They can take shortcuts because older references can't refer to newer references.

When you don't mutate in OpenJDK you get essentially the same. Much of the cost of a modern GC (OpenJDK's G1, and soon probably ZGC, too) is write barriers, that need to inform the GC about reference mutations. If you don't mutate, you don't pay that cost. This is partly why applications that go to the extreme in the effort not to allocate and end up mutating more, might actually do worse than if they'd allocated more with OpenJDK's newer GCs.

In fact, OpenJDK's GCs rely heavily on the assumption that old objects can't reference newer ones unless explicitly mutated, and so require those barriers only in old regions.
> I'm a bit skeptical of Rails performance with the method the author details here

The method used in the blog post is making an ajax request to the server and then displaying the results in a div. For comparison, GitHub is running Rails and when you type into its search box it's making an ajax request to the server and displaying the results in a div.

Just wanted to bring that up here because this is different than what Live View does or what using Turbo Streams would do to broadcast changes over a websocket connection if you were using Rails.

I don't know of anyone running a large scale app using Live View as a primary focus but I did chat with someone on my podcast about how they used Phoenix and Live View to build https://textdb.dev. That episode is at https://runninginproduction.com/podcast/68-textdb-is-a-simpl.... TextDB trended here on HN a few months ago at https://news.ycombinator.com/item?id=23948234. It handled the HN front page load without issues, but it's also not doing a ton.
After the Target credit card leak and the Equifax leak it really doesn't matter anymore. Besides, Visa typically just refunds you.

It's really about someone taking an undetected loan out in your name, credit card fraud is not a big deal to the regular consumer anymore.
The other corporations backing DeSantis
Heroku not being AWS might be a feature, but Heroku being Salesforce is straight-up terrifying. I'm probably not moving my apps off Heroku anytime soon simply because they're running just fine maintenance free, but I'm not going to risk running any future apps on a Salesforce platform.
The solution to that is to find a more competent hosting provider.
> Inside The Design The Case For Better Watch Typography

This is how the article's headline reads when the browser does not load a site's custom fonts.
Is there any such discussion about being banned from society or going to jail? That seems incredibly hyperbolic. What I've heard is discussions of things like cruises and international travel to certain destination, which are entirely optional activities.
small print - as long as you arent in China, Myanmar, Russia, <insert other names> here.
> That's a frankly insane way to write parallel programs.

Don't hate it until you try it!

#pragma openmp parallel for
for(...) { ... } // Parallel portion

// No longer parallel. Implicit join!
foobar(); // execute sequentially

#pragma openmp parallel for
for(...) { ... } // Parallel portion again

It really covers a lot of parallel situations. Its often better than no parallelism at all (especially with 4-core/8-threads on even the cheapest CPUs today), and its really, really, really easy.

---------

Also consider how CUDA / OpenCL kernels execute.

someCUDAKernel<<<ten-thousand CUDA-threads>>>(params);
cudaMemcpy(...); // transfers data from GPU back to CPU.
foobar(data); // Fully sequential portion when parallelism is non-obvious
cudaMemcpy(...); // transfer data from CPU back to GPU
someCUDAKernel2<<<ten-thousand CUDA-threads>>>(params); // Parallelism when its easy

Which is basically how most Tensorflow operations work today. (Bonus points: the "foobar" sequential portion is written in Python, something like 1000x slower than C/C++, but you don't care because 99.999% of the work is done inside of those CUDA-kernels)

This "stupid" fork-join parallelism is really the core concept of modern heterogenous processors. A really easy way to increase utilization of both CPU-and-GPU resources.
Right, but it's a choice. I still run an iPhone 6, and I really haven't felt limited by it.
That's quite a cool hack, but as I mentioned elsewhere in this discussion it's still a lot of infrastructure to let a user connect to a device on their own lan, and it still presupposes that the user will have a robust internet connection when they need to use the device.

That makes a lot of sense for Plex, but it's really not applicable for my equipment.
AI in Education
I have a suspicion that svelte may die soonish. Please tell me I am wrong here. All the news I hear about svelte is “something new is released”, instead of version release with bug fixes.
Casio Broke Its Own Rules to Create a New Hit G-shock Watch
Imagine a world with so much mapped data that it too needs explorers. Data recorded generations ago that has never been observed by anyone to study it.
Which is no excuse, of course.
It's funny that unwanted software (Google Meet) is forcibly presented to me in both Mail apps (android/pixel3) and in calendar invites too. Using Mail and Cal to push Meet. Extra, repeated clicks to keep Meet out of the equation. It's confused more than one invitee who sees the Meet "suggestion" and missed the proper Zoom link.
Tale of lost WW2 uranium cubes shows why Germany’s nuclear program failed (2019)
Moderators cannot see private message content.
You feel the same way when your having a conscious experience. There's no way I could hurt someone by being conscious... is there?
not only are you not the GP, you also didn't and can't answer my question
I've literally never seen anybody use a domain name to address my devices, only
a simple IPv4. That already makes it a nonstarter, but let's entertain the idea. Maybe I can convince my clients to change the way they work, they generally love that.

Just going through the trouble of having the customer mess with their OS's DNS
resolver to connect to the device is ludicrous. Can you even do it on Windows
without having to deal with the hosts file manually?

Then they need to remember to update it when the IP inevitably changes because
they've moved onto a new project with a different address plan, and they'll
invariably forget to change it or forget how to do it or do it wrong and then
call me to help them.

And on top of all that, no I can't really expect my devices to have internet
access, not even once every 60 days. It's not uncommon for broadcast operations
to use costly and critical satellite links for internet access, and they're not
going to let random devices use that without a good reason. More generally, even
if there's an internet connection available they're likely not to configure the
gateway correctly, then complain when the night of the big event their browser
refuses to connect to my equipment, saying that they're about to be h4x0r3d.

My use case is certainly a niche, but I think it's probably a significant niche
given that everything and anything has web interfaces these days. Cameras have
web interfaces for configuration, middle end smart switches and routers have web
interfaces, I've even seen power plugs with web interfaces...
Yeah I came here to say just that. It's really annoying when Firefox is stuck on https for some reason, maybe history? So I have to test if one of my LAN services works with curl.

I think it has to do with history so I have to clear all history for that site and then start using it with http and it should work fine. This is only Firefox.
Obviously, the whole complaint is that the rules they set are a poor indicator of future employee performance. Yeah, they can set a rule that whoever is the most physically attractive gets the job, but again, it's a very poor indicator of employee performance. Do you follow?
I can't think of anything more likely to harden the FSF board in defense of Stallman than leaders of the OSI being prominent in a group calling for the FSF board to step down for having tolerated him.
Important to clarification, this is not reparations for Slavery. As per the article: "People who've lived in Evanston between 1919 and 1969, their descendants or those who can show that they faced discrimination over housing policy would eligible for reparations."
In the UK Curzon have a similar but smaller catelogue.
Ask HN: How much should I sell my Web Dev shop for?
$325k '20 income w/ $80k profit, $222k '19 income w/ $66k profit ... solid buildout workflow (2 wks buildout for most sites).

I'm focusing on a product and now selling my Web Dev shop. Two Dev shops are interested in buying. What price should I sell at? What other factors should I think about?
True, it's up to Uniswap to enforce if cloned and the local venue's respect of software licenses. But an intentional clone that's clearly copying the code and under threat of litigation likely won't be appealing for a lot of exchanges to list.
I guess you're against sovereignty of nations other than your own? Plus how are they going to buy your country's vaccine if you/your countrymen won't take it?
bundle.bar: the registry for small stuff
Why a public letter? This action should be done using non public pressure. It’s a bit like who does not sign approves this imho strange action from the fsf board. And still no good public response from the fsf on this delicate issue. Using the Gpl is already a statement for many Foss devs. The fsf should take care not to pollute the gpl with rms issues.
Browsers would need to be modified, but I wonder if TOR's method of URLs with the public key encoded could be repurposed for devices on a LAN?

https://hashhash.lan/

(Causes browser to broadcast a message on LAN and wait for a response. Keys are exchanged and if valid, completes connection.)

Devices would need to be programmed with a private key at the factory and print out a QR with the encoded hash and stick it somewhere discreet.

What's that? The factory is producing devices all with the same private key to save money? This is why we can't have nice things.
The title/URL are dishonest: This isn't about RMS, it's a lot bigger than that. These people want to take out the whole FSF.
no one will on here or reddit will remember this situation in a week.the only part of the internet that will care past a week is most likely the sites like gab, and we all know what they think of lgbtq+

banning definitely works, its not like reddit's reputation for mod abuse isn't unknown [1]

1. https://www.theverge.com/2016/11/23/13739026/reddit-ceo-stev...
>In the case of a copyright violation, Uniswap LLC could get an injunction against any web front end that interacts with the forked DeX.

How big of a problem is this? As we seen with piracy sites these court ordered blocks aren't exactly effective.
It would be no problem for me to go back; I don't really use social media and would probably be fine without anything beyond a land line to maintain social contacts.

My kids, by contrast, have grown up in a completely different world. Especially since COVID, so many of their peer interactions are through social media. They are highly dependent on devices for a lot of basic needs. Perhaps this is geared toward a younger audience that has no idea what 1999 was like - it was 22 years ago!
Agree. Even the vaccine could have been done better - the spike protein RNA in the vaccine doesn't use the prefusion stabilization trick like the others.
Why 3/100? Covid is clearly killing far less than 3% of the infected, and far less than 3% of the general population when you factor in that not everyone is going to catch it.
> So I started calling people… and quickly discovered that a lot of them have a call phobia, as if human interactions were toxic.
> Not in the sense that they’d be busy and would call me later. But in the sense that they wouldn’t pick up, only to text me 5 seconds later to start the conversation. If I tried to call them back, same thing again. They don’t want to talk, they want to text.

Problem with phone calls is that they are synchronous, yet quite often things callers want to resolve can be resolved asynchronously (= via text messages & emails), but you can handle those when it's convenient.

So at least I'm glad that most of my contacts send me messages in whichever messenger is convenient. We can always agree to call each other if we feel like it will be more convenient, but then it's a much different feeling then just randomly calling.
Also personally 100% of "random calls" I got within last 3 years were telemarketers, so guess how often I answer the phone :-D

Edit: in general I agree strongly that dropping off social networks and in general reducing notifications noise to a minimum (and not only on smart phone but everywhere) does wonders, strongly recommend.
>commercial imagery is still a tiny, insignificant part of the national geointelligence enterprise

This is a false statement.

Without getting into things that aren't talked about online, I assure you that commercial imagery is regularly used in .gov/.mil settings for a variety of purposes. This includes gap-filling (both geographically and historically), the ability to disseminate product widely without sanitization, etc. There's nothing insignificant about its use.
You may be interested in this form I'm building: https://discussions.xojoc.pw/?url=https%3A%2F%2Fhamidreza-s....

which searches for discussions on HN, Reddit, Lobsters, etc for a given url.

It also has a bookmarklet so it can be used on any page very easly.
I know nothing about finance but kept thinking in this.

There is a wiki on it which says “ Perpetual bond, which is also known as a perpetual or just a perp, is a bond with no maturity date. Therefore, it may be treated as equity, not as debt.”

However the wiki notes that they have no voting rights so aren’t as good as equity.

https://en.m.wikipedia.org/wiki/Perpetual_bond
Plan9 is the definite proof that Worse is Better[0].

[0] https://en.wikipedia.org/wiki/Worse_is_better
The UN is pretty useless at this point. A member of its staff that is conducting an investigation can have their life threaded freely by a member government and the UN is powerless to do anything about it (because its member states only pay lip service to their commitments, which is shameful).

I am saying this as someone who Grandfather worked there as part of a delegation and has fond memories of visits to the UN as a child.
I agree.

If username is public, then it is not secure by obscurity. Email addresses for email account are public. So by changing login from email address to phone number we enhance security.

At the same time, we change it to a unique username instead of phone number we also enhance security.
Quasar.dev
At least for me, I don't do banking on my phone and my main email is not tied to my phone.
Out of curiosity, how does SvelteKit differ from Sapper? I haven't been involved with Svelte for some time.

Looks cool by the way, I think Svelte is a really great product.
The very partial solution that I've been experimenting with and trying to refine is to "abuse" DNS records and Certbot's DNS tests so that I can have a bunch of public subdomains that point at intranet sites.[0] There's no rule that says you can't point a DNS record at a local IP.

This really isn't a full solution though because there are instances where you don't want a public DNS record at all. It's also not particularly plug and play, at least right now. And it requires you to have a static domain name and an Internet connection.

It's a step in the right direction, but not perfect, and not usable in every situation. Setting up a custom certificate server and configuring every device is a no-go for me, maybe that works for highly managed networks. I don't trust myself to do it, and even if I did, it's too time consuming and annoying to set up for new devices. At least with my current setup I don't need to transfer any information (other than the DNS lookup) out of my network, and anyone and any device on my network will immediately be able to connect to whatever service I have, and I don't need to worry about accidentally compromising every website I visit.

I'm not sure what the better solution would be. I'd also be interested in hearing ideas about this, it's a problem I'm running into as I try to figure out how to get HTTPS encryption on my local projects. And I do want HTTPS on those projects. I don't want my local network to be running everything unencrypted just because it's behind a LAN. But it's very tricky to try and set something up that's both robust and dependable, and that is fast enough to be usable within 1-2 minutes of me starting a new project that I'm just hacking on.

It's also something that we're thinking about at work. We'd love to manage HTTPS for software installations on our client networks, but we don't want to force them to reveal too much info about their networks on the public Internet, and we don't want to deal with trying to integrate with whatever weird, half-broken certificate servers they have running.

[0]: https://danshumway.com/blog/encrypting-internal-networks/
Which is abhorrent from a democratic-oversight perspective, but the UK system can be like that...
“ Our communities have no space for people like Richard M. Stallman”

So your community is essentially stallman-phobic.

I see.

Edit: even worse, they will not continue holding HIM (not his behavior) acceptable.

This is ridiculous virtue-signaling while at the same time hateful and ignorant of the meaning of words.
Which is why I'm hesitatingly doing a rare thing and clicking on vouch.

This is a real thing happening in tech, by people who are serious; we can't just stick our heads in the sand and flag it out of the way.

Edit: too late; by the time I typed that, it was vouched into undead status.
In isolation, maybe it doesn’t, but reading through the comment history, the site will be better without these contributions.
I didn't claim that. The log(2) term is multiplied, and that's implied by my use of "factor", which in this context is always understood to mean multiplicative factor.
The selection is a filter for people who are willing to pour massive amounts of free time into preparing for a small subset of companies. It's a great filter if you want someone who obsessively wants to work for you and is willing to sacrifice a significant amount of their personal time for it, but not so great a filter of their competence beyond a basic level.

Leetcode is a memorization/trivia exercise, not a reflection of someone's deep understanding of proper coding practices, software architecture, and ability optimize in real world cases (since in the real world you can use google and use whatever libraries you want).
Why not? I realise there are non-Turing complete models of computation that cannot be described by a lookup table (e.g. coinduction), but are they physically realisable?
Just like 99 -- even representing the year with only two digits, just like we did back in 1999!
>But if you are anonymous in the defi space, users are a lot less likely to trust your product.

Isn't the whole point of difi that you don't have to trust them?
(I work at YC)

I'm glad you brought this up!

It would be very easy for us to expand the YC batch by being less selective in the companies we accept. However, we wouldn't knowingly do this because it would run directly against our own financial incentives, and also degrade the quality of the experience for founders.

The hard thing is to increase the batch size while also keeping the quality of companies the same or better. To do that, we need to attract more great applications every batch. That's what we need to do.

For a lot of people, it's hard to imagine how that would be possible, but actually YC still funds only a modest percentage of all the successful companies started every year, so there is a lot of room to grow.

It seems that we're doing it. By every metric we can measure, the YC companies we fund today seem more successful on average than in previous years. They're more likely to raise a Series A, more likely to make $1M / year in revenue, more likely to be worth $1B, etc.

Many people outside YC for years have thought that because we are growing, we must be becoming less selective. But actually within YC, we're more concerned about the opposite: that we risk becoming too selective and need to constantly fight against that.
Forgot to mention what SvelteKit is...
Data Engineers Shouldn't Write Reverse ETL
CISA Warns of Security Flaws in GE Power Management Devices
Give ME a break! I am ALSO from Pasco County and you well know the KKK used to sponsor road clean up in Moon Lake - so don't give me any of that "everything is fine and there's no racism problem here"
> How is that conceptually different from IPC? The graphics system appears to somehow pass mouse and keyboard events to the client programs over a channel.

A thread reads them from a file descriptor and writes them to a channel. You can look at the code which gets linked into the binary:

/sys/src/libdraw/mouse.c:61

Essentially, the loop in _ioproc is:

while(read(fd, event)){
parse(event);
send(mousechan, event);
}

And yes, once you have an open FD, read() and write() act similar to how they would elsewhere. The difference is that there are no OTHER cases. All the code works that way, not just draw events.

And getting the FD is also done via 9p, which means that it naturally respects namespaces and can be interposed. For example, sshnet just mounts itself over /net, and replaces all network calls transparently for all programs in its namespace. Because there's no special case API for opening sockets: it's all 9p.
Microsoft Discord™. Unfortunately it's likely going to happen.
If nothing else, this whole thread shows that actually running a product in production is much more difficult than a lot of people would like to believe, and paying for good managed hosting is worth it. Just because we want it to be cheap or easy doesn't mean it will be.

Aside: has anyone here ever tried to build an actual wheel? Like a wheel for a car, or a wheelbarrow, or a wagon? One that has to take hundreds / thousands of pounds, works in multiple environments, lasts years, requires little maintenance? I think the phrase "reinventing the wheel" understates the difficulty it takes to actually re-create a wheel even if you already know how it works. Not only is it wasted effort if a good wheel already exists, it's also much harder than you think.
To reiterate, AWS provided this evidence in its court filings when it was sued by Parler. Pages and pages of email records where AWS customer service reps sent Parler specific posts that violated AWS's ToS, and Parler's responded refusing to take them down.