skysight-inc/HackerNews huggingface dataset:
The argument for pure functions holds in a real system; these particular signatures will be familiar to anyone who's built a few Clojure web services. In reality, some of the functions listed (say, `get-article`) would disappear entirely into a system-specific convention. There's a balance to be had between the number of seams the team is managing directly and those which, by their creation, mean less cognitive overhead. The seams then exist only if they are required, as certain handlers might choose to diverge from the conventional functions used in a generic way.

It's of course not easy to see that next step from the article, since it doesn't eliminate any code by creating pure functions. But even in a toy example, there is value of creating pure functional abstractions. In some codebases, you might even see the team lead segregate pure functions by namespace: "Pure stuff over here, tainted stuff over there." In those situations, teams try to reduce impure surface area -- in this case, anything that touches the `db` namespace.
Almost all of the sockets installed today have these shutters integrated, you need to put something synchronously into both neutral and live to get them to open.
I have to push back on this…apple shipped high dpi screens before windows could even manage to support anything above 72dpi
Keep in my mind that HN has a healthy mix of developers. Thankfully HN is more diverse today and represents more people in the tech industry than just developers.

Keep the above in mind with any responses here. Most developers hate sysadmin and don’t believe they have a place in any company. They think the infrastructure is just a Linksys device and a cheap NAS. No need for sysadmin. Yes, my response is cantankerous, but also hits the situation pretty accurately in a lot of orgs.
> This is complicated enough, why do I need an image that will look good on only one kind of display and will have it's greens look pink on other displays.

That is precisely what attaching a profile to the image is supposed to avoid. It indicates what (255, 0, 0) in that image actually means. Then you convert that to the display profile to get the triplet that you must send to the display to actually get something that looks like it.

> Isn't having a color profile for the display enough?

What would you do with just one profile?
Neither can you trust the FDP. When they became part of the governing coalition in the state of NRW they immediately passed a bill for more video surveillance and abolished the requirement for law enforcement to wear visible name labels or badge numbers.
> But that's the thing. Greenwald wasn't incompetent during the Snowden revelations.

Winner didn't, according to Greenwald, leak to him but to the Intercept New York newsroom with no specific direction to a particular reporter.

