jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I got in to an argument in school with my computer programming teacher. A BASIC course, we were having to design a system to accept an address, and I was treating my ZIP code as a string.

IIRC, something like

50 INPUT "Your ZIP code?", ZIP$

Everything was reviewed via handwritten code and flowchart before we were allowed to type it in in the lab, and I was told "ZIP code is a number, but you're putting it in to a string, that's wrong, fix it".

"But a ZIP code starting with 0 would then not have the 0 at the front when we show it back to the user" I said.

"ZIP codes don't start with 0"

Me: "Some do"

Her: "No, they don't"

I lived in Michigan, but was a huge infocom fan, and they were in MA, and had a leading 0 in their ZIP code. We argued about this for a good few minutes, and it wasn't until I brought in something the next day that demonstrated legit ZIP codes starting with 0 that I 'won'. Crap like this reinforced my distrust of authority and cynicism in life (for better or worse).

EDIT: Anyone else remember the "New Zork Times" newsletter? :)

EDIT 2: It wasn't until much later that I learned the ZIP code system we had wasn't actually completely formed until after she was at least a teen, if not a full adult - she simply wasn't exposed to stuff that I was earlier, it didn't really impact her, and she just assumed they were all numbers with no leading 0s. In some ways a minor point, but... it also taught me about stuff I took for granted not always having been there, even something as basic as addresses. Didn't really learn that until much later after that class.
If government money can put people on the moon for military or security reasons, they will easily be able to spy on you no matter what if the same motives apply.

It's not a matter of humanity, society often puts itself before individuals to make sure society can exists the longest it can. A civilization will easily sacrifice many things to secure its survival.

That's how the strongest defend themselves, it's very hard to stay on top for a long time, so often, those countries will take huge leap of faith and risks to crush their enemies, even if they're on the other side of the world.

If you're an american, you have free speech, and all the democracy and the things around it. If you're outside America, you better be an ally or look like one. Intelligence agencies are a lot about crushing people who might make america look bad, it's about public image, it's almost the same job of a journalist, except you defend your country's interests.

Survival of the fittest. Democracy is just internal management.
Yes, but it also affects you in the case that you argue that some other, unrelated Facebook patent is invalid, even if you're happy to concede that the patents covering React Native are valid.

