skysight-inc/HackerNews huggingface dataset:
What's great about watercraft compared to airplanes is that cities usually have a port right next to the center, while the airport is usually far away. A helicopter is somewhere in the middle, it can land to an industrial port or other area with less noise constraints. I guess e-vtol could solve that too if it's not too noisy?
> See, the scope and purpose of something changes faster than its name can.

There's your problem. Create libraries that aim to do one thing and do it well. Once you release your project and have users that depend on your code, you owe it to them to maintain it in the original scope. If you have an urge to change your project's scope so much that the name should change, create a new library with a better name instead.

p.s. Obviously does not apply to brand names, which need to be distinctive.

p.p.s. Rich Hickey talks about this here: https://www.youtube.com/watch?v=oyLBGkS5ICk
Can you give an example of why you need non-terminating semantics? Programs can still be run "forever", if they are run for each input while maintaining terminating semantics for deriving output. Abstractly the Turing machine is infinite, but in the real world input and output is almost always finite and discrete.

I guess you wouldn't be able to use it to build a machine that is supposed to display Pi or Fibinocci?
Weightless: Parabolic flight on an A310
It's gonna be totaled in either case I imagine. Can hardly imagine the battery catching fire without somehow damaging the rest of the car.
I think it's being compared to Tailwind because it gives you consistent scales - your padding isn't 4px, it's --size-fluid-3.

I agree with you: half of Tailwind's value for me is the scales, and half is that I don't need to create a derivative taxonomy of my app - I just style the thing that needs styling.
If you want to implement something quickly and even more so if you want to maintain that speed in the long run, then there is one thing that will turn all the things the article talks about into mere noise - design things properly. Especially data models. After that comes implementing things probably, i.e. no shortcuts and hacks.

The things the article talks about are not bad advice but I do not think any of them are critical for being fast besides getting and incoperating feedback as early as possible. This is of course not limited to feedback on an implementation, you of course also want early feedback on your design before you even start implementing something.
Ask HN: When will big tech be taken down a notch?
For the average person, it’s hard to imagine a world where the GAMA are not so utterly dominant. However, there’s clearly a precedent of “nothing lasts for ever” in tech with former incumbents such as IBM, Intel, Yahoo, AOL, Oracle, to a certain extent Microsoft, and many others losing their grip of their quasi-monopolistic market positions. Do you see a near future where today’s GAMA shuffle to become a different acronym (or doing away with big 4 acronyms altogether)? If so, what are the events that will lead up to it and who will be the first to go?

Note, not arguing that they should be taken down a notch necessarily, but rather more interested in the economic arguments of whether it’s possible or even likely.
There’s other ways than using telnet??? I thought telnet was the recommended way.
Landmass especially. The increase in average temperature will concentrate over landmasses.

Depending on how fast the artic ice cap melt, we could see the average temperature over a year in western europe drop, while increasing over the summer months.

