skysight-inc/HackerNews huggingface dataset:
My novice understanding of prompt-engineering is that it "guides" the LLM to certain parts of the output space. It has all this information related to a topic from a variety of sources, by creating some context (i.e. prompting) one can increase the likelihood of the LLM outputting text that's more related to that part of the training data that you'd want.

For example, let's say the LLM learnt about color theory from:
1. academic articles,
2. artistic discussion forums,
3. reddit ( :) ).

If you wanted to steer the output from a certain "niche" you could create context in the prompt that makes the LLM more likely to create output (ie a continuation of the prompt, sort of). Tricks I've seen is stuff like "You're a super-smart, best in your field XYZ, tell me something about...". But I bet you could similar good output by using lingo and vocab specific to either niche to "prime" the LLM.

Take with lots of salt-grains, just my pet-theory.
Enjoy debugging things when everything is encrypted... and then your certificate provider goes down (or removes you because they don't like you) and you can't even connect...
what's a minor US citizen?
There is no sadder story in American capitalism than the decline of HP from a wonderful equipment engineering company to a racket for selling tiny little tubs of overpriced ink. Think a young Steve Jobs would be excited to get a job there now?
I've literally never had a SO question deleted/downvoted/any of the other stuff.

Just think of a genuinely good question and show you've done a modicum of research and people will happily reply to it
This might be a bit more accurate, especially if they ever switch to Fuchsia under the hood.
64KB is the default, you can increase the buffer size using `fcntl`. You're probably more limited by syscall overhead than anything
> China cannot subsidize industries out of thin air

Correct. Their industrial subsidies come at the expense of China's domestic spending ability. Many pundits, including the one I linked, believe that China must allow increased domestic demand but this is politically unfavorable in China due to the entrenched interests and beliefs in the necessity of a strong industrial base.
Message pass enough and you'll easily deadlock as well.
You don't need hardware encryption if you don't need encryption.

You are solving 1% of the problems with 99% of the energy.
Kind of hard to take it seriously when it doesn't support .usd/.usdz.
> In a dynamically typed language, this would be a + b. In a statically typed language, once you consider overflow and underflow, you will likely have a hundred lines of code.

https://stackoverflow.com/questions/52376716/c-overloading-o...

literally a single line of code to overload an operator.

anyway, if you don't consider error states in your dynamic implementation and you do this in static then yes, it could be simpler. But static doesn't force you to consider error conditions - just like this C++ example does not.

and yes, if you fall back on javascript notions of default cross-type arithmetic (1 + "1" = ?) then you will get something, and if you take great care to structure your code you may get something useful as a side-effect, but, this is not meaningfully different from the error-state for most people. Getting [] or "11" isn't the expected outcome unless you've come to expect that quirk of javascript, and is something that a static compiler would rightfully complain about - because a user asking for an undefined operation computed across incompatible types seems like a classic type error. If it's not, then just define the operators that are meaningful to you - and you could define it as an interface if you wanted it to work with a bunch of classes etc.

Again though, the complaint elsewhere that "a lot of this debate just ends up being dynamic programmers who are unaccustomed to using static types at all and think it must be so super burdensome all the time" seems pretty accurate. Defining custom operators is not something that occupies even 1% of my time in any static language.
I love it, maybe finally developers will no longer be under the mercy of apple/google store! Probably the only thing PWA fails to do now that anything needs access to the hardware say wifi/Bluetooth scanner and such, and big games too, the rest of the apps, I don’t see why it needs to be installed from app/play store.
My understanding is that google went from a more traditional database style which supported such queries, to a newer "n-gram" index with a layer of semantic similarity. Notably, you can no longer put a sentence in quotes to only find pages that contain that exact phrase. Also, the order of words matters more now than it used to (where the old search engines treated a space as AND, so order was irrelevant outside of quotes)
And on the follow-up, "Why use 2.4(5) GHz for microwaves?"

Because it happens to be a convenient frequency that water absorbs readily, which is the easiest way of heating up what we'd want to heat with a microwave (read: food).

https://en.wikipedia.org/wiki/Electromagnetic_absorption_by_...

And once we'd polluted the frequency for any stable commercial use, why not use this weird carve-out for a little thing called WiFi?

Rabbit hole: Apparently the precise mechanics of EM heating of molecules are surprisingly complex, and offer a number of frequency options. But this would have been the 1950s(?), so I'd assume they empirically determined a balance of functionality + technical feasibility for water, called it a lunch, and went to have five martinis in a practical fashion.
Egui is great, and the eframe way of writing small apps is so nice!

I cranked out my own custom video player (for tagging video) the other day using it and the ffmpeg bindings. Very pleasant experience.
Fossilized adult and toddler tracks found at White Sands National Park (2020)
Around 2012, YT's shittiness level reached OTA TV levels and that's when I peaced out.

My rule: it's not worth using YT, TikTok, or any other corporate behemoth with your attention as their product. So if a form of media runs ads, I'm out.

There's nothing particularly defensible about YT's readily commodifiable service and indefensible business model except the power law distribution of a monopoly. YT's closest competitor/alternative was once Vimeo. The problem was their founders made a critical error of taking venture funding and, later, going public, leading to poor decisions driven by the board that gradually wrecked it.

YT is allowed by the market to be shitty because there is no viable competitor in their space. The biggest touted contenders aren't much of a threat: TikTok started as a copy of Vine, so it's unsuitable for substantive, long-form content. Instagram is TikTok plus pictures. Twitch is pigeonholed for specific uses: gamers and ear-licking models. Reddit Live isn't for persistent, on-demand content hosting. There isn't much else except tiny startups, some of which may well be better for both viewers and creators.

To be a YT competitor I'd want to use: Charge content creators and viewers a modest subscription fee so they don't have to have ads AND have engagement and monetization tools for the creators. Don't spam me with ads for viral cat videos.
Hey, I’m actually not in the market for new work but I appreciate your reaching out. This is just a little side project I threw together and figured people might get utility from it.
I think if you find money laundering and tax evasion schemes to be scummy you might want to look closer at the migrant work force that helped build that utopian dream city and ask important questions like:

* How do they afford such an expensive city?

* Where do they go when the work is done?

* Why don't they get the same rights as citizens?

* If the city needs them so badly and has such a hard time finding work, why aren't they allowing migrants a more permanent residency that isn't tied to a specific company?

* Why are companies and the government restricting migrant movement?

* Why do companies (sometimes) charge their migrant workers for the right to work?

* Why do companies (sometimes) withhold the passports of their workers?

* Why does the government punish overstaying a visa with caning?

I think there are a lot of parallels to western wealth disparity but there's still a lot of grossness to the systemic human labor trafficking that is the backbone of the country.
> Libraries print more cheaply than shops

Highlighting this. My local library lets you print 100 pages per month for free (color printing counts for three pages), which is more than enough for my needs these days.
I bought a Tesla dongle that goes CCS -> NACS in order to use it at Electrify America or EVgo stations, and it's largely been a waste of money. EA stations are usually broken or otherwise frustrating. I tried using one near San Diego a few weeks ago; there was one spot and one cable open. Great! I plugged the cable into the dongle and the dongle into the Tesla, but I couldn't start the charge. A woman who was charging nearby said that, if someone else has already started a charge with the other cable from the same machine, I can't start a charge. WTF? Isn't that why they install two cables?

I tried calling EA's support line and gave up after a few minutes on hold.
One thing I've noticed about simple one word searches on Bing now - a lot of times it just errors out and closes the Bing app tab you've opened with no explanation to the user. This only started happening after they pushed the AI driven search narrative to make you use it in the app, so apparently single word searches are too much somehow for their version of AI to handle.
That might be because it should be written:

e^(i*θ) = cos θ + i*sin θ

The formula loses most of its beauty when you just present it with a single arbitrary real plugged in.
Just to 2nd it. I came to the comments first, but after visiting the site, it does feel unnatural. Also to pile on, having to multi-click the next button one at a time per app feels tedious.

Seeing how you are at this stage though, color me very impressed. I've just never paid attention to PWAs, so seeing them available like this gave me a totally different (positive) consideration for them. I would love to see numbers of use just to see how widely used PWAs are. This isn't an idea for the UI for popularity per app, but just for PWA in general. Just in terms of if this is something I should be considering. Great job and good luck!
Are they actually microwave instead of convection?
Tracking Likes on Twitter for Transparency
I purchase the business version of the ThinkPads and the warranties are fine. In fact, HP, Dell and Lenovo use the same company in my area when they send out technicians to work on them.
This is honestly the best response so far, and I agree that my statement was probably too ambiguous.

I am not claiming that anyone says AI should have all the rights of humans, I'm saying that people are arguing that:

-> the Right existing for humans (to organically learn by ingesting works of others)

-implies that-

-> learning must also then be allowed for non-human learning (i.e. AI models) as a Right

That argument does not make sense to me unless you start from the assumption that "learning" is what grants the Right (i.e. that everything has a right to learn, computers included), rather than being human, which is what I mean by "devaluing" people.

I agree the court case is necessary, but only as a vehicle to enshrine what should be an obvious truth:

Humans learn from experience whether they endeavor to or not, so they literally cannot ingest media (e.g. for the purposes of entertainment that the creators intend, per OpenAI's brief) without assimilating it into their mind.

That is not true for computers. AI models do not consume content for the purposes set out by the creators. They consume them for business purposes, and to allow them to do so, without license or permission, completely destroys copyright protection against corporations.

We do not need a new law; the current law already doesn't allow companies to use copyrighted works without permission. We just need the existing law enforced against AI model companies.
Spring is pretty simple, it works out of the box (spring boot) and the docs are good.
Depends on equipment of the plane - the original reasoning for making 2.4GHz the international dumpster spectrum was to install microwaves
Genesis is Hyundai/Kia (just at least in the US a much smaller part of the market). So all their EVs are built on the same base.
I'm not sure about that. I noticed that some websites (even simple blogs) felt instantaneous when loading (after pressing enter or clicking a link), way much faster than other websites. So I opened the dev tools, and the first request was HTTP/3. But all resources were still loaded with HTTP/2! HTTP/3 really brings something not negligible. Those accumulating TCP/TLS handshakes (+WIFI high latency) are really a burden and degrade the user experience when you have a fast internet connection.
What’s wrong with them after four years?
Pipes are FIFO data buffers implemented in the kernel. For communication between threads of the same process, you can replace any pipe object by a userspace queue implementation protected by e.g. mutex + condition variable. It is functionally equivalent and has potential to be faster. And if you wrap all accesses in lock/unlock pairs (without locking any other objects in between) there is no danger of introducing any more deadlocks compared to using kernel pipes.

Threads are an important structuring mechanism: You can assume that all your threads continue to run, or in the event of a crash, all your threads die.

Also, unidirectional pipes aren't exactly sufficient for inter-process / inter-thread synchronisation. They are ok for simple batch processing, but that's about it.
Because junior developers don't know how to do Type-Driven Development.
The hotels are responsible
Seems like claiming that a linked list isn't actually a linked list it’s an unbalanced tree where every node has one child node.

I mean, you’re not wrong but it’s still a linked list.

I’d be careful muddying up your mental models this way though - they’re distinct data structures for distinct purposes.

You would likely not want to use a merkle tree for an append only log, and likely would not want to use a blockchain for verifying file integrity.

For example, BitTorrent, IPFS, and Storj use merkle trees to verify and discover blocks on the DHT, you would not want to use a blockchain for this.

And Scuttlebutt uses a blockchain as an append only log that is gossip friendly, you would not want to use a merkle tree for this.
"Honey! I'm detecting some some major CMB! You gotta see this! Can you pop my lunch outta the micro too?! Thanks!"
As mentioned in a sibling comment, turbines don't scale down very well. Boundary layer friction gets relatively worse for smaller turbines, and AFAIU small turbines have relatively larger inefficiency due to air leaking past between the blades and the casing, etc.

There's a couple of companies working on recuperated turbine engines for small aircraft in the few hundred kW range, remains to be seen whether any of these will succeed.
>I think the demand for energy will grow with the supply, as it has for us.

I think if we apply what is happening on Earth that is not going to be true.

It seems as though per-capita energy consumption increases to a certain point, and then stops. In the US it peaked in the 1970s and has fallen such that even with the intervening population increases US energy demand has barely increased.

Depending on who is counting energy consumption (this is all sources of energy not just utility electricity) either peaked or plateaued in 2017-2018.

In the US, EU, and Japan energy consumption is decreasing (and it is decreasing faster than population loss in Japan). There are a number of reasons for this but mostly it's efficiency improvements-- which still count!

I think there is only so much consumption that a TYPICAL human being can do. Only so much heating and cooling, only so much travel, only so many hot showers. Everyone gets to that point, and then stops. They don't reach that level and start setting up tesla coils for funsies.

Once they reach that apex, efficiency improvements start to decrease overall consumption.

If population predictions pan out and a shift to more efficient energy production and storage techniques continue, I'm willing to bet that in a century the world will be using less energy than it is today.

Same thing for hyper-dimensional interstellar megagods. There are only so many 100km x 100km x 100km cubes of atomically-pure gold one needs in their collection.
When time was based on earth rotation, astronomers used “transit instruments” to observe when certain “clock stars” passed directly overhead. The clock stars had accurately known positions, so if you routinely record the time they pass overhead according to your observatory’s clock, then you can work out how accurate your clock is.

Newcomb’s data would have been accurately timed observations, as many as he could get hold of, going back about two and a half centuries.
Nice! I attempted adding my webapp. Do you have a template that I could add to my site (ie: add our app)?
Simple Network Error Collector Using Google Apps Scripts and Spreadsheets
The idea here is to setup a quick and free way to collect reports in JSON format and dump it inside Google spreadsheet with a simple POST request.
Only, amazon is now flooded with crapbooks written by artificial psychonauts and also reviews written by artificial psychonauts.
They never stopped.

Here's the always up to date list and the reason per country:

https://home-affairs.ec.europa.eu/policies/schengen-borders-...
You want Torznab support. That is basically metadata you want to export, to import it into your application which holds the database of what you are after. If it is a match, it should attempt to download it via your download client (BitTorrent client).

Torrentinim is the successor of Magnetissimo but it lacks Radarr/Sonarr integration (there is a pull request for Torznab support for both). Spotweb has Newznab support [1] but at Black Friday (soon) there's usually tons of deals available for Newznab indexes.

I don't care about BEP51 as I don't have huge upload. That is also why I prefer Usenet over torrents. But torrents are a useful and sometimes required backup mode. Just not my preferred one.

[1] https://github.com/Spotweb/Spotweb/wiki/Spotweb-als-Newznab-...
> What should it do?

If I'm reading the article correctly, the user can be informed at runtime with little to no performance impact. That certainly sounds preferable to returning an unsorted list (that may not even match the input).

Almost every Rust sort does this, but no C/C++ sorts do. That appears to support that author's conclusion that this is a cultural thing.
> directory tree is not as easy to view and edit as JSON.

tree path/to
cat path/to/key
echo "1" > path/to/key

But my point is that you're not using the file system as a database. You're using it as an index, and haven't considered about multiple readers/writers to those individual JSON files that are doing the real work as databases. It's kind of like writing JSON into a SQL table. You can do it, but probably not to store important data within that JSON that always needs to be queried and ser/deserialized for any kind of read or write. If you need that, you probably want NoSQL.
Jailbirds of a Feather Flock Together
What are the consequences for people using screen readers?
Are the article details still accessible to those users or do they have go entirely by the tweet text?
Early newspapers, even paid ones, often had an entire front page of only ads. And then more ads within.
Most inexpensive (ie, $200 or less) AirPrint (or google/MS equivalent) enabled BW laser printers are good solutions. I have a Canon that's lasted me several years of moderate printing (I hardly print but my kids love to print stuff out).

Every year I buy a 2-pack of off-brand toner from Amazon for $30. When the printer complains, before replacing toner, I just pull out the existing toner, shake it, and get probably 10-50 more (faded but usable) prints.
Dropbox was the first great I found.

Hilarious that Google, meta and Facebook all suck with remote work
> To take an example, zero folks that want to read Game of Thrones are asking ChatGPT to generate Game of Thrones for them instead of buying the book.

Why jump straight to one of the longest popular books in English? I'm sure plenty of people who would otherwise buy poetry anthologies are asking ChatGPT to write them a haiku. It's also entirely conceivable that ChatGPT can perfectly reproduce a poem in its training set - it can produce paragraph-sized quotes.
Embracing the command line: my unexpected career in computational biology
Pre-2010 forums almost all universally had as high quality of discussion.

Almost everything on topic and relevant, very little tech circle you know what's about random coding projects nobody will remember in a week, all jokes and casual conversation was original and not just "Sigh, unzips" reposted, limited influence from cringe culture, bodybuilding boards, Kiwifarms, etc in most places.

Everything going mobile, then endless scrolling, then disallowing signatures and making avatars and usernames microscopic changed everything.
So, you copy the Kindle book from a server to your local host to feed into your training algo (ie other means). Or you stream it piecewise into a buffer, still copying.
This is sick! Congratulations on the launch!
Nowadays i would argue that the css rendering speed is faster than the Android UI renderer which suffers from extreme complexity. Ios might be still faster, but also much more limited. A good SPA is indistinguishable from a native app.
Would Elm be better there? It's compiling to JS, but not trying to interact with most JS except through specific interfaces.
Yes, that's almost certainly true. It's very odd that American schools generally run their undergraduate admissions with minimal input from their faculty.
That's type inference, not dynamic typing. The two are distinct language features. Many statically typed languages offer type inference: Haskell, C++, Rust, Java, D, SML, OCaml, C#, F#. Good luck convincing people that those are dynamically typed languages just because they have type inference.
Michael Lewis on How Sam Bankman-Fried and FTX Fell
https://archive.ph/Tof1L
Your average person now think of anything as an “app” or it should have one, even if it was just a wrapper for a browser, they would still install the app (1), so I think OP is in the right direction, nothing will change from the user side but much better for the developer one.

(1) Reminds me of this :) https://files.catbox.moe/36o4jr.jpeg
Show HN: Kashflow.app – Experiment with and forecast your personal finances
Thank you!!! This means the world to us :-)
> Also, don't buy into hysteria. You're probably not going to die because of climate change

if you're here on HN meaning you are not one of the poorest on Earth. I mean, that's nice, but it's worth sparing a thought of the millions that are gonna die because of climate change within the average HNer lifetime.

I agree with your comment, but this is one of the time to understand our position of privilege, not that the problem doesn't exist.
Please provide some sources saying something about Smalltalk's Proven Productivity.
Personally, I think confabulations would be a better term. To the best of my understanding, these AI rely on a model similar to the reconstructive theory of memory in humans. The connotation of the word confabulation indicates no maliciousness while highlighting the erroneous nature of the action.
Clearly a question rooted in grounded science (not).
> you clearly do not know what you're talking about.

Not everything is racist. Take a lap.