For Google's use case, it means that if they ever find themselves in court claiming to have prior art on any of Facebook's patents (let's say Facebook sues them over something G+ does, and Google says it was described in the literature well before either of them), they automatically lose the (patent) rights to all of Facebook's OSS, even if they're legally in the right. So they can't build anything they care about on React.
Bignums are closely related to arbitrary precision decimals (aka BigDecimals; "decimal" without more is somewhat ambiguous since sometimes those are fixed size or decimal floating point.)

Most financial applications deal with currencies each of which had a smallest indivisible unit in the application, which makes bignums most appropriate. But bigdecimals (or even arbitrary precision rationals) may be preferred in certain financial applications.
> To make a dot-point list, preface each line with four spaces. HN interprets that as 'code snippet' and keeps your formatting.

If you do this, remember to add line breaks
every 50 characters or so for mobile screens.

* An alternative is adding two newlines between each bullet point,

* so each point is in its own paragraph.
It does and it should make you happy a story you found interesting enough to submit is getting enough traction now for discussion.
Location: Buenos Aires, Argentina

Remote: Yes (preferred)

Willing to relocate: No

Technologies: Python, Django, HTML/CSS/JS, Git

Languages: Spanish (native), English (advanced), Portuguese (basic)

Résumé/CV: https://arielroffe.quest/CV.pdf

Email: ariroffe@hotmail.com

PhD Philosophy researcher & software developer from Argentina, with a strong background in mathematical logic.

Looking to transition from academia into a fullstack web dev role, in search of new challenges.
I am mostly self-taught in the programming world, so you may consider me a Jr developer, but I can research and learn new
technologies quickly.

Personal website: https://arielroffe.quest/ (was featured on the cover of HN a while ago)

GitHub: https://github.com/ariroffe/
Between this and Testflight, I get the impression that Apple wants to rule its app ecosystem in the feudal sense. Whatever "indy" contingent there is, it is just meant to effectively be the bush leagues for the major league, which is Apple itself.

Hopefully, Apple will realize that it's sometimes better to co-opt than to control, especially when what you'd be trying to control is an ecosystem experiencing dramatic growth. It's this kind of realization that resulted in the iOS App Store in the first place.

That said, Apple is in a good position to continue its feudal rule, for now, as (IIRC) Apple's income is far larger than that produced by the App Stores in aggregate. This would be analogous to the late Middle Ages when the rise of the merchants began, but their wealth and power were still dwarfed by the feudal power structure and the church. The merchants were useful to the existing power structure, but still had to kowtow to it.

So the way to defeat Apple, if that's what you want to do, is to foster the growth of a better ecosystem than the iOS App Store. (Or, it could be worse, but still bigger, unfortunately.)
Care to elaborate, for those of us who are perhaps more ignorant on the subject?
As much as I want to insult, cajole, harass, and harp on you about this comment, I cannot because this is a moderated forum. Sounds like TikTok is doing something similar. Is that going too far?
+1

...which is why I wish Black allowed more configuration. A team can often agree on a set of styles. Every team on the Python planet agreeing... now that's much harder
> stop immediately thinking that every time someone doesn't meet your expectations

It's a bit off topic, but this is so important for parenting, let alone running a company with employees.
> If the last 20% of the worker's time is truly non-productive, then the company is already over paying and the worker is wasting their time.

I think it's a misconception about worker productivity: you need to optimize the overall system, which will require having slack in some places that are not a bottleneck. "The Goal" by Goldratt is a good explanation on why that's the case. Any attempt to locally optimize to keep everyone busy sooner or later kills the overall productivity of the system.

How this slack is used by the workers is a different question, but if someone wants to use it to improve the system, to improve themselves, or simply to recharge, I think it's up to the worker. The goal is not to keep everyone busy; the goal is to provide optimal results using available resources.
That's a good point. Our primary threat was natural disasters, so I can see how different locations might handle things differently
>> Well, to be useful, wouldn't you need to be able to use it?

That's what we have computers for, numerical solutions to PDEs ;-)
> OP has been spending 30 years not being paid to use the tools he wants.

You know you're right about that and I hadn't really thought about what you mentioned in your post overall. But it makes a lot of sense
This is the first time you hear "Bitcoin is for nazis"? You're lucky, I guess. It's a pretty common accusation because many Bitcoin advocates are also far-right and/or extreme libertarian.

Anyway, I'm not saying that. Eichmann is simply a reductio ad absurdum example of the problems with the "it's just a tool / technology has no moral" position.
Interesting. I don't think retain/release itself is helping with the memory, but reference counting very much seems like it would, and the retain / release speed makes that possible?

It's kind of crazy how well 8GB does. On a PC when you have all the pre-installed crapware +++ 8GB is really too low these days.
No We are not going to die, hit by some asteroid. believe me.
I haven't gone through the whole thing, but the point seems belabored and superficial tbh.

I imagine the whole piece is essentially a comment on having a discriminator with great true negative rate and terrible true positive rate in a context where there is a large class imbalance (very rarely do positives occur). In real life this is quite easy to account for (just fill in your confusion matrix and see how you stand). I also strongly suspect that it doesn't really happen that much. People do have a conscience, professional pride etc. At the very least they will get bored and actually do smth different from time to time.

> The Security Guard [...] The only problem is: he now provides literally no value. He’s excluded by fiat the possibility of ever being useful in any way. He could be losslessly replaced by a rock with the words “THERE ARE NO ROBBERS” on it.

At the very least such a security guard would act as a human scarecrow. More realistically, the guard would actually look for robbers from time to time, if for no other reason then because if he misses them he might be out of a job.

> The doctor [...] “It’s nothing, take two aspirin and call me in a week if it doesn’t improve”

In my experience this sums up the Dutch (country where I currently reside) medical system quite well :)) Somehow they manage to have good health results.