But climate is weird, that's why the less we perturb it, the better we get.
Even Markdown is further distorted the more time passes (and it isn't even a programming language).
Screens are huge now. You can fit long names. Auto complete makes typing long names easy. Let your code read like prose. Save the brain for solving the business problems not for understanding the code.
Sure, if a minority is a small percentage and it wont hurt you financially (much), plus you can milk it to get press (and most likely increase your profit), then I can understand that. (I think you're referring to the cake shop if I remember correctly).

However setting up shop and not serving cakes to a vast majority of your customers who are a minority is just asking for bankruptcy.

I also find it really hard to believe that there isn't one greedy capitalist that will take advantage of this situation.
e.g. Huge talent shortage of tech workers. Assume that there is a cohort minority who are probably price themselves cheaper (becz they are having it harder to find a job), then there's not one person who will seize this opportunity in America?
It has the ability to make real-world concurrency scenarios trivial e.g.

* 3 fibers - each fetches from remote storage, local storage and in-memory cache.

* Race them, kill the two slowest and give me the result.

* Free the resources safely including if any of the connections fails for an unforeseen reason.

That's a few lines in ZIO. Pain to get working properly in Java, Rust, Go, C++ at least.
Linux's Modern NTFS Driver Preparing a “Hidedotfiles” Option
Fortunately, not all energy consumption is gas.
"especially when you've got bigger problems like affording food and warmth this winter."

All the wealth the royal family hordes could help with that. Those "Royal" palaces could be converted to museums or hotels and earn money instead of costing money.

To be a monarchist is to accept the claim of inherent superiority by self-professed "Royalty".
> But curious, what's wrong with the coroutines?

Maybe I need to revisit them, as I've only used them (on 1.6) in the context of kotlinjs (which has a limited implementation) so perhaps my impression is flawed. That said, I didn't like how viral they are in the codebase. In an executor/thread paradigm, you can box up the asynchronous behavior quite cleanly; in a codebase that uses coroutines, I ended up propagating `suspend fun` up and back in my codebase.
Since it is mostly css vars from what I see, you can use this with TaiwindCSS.

Still, I am not sold...
You're better at expressing my thoughts than I am :)
Twitter Shareholders Are Poised to Approve Elon Musk Takeover Deal
Obviously I think it does. Why do you think it doesn't?
Yes, but surely freedom of speech, the right to protest etc. are much more basic than the stuff the Polish dislike?

As long as the Poles and Hungarians aren't arresting people willy-nilly for protesting or writing things on the internet then they're not even in the same league as the Brits when it comes to social regression.
I don't know how this is executed in reality but if the GPT instances aren't well isolated, it seems like you may be able to get the model to execute system level code or leak prompts and information from others using the same instance. Again, I don't know how well isolated these instances are in practice. Outside of that I tend to agree with you, you're simply poking at your own isolated instance and getting back what you expect, so who cares?
I‘ve had problems with plain text emails being treated as spam, but send the same content as HTML and it’s allowed through. I’d send more plain text emails, but it would cause more problems.
Choices in AWS network design: VPC peering vs. Transit Gateway
It's (usually?) less than that.

https://lwn.net/op/FAQ.lwn

> Must I subscribe to read the Weekly Edition?

> No, the Weekly Edition becomes freely available to all readers one week after its publication.
Nice project! So it provides first-class support for bash (like arrays etc).

There is also another way; we can convert toml to json via `rq` and query/filter with `jq`:

curl -s 'https://raw.githubusercontent.com/snyball/tombl/master/Cargo.toml' \
| rq -t \
| jq '.package.name + " version is : " + .package.version'
Does anyone else ever wonder if the bus factor of the economies of some countries equals the number of cobol programmers that keep the biggest banks and similar institutions running? Probably (hopefully) that's a bit of an exaggeration but still
Hm, I'll be honest in the spirit of JLG's unabashed expressions of desire for the opposite sex. I reached for it because of Brigitte Bardot, but it is a solid film.

My absolute favorite JLG is "JLG/JLG".

https://www.imdb.com/title/tt0110173/

Apparently no torrents for this, too bad. Here is a taste:

https://www.youtube.com/watch?v=mk1AK-G6UF4

[p.s. RIP, Jean-Luc.]
These people never heard of cumulative emissions. China isn't responsible for most of the CO2 that is in the atmosphere. If you want to talk about fairness then the west already blew their CO2 budget.
But, isn't AWS doing literally everything?

No simple name can describe the job 100% after a certain level of complexity anyway.
It's hard to answer meaningfully without risking starting a pointless debate in the comments or being fully honest, but I will try:

There are two FP ecosystems inside the Scala community with a very adversarial relationship towards each other. The root is that many years ago the lead developer of one of those FP communities allowed (based on community feedback) a speaker to give a technical talk. There were some people demanding that he'd be cancelled based on his right-wing views. This evolved into a full-blown conflict with serious accusations over the years about political alignment.

I am not a member of the Scala community but are interested on the language and somehow this conflict kept popping up. I agree with the author about the "US political landscape" microcosm: the conflict felt absurd and completely blown-out of proportion to me as an european.
European natural gas imports and storage reserves
Updated Weekly. In my opinion much more informative and with better visualisation that the story on the front page.
https://en.wikipedia.org/wiki/Counterfeit_banknote_detection...

> The effectiveness of the pens may be affected by external methods. Simply having a banknote pass through laundry, depending on the soaps and bleaches used, can cause a bill to fail the test when it is otherwise accepted.
Exactly.
A rust panic will call the panic_handler, implemented there:
https://github.com/Rust-for-Linux/linux/blob/459035ab65c0ebb...

So accessing an array out of bound will have a runtime check that will call the panic handler, and that panic handler calls BUG() which means kernel panic.
What about small landmasses, like Japan or Indonesia?
Italian Neo-realism predates French New Wave.
On the topic of AGSI, the company I work for published a Python client to work with their API in case you're interested: https://github.com/ROITI-Ltd/alsi-py

Edit: Correction, it's for ALSI, not AGSI, sorry about that. We should add AGSI now that the API is available.
I have no idea what CAA variables are, and search with either google or ddg returns no relevant result…

So please explain what they are and why they are not overengineering?
Traits are designed in such a way that there always is some privileged “receiver” type. In abstract datatypes, ML modules, and type classes there isn't this bias. In an ADT you can have a number of associated abstract datatypes, and in type classes all the 'parameters' are treated equivalently (other than order of the arguments which is a little annoying). To compare:

module type Add = sig
type lhs
type rhs
type out
val add : lhs -> rhs -> out
end

class Add lhs rhs where
type Out
add : lhs -> rhs -> Out lhs rhs

trait Add<Other = Self> {
type Out;
fn add(self, other: Other) -> Self::Output
}

The way Rust does it is nice for more OOP-style usages of traits, but is annoying if you go outside of that (like with the operator traits). This is a personal annoyance, and would have other knock-on effects if it were changed, but does annoy me sometimes, hah.

> What is definitional equality? What does an abstract type alias look like?

Sorry, type theory lingo. Definitional equality means (in the way I was using it - there's some subtlety) that when comparing two things, you look at the definitions, potentially performing some computations to simplify things down. For example, if I had:

pub type Id<T> = T;
pub type Pair<T, U> = (T, U);

pub fn foo((x, _): Id<(i32, String)>) -> i32 { x }

Then I can supply a `y: Pair<String, i32>` to `foo` from another module and everything will be ok, because Rust computes the underlying type when comparing the type of the argument with the type of the parameter, based on the definition of the type alias:

use stuff::Pair;

fn weird(pair: Pair<i32, String>) {
dbg!(stuff::foo(pair)) // Rust checks: Pair<i32, String> == Id<(i32, String)>
}

If however, I wanted to hide the contents of the type alias, but only expose its signature, I'd be out of luck. In other languages you can have "opaque" or "abstract" type aliases that don't reduce definitionally outside the module where they were defined. Granted, in writing this now, you could use a "newtype" struct for this, and that probably works better with traits, but yeah... I think I recall running into other weirdness related to this stuff but can't remember off the top of my head.
Maps: Ukraine’s Swift Counteroffensive
"Nothing much really changed per se after Democracy. "

Yes, something very important changes, which is a rejection of the fundamental premise that some people are inherently superior and deserve to rule because of it. I wonder if the fact that the UK is still so strongly class segregated is a cause or effect of still having a monarchy?

"what are you fighting for"

Not tolerating a bunch of elitist, parasitic pricks who think they have the right to rule because they are better than everyone else.
IMO, they would be even better if they would be even better if they were in alphabetical order. Would make it easier to remember which came first.
The locomotives are made intentionally much heavier than they could be made. The weight of batteries cannot be a problem and any energy used to accelerate a higher mass is recovered.

The energy storage cycle using hydrogen has a much lower efficiency than batteries, even when a fuel cell is used.

Using hydrogen would make much more sense as a means for energy storage in an off-road vehicle than in trains, where the weight is irrelevant and the efficiency of the energy storage cycle is much more important, due to the very high energy consumption of a train.

However, for other kinds of vehicles than trains, there are many kinds of synthetic fuels which are more difficult to make than hydrogen, but which are much easier to handle and store.
Mm. Plausibly what they think.

I don't know when countries typically shift from economic conflict to kinetic conflict, but I hope that Russian intelligence isn't dumb/arrogant enough to assume that transition has zero probability.
The micro-syntax in attributes could have been avoided. There isn't any technical reason why:

#[cfg(all(feature = "a", target = "b"))]

couldn't look more like the rest of Rust:

#{ has_feature("a") && is_target("b") }

I'm not sure if declarative macros would have been better without a custom syntax. Procedural macros are just regular Rust, and they're verbose and hard to follow. In this case languages that aren't LISP just have to accept some trade-offs.

In case of safe Rust vs unsafe Rust vs compile-time Rust, I think they're fine. They're still using the same language with the same syntax. The specifics of what is allowed in safe/unsafe/const are different, but that's the point of these features.
I think this is mainly in reference to John De Goes, founder of the ZIO framework:

https://typelevel.org/blog/2019/09/05/jdg.html

https://meta.plasm.us/posts/2020/07/25/response-to-john-de-g...
Thanks! Could you point me to the C++ primitives that prevent cross-thread access of non-thread-safe data? I'd honestly love to learn about this.

If it's not asking too much, could you also point me to the C++ primitives that prevent dangling pointers as well?

EDIT: Also, the primitives that prevents the mutation of what a const reference refers to? (Much in the way that shared references and exclusive references can't co-exist in Rust)?

I'd hope the C++ primitives for the above all perform their job at compile time of course.
Since the current answers only consider albedo-tuning and mechanical CCS: Ocean fertilization[0] may be another solution to carbon capture.

The idea is that iron is the main limiting factor to algae growth, so that adding iron to currently barren areas in the oceans would allow algae growth on a very large scale.

[0]: https://en.wikipedia.org/wiki/Iron_fertilization
Very simple, sure, but in comparison to what? Maybe the same "file" can be even simpler with less lines but each line itself being less simple.
I know it's very American to think constitution applies universally, but unless Twitter becomes a government agency - they owe you nothing.

If a private entity de-platforms you, you will have no claim against them, unless you have a contract with them that's been violated (i.e. you pay for the services and they deny the said service).
If I stuff a sock in your mouth and tape it up, I'd be liable for the assault & battery, not for the first amendment violation.
If a government official stuffs a sock in your mouth and tape it up - you might have a chance to claim first amendment violation, but even then it might be a stretch :)
The irony here is that the dependency hell within pure Scala libraries has improved tremendously and is not really a problem anymore, yet we need to deal with many binary compatibility issues due to transitive Java dependencies.

Things that regularly cause issues, for instance when assembling JARs that get shipped to a Spark cluster at work: Guava, Jackson, Kryo, Log4j, Hadoop's transitive dependencies (like Netty) ... not Scala's fault.
The Rust for Linux implementation converts a Rust panic into a Linux kernel BUG macro call. I believe this will expand to an invalid CPU instruction (at least on popular architectures), and if you're a kernel thread you die immediately with the kernel reporting the state where this happened. Obviously in some cases this is fatal and the report might only be seen via say, a serial port hooked up to a device in a test lab or whatever.

So, it's not a kernel panic, but it's extremely bad, which seems appropriate because your code is definitely wrong. If you're not sure whether the index is correct you can use get() or get_mut() to have an Option, which will be None if your index was wrong (or of course you could ask about the length of the array since Rust remembers how long arrays are).
The claim is basically that hundreds of thousands of people, in thousands of research facilities, in more than a 100 countries are colluding to lie us about the climate. And I presume the governments who are making themselves very unpopular by trying to pass laws to reduce emissions are in on it, too, for some unfathomable reason? And the media! Thousands and thousands of publications are colluding to lie about climate research because it benefits them — how exactly?

The popular mantra is that some some mythical elite is making a lot of money by trying to make the world consume less. Could someone please explain this ingenious mechanism?

Most of the researchers are university students and professors with very small incomes. Research grants? In most cases you barely scrape by even if they get a grant for a year or two. A lot of them have side jobs because otherwise they couldn't pay their bills. Sh*t, I could probably come up with a 100 easier ways to make money than climate research in about 3 minutes.

It's kind of funny that in this day and age the researchers are considered the elite, and not the oil barons in their ivory towers or the politicians they have bought.
> What is meant by "without new gas"?

I guess that could all be calculated and presented and give us an idea. The looming threat is Russia not giving us any of their gas now, other sources are "safe", so I guess that's the baseline: How long can we go without Russian gas?

> And an unqualified time answer - say one month, for example - would be meaningless as the rate of gas consumption is highly seasonal at various scales (daily, weekly, annually). A winter month is not equal to a summer month for example.

That's why I discerned between "average consumption days" and "timeframe from now on / day x on".
Where else do you get in depth kernel reporting?
The EE transformer is just as descriptive than the ML transformer.

Your complaint is similar to cryptography conference attendants hating the word ,,crypto'' to change from cryptography to cryptocurrency, but that's just the natural evolution of language with technology (not mentioning that the original meaning of the Greek word is hidden/secret).
Rebasing is a necessity for this workflow.

If every branch has multiple “merge master into …” commits, and they are also merged back into master (without rebasing or squashing) you end up with a huge mess. Reverting anything becomes impossible, and mistakes when merging almost irrecoverable.
Note this all happened years ago and thankfully the community has very much moved on.

Travis one of the guys involved has even left Scala to do his activism work full-time.
Elixir 1.14: Better Debugging with dbg/2 and More
I did something like this for a side project: extracted relevant Tailwind defaults that I needed and converted them to css vars.

There are some limitations to this approach: some of the utility classes encompass several values, and you have to remember to include all of those CSS vars to replicate the class.
Far far better than caca. But if you want a picture-perfect quality try instead mpv with a sixel output

The subset of usable characters (glyphs) roughly defines how accurate the picture can be represented: if all you have is - and _ and you want to represent an horizontal pipe, it'll be ugly.

Of course it's more complicated than that, but caca uses ascii, while chafa uses a larger unicode range.

The example is illustrated in picture on https://github.com/csdvrx/derasterize where the left is the original basicidea.c using only unicode halfblocks, and the right has more candidate of different shapes.

Derasterize lets you select the width of the range you want to use, to improve encoding time say for video - but ideally, you would be able to test that whatever font you are using contains the glyphs you want.
Show HN: SirDB – Git-diffable database on your filesystem in JSON
I know! Hotels-rs
- add GFPGAN to fix distorted faces

https://github.com/sd-webui/stable-diffusion-webui/wiki/Inst...

- add RealESRGAN for better upscaling

https://github.com/sd-webui/stable-diffusion-webui/wiki/Inst...

- add LDSR for crazy good upscaling (for 10x the processing time)

https://github.com/sd-webui/stable-diffusion-webui/wiki/Inst...
What's rarely mentioned is that many European countries have massive reserves of recoverable shale gas but have banned fracking and are thus depending on imported gas...

That's one of the reasons the US are cashing in right now while Europe is having an "energy crisis".
> your passwords in plaintext

are you sure they do that? That's a big claim, and a huge security problem.
I wonder if there isn't an easy way to automate the parabolic flight - the autopilot should be clever enough to do it by itself without needing human intervention.
You’re not deploying an iOS app daily. At best it’s weekly. It’s really context dependent. Weekly is still an exceedingly short clip.
He means CSS variables.