skysight-inc/HackerNews huggingface dataset:
One of my latest articles: https://www.robinwieruch.de/react-testing-library Is this listicle spam or helpful for people who get started with testing in React? :)

The last one I dropped was https://www.robinwieruch.de/web-applications which has more than 5000 words (1/6 of a book) of fundamentals in web development -- which took me 3 workdays of writing without anyone paying me for it. Still it gets less attention on Twitter than some random dev meme or inspirational dev tweet; and will probably not be picked up by HackerNews if anyone posts it ¯\_(ツ)_/¯

I do my best to teach people fundamentals. If they like my content on my blog, people buy my books/courses. This and their feedback (e.g. on Amazon, E-Mail) gives me confidence that I am doing the right thing. Without good content I don't get paid at the end of the month ...

Thanks for the shoutout @Pandabob! :)
I don't know what part of his story you refer to, if its:

"It took me weeks to regain access to my accounts, which were disabled after my employer (Facebook) was notified and embarked on disabling them."

I guess they've disabled his account to prevent access of the intelligence services to any sensitive data.
Alright, then we can all stop writing articles and making YouTube videos.

Let's only allow some starving hippies to create content as of now.
Looks great, we should make a patriotic repo with more countries.

And maybe I'll do an Analytics made in India blogpost. I had a client once who had outsourced his e-commerce dev to India. We sent him the Analytics code to include on his e-commerce site and he sent it to his team in India. The next morning there was no tracking, but every single product description was now replaced by the tracking script.
Weaning myself off Macs has been on my to-do list for the last year. It just moved up to top position.
They aren't perfectly free to do it and that's the point. Read what the ACCC is doing and why it is doing it:

https://www.accc.gov.au/media-release/australian-news-media-...
I’ve never used consumer reports. Reddit can be really good if you find the niche communities. It’s basically impossible to research yourself these days because nothing has decent specs.

Sites like Wirecutter aren’t completely useless because they give a relatively decent overview. It’s just worth being aware most review sites border on being advertising, so they won’t tell you if a whole product category is trash.
Do note that trusting other people is not incompatible with trusting yourself. Often you can trust yourself to the point where you know you will be over your head, and then hand off that trust to someone else.
This is what I've been looking for. I might have come across it before and ignored it, but I really need this.

They're far apart but those moments when you want to cut a video, or set id3 tags, and you rely 100% on Google to find out the CLI args for you.

Much better to store them locally, or in a git repo shared by your devices, and look them up on the CLI.

Even better, I'd like them to be already stored in bash's ctrl+r "history" and be displayed with comments. That would be amazing, to just hit ctrl+r and start typing ffmpeg, regardless of how long since you ran that command.
General (and specific) discussions about the Julia language can be had at https://discourse.julialang.org/latest (the main Julialang forum), and on Reddit https://www.reddit.com/r/Julia/
The App Store wasn't the first online store on mobile phones, there were stores for downloading ringtones and wallpapers on some devices and some primitive app stores particularly in Japan. The typical markup on these was 50% at the time, while typical retail markup is 40% for many types of goods. Consensus among pundits was that Apple would charge 50% and 30% was widely reported at the time as being surprisingly low.
>If nginx were AGPL-licensed (thankfully it isn't), and I made a change to the source for personal use, then the AGPL would require me to stick a download link to that modified source in the footer of every website served using that copy of nginx, even if I am not serving the nginx binary itself.

People add links to the source code because it's much less work than responding to emails. It's entirely voluntary. Users have a right to the source code of AGPL software you make accessible to them and you can satisfy that constraint any way you see fit.
The acceptable punishment part is when Apple closes the Fortnite developer account.

The unacceptable retaliation is that Apple threatens to close the developer accounts of everyone working on the Unreal Engine, which is used in millions of projects in addition to Fortnite.

What Apple is doing here is akin to mafia punching your sister to get you to pay up.
I think it’s highly unlikely they would exit the Australian market - the threat could be useful, but they have little to gain from responding to what is effectively a bargaining process with a lockout, at least as a permanent solution (e.g. it’s a captive market which would be immediately filled by a competitor, and Google only stands to lose money from such a move). However, consumers might not see it this way - I agree that their veiled threat includes withdrawing from the Australian market.
You can bill insurance companies for fake treatments.
Then have a look at Julia, you can use all those libraries from Julia and its own as well.
APL386 Unicode – An APL Font
Compatibility Is a Tricky Business
Look at Julia and PyCall.jl, as well as its own libraries.
Sydney's new tech precinct gets the go ahead
Don’t drink the Kool-Aid

I have worked as an executive in a risk department at a telco and can say definitively say that NIMBYs don’t influence these decisions.

I worked with our government relations, legal and comms teams and was in charge of risk management.

There’s no profits to be gained in fixing most infrastructure issues and most times NIMBYs provided us cover for service issues.

“Yes congressmen we’d love to upgrade our infrastructure and provide better service but those damn NIMBYs”
On Blockchain Commit Times: How miners choose Bitcoin transactions [pdf]
For an up-to-date comment from Louis Rossman (amazing component level Mac repairs) hit this:
https://www.youtube.com/watch?v=GPRjVvccQVM
I am sorry, but I am puzzled of the naiveté of people thinking code signing like this is for extended security and not market lock in. Sure, instead of just checking the integrity of an archive/package/executable, you can also add info to identify the developer and source. But it just isn't worth it on the current software market.

Create a public key register if security +++) is that important to you and you get the same features but don't try to tell me a developer certificate from FAANG isn't for business purposes.

