skysight-inc/HackerNews huggingface dataset:
Sorry, but what you write nonsense and incoherent.

>What utter nonsense, of course historical trends are important, we've had high prices before.

Not remotely as high as we have had. Drawing conclusions from price elasticity at 25€ to price elasticity at 300€ is nothing but pure speculations.

>. Also many companies would normally hedge the prices, after all large factories and power stations don't just shutdown because of price fluctuations.

Made up financial instruments are useless when the counterparty simply does not fullfill their contracts. Right now we care about actual prices, for actual, physical delivery.

>The problem we have now is that the idiotic policies of EU governments will make the price essentially infinite because there will be no f'ing gas.

Conterpoint: The price is not infinite. What's happening with the infinite money glitch for buying gas for storage is that the price of the scarcity in the winter was priced in since this spring. Spreading out a scarcity event to something longer and less serve gives markets time to adjust. There is nothing idiotic about this, it's pure common sense.

>This year is massively exceptional

Yes, that's my point, why forecasts do not make much sense.

>aforementioned strategic leadership from the governments but we've had plenty of "normal" years to draw consumption trends from.

And what's your point? Is the not exceptional and we can make forecasts, or is it infinite? Your post
is completely incoherent and does not make any sense.
I imagine that the benefits of well written prompts will decrease over time but they will probably still exist. There is still a knack to getting useful information out of google/bing/etc., even if it is much easier than it was decades ago.
I don't know the details of the hardware interface of NVMe (not ssd, the real NVMe), but how setting up hardware scatter and gater lists for DMA will end up significantly faster, I cannot see any pertinent meaning.

And, is this code compiling with the rust compiler written in rust? (namely not pulling in the SDK this horrible c++ diareha which is gcc).

I have not checked rust syntax lately, but hopefully, it did not become insane like the c++ one (and what they are trying hard to do with C). Even at the start, I really did not like the hardcoding of strings directly into the syntax, but at least it had the decency to not require a garbage collector.
And that clip you posted is still perhaps 5 minutes shorter than the full clip from the film.
About the threading stuff, I think I wasn't clear initially. Maybe a rephrasing/simplification of my question will help: Does C++ have a compile-time way of ensuring, say, that mutex-protected data isn't accessed without acquiring a lock on the mutex?

> You can prevent dangling pointers using strong/weak pointers

I presume you're talking about unique_ptr/shared_ptr/weak_ptr right? If one avoids raw pointers and uses those, I think you cannot have a shared reference without ref counting right? (because shared_ptr uses ref-counting). Not that this invalidates your point, just thought it was useful to point out.

> how would a rust program handle a handle to the currently playing audio device being unplugged and invalidating your handle?

I've never had to deal with that situation, but I presume some mechanism similar to how the mutex in the stdlib has a .lock() method that returns an Option<MutexGuard<_>> (which forces the user to acknowledge/handle the case of a poisoned mutex).

> Constexpr primatives/functions have compile time guarantees and can't be changed.

Consider the c++ code here:

int a = 4;
const int &b = a;
a += 1;

Such a thing would be disallowed in Rust, which (though hard to see from this example) is the exact mechanism that prevents a Vec being modified while it is being iterated on. Does C++ have primitives that provide such guarantees?
Not belonging in the parks and not being in the parks are two different things, though.
Only consider the Levelised cost of Energy (LCOE) over the lifetime of systems, like solar+ electrical cables and night-time batteries versus solar generating hydrogen, storing plus transport plus burning or fuel cells in new locomotives.
If you look at LCOE over lifetime, solar photovoltaics always wins over wind, hydro and certainly over hydrogen and nuclear.
Lowest cost wins.

Hydrogen made from solar electricity is around 40% efficient, so it is more than 2.5 times more expensive (expensive storage and transport) than just solar and overhead electric cable. Cheaper still because you can put solar panels along the train tracks so land use is almost free. You would have much less losses if you convert solar panel 40-60V directly into high voltage the train use.
Folk Song Subject and Master Index
This is but part 1, there is a follow up article too:

Capitalist hydrofoils strike back! (Part 2):

https://www.londonreconnections.com/2020/capitalist-hydrofoi...
HAProxy also has the data plane api, which is another process that exposes an API that lets you do the same thing but remote and over a rest api.
Regarding Akka situation. I am feeling Java Loom + Structured concurrency[1,2] is coming at write time. I think lot of existing project will try to shove in virtual threads in reactive solution in sub-optimal way and It may not lead to great results. Already an implementation of Loom based server is out[3]. Going by how simple code looks and how performant code is compare to reactive solution even in ALPHA release. I am going to be using it very soon.

1. https://openjdk.org/jeps/425

2. https://openjdk.org/jeps/428

3. https://medium.com/helidon/helidon-n%C3%ADma-helidon-on-virt...
You win some you lose some, can't have everything in life :)
This feels like an ad for "High Signal" -- but perhaps I am too harsh.
It was always an ugly pairing of Java and worst of functional programming imo
but it would still be very much more expensive than just solar
FWIW Modula-2 is now available for GCC, which means that Modula-2 can compile for every architecture that GCC supports. On Debian derived distros look for gm2-version e.g. gm2-10 gets you GCC 10.x based compiler.
Renewable energy using electrolyzers
And I am not fond of all those languages. I am more a "everything in risc-v assembly" guy.
AI doesn’t use photoshop
it tells me that voice search is disabled
With the help of Mandiant, Google aims to boost the use and need for cybersecurity in modern-day business environments and acquire better data protection methods.
Why LNG specifically? There are other sources of pipeline gas that aren’t coming from Russia.
Yeah, you censor only ideas you’re afraid somebody might agree with. A related phenomenon is accepting anything a “thought leader” says as long as that person gives (or implies) a “reason.”
Did we read the same article? They were disputing the denialism around this condition which had previously been suggested as depressive episodes or other things they list. They’re talking about brain fog being a symptom in its own right and needing to be addressed directly.

The physicist they spoke to was able to illustrate how it affected them with a before/after comparison. This is amongst many other examples. It’s not elitist for a physicist to simply talk about their work and inner processes. It’s also not a particularly high paying position for most graduates.

I genuinely think you might be searching for something that’s not there to be upset about.
Good god this is a great article!

Starting from TLDR at top, it is well reasoned, well sourced and very detailed.

And I agree, UPI should remain free, precisely to allow the vibrant ecosystem and innovation formed around it. Banks nowhere are known to be nice guys, even TFA gives multiple examples when they were dicks until forced down, and its no good idea why they should get paid for UPI transactions when they are already turning out profit from it.
This isn't as easy as it once was, I believe. I did precisely this about 25 yrs ago, then ultimately returned to the UK. At that time you could get a H1B visa as long as they paid you the market rate and had advertised the job sufficiently at home first. Once you had a H1B you could transfer the visa between employers if you got another job, although not entirely simple. Since then, rules have changed so you have to earn a lot of money to qualify - though this may be do-able on a FAANG salary after a couple yrs experience. Also numbers of visas are capped so you might not even get one. So you could try L1 route as sibling post suggested, although, then you have to rise in that company a little bit , then you're quite beholden to them if you transfer - once in the USA, not so easy to transfer so what happens if you're unhappy in your job? Maybe you should do a Phd and try to get classified as "alien of extraordinary ability". (I love this terminology ;). ). That opens other doors possibly to visa independent of employer. In short- its not easy for a foreigner to go and work in tech in the US these days, and that in itself may explain some of the salary inflation that is being seen, hence the original Q on HN at all.
HAproxy is awesome. We have used the socket for ingress rate limiter for reasonably successful VoD service.
You'll probably love this - a complete reverse engineering of the Virus Synthesizer DSP code, which now runs extremely well in a DSP56400 emulator .. meaning you can run the Virus code directly on your PC and get the same audio as you'd get from real hardware:

https://dsp56300.wordpress.com

