skysight-inc/HackerNews huggingface dataset:
I just got rid of a 10 month old 16" MacBook Pro for an M1 Air. I wasn't unhappy with the performance of the 16", but the heat and noise were just misery inducing.

The thing was unusable on my lap. After 30 minutes or so just coding, it would get so hot I had to put something between it and my legs. My partner could hear the fans from the next room. And to cap it off, since Big Sur I've been unable to get more than 4 hours off the battery—usually more like 3.

Compare that to the Air: I'm losing two USB ports which is annoying, the speakers are nowhere near as good, I miss the bigger screen, and I'm down 16GB RAM (although in retrospect, I never needed 32GB for my workloads anyway). But in return, I get almost no heat, zero noise, nuts performance (my test suites run 2x faster on average, despite running on two fewer cores), and so far 10-12 hours off a charge easy. And I get real function keys instead of the Touch Bar.

Happiest I've been with a computer in a long long time.
https://www.keycloak.org/ is another open source option.

Compared to other choices, it's more mature and well-vetted because it forms the upstream for RedHat's SSO offering.

On the other hand, it's a big monolithic Java app, but they are making some moves to be more CNF-friendly: https://www.keycloak.org/2020/12/first-keycloak-x-release.ad...
>I am honestly amazed you could interpret it that way, rather than the intended: it seems like a questionable design pattern.

"Design patterns are bad" is an often repeated "folk wisdom" in dev circles. So by under-definining what's meant (leaving it open to interpretation) it's a very easy intepretation for others to assume of the comment.

The wording supports this too:

"has an element of pattern-smell (and by pattern I mean design pattern)"

This doesn't seem to imply "questionable design pattern", but "this smells like a pattern", and given that you object to it, one assumes that for you "smelling like a pattern" is bad.

Also, "seems like a questionable design pattern" would be a bizarre interpretation to take -- as this is a first-class syntax, not a design pattern.

>To me it sort of implies a function is serving multiple purposes, essentially multiple functions mashed into one -- and you figure out what really happened by the shape of it's return value. It seems to go against everything we think of functions as pure-as-possible constructs that do one thing well, and that is represented by a clearly defined return value.

I see where you're coming from, but there's nothing really violating purity here, or even "clearly defined return values".

Those clearly defined return values could still take several variations of a shape or even several shapes. Those won't have to be arbitrary shaped or non-pure. It's about handling a class of shapes.

AST nodes for example from a parsing function, protocol parts from a protocol handler, network responses in a server that might or might not have a payload, game states in a logic loop, and so on, fall into this. And pattern matching allows you to handle this common need easily.

So it's not like (pseudocode):

match(foo):
foo ~= duck: ..
foo ~= 5: ..
foo ~= "a string": ..
foo ~= triangle: ..

but more like:

match(astNode):
foo ~= expression: ..
foo ~= statement: ..
foo ~= variable: ..

and other such cases...
It's different when you

1. own the largest market
2. Own the world reserve currency
3. Have a means of charging exit taxes
Brigading would be my guess, but eh. Having the subject pop up to respond is pretty amusing. :P
Uber lost to ridesharing startup PickMe in Sri Lanka
[Edit for clairity: responding to 'On the other hand, Great Britain "includes islands...']

Even your quote starts with "Great Britain is an island", though it later goes into "Politically, Great Britain refers to the whole of England, Scotland and Wales in combination".

So realistically its correct both ways - you can use it as a geographical term excluding islands or a political term including islands
Explosion:

https://youtu.be/XOQkk3ojNfM?t=38340

Either not all the landing legs deployed, or it landed too hard and broke them. It looks like it landed on the engine bells.

There's a lot less clearance under the Starship on landing than the Falcons. Several landing leg designs came out of Space-X; there's one animation with four folding legs, one with six, and one with legs that extend linearly. Not clear what flew.
> petabyte-scale, low-latency, non-relational

That's glaringly cheating.
True reason why it had to be removed