+++) completely neglecting the fact that malware was even introduced in signed software...
Same reason why Facebook bought instagram and why any other acquisitions happen: add value.

The reason for Trump's ire isn't security or privacy, it's that the youngsters are using it to trick Trump: https://www.nytimes.com/2020/06/21/style/tiktok-trump-rally-...
The GBA and NDS are surprisingly pleasant to develop for, especially compared to smartphones. My first C programs were written for these.

I still can’t believe what that thing was capable of with a honebrew cartridge. I had dev tools, emulators for old desktop computers, web browsers and all kinds of stuff on a machine with just 4mb of ram (and this was before smartphones so being able to have that in your pocket was still niche.)

I thought smartphones would be like homebrew except projects would be abandoned less often because people could make money with them. I don’t think I’ve ever been so disappointed in my life.
D Declarations for C and C++ Programmers
I give Apple 6 months before they get broken up as an antitrust Monopoly!
I know it's a throwaway five-paragraph blog post that's hardly worth picking a bone with, but it's almost never your job as a software engineer to boil the ocean.

> 1. Actually, the bug ultimately comes from a third-party program
> 2. Hm, it uses a programming language I don’t know
> 3. Oh, the bug is in that programming language’s compiler
> 4. This subsystem of the compiler would have to be overhauled
> 5. And the problem is overlooked by the language specification

(1) happens ubiquitously. If you're working at your own leisure, or you have no other options, or, possibly, your project manager is asleep at the wheel, you might try to fix the bug at the source. But in business settings, the best solution is to write a bandaid fix and move on. Broken code sells better than no code because you were too busy volunteering to shave the proverbial yak.

(2) is a non-issue, at least for a hazily defined set of popular languages. And it's usually not ignorance of the language that stops you, it's ignorance of its tool chain.

(3) + (4) + (5) It's never a bug in the compiler.[1] And if it is, you're not being paid to fix compiler bugs. And if you are, you don't need this pep talk blog post to tell you that it's your job.

[1] http://blog.xcski.com/2012/10/08/how-to-debug
Once you decide to shop at wall-mart you can easily switch to other markets or buy items from other stores. not comparable at all.

If there were basically only Wall-Mart and Target to buy stuff from, and you had to commit to one for 2-5 years every time, you bet they should be under heavy scrutiny.