EDIT: moved concluding paragraph up.
I really think the only solution to this is to classify the internet as a utility, a big dumb pipe.

Users need to buy their access and bandwidth, services need to buy access and bandwidth. Simple. The regulation of utilities is to prevent the type of profiteering American ISPs are heading to.
Next time the author should write an article about how "friend" became a verb.
Oh, sweet. Order-of-Magnitude increases in speed opening new opportunities: very cool.
Unfortunately, Chrome OS seems to trap C-n before it makes it to the browser.
Random thought: why do we still call them "web pages"? They're not hypertext pages anymore and browsers are not hypertext document browsers anymore.

(It should probably be called "VM for UI apps that run directly from URL and written in UI stack that has never been intended for UI apps, and has weird tabbed window manager")
There is plenty of free-press and free-elections in South Africa, yet the corruption persists. The entire governmental institution is rotten to the core at this point, and no amount of voting will get it out from the national government without numerous arrests + money recovering operations.

So what I would vote as the method would be rule of law and actual no-nonsense follow-through with applying it, no matter the consequence. There have been so many blatant high-profile legal issues all the way up to the president and yet there have been practically no big convictions. The ruling party can't even kick-out a prominent member from their own party after he's been arrested for corruption.

https://en.wikipedia.org/wiki/Ace_Magashule#Arrest_and_crimi...
https://en.wikipedia.org/wiki/Jacob_Zuma#Corruption_charges
I do not plan to reside in Monaco forever, nor do I think I will be particularly happy there. I'm 100% certain I won't be as happy as I currently am in London.

It's simply a place for me to live for a few years until I'm confident that I'll personally have enough funds to live the life I want forever (and provide that life for my family). It's a sacrifice I'm willing to make at 26 years old, so that when I'm 31 me and my family will be good for life.

After that, I will likely relocate to either the south of France, the UK or Canada, subject to change - and work on more meaningful projects.
Yes.

I'm not so sure about the usefulness for an image decoder.

But if you are designing safety critical realtime software for controlling a car, then you kind of want the extra reliability guarantees that avoiding the heap gives you.
That's how America works. It is a feudal system where the rich buy the laws, gated communities, college admissions, genes, designer babies, and pandemic vaccines they want.
https://twitter.com/TakethatCt/status/1379708839252070401/ph...

pregnancy: 1 in 500
combined pill: 1 in 1000
recurrent flights: 1 in 300
ICU with covid: 1 in 10

AZ vaccine: 1 in 500,000.

The UK has delivered millions of doses of the AZ vaccine and there have been tiny (fewer than 100) cases of blood clots.
I mean, they're preventing a mode of transportation, not entry (I'm not saying this justifies anything at all).

Legally I'm assuming people on the no fly list can still take a boat in to town.
Downloads gone after every update, downloaded albums in your favourite songs list, Chromecast integration spotty. The list goes on and on. That's what you get for 10-ish $ a month.

Agile-mumbo-jumbo idiots.
I’ve never heard this question formulated this way, it’s weird that they would put it in the FAQs unless they’re just taking the piss.

A more helpful question would have been “Can I be spied/tracked after I’m vaccinated” or something along those lines.
I like how slides 24/25 are basically "No means Yes! Yes means Anal!"
I got a notification on Android that I was signed out and I haven't been able to sign back in. Everything's fine on my computer, though.
Apparently not a modern word; biblical: http://biblehub.com/genesis/38-9.htm
I have used it for a few days. Here is my account:

==== The mechanics ====

Basically you share cards with short messages, pictures and videos. When you post a card you infect a few people who are closest to you.

Then those people see it as a card, and decide whether to swipe up to infect more people close to them, or swipe down to ignore.

If you make something popular and people tend to swipe up 25% or more of the time, it slowly will spread across the world.