So, even assuming Greenwald himself would have been a reasonable person to rely on (but “managed not to fuck things up once for someone else” and “can be relied on for things that put me at extreme risk” probably aren't categories you want to treat as equivalent), “Don't leak out information to potentially incompetent people” seems at least potentially applicable as a lesson.
> Finally, UK electricity is 13A @ 240V, whereas Swiss electricity - like most of continental Europe - is 10A @ 220V

I wonder where you got this idea. Both are 230V. Schulko plugs are 10 or 16 amps (with bigger connectors), 16 A is quite common in my experience.

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

https://www.leadsdirect.co.uk/knowledge-base/what-is-the-dif...

> EU 230V -10% +6% (i.e. 207.0 V-243.8 V)

> UK 230V -6% +10% (i.e. 216.2 V – 253.0 V)
I don't understand why so many people do not realize writing good and safe software is hard.
bass works for things you're meant to source. If the script is not meant to be sourced, just run bash yourscript.sh .

It basically runs the script in bash, diffs the environment, and applies the environment changes to your outer fish shell. I use it for some internal tools, and previously used it for nvm though I moved from nvm to fnm now which has fish support.
Sometimes I wish I initially spent my time learning emacs. Vim has been great to me. I don't value programming workflows as much as I used to so I'm not going through that steep learning curve again
thanks, and happy thanksgiving to you as well and everyone else here. apart from the occasional ranting and bitching this has been a very nice place.
Nvidia GAUGAN2
In China, escalating costs of business sends some companies to the exits
Does that not qualify as a monopoly? No other company in the world has the amount of liquid cash Apple does, so if there really are informal arrangements like this I'd expect them to be heartily scrutinized at their next antitrust hearing.
An alternative universal solution is to just VPN to India and then buy Premium for $1.66 USD per month (399 rs per quarter).
> The SPECInt suite lasts from 1000 to 3000 seconds. Therefore the 5980HS was at 35W for the vast majority of the test.

That cannot be presumed based solely on the nominal TDP and the total duration. SPECInt is a suite of a wide variety of sub-tests. It is not at all a consistent sustained test like the Prime95 results you are using as the basis for the turbo behavior. Actual power consumption during SPECInt is highly variable, because the workload itself is highly variable. Whether it truly averages out to 35W over the full duration is something that must be measured, not assumed. And you definitely cannot generalize your assumptions to apply to benchmarks or workloads with durations that are not far longer than the 5 minute turbo duration observed under Prime95.
Why do such expensive cars have so many issues, it's like American car manufacturers can't do anything right. This is why so many people just buy a Toyota.

EDIT:
Chrysler/Fiat has done everything possible to ruin the Jeep brand name.
I'm thankful for Hacker News and internet cultures that support and share articles like this. Things that are intellectually gratifying without being overly specific, topical, or focused on any particular goal. Just interesting thoughts for the sake of their interestingness.
As a non-electrican, i thought we moved to polarized plugs in the us because it's safer to have switches on the live wire and not neutral so that the system isn't "live" when the power is off.
You can't get meaningful signal out of pointing to one bad comment like that. We don't come close to seeing everything that gets posted here (https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...). I've responded now.

Bad as that comment was, it's clear from the account history that there's no parallel between how they've been using HN and what we banned you for. I assume I explained the latter clearly enough, so I'm not sure why you would bring up a distraction like that.

Also, it's not in very good taste to point the finger at someone else when getting moderated. People do that all the time, of course, but it tends to be a signal that they don't really care about the values of the site.
If a law says a company doing buisness in EU may not track users with face recognition, then you surely could charge them, if they merely outsource to outside of the EU as they are still the ones ordering the illegal surveillance.
I have been using fish for years. I don't have those issues because I just leave the default as bash and run the fish command manually when I log in. Then if I have some incompatibility (pretty rare) I can just type 'exit'.
Is it really useful to have ordered map as the "only" collection type?

I guess it might be Stockholm syndrome - but I'm quite comfortable with a "list/array" type (numeric keys, ordered) and a "map/hash_map" type (objects as keys).

Especially give that with phps "power" you can:

$array = array(
1 => "a",
"1" => "b",
1.5 => "c",
true => "d",
);
var_dump($array);

Ouputs:

array(1) {
[1]=>
string(1) "d"
}

https://www.php.net/manual/en/language.types.array.php
But the chips are not sub-par. The entire point of my argument is that at an equal lithography the competition can outperform Apple. The performance advantage that Apple can demonstrate is under the margin of improvement from 7nm to 5nm all else being equal (RAM, TDP, etc..)

There was already a fire under their butt before Apple. Both AMD, Intel, NVidia and even Qualcomm are competing against each other. And that competition yielded architectures that are at least on par and very probably better than what Apple can do.

They can design better chips. They just don't have as much money as Apple. It's something that Apple already did before with, for example, the first generation of small HDDs, they bought out the entire production line and their competitors, despite being able to make MP3s that were just as good, had to wait for years to access the parts.
Code.gouv.fr: Why Etalab's Free Software Pole Uses Sourcehut
reverse image searching author's picture https://www.google.com/imgres?imgurl=https://conversion-apps...

https://conversion-apps.com/blog/8-best-shopify-apps-in-2021...

SEO games all the way down :)
Run Emacs as a server. Then open with emacsclient. Instant and you have access to the same process you've been using with all the buffers, etc.

emacs --daemon

emacsclient <fie>
If your bash script has a shebang you shouldn’t need bass at all. Fish will read the shebang and just run your script with bash.

The only thing I ever used bass for was this edge case where at work the way we login to AWS is using this Okta AWS integration that prints out a list of export commands.