Sony and Microsoft are a better comparison, but different because 1) their consoles are huge loss leaders, phones are not and 2) they are way less essential and used by an order of magnitude less people than phones.
The headline says it leaves experts stumped, the body of the article makes it clear that it was largely because three natural gas plants were shutdown in what seems to be an effort to build political support for extending the operating life of older natural gas plants.
The two are not orthogonal. I used to do some work in financial services and some of the systems were designed not to run risks in case of misconfiguration.
Done! https://github.com/disruptek/nimph/issues/138
In my opinion yet another symptom of our chronic lack of public options when it comes to the internet. I would have no issue with the App Store applying whatever arbitrary and capricious actions it wants if there were another option for Apple users. It's like if Walmart sold self-driving cars that wouldn't drive you to any other store and everybody was just ok with that because you could always buy a self-driving car from Target, except you have to modify the Target car's settings to let you drive manually to get to any other store than Target.
Quite cool. Although I was a little disappointed there was no mandala :p
Are there actually differences between websites and apps?

It's just some code you got off the internet and run on your phone
Pay for studio to make game exclusive on store, how is anti-competitive? (Possibly the store might be BS but it's not anti-competitive matter)
Tracking down three billion litres of lost water
It does force you to use their app store for 2-7 years once you bought one until you replace it.
Yep, nobody outside India has ever made an error.
> a random update that fixed a crash was blocked for violating the rule around allowing out of app purchases.
>... and the other was abandoned after several months of back-and-forth.

This.

Once you get on their bad side with an App there is no end to it. The App Store review team will keep on rejecting every single update you do for totally unrelated random reasons.

One of my apps got approved when first submitted. Everything after that was just absurd to the point we had to abandon it. The App Store review team kept on rejecting any update we would make. The last one which was supposed to be a bugfix release got through three reviews. Each one got rejected due to different reasons. Each one addressed the problem the review team asked us to 'fix'. It was clear they did not want us in the store. We had to stop it. Half a year of work vanishing just like that.

It would have been so much easier if they had told us that they did not want us in the App Store. Such a waste of time.
Humanly Traversable Wormholes
Never Use Tor with a VPN
Who was harmed by Epic change? Only the monopolist! I can see Apple getting cut down yo size by a 1982 AT&T-style antitrust consent decree within 6 months! Goodbye walled Golden.
Show HN: Roti-Kapda-Makaan(A 32 bit hinglish id generator)
> as someone who apprenticed as a lineman briefly, this isnt at all unexpected. Just because you have generating capacity, does not always mean you have capacity in the duty cycle for your transmission infrastructure.

That's a nice story, except as the article notes it wasn't distribution but generation that was the problem. Not a shortage of installed capacity, but shutdown of four (one wind apparently due to conditions, and three natural gas apparently voluntarily by the operators) plants.
Kotlin 1.4
Wheat, barley, lentils, peas, chickpeas.

Goats, sheep, pig...

Most of those come from the fertile crescent.
>but the source likely would soon be changed to support alternative stores

Which is only fair for those who circumvent the original store.
Maze Ransomware Attack on Canon
Sure, in Mountain View, but otherwise the parent comment is correct. Charles Fishman’s book The Wal-Mart Effect[1] goes into great depth about how Wal-Mart suffocates smaller stores across America and turns around to arm-twist their suppliers.

[1] https://en.wikipedia.org/wiki/The_Wal-Mart_Effect
It's interesting to have game formats for which emulation does not capture the magic of the hardware. When the last DS dies how will people play these games properly?
You can make the case that using other payment systems sub-optimal from a security perspective, but malware? Would you also consider Uber, Lyft, and Amazon malware since they accept other payment systems?
I've enjoyed Nora Bateson's appearances on the Future Thinkers and Jim Rutt Show podcasts, very curious about this film. Had to hunt a bit to find a streaming source: https://vimeo.com/ondemand/bateson
This is the first good analogy I’ve read for understanding Apple’s power in a way that non tech people can understand.

The problem with most comments shouting “30% is too high!” is that it’s impossible to throw out a better number that isn’t entirely arbitrary. The issue isn’t the number.

The issue is the mechanism by which that number can be enforced.

If we agree smartphones have become essential infrastructure, needed for the modern economy to function, we should not allow just 2 companies to have such power over it.

What makes people uncomfortable about this though, is that Apple has really done nothing wrong to get here. It’s just that their product and the App Store concept they popularized became so successful, that it’s now essential to modern life.

For the people arguing against regulation, I totally understand the uncomfortable feeling that creates.
This might be nitpicking, but did you just say bestiality and necrophilia should be legal because only narrow minded, prejudiced people would be concerned that the animal or corpse can not consent?

I consider myself pretty Libertarian, but damn that's not a small government hill I'd die on.
This is awesome dude! Love it.
What Is Price Optimization
A DOS JavaScript Canvas with Sound
Isn’t ‘photosensitive’ what all eyes are? ;)