I live in Sydney, so with a faily dense userbase here, the first infections are in the same city. However if you live somewhere without any users nearby the infections will go further geographically to find the nearest 4 or so people.

The more success you have with infecting people, the more your infection index goes up, and so the more people you infect when you post or swipe up.

In addition there are comments on cards. If you make a comment you get subscribed to the card and altered on further comments. You can unsubscribe from a card when this gets annoying.

==== Expect to see ====

► Memes copied from other sites. This leads to popular cards complaining about this, and saying to not upswipe memes.

► More memes.

► Even more memes.

► Inspirational quotes, mostly cliche but sometimes something new.

► Pet cats, dogs as expected.

► Pretty women, boobs, etc.

► Holiday photos.

► A small amount of politics.

► Screenshot of a plague card, which someone else takes a screenshot of so you get a recursion. Those are really boring now!

► More Memes.

► Vary rarely inappropriate things - NSFW, porn, hatred etc. The system seems good at self policing that kind of rubbish.

==== What is it for ====

In my opinion it is for mindless entertainment. The same way you may hang out on Facebook for an hour because you are bored. This fills a boredom hole and can get addictive, especially with the gamification of rewards (higher infection ability) for creating new messages and getting to argue with strangers about pointless stuff.

For this reason alone I decided to uninstall.
Why you're insisting in ignoring the fact that js is a loosely typed language and automatic type casting is in its DNA?
The idea is that it would be the only form of storage on the device, so it wouldn't be specialized. That's how it is implemented on Precursor -- you don't have a parallel non-deniable storage, and then a deniable one. Everything goes into one bin for everyone.
True. Yet am I not in a position of power to exert pressure on the sale due to limited size / discoverability of the market to the seller? Good point re: tentativeness aspect though. Thanks!
In the evening after work but before dinner. Ideally would do it in the afternoon, around 4pm.

Any serious exercise in the morning is both more miserable and makes me tired for the rest of the day.
Same in Aus. I think banking innovation like this is way easier in smaller countries like australia because there’s way fewer banks. The USA has hundreds of banks - so getting them to all agree on a standard is near impossible. It’s no wonder America still uses ACH and cheques.

Australia has just 6 banks. And they have a history of collaborating on things like this - since a fluid economy raises all boats, and fraud hurts them all. All Australian cards and point of sale systems support chips and taps. And have for nearly a decade.
Yet, geo-ip and service provider (AWS) blocks are extremely effective at blocking these kinds of attacks. The issue is there is no list of IPs that can be identified and blocked with any reliability. It is impossible to separate valid connections from invalid. When the vast majority of traffic (99+%) is malicious, slamming the door is the most viable solution.