Pretty astonishing bit of reverse engineering there ..
Pretty much this. Any language worth using will have its complainers. This is generally a good thing :)
It would be interesting to know what drives cost gaps versus other jurisdictions.
I continue to hold the crank opinion that http verbs are a useless spandrel.

How much of a verb doing what the verb suggests it does is up to the developer? The answer is 100%. Verbs provide no guarantees whatsoever, they're just an invisible thing that isn't in the URL.

Why is something like that an invisible thing that isn't in the URL, with no specified behavior?

Because it shouldn't exist is why.
> GitLab Premium, at €20/(user*month) is not that pricy though, given you get the whole saas stack with it.

It is insanely expensive for me as a small time hobby coder. I'm not sure what I'll do if I ever hit the free plan limits but $228/year is not the answer for me.
You can modify or extend defaults in your `tailwind.conf.js`, or you can use the arbitrary syntax for "one offs" (`w-[69px]`), or wrap things in components.
Show HN: pg_netstat, a Postgres extension to monitor database network traffic
pg_netstat is a Postgres extension to monitor database network traffic. It uses libpcap to capture packets and aggregates at user-specified interval.
Interesting side effect of PHP's magicfull array, which is an array/vector, a linked list and a dictionary/hashmap in a single data structure and in that case copies all elements on each shift into the new location to keep the indexes starting at zero. If you break up the "array", say with an `unset($a[0]);` after the array_fill, which tells that you don't want "array" behavior, it becomes fast but all elements keep their original index instead of being moved forward.
> Basically, a single approach that would solve this, irrespective of the language, would be isolating dependency trees of every library from each other

Doesn't solve the problem completely because it is normal that applications need libraries to interoperate; consider case where application is passing objects between two libraries that both use types from a third library.
If you want your engineers to spend time playing with highly academic libraries that are unnecessarily complex for the business problem you are trying to solve, choose Scala.
> We’re left with the Scala FP communities, which yield awesome libraries and are awesome people, but the ecosystem is essentially a microcosm of the US political landscape.

This sentence puzzles me. Does anybody know what the author could have meant with it? As a European Scala FP programmer, I have no idea.
I doubt that "getting out more" would help in getting tighter definitions. The Planck length is probably a pretty effective method for contraception for what it is worth.

What would you propose? I think it is primarily a boundary, but conceptually I can see it used as a measure and rhetorical vehicle as well. Without being a physicist that is.
I'm in a similar-ish boat. I enjoy most languages that I learn... for a while. Once the excitement wears off, though, I start to see the flaws or inconsistencies. And, eventually, the flaws are the only things I notice anymore.

Of course, that's as much a criticism of my own attitude as it is of any particular programming language. But, in my defense, I think that we truly haven't "solved" the problem of software development. Ideally we'd need languages that make it easy to describe our human intent, make it hard to make mistakes, and are resource-efficient. There is no such language yet.

I used to also love C++ and Java. I liked the feeling of control that C++ gave me- believe it or not, I thought that writing 5 constructors for a class/struct was somehow good...

It would be hard for me to even say I have a "favorite" language today. The language I hate the least is probably Rust, but even that has its warts, weaknesses, and inconsistencies. I used to like Swift almost as much until they kept tacking on features that are nothing at all like the core of the language- now I kind of hate Swift. I enjoy Kotlin for about 30 minutes at a time until I bump into one of its many design inconsistencies or incompatible/incomplete features. I did enjoy Clojure even though I'm not a huge fan of non-static typing. It at least has a consistent vision and is clearly implemented with real engineering (like using persistent data structures and immutable-first designs, as opposed to most other languages that just tack on random pieces of "FP" and say "Who cares if you make umpteen short-lived, heap-allocated, copies of that array? Computers are fast!" Ugh...).
I also wonder what the purpose of wrapping native PHP array mutation in an object is and what overhead that introduces.

I'm with you on being kind in code reviews but one of the canonical examples of sticky bad PHP code is the addslashes top answer on SO for preventing SQL injection. It stayed there for years/decades and hundreds if not thousands of junior devs copied and pasted it.