https://twitter.com/KyleTheCoder/status/1367262726926585866

Gods, I hate nowadays internet.
Again, you took the time to find the games that allow you to do this and then just say every free mobile game employs the model you don't like
When looking at loading performance of STLs, you may want to look at this: https://papas-best.com/stlviewer_en
SpaceX Starship SN10 prototype successfully lands before exploding in flames
>You can get the stats directly from the states

You can also get stats directly from the CDC. Like these stats on the flu,

https://www.cdc.gov/flu/weekly/index.htm

202 cases since September, for a disease that averages tens of thousands of deaths annually.

>Are the leaders of these states all conspiring?

IDK, where did the flu deaths go? Occam's razor.
Well, in C++, it would read:

int target;
sscanf(json+offset, "%d", &target)

Where str_t's operator+ would look roughly like:

str_t str_t::operator+(size_t offset) {
return str_t{size - offset, ptr + offset};
}

(Might look exactly like this, if str_t's constructor would throw if size was negative.)
This has the smell of dogma about it.
I think what they are saying is that if we can't say that multiplication is repeated addition due to the reason you propose, then addition itself is ill-defined as a concept, which is a bigger problem.

That by using your argument we move the whole debate one level down the fundamental operations and now you no longer have a way to simply explain addition or subtraction.
You won't get the 93%/7% split either in most non physical professions. The small differences that are there can explain the massive differences.
Suppose it is wrong, though; that implies a good chunk of C code out there is wrong code. Yet it compiles and people are using it, which means that their code does not conform to the standard. Just as wrong math isn’t math at all, wrong C is not C. People are therefore writing code whose runtime characteristics are not defined by any standard. Thus it is not actually C, it’s whatever compiler they’re using’s language.
It’s in the same package as the SoC, so no, it’s not soldered separately (but it’s not on the same silicon chip).
The constant stream of little quips and inside jokes that endear you and I to things also can be off-putting and drive outsiders away. I am sorry but I've spent my years explaining so many strange things that nobody understands like "Guru Meditation," and it's not really funny any more when you have to keep explaining the joke. And those are just the little innocent gags, it's much much worse when the joke is disparaging someone.

It also doesn't seem like this was written by some random open source contributor, it seems it was done by the maintainers, who are being paid to work on it by their patrons. They absolutely do have to answer to those patrons. While people seem to like to assign all blame for things on twitter commentators for whatever reason, it's likely the actions they took are the result of feedback from the patrons.
Sounds right. We use Okta for multiple AWS accounts and they "ran a bad migration" that deleted half our permissions and took a month to resolve. On top of that, nothing appeared in the audit logs.

To make matters worse, they have 3 APIs. Two are internal with 1 html and 1 json-based. The external one is the least feature rich and is missing configuration items that make IaC a challenge (you get about 80% configured then have to make changes in the gui)
Peak is listed as a Certified B Corporation https://bcorporation.net
So maybe?
In the same way that randomness in a roguelite leads to you feeling really good when you find an item that is cool and that you didn't expect to get, you have that same mechanic taking place when you either save enough in-game currency or use real money to buy a new lootbox and get a new item/character.

It's a different mode of accessing gameplay that is random, and just like in a game that abuses this mechanic to keep people playing for hundreds of hours (roguelites), these mobile games also do that, except with the possibility of paying real life money.
And because it's built in, unlike the bolted-on Rx framework family, it doesn't bother me much. I found the language to be much more focused and pragmatic than Swift, but as I said that was just my experience after a single project.
Nice one, unfortunately there are so little contemplating games,
i would love a dwarf fortress style game running in my background , with almost no gameplay intervention.

watching the rise and fall on an empire/colony.

There are galimulatore and worldbox, but we need more.
Agreed. Some more examples (just off the top of my head): Wright Brothers, Property Brothers, Marx Brothers, Brothers Grimm....
Not sure of your point at all, I find your comment totally confusing in at least 3 different places. Not worth going into I guess. Mine was mainly just that it doesn't include Northern Ireland. I only mentioned the other islands as it would be nice to see them in iceberg form. :-)
> I'm literally the person who reached out and had 60 different meetings with all sorts there,

Yup, and I commended you for it. However, that was in 2017. I don't know how carefully you read my original comment, but it can be summarized up as "Fosco started out great, but he's been slowly getting worse". :)

> and continued to maintain bipartisan group chats.

I'd ask you to poll the folks there about how representative of the political spectrum the folks in those chats think they are and if they think any of the parts of the political spectrum are missing from those chats.
HTTPS everywhere in WordPress 5.7 Beta 1
Better to wear two masks than the one you're wearing: https://i.redd.it/5yso2h5m2jz41.png
> The problem with buying the NYT subscription is that you still get the ads

It is annoying when a paid subscription doesn't eliminate ads.

From their perspective if you bought a physical edition you'd still get the ads so there's no difference. And I guess by showing a willingness to pay and the presence of a disposable income, you may be proving yourself to be of more value to the advertisers - paying makes you more of a target not less (however unfairly).
Add to that https://ui.vision/ (formerly Kantu). I used Kantu in 2019 to build data extractors and it worked very well.
I said it "stops being just that." You removed the word "just" which changes the entire meaning of the sentence.
As a non American i cant beleive this is a thing..
What you described is a planned dopamine release you have to pay for. I was under the impression the gameplay itself is there to make you have fun - if you have lootboxes, you're compensating for gameplay, or more likely, are doing it for monetary reasons.
Depends on what you call "pushing". The west seems to push women into non-female roles, and the others into female roles.

It's hard to get that kind of variety into a single society. So it's nice that societies differ.
The weirdest thing for me here, is that most of the noise against the piece seems to have been made on twitter by people who probably identify as "leftists", solely because it punches down on some demographic. I'm still trying to ascertain which demographic that is, it's really not clear.
We bought one of each on day one for R&D purposes. I absolutely agree. The Air is absolutely the better machine and it’s cheaper. In our benchmarks we actually saw better performance out of the Air most of the time (bursty workloads) and the only thing we could think of was that the bigger heat sink in the Air provides better cooling than in the Pro most of the time, unless you have really long compiles where the fans kick in.
Maybe just because it's fun to pick on the new kid...

The difference is Facebook & Twitter take their content moderation (and it's overall impact on their business) very seriously.

From any angle you look at this, Parler failed at reasonably moderating their content. More so, at their own peril despite being warned by AWS about the violent content.
In my love/hate relationship with WordPress, I find this upcoming feature very welcome. In the past I would rely on some plugin for this.

Knowing that http-https is managed by WP itself is definitely a plus for me.
> modern movement of people who truly believed the world is flat

Is this not a modern version of bonsai kittens?

The trolls get out-trolled regularly, it's part of what people find funny.
While I'm not an expert in any of this, I'm primarily interested in Homotopy Type Theory (HoTT) because so many tools originally developed for algebraic geometry and algebraic topology have been successfully applied to logic and programming languages (e.g. categories, functors, natural transformations, monads, comonads, topoi) but homology and homotopy--core tools in algebraic geometry and algebraic topology--haven't been investigated to nearly the same degree in logic and computing. So even if HoTT isn't particularly compelling from the standpoint of pure foundations, I'm still excited for the work they are doing exploring these core tools in geometry in the context of logic and programming languages.
That just how P2P systems are. Magic Wormhole works great when you also use it with a messenger. Otherwise you're gonna need to use a server that runs all the time.
Interesting blog post, thanks for sharing
a) Amazon isn't a monopoly.

b) Retailers have been doing this for decades e.g. Walmart and their Great Value brand.

