skysight-inc/HackerNews huggingface dataset:
From chapter 25 of Down and Out in Paris London:

As soon as we were inside the spike [homeless shelter] and had been lined up for the search, the Tramp Major called my name. He was a stiff, soldierly man of forty, not looking the bully he had been represented, but with an old soldier's gruffness. He said sharply:

'Which of you is Blank?' (I forget what name I had given.)

'Me, sir.'

'So you are a journalist?'

'Yes, sir,' I said, quaking. A few questions would betray the fact that I had been lying, which might mean prison. But the Tramp Major only looked me up and down and said:

'Then you are a gentleman?'

'I suppose so.'

He gave me another long look. 'Well, that's bloody bad luck, guv'nor,' he said; 'bloody bad luck that is.' And thereafter he treated me with unfair favouritism, and even with a kind of deference. He did not search me, and in the bathroom he actually gave me a clean towel to myself -- an unheard-of luxury. So powerful is the word 'gentleman' in an old soldier's ear.
Maybe "fraction" would be suitable.
I think that only works when there is other capacity available. If Intel was suddenly the only fab available to western companies but they refused to fab AMD chips I suspect that would result in intervention.
Yes, that's racism. But also yes, it's easy to imagine situations where the distinction isn't that trivial anymore.
How can Ukraine invade their own country?
This might not be exactly what you’re looking for, but I read the “big nerd ranch guide to iOS programming” which was a really great book for learning iOS development. I then built an app for iOS and found that bringing it to macOS was very simple using catalyst. Mac now makes up 1/3 of my (very tiny) revenue. So, that might be one way for you to go, with the added benefit that you’ll know how to build iOS apps as well as Mac apps.
Yep. Sadly, these sorts of critiques are often just a thinly-veiled attempt to reject any sort of scientific approach to economics, and instead just replace it foundationally with something that's more amenable to the author's ideological priors.

If you come up with a new working paradigm to predict macroeconomic variables, and you manage to use it to great practical success, the discipline is not going to freeze you out of publishing or whatever. You can precipitate a scientific revolution.

Of course, the vast majority of critics aren't even pretending they can do this. Instead they'll attack the status quo without having anything better to offer, as if showing the flaws of a theory provide rhetorical justification for believing whatever you want. It's like a secular version of the "god in the gaps" argument.
As a non-speaker this would be pretty fun as just a pattern matching game. The only problem is not knowing the words. If non valid next matches grayed out as I went, I would know what constituted a word, without knowing the language.
For Go, I downloaded the tar.gz installation, extracted then analyzed with WinDirStat because I happen to be using a Windows machine for my client today. On my personal machine I would have used QDirStat to the same effect.

200mb is taken by .a files which I think are precompiled standard library binary files: https://i.imgur.com/t18ueSX.png

100mb is taken by precompiled tools: https://i.imgur.com/OnX1g5l.png

My guess is that Go has quite the standard library and tools embedded with it, hence the size.
If you're using Javascript or Typescript, there is an Eslint rule called "no-magic-numbers" which enforces a rule where numbers are required to be assigned to a variable: https://eslint.org/docs/rules/no-magic-numbers

You can set ones to ignore, a minimum value for the rule to apply, or require the variable to be a const.
Iridium constellation is in LEO. The ground terminals are able to use simpler antennas mainly because the data rate is much lower.
Let's imagine the issue is about gay people who murder their partners. Reframing it as "against gay people" might be technically true, but factually incorrect.
> But for professional use "adequate" doesn't cut it.

However bad Linux is at package management, Windows is even worse. So I'm not sure how your argument convinces people that Windows package managers are superior?
Keeping It Simple
Your sophistry fools no one.
Svelte feels very minimal to me. It is regular JS where I can say "shove the value of this variable onto the web page and rerender that component when the value changes" but saying all of that is just $:
> I think there is a recent phenomenon with the younger generation to only consider physical attractiveness.

