skysight-inc/HackerNews huggingface dataset:
This right here is why I am a rabid fan of Apple's vertically integrated way of doing things.
I disagree. Regardless of the use of the word Internet, I argue IoT is a broad term describing devices not traditionally connected to networks which now are.

Just because I build a private network of cameras, power monitors and weather sensors at my house doesn't mean those don't qualify as an IoT device.
haha I have thought about this. I saw office Space right before I got my first coding job. So I expected the lifestyle of the typical engineer to be in line with the 'drive an old car, live in a small apartment' representation in the movie.

Twenty something years later never in my wildest dreams did I imagine I'd have insane compensation and perks and yet an even shittier desk situation than depicted in that movie lol.
Why is there lithium in the sea?
Solving the same problem multiple times
I want to point out that there is an excellent existing iPad app from a small developer called Callipeg, that has most of the same feature set described here (maybe everything except the effects features)

I've had a great experience animating in Callipeg with both cell animation and transform animation.

It is true though that Procreate is the gold standard for drawing apps, and the drawing functionality in Callipeg isn't as polished- So I will be tempted to switch to this new app for animation, if they can match the drawing experience from the core Procreate product.
Almost everyone is chasing the same $$$ from cheap software. Cc https://buttondown.email/tZero19e/archive/why-dont-people-re...
It seems to use %s.jpg as a filename and to request the browser to download the picture you clicked on as that filename, so probably some larrikin typed 2girls1cup in as a prompt and you happened to click on whatever picture came out and was in the feed.
> and am pretty sure

Trust me bro.
More pieces and menu "button" don't work for me on Chrome.

It'd be nice to see actual note lengths and rests so the user can learn how to read actual notation, maybe as an alternate view.
Section 3.1 specifies

/<user>:<password>@<host>:<port>/<url-path>

Which means if you're presented with that and don't send it to that host, you've violated the RFC. But this was demonstrably resulting in confused users being sent to scammer's domains.
Maybe I am naive, but let's say that using liquid hydrogen instead of synthetic kerosene would use 1/3 of the input energy. OK. To me, it seems way more feasible to triple the amount of input energy capacity (build more solar, wind, nuclear, ...whatever), than to completely redesign aviation around a fuel with such unforgiving constraints. What am I missing?
Go also uses goroutines and channels to facilitate message passing, or as they describe it, "sharing memory by communicating."

I imagine Rust to be a language far more similar to Go, in both use cases and functionality, than JS.
Show HN: One-click chatbot for your website
How to use it:

1. Put in a URL
2. Wait for the scrape and embedding jobs to finish (~15min and you will get an email notification)
3. Click "Try it" and test out the chatbot
4. Use the bot's <script> tag to embed it on your website in one line

How it works:

1. You supply a URL
2. Instabot scrapes it for textual content and stores it in a vector db
3. The chatbot uses this content for context when responding to messages

I made this to practice building LLM infra. Please share your feedback!
Are there some hacking garages where you can enable features like these and disables features like GPS and telemetry?
Doesn't seem too surprising considering beekeepers use smoke to calm honey bees...
> Async/await was a terrible idea for fixing JavaScript's lack of proper blocked threading that is currently being bolted onto every language.