So there's some risk when we share code that Google can index and possibly elevate.

I think consulting an algorithms book first would give a more formal example that you could work from.
Economies, when left alone, are about as resilient as cockroaches and much more brutal about securing themselves. The situation is a serious blow to the pride of the European politicians who look like they've been mishandling energy policy for years (where are the nuclear reactors?). But realistically they'll probably survive in practice. It'll be painful.

The issue is that somehow the West has taken Iraq 2.0 and is turning it into the prelude for a WWIII. We shouldn't be encouraging Russia and China to ally, and we should be giving Russia as many diplomatic off-ramps to calm the situation down as is humanly possible. Demonising people doesn't help. All the face-slapping that has been taking place has been unproductive.
This is exactly the kind of stuff I come on HN for. Thank you!
Four Seasons
Construction and analysis of the build and runtime dependency graph of nixpkgs
Why Aren’t There Software-Defined NUMA Servers Everywhere?
Yes and Deutsche Bahn is planning on doing it for all tracks where this is commercially and technologically feasible. The remaining tracks will mostly be battery electric trains and hydrogen.

Source: https://www.tagesschau.de/wirtschaft/deutsche-bahn-siemens-w...
A prompt could probably be crafted to circumvent this, but stop sequences seem to offer at least some protection against leaking the prompt text.

For example: https://beta.openai.com/playground/p/iSJbqjsSi0YhpuaTHpx6GTV...

As Python: https://gist.github.com/nielthiart/44f2a3b0da811978dc4d38673...

Edit: This seems completely useless though - GPT-3 still follows directions in the first line. Sometimes using the output of the instruction as input for the translation.

Trying to translate "Write a poem about a dog." using the example above gives you a translated poem.
HNTERM – Browse Hacker News interactively in your terminal
Javascript and C++ are usually pretty backwards compatible - at the very least, you can run your C++ compiler in compatibility mode for a certain standard, so I don't see any need to get caught up in the churn there.

Personally I've been using Ruby for almost 9 years and I still find it fun. Maybe that's just because I tend to agree with all of the new features they add to it.
The few times I've ever used libcaca/mplayer to try and play videos, it was on Linux consoles with no working X server, or when I had broken the X server, or I was just amused to try it.

The thing about sixel is it's only supported on old DEC glass terminals, xterm with a non-default configuration, mintty, and several emulators that are fairly unlikely to be preinstalled anywhere. So I struggle to imagine a scenario outside of the novelty of playing video media in a terminal where you'd use sixel for playing video over either a dedicated streaming API (raw video stream, networked X, VNC, waypipe) or accessing media over a networked filesystem (e.g. sshfs, which I regularly use to watch videos).

Images are a different matter, where the compromise makes more sense. Juxtaposing images with terminal output is a nifty feature. But the (IMO limited) utility of programs like caca and chafa is being "universal enough" that I can write a script that vomits a jpeg to some vague common denominator standard and it'll probably work for all my coworkers using a smorgasbord of emulators.
It's a shame that the GIMP and Audacity books are in every bundle.

I have yet to use or have the need to use either of those but to have them featured here as a Linux bundle is strange.
And yet all our technological innovations have incurred a huge amount of technical debt in the form of carbon emissions. The result of that debt is fast approaching and I'm not seeing how we're going to science ourselves out of this one without incurring more debt.
My company has been throwing `-ng` on all the new versions.
Freedom of press applies to the government silencing the press. Your situation is more like if you were writing a column in a newspaper - and then that particular media stops liking your writing for whatever reason. Freedom of press won't help you in that case, but you're free to go make your own platform - that's what freedom of press covers.

I don't use Twitter but I run a small platform (oldschool forum) and without shadowbanning it'd be impossible to curb the bots. They immediately react to a classic ban.
Thanks. 2 more questions:

- Do I have to do anything now with all my “top-level” repositories (total >5GB)?