I don’t think that’s recent.
Like with drug dealers?
Problem is, anytime you say "pay" you lose at least 90% of users for a service they can use for free. In other words, everyone wants to force others to pay but they themselves don't want to pay to send messages to others. Plus, $0.99 to you could mean an entire day's wages in some countries.
TikTok algorithm directs users to fake news about Ukraine war, study says
I don't believe that Apple did not know about these initiatives before committing to building Metal. Apple was using the OpenGL graphics API (governed by the Khronos group) and AMD GPUs exclusively around this time period.

Note also that Apple is also in the highest tiers of members of the Khronos group. (see: https://www.khronos.org/members/list).

Vulkan was created from the Mantle API that AMD donated to the Khronos group. Mantle exist 2 years prior to any mentions of Metal. As a member of the Khronos group and a very important partner of AMD they would surely have information on what these groups thought the future would be of graphics-APIs.

I believe that Apple had other reasons for choosing to build Metal. But I'm afraid it will be hard to figure out what they were.
Im still curious about this as well. I wonder if their insurance policy categorizes being seized during war time by a hostile government as "force majeure".
> You need to enable JavaScript to run this app.

Not old-fashioned enough.
> I think there is a recent phenomenon with the younger generation to only consider physical attractiveness.

I don’t think that’s recent. Unless you mean “since 1970”
Appreciate the sentiment. Policy changes will probably always hurt somebody. The expectation is the the economy will realign around new goals.

In this case it's even simpler since a software company would like be able to develop a new product with hopefully more value to society than the vast majority of data collecting companies provide. I'm also not too afraid for tech workers being able to find other jobs, although I'm sorry for any other collateral damage.
THANK YOU. Finally someone who gets it. We are being taken for a ride, by people who prey on and actively promote ignorance. Economics is an incredibly simple discipline for anyone with more than half a brain, and an interest in learning something new. Unfortunately, we’re essentially living in the dark ages.
How does Mobx help your code work better? Does it specifically salve hooks wounds, or just because you don’t need to manually manage subscriptions in a component?

I’ve looked at Mobx and am concerned about mutation. I would like a magically reactive state container that always returns immutable views of the state for local usage. Maybe I should stop worrying and switch everything to Mobx.
Where do I find the answer?
yes, it was a wink/homage to historic discussions on anti-patterns :)
Allow me to be better. Top 3 mining pools control >51% of the hashrate today[1]. I can see 3 teams aligning to do whatever they want. I understand the standard argument is those pools actually represent thousands of individual miners, but the miners only have control over mining, not the selection of transactions (please correct me if I am wrong).

edit: [1] https://etherchain.org/miner
Horrible horrible colour scheme, burned my eyes
I like to think that when I advocate for privacy I'm not only doing it for myself, but also for others that are less privileged or tech savy.

You or me might know to not easily give up personal information, and how it can specifically be used to annoy you (spam), or even be used maliciously (ID fraud).

But others may have less of a choice, having to pay with their data instead of money, or just simply don't have time to get educated. And they have to rely on the protective systems in place.
I get what you're saying, but SpaceX is a bit more public/private than Intel, and likely the government would be upset and better fund competitors if SpaceX was monopolizing launch capabilities. Their strategy (at least for now, as I would understand it) is to be neutral for launching cargo/services/etc. - likely OneWeb is paying more to deploy than SpaceX pays itself internally for Starlink deployments as well.
The (very old) machine translation joke: The computer was asked to translate the phrase: "The spirit is strong but the flesh is weak" into Russian. The output was: "The vodka is great but the meat is rotten".
>The Azov guys are at least doing something good for once

It looks like Putin called them out early on in the conflict (Feb 25) so I believe their presence is doing more harm than good

>Russian President Vladimir Putin calls on the Ukrainian army to overthrow the country’s leadership whom he described as “terrorists” and “a gang of drug addicts and neo-Nazis.”

https://timesofisrael.com/liveblog_entry/putin-calls-on-ukra...
I find these kind of beliefs baffling, from anywhere in the world. It would be trivial to prove any of these work, and yet no one will. Surely they know it doesn’t actually work?
If you interpreted "01996" as octal, you'd think it came out 829 years before Java.

Unless you mean the island.
I will definitely check this out. Thank you kindly!