c) Patents and copyrights are the defences that companies like Peak Design need to use.
Reasons to learn how to code – by Eric Walker – Dev Genius
Rust: Building a CRUD REST API – Dev Genius
Performance per Watt. Reducing the trace length makes it possible to get high frequency RAM working with acceptable power consumption. How many other ultrabooks clock their RAM at 4266MHz?
Rust: Is it ready for web – devgenius
In the end, and in the big picture scheme of things, what is programming about? It's about providing value. There are plenty of systems and tech built that do not use types, yet they do provide value. And those systems may seem horrific to you, but none the less they provide value. These systems were built by hacking/mashing things together, but the fact that they work, still remains. You might hate for example WordPress, but it powers tons of web and those websites might not exist if it wasn't for WordPress.

Imagine a case where you can start to be productive with WordPress within few months, but if you were to learn the whole thing, it might take few years, the value provided would be a lot lower.

I went 4-5 years of my career without knowing anything about types, yet I believe I was able to provide software that benefitted the world.

It's not that black and white.
I was making one of those "games in disguise" once, where the game was marketed as an app doing something useful to you. All we talked about was "first day retention" and "3-day retention" and how we keep people opening the app. I mean, if users find the app useful, you don't need to spam them with messages.
“ Poland was not told of convictions of 15 of its nationals as they had been erroneously submitted to the police national computer as being from the Pitcairn Islands.”
Probably someone was bribed by KGB to do it.
The Russo Brothers.
"Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize."