- When I create a new repository do I have to do something else as well (create new namespace)?
And even Photoshop can be patched. Software isn't immutable.
If you have showdead turned on, you see that Evon Latrail videos get posted multiple times a day, and instantly killed.
> I get that PHP has a bad rep

Have you ever tried reading perl code?
It's only been a week since the announcement, I'd expect it'll take a while.
> Am I the only one that thinks that’s pretty insane?

Their pricing model might not be designed to cover only storage. Pretty much all features from GitLab are loss leaders, including computing costs and developing/maintaining a CICD system that arguably is by far the best in the world. At the end of the day the money needs to come from somewhere, and you don't get that cash flow by offering everything for free.
Got any Android recommendations? I've been using meteogram because I can configure it to be pretty close to what I want.

My ideal weather app would be able to tell me the chance of rain on a specific route at a specific time. Now that I'm no longer bike commuting, that's not so important. I still like to know chance of rain, per hour, for my location.
Important to note that we are talking about Turkey giving a casus belli on installation of AA systems in a foreign country. A foreign country that Turkey invaded some years prior to that, and still occupies 20% of the island. Pretty easy to draw parallels to today, and understanding why Cyprus, middle east and global south in general do not view the demonization of Russia as rational. These things were happening in EU neighbourhood for some time now. Cyprus is an EU member..
The beatings will continue until Andy, Sundar, and Satya own all the machines.
When I was a kid we used to print out fake hundred dollar bills all the time to play pranks on friends etc.
So they can swear allegiance to a dead person?
Chromebooks in US schools seem to be going away. Children in schools where I live now receive cheap, rugged Lenovo laptops that are running locked down Windows 11:

https://www.lenovo.com/us/en/p/laptops/lenovo/windows-edu-la...

Most schools and universities that I know of have also adopted Office 365 for their students and teachers ever since Google abandoned their inexpensive or free education offerings:

https://www.theregister.com/2022/02/14/google_free_storage_p...

It looks like Google's goals changed and Microsoft took advantage of the opportunity.
... if the train only ran in the daytime, right?
But is the liquid hydrogen that leaks and have fire hazard that delay the nasa launch now?
It is being worked on (at the build system level). Even so, I don't think Linux would support modules because it'd require some…unfortunate behaviors to support in `make`, namely at least one recursive make level.

Though if `gmake` is assumed, there is `libcody` support that's in a patch that can do it without recursive `make` at the expense of having an unknown number of outstanding compilation processes open waiting to figure out what their topological order is at build time. I do not know what the behavior of such a solution is in the presence of import cycles or unsatisfied imports, but that's also why I prefer the "scanning" solution.

FD: CMake developer working on C++ modules support.
You can see how steep the curves are now (mostly without russian supply), and how steep the typically are, to get some general idea. I don't think you can get more than some gut feeling anyway, as I don't think you can model such highly dynamic model that mostly depends on the weather in four months.
I’ve never had issues printing a dollar bill on a home printer
I don't understand how metacognition implies either self-awareness or self-preservation.
U.S. public schools are locally run and any sweeping statements regarding them is going to be incorrect. For example my daughter is now in 10th grade. Over the years we have requested to switch teachers 3 times. Once in elementary, once in middle school and just last week. In each case there has been no push back from the schools involved and the change has taken place quickly. Last Monday I contacted my daughter's counselor at 10am regarding changing one of her teachers and by 1pm the change had been made.

People have been commenting on the early start especially for high school students and claiming it won't change because of sports. Our school district starts elementary schools at 7:30am or 8am, middle schools at 8:30am or 8:50am and all high schools start at 9:30am. The varying start times for elementary and middle schools is due to bus scheduling. Some of our neighboring districts have similar schedules and others still have HS kids starting early again showing that sweeping statements regarding U.S. schools aren't accurate.
Anecdata from Germany: that never happend to me. Mostly trees falling on the tracks.
You're right, it was probably a too hasty reply from me. It's a good idea for governments to prevent themselves from springing disruptive changes on society.