For my short term concerns, I want to migrate one of my applications off of Firebase. Primarily just dealing with our primary DBs, user auth, and object storage. I understand how AWS can easily fulfill all of this, but no clue how to get all of that orchestrated.

In general, I'd like to know more about this type of architecting simply because it interests me, and I want to be able to build the tools I imagine without being hampered by how to host DBs, event queues, etc.
Ah interesting, thank you, I was wondering why the original was impossible to find. I'm going to verify this and then I'll update my original post with this info cause IMHO that's quite relevant.
I hunt and recover fossils from Florida's "Bone Valley Formation". I find a lot of Miocene whale fossils, but mostly broken and incomplete specimens. I've never found anything this complete or interesting.
> I do not exaggerate when I claim that I find a dozen of hooks-related problems every single week while reviewing code.

I’m curious if the author sees dozens of problems every week in code review due to, say, unexpected null/undefined values, mistyping variable or attribute names, using the wrong number of equal signs, failing to catch errors and handle rejected promises, etc.
Analogy and tribalism are powerful tools. Analogy in the sense that a corporatespeak word can act as an abbreviation for a concept and thus the ability to get a group to the same mental space. A common language smooths communication and creates alliance. Thus, while it may outwardly seem hokey and painful, there really are understandable reasons for this linguistic evolution.