If there was a good way, Cloudflare would have solved it. Cloudflare hasn’t been enough for my company. We had to add temporary Geo-IP blocks just to get the site up.
I believe while the token is generated once, each transaction is signed with a unique signature (I believe that's the term) that only the payment processor can decipher. The merchant doesn't get any stable/identifiable information that can be used to track you across purchases/sessions/stores.
I think our thread got too deep and it won't let me reply. Feel free to contact me directly through https://apitman.com or post on https://forum.indiebits.io if you want to talk more.

But to answer your question, you'll need to run a CLI daemon on your grandma's computer. Something like ngrok static files would probably be the easiest:

https://ngrok.com/docs#http-file-urls

But since you're already setting up one daemon in that case, I'd use Cloudflare Tunnel and also run a basic webserver or WebDAV server alongside it to give you more control over how the files are hosted.

Also pretty sure you have to pay for custom domains with ngrok.
I know the Stoics were aware of this; I just don't agree with their philosophy.

I think in this conversation we are conflating frustration ("my life isn't the way I would like") with suffering ("my child was ran over by a truck, I have brain cancer, my brother is dying of hunger in a ditch somewhere, I was tortured in a concentration camp, an earthquake killed everyone I loved"). The latter has little, if anything, to do with modern expectations of life. This kind of suffering has no greater meaning and is not necessary at all for joy to exist.

> The modern notion that life is supposed to be in a certain way is a big factor

The ancient Greeks and even older civilizations had all sort of expectations about how life should be. I don't buy at all that suffering is somehow the result of modern expectations.

We created some new forms of suffering and got rid of some older forms. And yet other forms are permanent, outside our control.
That code you're replying about was carefully and correctly written. You just replied as if you know how it works just so you could look like you know what you're talking about.

If you're unlucky, someone who actually knows how File.ReadLines() works will show up in an hour or two and explain that it's lazily evaluated.
Oh, I'm brazilian. Try going to a favela to buy pot: way worse.
Nah, that's not how it's done these days.

It seems downvotes on HN are used as the equivalent of a child sticking their fingers in their ears and yelling "NOT LISTENING!".

Oh, and don't be surprised if you find a bunch of your older, unrelated comments downvoted as well. Apparently it's a form of punishment. Or something.
How many customers were retained because you decreased response times by 100ms? How many customers were gained because of that slick UI you created?

These two things can be precisely measured, provided you have the traffic. And you should be measuring them anyway, because that slick UI might be hurting things.

A/B test all the things. Then you'll know both your value, and whether any specific improvement you made is worthwhile.
Could you (or someone) translate just a few of the messages so we can get an idea of what's going on on the map?

I'm not quite understanding the intended goal of the map is all.
A short and fun game =) Visually a bit busy, though.
This is all old, old news. Back in the 1970's, a friend of mine was shopping for a nice SLR camera. He knew which camera he wanted, and diligently researched ad after ad, finally settling on one with the cheapest price. We all piled into his car to go get it.

Sure enough, he bought the camera body dirt cheap. But he walked out of the store with a lense, filter, case, flash, film, and a few other accessories. When back home, he ruefully discovered that the total price he shelled out was higher! He didn't realize that the accessories were priced higher than the competition. People simply are not price sensitive to add-ons, and salesmen have known that for centuries.

Gillette is famous for pretty much giving away the razor and making money on the blades.

There's even a word for it: "loss leader".

All Amazon has done is automate it. Pretty much all retailers do it.
You cannot write effective code in Java, Python, or C++ without understanding the difference between references and values. You can certainly stick to higher levels of abstractions - most functional languages do a good job of that, especially ones like Haskell that emphasize immutability and value-only semantics - but pointer concepts are absolutely relevant to the industry-standard languages.
I absolutely believe that attacks are used as conveniences to justify legislative wishlists, but question whether such things are planned in advance like you are suggesting or are opportunistic responses to actual events.

Regarding encryption bans I've mostly seen justification referencing the Charlie Hebdo attacks (which are assuredly not a false flag).

Personally I believe that North Korean sympathizers were behind the SONY attacks given a number of pieces of evidence, but most heavily the #GOP leaks of emails detailing SONY collaboration with the US State Department and RAND Corporation that point toward The Interview being a strategic diplomacy product.
Might break a little once Bob is popular enough to be offered money (or some other reward) for featuring videos they wouldn't otherwise pick. I do think it's a good idea though.
No. I imagine lots of children don’t understand anything said on that show as well.
The key thing here is being able to do it through multiple levels of dependency, for which I see someone else provided me an answer that is actionable! \o/
> then higher rep lower weight sets with shorter rest periods is the way

In the comment section of an article about how bodybuilders use unsupported folk wisdom, you posted completely baseless folk wisdom with no evidence.

> The Russians have known this for a long time, and so have the best performing competitive lifters.

The USSR had the best weightlifters decades ago. They don't have especially remarkable powerlifters compared to anyone in the USAPL (or untested feds) today, and they don't have especially elite weightlifters today (see: being banned from the '16 Olympics for doping sanctions).
Gradle has a Kotlin Script build script option these days too. I haven't tried it yet, so I'm not sure if it's any better.
>It's strange to see a company that once prided itself ...

Twitch is an Amazon property now.

All prior impressions are now moot.
Therapy first, phone detox second.