Since fish isn’t compatible with bash export commands, I just run that command result through bass, which automatically converts them to the fish set -x commands.

If I remember right, I think the reason why the bash script my company made didn’t work is that the export commands that were run in bash weren’t propagated to the underlying fish environment. I was using fish to run a script with a separate shell, so it didn’t affect my environment variables.

Or maybe it was because running exec inside a bash script throws you back into fish which then can’t understand the export command.

I could have definitely done my own thing with sed/awk instead, but I suck at those tools and someone else already implemented the functionality in bass.

bass exec aws_okta_thing_that_prints_export_commands_to_stdout

(Off the top of my head, I think it was something like that, could be misremembering! And by this comment you might be able to tell that I’m far from an expert on how everything works.)
Oh wow...finally someone is bringing the great ideas of Powershell to unix. Can't wait to see how this turns out.
No, the point is that the automatic temperature control controls the exhaust temperature. Once the target temperature is reached, you get a flow of not-very-hot air. Since it's moving, the wind-chill factor makes it feel like cool air.
https://en.wikipedia.org/wiki/Friction_stir_welding

Cool! I mean hot.
Then you definitely wouldn’t be interested in M-x tetris.
I use emacs for over a decade now. It took like 2 years and 3 serious approaches to get into it. Now it feels like home.

I didn't know about SelectiveUndo. Nice.
I graduated in physics so I am no stranger to math notation quirks and I think I also do understand their usefulness at times (conciseness in notation, etc). And it can be dangerous, too. As soon as the notation lures you into doing transformations that are invalid.

Doesn't help that then notation is often poorly defined, and sometimes a weird mix of notations is presented.

Overall the situation is also not pleasant for math people changing topics, or physicists reading papers from physical chemistry professors who 'grew up' in mathematical chemistry.
I'm generally confused as to how the EU seemingly gets things right when it comes to privacy like banning biometric surveillance yet seems completely hell bent on creating a surveillance state in other areas (like banning encryption outright [0] or creating outsized penalties for wrong-speak [1]).

Of course the US just builds things like this for political gain and taxation.

0 - https://mailbox.org/en/post/it-companies-warn-eu-plans-to-ba...
1 - https://ec.europa.eu/commission/presscorner/detail/en/qanda_...
WP quotes him as saying "Communism is necessary to the world."

https://en.wikipedia.org/wiki/Bertrand_Russell%27s_political...

It also says that I was wrong about his admiration for Stalin's Russia; he evidently disapproved of both Stalin and Lenin.

His political opinions seem to have wobbled around quite a bit; he was not a reliable political anchor.
What Designers can do about Internet Addiction
Everyone has forgotten that when Apple moved to Intel, part of the deal was that Apple had the fastest laptop CPU for about 6 months.

To me this says as much about Intel as about Apple. When Intel has a new chip or a bin that has small yields, they can’t supply a large customer. But MacBook had maybe a third of the market share it has now, so that’s a relatively small niche you can supply while you boost your yields.
that's a good warning, thanks for including that - I was thinking narrowly about what laws the ATF enforces.
A toaster from 1949 is still smarter than any sold today
Unlikely thing causing no damage is no source of concern

unlikely things which cause tremendous damage are for sure cause of concern because it only needs to happen once and it’s game over for the person/group/entity which find themselves at the receiving end of that
Great to see lists like these. I’m a long time Emacs user and recently learned to use neovim. I made the same mistake many new Emacs users make in that I installed a lot of plugins at once and lost control of the editor. Only by installing packages incrementally after you have discovered a real need, can you keep mentally on top of what your editor is capable of.
Please don't post unsubstantive and/or flamewar comments here, regardless of how right you are or feel you are.

https://news.ycombinator.com/newsguidelines.html
That's not how the turbo works on this AMD mobile chip. There is maximum time that the chip can sustain turbo and that is exactly 300 seconds. As long as the chip is in it's maximum p-state for the duration of the MT test, it will count towards that 300 second turbo time. Prime95 uses more ALUs, caches, and pipelines and thus hits the thermal limit faster and at the same power runs at a lower clock, but this isn't a thermal limit, it's a power limit.