Anyway, +1 for astigmatism and extreme sensitivity to glare. The rise of dark themes is something of a curse for my ability to interact with interfaces these days.
Exactly THIS!
I remember "taking over IRC channels" back in the 90's remember "ping flood", only to lost it again a few hours later. Guess you had to be there to appreciate the time and the culture.

It was a joke and not a declaration of war or a "federal crime". When did geeks get so serious :/
> my bots have tweeted [...] U.S. Forest Service AH-1Z Viper attack helicopters fighting fires

I had to Google that. I'll await a correction from a more knowledgeable HNer, but as far as I can tell the US Forest Service does not have AH-1Z Viper attack helicopters.

I don't care enough to dig deeply into it, but it seems that basically there is a very long line of Bell helicopters called "AH-1", going all the way back to the original AH-1 Cobra in 1965. There have been many variants over the decades, and two of these have been been retrofitted into "FireWatch" helicopters for the US Forest Service, after being retired from military service.

The AH-1Z Viper is a modern attack helicopter, a variant of the SuperCobra, itself based on the AH-1 Cobra. It went into service in 2000, whereas the USFS two FireWatch Cobra's were originally built in 1969 and 1983: https://wildfiretoday.com/2010/06/27/firewatch-cobra-helicop...
Show HN: Kick start your freelancing career with these tips
Fascinating, I had no idea that flag was copyrighted. I guess that's one of the reasons why there was a push for alternative flag designs a few years ago.

As far as searching for prior art, I would probably look at using a large data-set like the [1] 2.8 million art images released by the Smithsonian. So you can process it all locally rather than uses a SAAS api.

Then use something like tensorflow to do the image recognition. Here's a [2] fun tutorial.

[1] https://www.smithsonianmag.com/smithsonian-institution/smith...

[2] https://codelabs.developers.google.com/codelabs/tensorflow-f...
You can work on compilers, distributed databases and other "hard technical problmens" as an intern. Staff Engineer means something quite different.

Staff Engineer is much more about understanding what to build (including the product implications), how to build it, how to communicate that with everyone else. The kind of skills that would make you a highly effective founding CTO.
Was practical jokes or humour before or after your time ? STFU (Really ?) Wow...
-Just a tad shy of 150,000 miles tall, since you ask.

(A dollar bill is .0043in thick, so unless imperial unit-challenged me messed up doing the conversions, it should be almost 2/3 of the way from Earth to The Moon.)

This would be awfully inconvenient, though - if you use $100 bills instead, you'd have a still very inconvenient, but more manageable stack of 1,500 miles.

More manageable still would be to just put the ones in a warehouse - they'd require 88M cubic feet of space, or a cube with sides of 445ft. It should fit nicely inside the Saturn V Vehicle Assembly Building.
Graphical Linear Algebra
Based on what people have said in these threads, said app couldn't recommend apps like that because the Apple review system makes sure that there's no such apps to recommend.

That's only a danger if the app review program doesn't work
This reminds me of https://www.visidata.org/ which is a terminal based application with similar purpose - loading tabular data from various sources, and exploring and processing it in a visual way.
> Most people who live in Marin have been there for 20-30+ years and are retired.

64.1% of those in the county 16 or older are in the labor force. Most people living in Marin County are not retired.

https://www.census.gov/quickfacts/fact/table/marincountycali...
A portrait touch screen split top/bottom?
I never liked C-style syntax. It looks kind of... cheap, I guess. I don't know, I never got used to it, I prefer Python/Julia/Haskell etc.
The Play Store has very little for tablets. The Android tablet market is effectively dead.
Not sure if you're aware, but you could just write that as:

int i = 100;
std::cout << i << std::endl;
{
int i = 200;
std::cout << i << std::endl;
}
std::cout << i << std::endl;

And since PyTov is supposed to be C-like, this might be a better example:

#include <stdio.h>

int main(void) {
int i = 100;
printf("%i\n", i);
{
int i = 200;
printf("%i\n", i);
}
printf("%i\n", i);

return 0;
}

Also, the same would occur in C(/C++) if you didn't shadow the variable in the block scope and just called:

i = 200
Madhu Sudan's books and papers are practically required reading when you are working on a grad-level course on Coding theory. Just in case you think this is a course on programming, its far from it. Coding Theory describes the math behind the algorithms used to transmit data from point A to B. If you are interested, jump to the Error Correcting Codes section for some fun times :)
The late 2015 model is, relative to the mid-2015, much simpler. Only removing a few ribbon cables and prying the old battery out (heat and fishing wire works ok, I didn't need solvent).

It was more like 30 minutes for me, but maybe if I need to do it again it'll be quicker.

All this was neccesary because I'm in Poland which doesn't have 1st-party Apple stores and none of the AASP would touch it.
Check out google cloud run, you can run containers super cheaply
Just only for recurring subscription. There's very little reason to be.
My library, mergo [0], is used in Docker, Kubernetes, and other big projects that are the core of what we know as the cloud.

At some point, my library caused a bug or two in Docker, impacting how config was loaded.

0: https://github.com/imdario/mergo
Sturgeon's law applies to people as well as between people. That's why we invented editors. and manners.

https://news.ycombinator.com/item?id=24081265

Edit: skimming https://en.wikipedia.org/wiki/Ezra_Pound it seems amazing that one can get from supporting social credit ("to disperse economic and political power to individuals") to capital-F Fascism and "the English were a slave race governed since Waterloo by the Rothschilds" but in an age before social media at least it seems to have taken him on the order of a decade to radicalise.

(on the other hand, Vorticism to Fascism may have been a simpler route? What about the gripping hand?)
The power of ImageMagick is when you need to support multiple formats. Resizing BMP is easy, the hard part is supporting the various ways that data is encoded.
This is a good argument for why AGI is more likely to come from AI gym environments where it learns to control an agent in an environment. It isn’t presented with a static dataset but interacts.
> Curly braces designate scope in C

It's not the curly braces that create the scope as such. It's the block, and the curly braces just happen to create the block. In C++ you can even do this, for example (I was surprised to find it doesn't work in C):

int i = 1;
if (true) int i = 2;
std::cout << i << '\n';
// Prints 1

In any case, the semanics of blocks (whether they create scopes) is totally orthogonal to the syntax of blocks. You can just as easily imagine the reverse: the current colon-indent syntax where blocks do create scopes.

Another issue, which other replies have alluded to but not quite spelt out. You'd need to add a syntax to distinguish between regular assignment and declaration. In C you can still choose to assign to the outer-scope variable from a nested scope of you wish, so you don't want i=1 in a nested scope to always declare a new variable that shadows a variable in the outer scope.

Oh and one more thing. Your snippet (or equivalent) won't work in all C-style braces languages: in C# it is a compilation error to shadow a variable from an outer scope in the same function (presumably because it's a common source of bugs and extremely easy to just choose a different name for one of the variables).
The amount of detail going into all the write-ups on this page is insane, great work!
Not sure what point you are trying to make? Approx 1/6 people of this planet live in India. You can find all kind of stories here.

From underpaid outsourcing teams doing a bad job updating the tracking details in an ecommerce site to Walmart investing majority stake in Indian ecommerce unicorn for 16+ Billion dollars. It's a spectrum of stories.
Because as someone paying 1200 euro for a piece of hardware that you don't control, you deserve to be treated like someone not in control.

At least they are not actively blackmailing you (yet).
This is fantastic - I have always loved C-style syntax. The braces and indentations make code easy to read. I am always scared of Python's 2/4 space requirements - hard when you wear thick eyeglasses :)