The hard part is when you leave that environment, say via retirement. People who have been embedded in Corporate America take a few years to detox. Some don't ever really make it out.
PHP mess detector has a rule for this called "Magic Number Detector" (https://github.com/povils/phpmnd) which will cause an error when it encounters numbers that violate the parameters you set.
The M1 Ultra gets fully half of the performance of a desktop RTX 3090 in both synthetic and real world benchmarks.

That’s extremely impressive. Sure, no one has CUDA except NVidia but it looks like Apples GPU architecture really truly does work quite well at this stage.

I wouldn’t be shocked to see them catch up to the highest performance GPUs in the next 5 years or so. I mean I also would t be shocked if they didn’t, but it seems like a reasonable possibility at this point.

Which is crazy for a SOC, especially one borne from mobile phone architectures.

I also feel like M1 rackmount servers could be amazing if Linux ran on them.
Bad news: those notices will do nothing to mitigate the fines, and might in fact even increase them if those notices pressure or trick users.

Good news (for the companies): GDPR enforcement has and continues being laughable, so you don't have to worry either way.
op made specific points, you made an ad-hominem
Responding to someones murderous actions is not violence- it's self defense.
I'm not a fan of hooks, really -- it feels like a big black box. I tried to find the source code, but I wasn't able to grok how it all actually worked. Maybe just me, but hooks are a bit too magic-ey for my tastes.
This is really great. Thanks for posting it.
Looks interesting.

Ultimately, what I'm looking for is a "suggestion box". But I don't want to dump it into say HubSpot. I'd like it to be spam free but also, as much as possible, anonymous.

I'm sure I could come up with something myself (for WordPress). But given the nature of a anon suggestion box a 3rd party might be better.
As a Swede, seeing Americans react to this website is interesting. Sweden introduced "Text-TV" in 1979 (it was pioneered by the BBC in the early 70's I believe), which means that reading text based sports results on your TV is a completely ubiquitous cultural phenomenon for anyone who grew up in Sweden in the 80's, the 90's and all the way up to when the Internet and smartphones took over.

Swedish state television (SVT) still provide "Text-TV" online at https://www.svt.se/text-tv -- many Swedes including myself still know some of the numbers by heart, 100 being the index and 377 being the favorite page of dads all over the country (live sports results).

I vividly remember being a kid (before DSL broadband or even dial-up was a thing in my life) flipping through the pages and guessing numbers between 100 and 999 to see where I would end up, long before I would end up doing the same thing on the early Internet.

SVT's "Text-TV" is to my knowledge still the worlds oldest, operational service of its kind.
I like SwiftUI a lot, but IMO it's not really ready for primetime yet, while trying to do something partly in SwiftUI and partly in UIKit is ugly, ugly, ugly (again, IMO).
Apple Studio Display has 64 GB of storage
Show HN: Generic functional library for Go, inspired by Kotlin collection API
https://github.com/luraim/fun

With the release of go 1.18 we have exp/slices and exp/maps modules, but they are not as rich as the Kotlin collection library which has been a real pleasure to use.

This module attempts to provide simple functions to reduce boilerplate and make the intent of code clearer, not push a full "functional programming" approach, as some other libraries have tried to.

The following functions are supported:All, Any, Associate, Chunked, Distinct, DistinctBy, Drop, DropLast, DropWhile, DropLastWhile, Filter, FilterIndexed, Fold, FoldIndexed, GroupBy, Map, MapIndexed, Partition, Reduce, ReduceIndexed, Reverse, Reversed, Take, TakeLast, TakeWhile, TakeLastWhile, Windowed
Is SpaceX a subsidiary of Starlink? Cause if not then it's not that logical to me...
Elon is a winner, even supports competitors building EVs so it’s not surprising he supports competition in the LEO consumer communications market. If Apple had bought them when they still could have afforded it, I wonder if President Musk would have changed Apple or if Apple would have changed Musk? Ah well, eventually we will all have Starlink tPhones and tPads and will stop pondering such questions.
I use Magnet and I've found it works well, maybe you are pickier than I am (but I'm pretty picky).
But, but, it will scale globally to millions of users! That's more than I can count, and almost enough to saturate one medium sized metro area!

If local ISP's can eke out a living on that sort of revenue stream, I don't see why a global satellite network and launch infrastructure can't.

/s
You make it sounds as if they wasted years gold-plating fuel can design when they should have - done what exactly? Not waste 21 years from losing one world war to starting another? Deliberately start with inferior logistics to keep the next iteration in reserve for when the first version gets copied? (not even that far off, considering that weird window/düppel stalemate where for a while both sides held back the same innovation for fear of the other side copying it)
> The caption implies that this is from 1993,

Not necessarily. Here it is:

> Cadets view the sign on the Nordbat 2 school in Vareš and testify of the city's appreciation of the Swedish UN Federation's efforts in autumn 1993. (Johan Nordén/Försvarsmakten)

That must be intended to say the appreciated efforts took place in autumn 1993. But yeah, somewhat ambiguous.

> but it's a much more recent crop of cadets on a visit to Vares later.

Kind of a pilgrimage? If the pic was relatively recent at the time of that blog post (September 2017), many (most?) of those cadets probably hadn't even been born in 1993.
Metal is a fantastic API for the Apple ecosystem. Apple likes to call their own shots and not depend on anybody else when it comes to implementing cutting edge functionality in their devices and exposing it to developers.

As an Apple developer, this means you have to suck it up and do things the Apple way, or gtfo. The MoltenVK library, however, wraps Metal calls in a Vulkan API, so you still have options.
Yes.. but crypto? Even if you are right, the problem is master card and visa not silicon valley censorship. So pass a law that prohibits payment processors from refusing any legit business? My whole point was to address the root cause instead of the lazy cause.
I'm purely a hobbyist. But I was under the impression that D3D12 is so different compared to D3D11 that this would be a good time to consider both D3D12 and Vulkan. Is the choice for D3D12 standard because it 'sounds' familiar. Or is there more overlap with D3D11 than I was aware of?
Not so sure. AMD is always free to build a fab to make their own chips. It's perfectly reasonable to refuse to serve a direct competitor...or offer the service at a huge expense that would make it unreasonable for the competitor.
Large scale study on road traffic and it's emissions
I just jumped in with a clarification to make sure others who read this don't think that.
I'll see what I can do. :)
You're free to call it whatever you want, but different choices will have different effects. If you prioritize looking hip, for example, sometimes you will sacrifice clarity of communication.
> If you don't want the metrics that you get from something like Google then that's fine but a lot of companies, ourselves included, find the insight massively valuable when we are trying to work out which parts of our product are or aren't working properly.

As a user, I don't want to be spied on so that you can "improve" your product aka make it more addictive or refine your dark patterns. I definitely don't want Google spying on me to help you achieve that goal either.

The GDPR making it harder for you to do this means it's working as intended and I'm very glad to have it as a user.
Just out of curiosity (I'm a non-native speaker):

Is there a difference between flak and flack?
Are these regional variants, maybe a US/UK thing?
Would you use either, depending on exact context (literal flak-cannon vs "taking flack" phrasal verb)?
I'm curious if you've used useDeepCompareEffect, the use-deep-compare-effect npm package? I've found that it is pretty reasonable foolproofing for many of these identity questions. I'm well aware of Dan Abramov's objections to the deep equality checking [1] but I still find it a bit easier for me and other devs to reason about when doing things like data fetching.

[1] https://twitter.com/dan_abramov/status/1104414469629898754
Well, previously commercial outfits were choosing SpaceX in large numbers. So if Soyuz is cheaper, why not Soyuz. Both these vehicles have government orders which are never going on a foreign platform, so there is no price cap for those, but if I'm a comms satellite outfit (and there isn't currently a war) surely I just pick whichever is cheapest?
You have to enforce the units within the function, but that’s not the same as putting them in the name of the function.

For example, in Erlang, the sleep function could/should have been written to take named tuples: `timer:sleep({seconds, 3})`
Errata:

Windows 8 became very
tabletified, but
with options...

should read:

Windows 8 became very
tabletified, but
without options...
This is an interesting question - It would seem that governments think that murder is legal during war...what else is?
I see you've switched to ad hominem.
This is just the builder pattern but worse?
Believing it works is the whole experience. Most people never change socio-economic status and objectively nearly all startups fail yet here we are…
Most of your users are from EU? If not, just do what big publishers are doing.
> I have been taking advantage of a persistently running python instance and sending code snippets to it as a quick way to explore the data and ... deleting 90% of them anyway

How is that different from TDD other than the name "test" vs "snippet"? Tests are excellent tools to explore an API or a dataset. Tests are perfect for quick automation.

And, most importantly: tests, like any code, should be constantly and consistently get refactored. So throwing 90% away is expected and perfectly fine. Just like I expect you'll write 110x as much production code than what ends in production in the end: it's quite common for me to write 200+ lines over hours, only to end up with a five-line diff in the final commit.
+1 for MobX, can't recommend it enough

[also a quick shill for the general-purpose language I'm working on which internalizes that mechanism at the language level :)]

https://www.brandons.me/blog/the-bagel-language
"Of course juju works, he doesn't know what he is saying," said one trader who lingered with a scowl on his face.

In his pocket was a black amulet, a small leather pouch containing supposedly magic charms, that he said was for protection. However, he was not interested in publicly demonstrating its powers, not even for $6,000.

This man wouldn't prove his powers, even when he could only stand to gain from it. People act the exact same way everywhere when it comes to this type of belief.
When I did TDD, we'd start by writing a test. The tests wouldn't compile (Java) or link (C++) because the function being tested didn't exist yet. Then we'd write the (empty) function. The test would fail, because the function didn't exist. (It's very important that you see the test fail! You need to know that the test actually can detect if the function doesn't work.)

Then we'd implement the function, and re-run the test.
David Beckham hands control of Instagram account to Ukrainian doctor
If you change the unit, I think the variable should be changed everywhere.

It's hard to know what assumptions code is making and by forcing you to change the code everywhere (which should be pretty easy in any modern IDE) you at least have a chance to evaluate any issues that unit change could cause.
Starlink is not a separate company, it's a product of SpaceX.
Print statements, haha.

My code is for linear algebra stuff, so it is pretty much a straight shot through/filling in some RCI loop most of the time, I usually just have to find which OpenMP or MPI barrier is misbehaving.
Even we accept your premise, that doesn’t mean Economics its self is actually accurate or useful.

At a minimum in 100 years I expect current macroeconomic theory to get as much respect as phrenology does. One of the basic failures is you can’t abstract away the underlying mechanics of societies. Changing the federal funds rate doesn’t help if your in the Zombie apocalypse movie. Granted in the real world you might be dealing with drought, soldiers, or empty oil wells rather than Zombies, but the same basic mismatch still applies.