Indeed, we see the 300-second turbo limit not only on Prime95, but also on lighter, real-word tests like on an Agisoft DC workload.
Risk folks. The availability of that loan due to artificially low interest rates propped up the bubbled price. The fact is, a seller is shopping for someone with more capital or less risk aversion to take a liability off their hands. My issue with this, is younger people are on the hook for it and many are not even advised on how they can vote with feet/wallets. That's wrong.

Without refusal to participate, there is no braking effect on Asset inflation. Someone quite literally has to lose their ass for things to correct so that the next generation has a sane foundation to build from, and Lord only knows, the centralization hacks pulled off by the last handful of folks have been so stupidly effective, we're even having this conversation. So, who is in the best spot to take haircuts? I assure you, it isn't the people on the lower side of the income/wealth curve.
AMD would be dead if they had not done that.
I feel this way as well. In fact every time I have tried to remember the "most beautiful equation" I had to think of it in the context of the unit circle and work it out by assigning pi to x. Otherwise I don't get any wow out of it.
New differential fuzzing tool reveals novel HTTP request smuggling techniques
I have always been crying about latency computing for years. My earliest HN comment on the topic was in 2012. And I have been ranting about it for even longer outside

I really hope at the later part of this decade we start focusing on latency computing instead of bandwidth. From Display, Input, Output and Network, and down to OS and Software. I had always hoped VR would forced those optimisation due to VR being a latency sensitive, as John Carmack was doing at the time. But VR never happened.
I believe you can complain to your local data commissioner, eg https://ico.org.uk. They should cover this and the right to have an automated decision reviewed manually.
Some of those haven't been reported to sit foot or have much to do with Athens!! At least Archimedes and Pythagoras.. Even Aristotle was a foreigner to Athens, although he learned a lot from his Athenian counterparts! Herodotus wasn't Athenian either!!
Actually, yeasts are unicellular fungus. I believe that fungus are the most important life-form in this planet by far.

Pretty cool, huh? :)
I stopped using patched fonts because of that. And I never felt like 24 bit terminal colors was necessary. You can just install fish and then the fisher plugin manager and then install a theme/prompt plugin.
No matter what topology is used, the basic issue is the same: if any of the p2p links introduces unacceptable latency (such as the inter-ISP link I described), the whole system is borked. The clients are generally not movable (or would need to switch to another ISP) but a Jamulus server anywhere can be used or set up and may provide acceptable latency for all.
https://clojure.org/about/rationale
Diet sodas to me taste awful, but lately I've been putting a single packet of Equal in my coffee with some vanilla and it tastes great. Lord knows I can cut out the sugar wherever possible.
I don't see anything here, it's asking me to sign in to GitLab?
Exceptions for law enforcement have proven to be a very slippery slope in the past. Police is constantly trying to erode restrictions around tools that are only available for serious crimes and unfortunately also has a record of successfully circumventing any access checks for surveillance tools that have been put in place by lawmakers. There is constant and incessant lobbying from these circles to get more surveillance in place. But, when pressed, no one can point to cases where this actually helped.

The only realistic way to counter this is to say no to surveillance technology from the start.
SIMD only gets you up to the width that your hardware platform supports and every SIMD program has to be rewritten for the new width.

Two other immediate avenues are multithreading, which think could be quite effective for this algorithm or GLSL, of that I have no opinion.
Think of it like a patron buying a piece of art but donating it to the public (museum, church, public square, whatever). You still get the prestige, but you avoid the hassle with keeping the art stored yourself.
Just came here to say, good job. I was doing my own run-length encoding thing using the TGA format, but this is nicer. It's good enough that I am able to run a little screencast thing using it.
Seconding Lost Pig. It wasn't my first IF, but it seems a good choice for that role: funny and not too hard.
can anyone clarify exactly what the issue is here?