Sorry, but I'm convinced this exchange is pointless.
> For context about this, the overwhelming majority of female-targeted Japanese fiction is written by females and with that I mean that I do not know of but a single example of a male auctor having published anything in the female demographic.

I assume you don't mean Ikuhara, so I'll say that many of the things people like about Sailor Moon worldwide were invented by Ikuhara (a man) rather than the manga author, who was more into adding the things Japanese romances have that tend to offend worldwide audiences like romances with way older men.

Although there's certainly other men who try writing anime for women with LGBT content, I don't know if any of the others are actually very good at it, maybe some KyoAni directors.
How I test site speed changes using Chrome's local overrides (2021)
> I don’t want a terminal in my browser because that would be ridiculous.

Secure Shell[1] is actually my go-to terminal for daily use, and supports some features that are important to me (e.g. OSC 52 codes) that GNOME Terminal doesn’t.

[1] https://chrome.google.com/webstore/detail/secure-shell/iodih...
Aren't motorcycles incredibly dangerous? That's the first thing I think of when I see them. Maybe being able to lane split in traffic.
Wondering why there isn't a .dmg for Mac OS? Of course I know that I could install it via command line, but a .dmg dramatically improves the chances of a casual website visitor to install it and try it.
Fire everyone in marketing department.
>The software industry wants to benefit from the fact that data can be copied for free (a unique property of our world), but also wants to put a sticker price on each ephemeral "copy" as of it's a material object.

so things that have low cost of materials / low cost of delivery, but high cost of skills required shouldn't be expensive? or what?

I don't understand how is this even relevant that software can be distributed very cheaply.

Creating software, or even better - the game requires significant investment and risk, so I don't understand how anyone would want to act as if that pirating was OK.
If you can buy your own infra your safe, it's the old thing. Having your own castle your safe, need someone else's castle your not.
We support the entire process of digital transfomration of topics related to product communication. Digital and analog availability of information with smart processes in the back.

We have been on the market for 35 years and are networked across all industries. Let me know if we can help you :)

https://www.fischer-information.com/en/
I understand that's what they're claiming. If they were serious about their principles, like Lavabit, they would have simply discontinued the "custodial wallet service" that they claim is subject to anti-privacy regulation. Nobody is claiming that the Brave browser software itself is subject to any anti-privacy regulations. They wouldn't have to sacrifice their entire business on the altar of principles like Lavabit did -- they'd only have to sacrifice one feature.

But they don't have nearly the same level of integrity that Lavabit did.