As fun as it is to hate on JavaScript, it's really interesting to go back and watch Ryan Dahl's talk introducing Node.js to the world (https://www.youtube.com/watch?v=EeYvFl7li9E). He's pretty ambivalent about it being JavaScript. His main goal was to find an abstraction around the epoll() I/O event loop that didn't make him want to tear his eyes out, and he tried a bunch of other stuff first.
I hate this “I can’t trust open source” mentality. Open source contributors automatically getting labeled as malware is insane. I’d rather trust an individual contributor over large corporate interests any day of the week. And don’t act like the same thing can’t happen to corporate software
If you're a web facing developer and looking at web services, then I guess you could think this about Rust.

Believe it or not, there's other types of things being built in Rust. Systems work, which I think Rust is more appropriate for.
This problem is very old at this point. I'm doubtful that Bun has "solved it" any more than other tools. They've just selected a different set of trade-offs that will result in a different set of packages not working. Is there a reason to think they've cracked some code that other tools were unable to?
Safari iOS - started in after perhaps 8 taps
>that works without tracking.. like a billboard.

Billboards still require tracking. If you had the option of putting a billboard up in 1 of 2 neighborhoods and it would get 10k impressions in either location which one would you choose? The optimal strategy is not to pick randomly. The optimal strategy is to predict the conversion rate of both locations. In order to do that you need to investigate who is likely to see your billboard and learn about their interests to see if they would be likely to be interested.
Honestly, I'm finding this pretty persuasive. Thanks!
Love bun, but I disagree that blog post explains better what v1 is, but rather explaining what bun is in general.

It hardly mentions anything until the very bottom on what's changed to reach v1, the github release page on the other hand clearly outlines it.

Personally found the blog post to read like documentation rather than a release announcement.
In the sense that green threads are easier, sure.

But green threads were not and are not the right solution for Rust, so it's kind of beside the point. Async Rust is difficult, but it will eventually be possible to use Async Rust inside the Linux kernel, which is something you can't do with the Go approach.
> We're going to help them find jobs. Can't just give out cash tho.

CEO of a company with $1B in cash after they "accidentally" hired 75 people who were due to start on Monday.

Source:

1. https://twitter.com/typesfast/status/1700114432792363016

2. https://twitter.com/typesfast/status/1700108412024127569
Can you give an example of a consumer router that does not provide a default deny inbound (tonight in noun, according to voice transcribe) for IPv6 traffic? I'm not arguing with you, I'm curious. As a network and security guy, it seems like step zero in IPv6 security to have a default deny inbound firewall rule to make up for the lack of NAT.
Reference counting is a type of GC [0]. Just not a very good one in many cases.

I think it's a fair assumption to say that the author is aware of what Arcs are and how they work. I believe their point is more so that because of how async works in Rust, users have to reach for Arc over normal RAII far more often than in sync code. So at a certain point, if you have a program where 90% of objects are refcounted, you might as well use a tracing GC and not have the overhead of many small heap allocations/frees plus atomic ops.

Perhaps there are in fact ways around Arc-ing things for the author's use cases. But in my (limited) experience with Rust async I've definitely run into things like this, and plenty of example code out there seems to do the same thing [1].

For what it's worth, I've definitely wondered whether a real tracing GC (e.g. [2]) could meaningfully speed up many common async applications like HTTP servers. I'd assume that other async use cases like embedded state machines would likely have pretty different performance characteristics, though.

[0] https://en.wikipedia.org/wiki/Garbage_collection_(computer_s...

[1] https://tokio.rs/tokio/tutorial/shared-state

[2] https://manishearth.github.io/blog/2015/09/01/designing-a-gc...
Is Elixir really considered esoteric? There’s some pretty big businesses running on it.
I have been using "async/await is bad, use {feature name[0]}" as a litmus test for people who are generally bad at programming, especially so at concurrent flavour of such.

Sure, Rust is certainly verbose and very strict how the ownership rules apply in the context of async, but this is a hard constraint of its memory safety model.
We could probably do better while retaining all performance but this is by far one of the best implementations. Another example of nice to use async/await is C# which trades performance/memory (state has to be boxed if it is to live across continuations) for convenience (you just write it naturally without worrying about underlying behavior).

There is a reason Rust toyed with "green threads" at its inception but decided against such. The only popular languages of today that do these are Go and Java (which basically forced to do this because you can't go async without introducing the feature early in the lifecycle of the language, and the authors of project Loom are simply wrong with their excuses why this is superior to async/await).

Async/await is here to stay and is the right abstraction, git good, and it's not even difficult to use anyway.

[0] where feature name is green threads, not doing concurrency at all, doing it manually, etc.
It’s telling that you think 98% of users wouldn’t do that. It’s 99.9999% of android users my friend.
Remember how the new CEO upon joining fired 250 employees and simultaneously upped her own pay to 2.5 million? (Its much more now)
5000? Have there been significant improvements? Last I heard the expected cycles were something like 1000.
> At this scale, threads won’t cut it—while they’re pretty cheap, fire up a thread per connection and your computer will grind to a halt.

Maybe in the 2000's but I feel this reasoning is no longer valid in 2023 and should be put to rest.

10k problem.. Wouldn't modern computing not work if my Linux box couldn't spin up 10k threads? Htop says I'm currently at 4,000 threads on an 8 core machine.
"Silent mode" is not the same as "mute". With the former you still expect to hear sound if you're using a function where sound is critical.
Static Hermes: Statically Compiled JavaScript
That's not my point. In the comment I made below the other post I talked about how Mathlib is just a piece of the puzzle, the way I see it [0]. I don't want to see Lean do symbolic computation - although I'm sure that would be great as well - what I want to see is to have Mathlib's library of mathematics being used in a way that any CAS can read definitions and theorems from it. Then a significant part of the CAS codebase won't have to be manually written, and developers can spend time on things that are not re-inventing some wheel.

[0] https://news.ycombinator.com/item?id=37435449
Why so many people are paying to get their paychecks
You can use mamba's much faster solver directly with conda.

conda install -n base conda-libmamba-solver
conda config --set solver libmamba
Elon Musk says he blocked a Ukrainian attack on Russia's Black Sea fleet
Apple shows ads for apps in the App Store sans behavioural targeting. If there is a kind of “ethical ads” that’s as close as it gets.
Did Servo manage to become a full-featured browser rendering engine - I thought the project was abandoned by Mozilla?
Theft losses near $1B at Lowe’s: here’s how much they’re costing other retailers
You wouldn't want to not recycle the quicklime otherwise you would have to release the CO2 from it first, then absorb the same amount of CO2 and then throw it away so you'd only be emitting CO2 in that case.
Accessibility Specialist Job Posting
> Realistically how much of a problem is this likely to be?

It is a very young language with momentum and a foundation behind it. I'm not aware of any pre 1.0 stability guarantees.

In fact it is generally recommended to use the nightly release (see: https://ziglang.org/learn/getting-started/) because they are moving quickly.

Definitely seems to be in a early adopters and tinkerers phase.
Russians still use ruble, usd, rmb, yen, rupees and barter trade EASILY. Half the world trade data now gone dark. Just go read up Russians still working with Japanese on the oil rigs there. Chinese banks still trade with Russians. Gold still flow thru international market from Moscow thru China thru India thru any buyers even if he is sitting next to Biden. Get a friend who lives in Moscow or any cities in Russia. They are not facing sanctions starvation. They actually having economic boom right now. Their supermarkets are actually fully stocked. While my local walmart store closing down due to thieving.
Comma after first_value?

def eat_value([first_value, | _rest_of_list]) do
I found actively walking (even indoors) prevents me from opening a tab to an addictive website.
Because Apple has decided so, because it makes them lots of money, and it isn't a big enough dealbreaker for consumers to not buy iPhones. I believe the Google Play Store has ads, too.
> If there's a large object that more than one task needs, either you put it in a task that sends messages containing the relevant query result, or you let each task construct its own copy from the stream of messages.

When you can guarantee sole ownership, why not put that exclusive pointer in the message? I’d think that this sort of compile-time lock would be an important advantage for the type system. (I think some VMs actually do this sort of thing dynamically, but I can’t quite remember where I read about it.)

On a multiprocessor, there’s of course a balance to be determined between the overhead of shuffling the object’s data back and forth between CPUs and the overhead of serializing and shuffling the queries and responses to the object’s owning thread. But I don’t think the latter approach always wins, does it? At least I can’t tell why it obviously should.
I blame it on Nvidia's product segmentation falling apart. Only a few years ago, the 1060, 1070, 1080, and Titan Xp had price differences that matched their performance differences. In their current lineup, buying anything that isn't a 4090 is getting ripped off. The 4060 and 4070 are basically e-waste. The 4090 had a 100% performance improvement in a lot of tasks over its predecessor, and the 4060 managed 10%. Sometimes. I don't know why they bothered making them--it's no wonder they cut production.
I was downvoted like 170 times on reddit for suggesting AI is the future of RPG games. People think it will take writers jobs, which is obviously not the case. Thanks for putting in some work on this front!
K-Mart apparently tracks with facial recognition.

https://www.abc.net.au/news/2022-07-13/bunnings-kmart-invest...
Zoho is a pretty good option from a cost perspective. But user experience is not as good as Workspace imo.
> None of this improves my life.

Now you'll get some ads that recommender systems think they should show you, based on your shopping experience at CVS, that could be potentially embarrassing if you have anyone over, or have someone else using your devices.

I was able to guess a family member's previously private medical condition based on the ads they got while I was at their place.
> A logical plan represents a relation (a set of tuples) with a known schema. Each logical plan can have zero or more logical plans as inputs. It is convenient for a logical plan to expose its child plans so that a visitor pattern can be used to walk through the plan.

This is not a definition. Definition needs at least a modicum of a convincing to do. Like, why did the author decide that a plan represents a relation? Most plans I've seen in my life were grocery shopping list-like, or maybe decision tree-like. I can see no way to get from "plan" to "set of tuples".

Also, what visitor pattern has to do with anything? Why is this bit of information even relevant?
200million is the estimated cost to capture just "75%" of Microsoft's carbon footprint in 2022. A footprint that is going to increase by more than 7.5% of the 2022 carbon footprint year over year("Bing" chat).

How about disabling all the spyware and garbageware. Then get to fixing the monstrosity that is Win11. Some Googling and math suggests about 100,000,000 tonnes of CO2 is coming from the bloat on Windows(per year). Microsoft claims there are 1.4billion devices using Windows.

*Napkin math
Robot navigates Dounreay evaporator cell
I think it's not accurate to call their architecture a cluster of machines. Either way I'm not referring to Linux as an OS - it is really the only choice for enterprise scale computing.

Regardless of what architectures supercomputers use, their use cases are different from that of server/mainframe high performance compute. 8 cores with on-chip AI acceleration running at 5GHz sharing virtual cache, using ~256GB-1TB of of RAM at ~76-304Gbps transfer speed is something a major bank would use. It won't cut it for SoTA atmospheric modeling, molecular modeling, or something like rapid computational chemistry search space exploration. What it excels at is the ability to handle a blazing number of "ordinary" and AI inferenced transactions per second. Then there's the SAP HANA where entire workloads have data fully stored in the gargantuan RAM.

Could I be neglecting to foresee certain trends in technology or industry? Perhaps. What I'm doing here is highlighting that the current niche is well served by POWER and Z. I don't see the current users switching entirely to Cloud - that ship sailed 5 years ago.
Yes. That atomized model of concurrency where your state goes everywhere and you somehow collect it back at some point was always (literally) the textbook example of how not to do it.

It was created to be an improvement over the Javascript situation, and somehow every language that had a sane structure adopted it as if it was not only good, but the way to do things. This is insane.
Well, this is too is pretty clearly highlighted in the article... I mean it doesn't really matter too much, but

> He aimed to create a tool that was:

> Distributed: [...]

> Compatible: The new tool would incorporate as many features and workflows as BitKeeper.

> Secure: [...]

and there is another quote from Linus Torvalds contained in the article:

> 'Well, it was obviously designed for our workflow, so that is part of it. I’ve already mentioned the whole “distributed” part many times, but it bears repeating. But it was also designed to be efficient enough for a biggish project like Linux, and it was designed to do things that people considered “hard” before git – because those are the things I do every day.'
Texas heat wave: US Energy Department declares power emergency
I had to break out the folded $50 i keep folded up in my phone case for emergencies (I never forget my phone but I often forget my wallet)
> but it is enforceable through technical means

What you mean by that? Currently it's not enforceable by any technical means, as I can scrape Twitter without any limitations.
I think you would look at

1. "Server level connection pooling" in the article (all clients share one pgbouncer instance) and

2. "Statement mode" if you can live without transactions (connection is re-pooled after every statement) otherwise "Transaction Mode" (connection is repooled upon transaction commit or rollback).
“ A good pair of shoes should come at a cost — Potter puts the minimum price for high-quality men’s shoes in a traditional style at $300 — but they should also last at least a decade with proper maintenance.”

I don’t want my shoes to be a hobby; if they only last a little longer than mass manufactured shoes without this maintenance and still cost triple the price, the math just doesn’t work out.
Perhaps that traditional engines shoot greenhouse gas straight into the stratosphere and that’s a bad thing?
> Aaron Swartz, Steve Huffman, and Alexis Ohanian, months after they launched reddit

Aaron didn't launch reddit. He wasn't even involved until six months in.
>AI models and their biases are reflections of the biases of society.

It's not one way though it perpetuates the bias. I'm not blaming the author of this as its Stability AI that need to clean their data.
Cerabyte: ceramic storage poised to usher in 'yottabyte era'
I will not expand on the circumstances, but at one point during my career I did review a paper while naked.
I find the criticisms a little strange - async doesn’t imply multithreaded, and you don’t need to annotate everything shared with magic keywords if you’re async within the same thread because there’s no sharing. Only one future at a time is running on the thread and they’re within the same context.

When moving between threads I do what you suggest here and use channels to send signals rather than having a lot of shared state. Sometimes there is a crucial global state something that’s easier to just directly access, but I just write struct that manages all the Arc/RwLock or whatever other exclusive access mechanism I need for the access patterns. From the callers point of view everything is just a simple function call. When writing the struct I need to be thoughtful of sharing semantics but it’s a very small struct and I write it once and move on.

I also don’t understand their concern about making things Send+Sync. In my experience almost everything is easily Send+Sync, and things that aren’t shouldn’t or couldn’t be.

I get that sometimes you just want to wear sweatpants and write code without thought of the details, but most languages that offer that out of the box don’t really offer efficient concurrency and parallelism. And frankly you rarely actually need those things even if the “but it’s cool” itch is driving you. Most of the time a nodejs-esque single threaded async program is entirely sufficient, and a lot of the time Async isn’t even necessary or particularly useful. But when you need all these things, you probably need to hike up your sweatpants and write some actual computer code - because microseconds matter, profiled throughput is crucial, and nothing in life that’s complex is easy and anyone selling you otherwise is lying.
No subscriptions, no problems with me.
It's great! But there's nothing about it that requires futures.

It really annoys me that something like this isn't built-in: https://github.com/mrkline/channel-drain
The compiler is the bundler is the runtime. The reason it’s such a problem on Node is because the tools are separate and often conceptually at odds.
Using an opt-out is completely different from using third party ad blocking technology and is much more friendly. I can set the IDFA opt-out on my father's iPhone and nothing will break, but if I set him up with ublock or dns blocking and it starts breaking websites, he will be totally confused and not recognize what's happening. Also, using hacks to block tracking is not 100% reliable and allowing the user to have a specific option like Apple does is better for the user.
That's probably because it was cached! The first install is "a lot" slower than subsequent ones:

$ cd /tmp/
$ mkdir app1 && cd app1
$ time bun install react
bun add v1.0.0 (822a00c4)

installed react@18.2.0

3 packages installed [431.00ms]

real 0m0.436s
user 0m0.031s
sys 0m0.052s

$ cd ..
$ mkdir app2 && cd app2
$ time bun install react
bun add v1.0.0 (822a00c4)

installed react@18.2.0

3 packages installed [6.00ms]

real 0m0.010s
user 0m0.006s
sys 0m0.005s

Though even 431ms is obviously amazing!
How this compare cost wise to other solutions for carbon capture like planting trees? Looking at its cost per ton of CO2 it seems quite expensive for a normal consumer trying to go net-zero.
I've been emptying mine at the base of our sapling laurels for about 18 months. I think the ones where I'm emptying are very slightly fuller looking than the others. Hard to say though.
Haha not bad, how do you link them? :anthropomorphic-banana-wielding-a-sword-and-shield:

I was going for this guy: https://www.thingiverse.com/thing:3327431