it seems like there was a specific situation that was not being handled on the core rust team, but all the articles I see posted around it appear to intentionally avoid specifics, without which it is hard to judge who is in the right here
Yeah, I hear a lot of people throw shade at fish and then act equally surprised when I don't run my scripts with it. Much like Bash, Perl, Python or even ZSH by some respects, fish is just another tool in my toolbox. It so happens to be the one I default to though, which for some reason sends people flying off the handle.
Correct. The bank, and the seller are. The seller has his money already. The bank created money out of nowhere to service that mortgage.

To my point of view, I see exactly where the haircut makes the most sense.
And that follows from De Moivre's formula, (cos(x)+ i sin(x))^n = cos(nx) + i sin(nx).

https://en.wikipedia.org/wiki/De_Moivre%27s_formula
0. That some HN commenters rush to call bullshit out when they detect a lot of it.
You can buy some brands on B&H.
That statement looks like a very wordy "Seen" notification.
I moved from bash => zsh => fish. I wanted reasonable features on my shell, and fish was much faster and needed almost no plugins.

The fact that I can write a simple for loop without needing to look up how to do it by far beats the POSIX compatibility, if I need it I can still write a bash script, but when using the shell I don't need to recall where semicolons or `do`, brackets (and how many) go.
Owning all online retail was hardly their initial business. What’s their share of online book sales over time?

They of course continued to sell stock to fund further investments in other business, but they also funneled “operating expenses” into long term capital. AWS is a one such example, which hides actual profit margins via investments in software. The IRS has a clear line in the sand when buying land, but R&D gets tricky.
This goes for many devices that have an isolation transformer or equivalent in their primary circuitry. Beware of cheap knockoffs though, they will look the same but will lack that isolation and possibly the separation required to make such a device safely and they won't have ground. So if anything fails there the return path to earth will be you. Better hope you have a ground fault protector in place when that happens.
"Anomaly is used because this is a new phenomenon due to human actions. You have no apparent concern about this but are just worrying about word usage."

No you are wrong. That is exactly the issue. It is not used because it is a new phenomenon due to human action. It is simply a technical term meaning different to some average. That is why it would also be used in a chart of temperatures throughout the year.

You demonstrate the issue very well. However, I give up convincing you, as clearly you won't understand it for some reason.

"Why do you think that the word temperature anomaly is used in climate science? The important issue is the global risk not your carping about the terminology."

So you admit it is being used for propaganda, not for scientific reasons. Exactly what I am concerned about.
> Why would so many people do this? This factory conditions are quite horrible, or at least the definition of soul-crushing monotony.

Another part of the answer is that their lives in agriculture were not all that great either. Many of them could have moved back, but they did not, because as bad as this was, it was still better or comparable. The factories made them earn more money and regular money.

People tend to romanticize the agricultural or even hunters-gatherers lifestyle. In ideal conditions, it can be good. But conditions are not always ideal.
Here is the explanation:
https://www.php.net/manual/en/function.md5.php#123392
> unibody laptops

You mean the "unibody" made of two sheets of aluminum glued together in a way that the heat unsticks the adhesive?

https://www.youtube.com/watch?v=t7XSckjRPo0
The IV isn't secret, but in CBC mode it does need to be securely random, otherwise you open yourself up to a class of attacks based on IV prediction. In other modes (CTR, for instance) you can use any nonce you like, so long as you're not reusing it.
I wish this link worked
The language thing is terrible. I use the English version of Chrome on an English language MacOS, configured English as my preferred language with Spanish as the second option (which are sent to the site)… and of I travel to Germany many internationalized sites decide I want to read in German… or Portuguese in Brazil. Language options and localization are old as time but sites use defaults based on IP addresses.
If you’re referring to the quoted message specifically, that’s not really fair. It’s a kernel panic, you can’t do much except reboot.

Once the Mac has finished starting up again, the backtrace is easily accessible for those who want it. And if you really want to always see console output, you can turn on verbose boot permanently.