And, of course, if they're exaggerating the "but but muh regulations" aspect, then none of the above applies.
I worked as a freelance re-recording mixer for film. Most of my audio collegues told me to stay away from the gaming industry if I can. In theory game engines could be very interesting for telling moods and creating worlds. In practice the salaries are bad and the time tables so crammed, that it is a struggle to keep even basic quality levels. The freedom to find something truly good, new or interesting is rarely there.

The last game that blew me away from a sound perspective was Hellblade: Senua's Sacrifice. They used sound in just the ways I imagined it could be used. It is sad that people don't dare to try more stuff like this. Games could be a great artform, but the money/power structures we live in make them cashcows first and foremost.
Show HN: Serverless Cells
cpython is faster than c++ under the following circumstances:

1) when you're using native libraries via python that were written by better c/c++ programmers than you are and you're spending most of your time within them

2) when you're using native libraries in python that are better implementations than the c/c++ libraries you're comparing against

3) when you don't know the libraries you're using in c/c++ (what they're talking about here)

...otherwise, if you're just using doing basic control flow optimizing compiler c/c++ will almost always be faster. (unless you're using numba or pypy or something).

point stands about the constants though. yes, asymptotic analysis will tell you about how an algorithm's performance scales, but if you're just looking for raw performance, especially if you have "little data", you really have to measure as implementation details of the software and hardware start to have a greater effect. (often times the growth of execution time isn't even smooth with the growth of n for small n)
That is such a huge stretch, wow.
I don't think the problem is with twitter here. Let people have opinions, even if you think they are useless. They are opinions after all. Your issue should be with the maintainers who will remove any content on the slightest objection to it in a bid to do the "right" thing by whatever group of people got offended by it.
I know, I'm a Brit and my girlfriend doesn't even remember her login to HMRC Gateway - if she pays too much tax she gets a rebate automatically, other than that its not even something we think about.
No, spending time optimising areas of the code that will never become bottlenecks is the waste of time.
In what sense is recursion a form of looping?

I'm thinking of the memory model for each - one mutates some variables (at least some sort of index, unless you're doing an infinite loop) in a single frame, while the other accumulates function calls and stack frames until you bottom out, then return values are "folded" back up.

Semantically, from a caller's perspective, they can achieve the exact same thing, but aside from that they seem radically different to me - is there anything else that could lead us to say that recursion is a form of looping?
> the entire point of technical documentation is that it explains a technical subject

It also becomes incredibly boring. I hear what you're saying, but work has to be fun, at least sometimes.
C doesn't tell you anything about your cache efficiency, which is to first order the only thing that affects your program's performance.

You're right that flat datastructures are important, but C is far from the only language that can offer those.

I don't think C can ever be the answer; "comparable C code", i.e. code that was produced with the same amount of developer effort, is almost always undefined behaviour that happens to work most of the time on the developer's compiler. C doesn't have the kind of polymorphism that you need to write code that's compositional, testable, but also has good cache locality, at least not for code that also has to interact back and forth with the outside world. There is at least some work in the literature on making efficient use of cache in a Haskell/ML-like evaluation-by-reduction model, and I think that's where the long-term way forward lies (and FWIW in my experience compilers for ML-family languages already more than smart enough).
China’s Protein Lab Helps You Snack on ‘Meat’ Worry-Free
Good documentation and inspecting the compiled bytecode are both good ways of finding out about performance characteristics of certain features. The problem starts when people rely on assumptions ("sscanf should be fast because it's widely used") or performance folklore ("localizing every function you'll ever use makes your Lua code faster"), because those tend to either be completely wrong or lack very important context.
Pretty much this. The terms are there, IMO, to allow providers to cut relationships with anyone that draws negative press.

Parler got popular amongst Trump supporters and nothing draws negative press like Trump.
Xiaomi Mi 10i – Full Specs Review, Features, Price, Pros and Cons
Could Facebook Host on Amazon Web Services? (2017)
The difference here is that they are selling it . Amazon isn't giving it away for free they are profiting from it