skysight-inc/HackerNews huggingface dataset:
Another neat note IIRC is that array parameter sizes don't actually do anything, they just are there for semantic purposes and get treated as raw pointers.

So if you do

void func(int x[10]);

You're free to call it like

int k[5];
func(k);

And you won't get any warnings. Unsettling!
> They can also be used for money laundering, as a result.

Story time:

So, back in 2009, I'd just started working at Starbucks and my first job was to figure out some reporting discrepancies in online purchases of Starbucks cards. Basically, a report from the database on how many $$ of cards we'd sold didn't seem to match up with a transaction volume report from our credit card processor. And, as the new guy, I got stuck digging through stacks of classic ASP, layers of SQL Server stored procedures, and even some really old mainframe that I can't remember the model of. It was important to the business to figure out why these reports didn't match up, but it wasn't exactly a fun assignment that engineers were leaping onto.

Anyway, I eventually figured out that it wasn't a reporting error— we were truly "selling" more $$ in Starbucks cards than we were charging for. I dug through the whole process to see how this was possible, and found what it is still one of the most hilarious bugs I've found in my career.

When you got to the checkout form to buy a Starbucks card in any denomination, you had to fill out your credit card information. If anything you filled out didn't validate or we couldn't authorize your card, you would get an error message. It would ask you to correct the credit card information and resubmit the form. But, crucially, you didn't actually have to correct the information. You could just resubmit the form with anything you wanted, and some spaghetti logic determined that since validation & credit card auth had already been run once, it didn't have to be run again! Instead, we just created an order to ship you the product and didn't bother charging your card at all.

This bug was "leaking" probably over $100K in cards each year, for who knows how long. I still wonder if anyone actually figured it out and was exploiting it. It wasn't even "laundering" money, it was wholesale minting it.

The best part was a few weeks later, long after we'd fixed the bug. Someone from the IT security team showed up at my manager's desk with a lot of questions and pretty ready to walk "the new guy" out, and possibly press charges.

Turns out, while I was troubleshooting the bug, I'd accidentally submitted some absurd order. Something like 100 Starbucks cards, each loaded with $200 or whatever the maximum was. I guess I'd submitted it in production instead of the QA environment, and because of this bug, the order had actually gone through without charging me. It was a large enough order that it triggered a manual audit, and someone was pretty sure that I was just stealing from the company.

Talking them down was fun times, since they were pretty serious about the whole thing while my whole team was just cracking up :)
I too have been using LXC/LXD since before Docker but it's not the same thing.

LXC is a system container. When you want a full system, instead of a VM, you can use LXC, have ssh, give people accounts. It has the same issues as a VM or a regular server, it's easy to leave snowflakes on it, unless you're very disciplined and automate everything.

Docker is an application container, it's not for hosting a user, but just an app. Easy to reproduce, you can share the images with other's or have them rebuild the image to run the app. So two very different things. When Docker first came out, I was very hesitant to use it, and thought it was very stupid to have just one container for one application. But as I thought about it and played with it, it made sense and I have come around. I still use both.

You compared LXD to kubernetes, they are not comparable. k8s is a container OS, it's for orchestrating tons of containers, so you don't have to manually deploy and network them, and restart them.
Instruction cache. If your mega binary doesn't fit into cache, instructions jump around to different and unpredictable address spaces. You are fetching and executing instructions directly from memory. This is why huge applications are so slow, they are both instruction memory bound and data memory bound. Imagine how slow a CPU is with no cache!
I have bought a lot of virtual content on Google Play Movies and Books. I am not nervous at all about that content going away.

I imagine it is not quite the same for games which might require maintenance like security updates. Still, old versions of their games should be available.
Well inbox was a brewth of fresh air but apparently if you can't get a billion users of a billion bucks in a year or two it's just not worth doing.
> A company should be able to state that its mission is (for example) to deliver the best electric cars in the world, and be able to do so without pressure from shareholders to fire the CEO

“A company” is an abstraction. Who is declaring the mission? The shareholders? Or the CEO?

Yes, if the shareholders declare a mission, the CEO shouldn't generally be fired for pursuing it effectively.

If the CEO declares a mission, and the shareholders don't agree that it represents their interests for the firm, they absolutely should create pressure for the CEO to either reverse course or be removed.
OK, I'll bite. Cite please. Include full lifecycle costs on CNG, including fracking and shipping.
Recently I got some 9V batteries from Amazon (for the smoke detector). They all came individualy shrink wrapped in plastic - all 8 of them - despite coming in a box that was surely strong enough to protect them from damage on the short trip from the fulfillment center. Why? Protect from corrosion?

This is probably a poor example, as I'm sure there must be some reason to do this with batteries, but so many things we buy online now come with mountains of non-recyclable plastics that just create more waste. I'm with other commenters here: tax the hell out of this stuff and force retailers, especially ones with clout like Amazon, to develop different packaging technologies that don't overuse plastics for literally everything.
Why not serve binaries from your GitHub repo? It's free, and many projects do so. You can link directly to a binary, here's an example:

https://github.com/jwilm/alacritty/releases/download/v0.3.3/...
4 billion dollars of 65 billion dollars is around ~6%. Now I'm not a stock guru but I'm betting for a fairly diversified portfolio a change of 6% is actually pretty big, and is something that is likely to happen over a fairly long period of time. As an arbitrary pick, it looks like the S&P 500 has moved +4.59% in the past 6 months.

>Also I assume most of the day to day handling is in the hands of an accountant and there's constant in and out of sums for paying his personal staff, buying supplies, paying maintenence of his Mig Jet or whatever goes on there.

I know nothing about Larry Ellison or this case, but somehow I doubt someone with $65B net worth is not paying attention to their account balances or their investment positions at all. You hire an accountant to take care of the things you don't want to or don't have time to do, but if you have that much money it is apparent that you care about how much money you have.
That's definitely #1. #2 is be yourself. Make your talk a story you believe in. Tell it in a way that feels comfortable to you and suits your personality.
That's not what he is saying.
Anecdotes like this make me so sad at what we've lost.

I spent so much of my early teenage years on Geocities, Angelfire, EzBoards, AIM, ICQ. It's all but vanished.

We should have done a much better job with preservation.

I'm hoping someone will one day bump into un-formatted hard drives from some of these old web hosting companies and resurrect the content.

It's weird to feel so much nostalgia for intangible things.

It's also weird to reminisce about youth. Despite all of the new tech, and the wealth and career I've built, and the people I've met, I sometimes wish I could relive the early 2000s. It feels like all of the adventure and newness has been sucked out of the world. And then I snap out of it.
You are ignoring my point. No one is doubting that Minsky associated with Epstein. That is all that is necessary for her to know his name and be able to accuse him, and her knowing his name is not dramatic evidence of truth. What would be valid evidence of truth would be something like a third party (like, say, Greg Benford) confirming it.

> Minsky was purely an academic - as far as I know he never published pop books and only spoke at academic conferences. he's much much further down the list.

This is not even accurate. Minsky was the oracle of AI, the head of the MIT AI Lab. He influenced AI from the 1950s to the 1990s. Any pop article about AI might quote or interview Minsky. And what is 'Society of Mind' but a popularization, widely read?

> Furthermore this was admitted into the record as sworn testimony, lying being punishable by perjury laws.

Oh, well, that settles it. I'm glad we had this discussion about critical thinking.

Incidentally, for all your huffing about witch hunts and perjury law, I would point out that she could easily be telling the truth. The deposition only claims that she was told to have sex with Minsky, and not, as far as any media coverage I've seen goes, that she actually did, and Greg Benford states he was there and that Minsky turned her down: https://pjmedia.com/instapundit/339725/
Ask HN: How much time do you spend learning new things after full-time day job?
I really wanted to know about how much time you all spend learning new things in your field or a different field after a full-time day job on weekdays and weekends?

And How is your learning time distributed between MOOCs and Books?

I just want to calibrate the general theme towards learning habits. For me, I spend 2 hours on weekdays and 5-6 hours on weekends learning new things in my field, which is software development. I mainly focus on MOOCs.

Thank you.
ICE was not routinely separating children from their families back in 2015. They weren't putting kids in fucking cages. This false equivalence is nonsense.
I believe Peter Thiel is a US citizen (previously a German and, more recently a NZ citizen) https://en.wikipedia.org/wiki/Peter_Thiel
I personally feel that Python engineers will always have jobs in some context. For backend webdev, obviously Python and Node are some web-app leaders. I've heard of a few Go jobs, but not too many. I wouldn't get too caught up in the frameworks part (Django, Flask, Hapi, React, etc). The framework is just the tool used to implement the concept, not the concept per se. Make sure you're familiar with the _concepts_ and any job worth having won't necessarily care _too_ much if you're a pro at the language/framework (that can easily be picked up in a few weeks on the job).
I do! I was in the “Pines” neighborhood of Silicon Valley! I signed up for my first site in 1996 when I was 13.

I was a teen “community leader” for GeoCities from 1997 - 1999 (from the ages of 14-16), which basically meant I was unpaid tech support who would answer help emails about using GeoCitied and html and going through blocks in my neighborhood to make sure websites didn’t violate the various community guidelines. In exchange I got more space and a custom domain. The problem is my custom username meant my site was never backed up in the GeoCities archived because when Yahoo moved to usernames, there were issues preserving/indexing sole of the old ones. The Wayback Machine has some of the site but not all of it or the images.

I got some free GeoCities stock that became Yahoo stock that became worth $400 a share that my mom wouldn’t let me sell (I was 15 or 16 and it was an etrade custodial account), something that 20 years later I still bitch at my mom about (it was the only time she ever interjected in the managing of my finances).

After Yahoo bought GeoCities, they sent out this survey for the CLs to fill out, asking about community and some product things and thoughts on how they could integrate with Yahoo. I sent some detailed response and was asked to get on a conference call to talk more in-depth. The call went really well and they offered to fly me out to Sunnyvale to discuss more in person/maybe look at a job or some consulting. I was obviously excited, thinking they knew I was a teen CL — I was thinking it would be a cool internship or summer job. When they found out I was 16, the conversation ended and looking back, I get the impression they were embarrassed to be taking feedback from a teenager (today, company’s actively seek that out).

The teen program was ended shortly after — I suppose someone realized it probably wasn’t legal to have minors policing content. The whole CL program was shut down not long after after someone sued Yahoo for employing unpaid labor.

I will always love GeoCities — it was my Introduction not just to building for the web but to online communities in general.
Starbucks doesn’t operate in Spain:

https://stories.starbucks.com/stories/2016/grupo-vips-takes-...
Google Flights was an acquisition of ITA.
I do remember that! I even signed up for a page during that time, which I promptly forgot about forever.
It's neither naive nor uneducated, it's the third option: satire. That sentence is technically not wrong though, I'd be worried if a car had only 291 parts :)
I agree that lifestyle choices often require both spouses to work. However, it's not simply due to suburban American 'largesse'. I know plenty of people who live in France in comparatively tiny apartments or homes, who still feel the need for both spouses to work to make ends meet.

The frugal living needed to be a stay-at-home mom or dad tends to be rare regardless of location, but it's not impossible.
We Listened to 174 Startup Pitches in 2 Days–Here Are the Next Big Trends
If any part of that purchase is the result of information that is not yet public, you've committed insider trading (at least in the US).
This is also where I learned HTML! I printed much of the site out on my middle school’s laser printer and kept it in a file folder along with other resources!

I would code my HTML on paper in class and then type it up during lunch or once I got home from school. What a time!
Hangouts was just killed. It'll be a few years before they try again.
My point is not that paper never hurts. My point is that paper is the absolute minimum. The security requirements of a voting system are radically different than most systems.

A good summary of the problems and how to solve them is here:

https://www.verifiedvoting.org/
"Most of the US has "at-will" employment, which states that employers can terminate employees at will, for any reason, without warning"

I think this is a misleading (although frequently stated) comment.

Large companies I've worked for have a bureaucratic procedure before they fire anyone, and generally allow people to save face even when they really want you gone.

Technically it's "at will", but I think it's primarily the mom & pop businesses that are going to fire on a whim.

Furthermore, you are implying that there are no constraints on companies in the US, like for instance the WARN act.
It is very much insider trading: https://en.wikipedia.org/wiki/Insider_trading
In particular, https://old.reddit.com/r/SubSimulatorGPT2/top/ is pretty entertaining.
Securing Your Kubernetes Pipeline
OK, I exaggerated a little because I was recalling from memory: the old fast.ai approach actually takes <18 minutes (https://www.fast.ai/2018/08/10/fastai-diu-imagenet/). My bad. (I'm sure it's improved since then but I don't know how much.) I was also thinking of https://myrtle.ai/how-to-train-your-resnet-8-bag-of-tricks/ which does CIFAR-10 in 26s but I'm not sure offhand what CIFAR-10's SOTAs look like so not sure how far away that is.
Well, I'm British, and it should and does :)

As to it being their constitution, we're really talking about the Bill of Rights, and that was an updated version of the 1689 British Bill of Rights.

It's sad how we no longer have it, and that people in the past had more rights than we have now. American Constitutionalists are right to dig their heels in over anything that looks like it will encroach on their rights.
This article is about Brazil.
Yeah, what's next? A Bond villain running Russia? A racist blow-hard capitalist running America? Please...
Interesting! I think I found my username there, but yeah, nothing loads :(. It's probably gone forever, unless someone close to it specifically backed it all up. Oh well.
I think they're on the money with the dedicating a few hours a day to study/productivity outside of work - I just can't imagine doing it for the same thing I'm already getting paid for anymore. If they're really into programming/dev studies though it's totally fine but it feels like a recipe for burnout.

A lot of people do feel bad if they waste their days just looking at Youtube or social media all night after work - I think a lot of people feel the guilt after the fact but never work to execute on it because its so easy to procrastinate/skip small commitments of studying.

When I was at a shitty job I hated that meant most of that study time went to side hustles and learning the local language to build my CV, but now that I'm free and in a good job it mostly goes toward trying out completely unconnected things like Piano or Chinese - as long as it's productive I'm fine. Playing around in new things that interest you half for fun is the best approach to not burn out I think.
كلمات اغنية يالعلمتني محمد السالم
Why stick with the month paradigm at all though? If youre gonna go partially down that road, why not make it pay for only the program you want to watch. Like YouTube is doing for movies, series etc but at a lower price point. If someone is willing to pay $1 per hour of video, etc, that seems ideal to me.
Is there anything more fundamental than mathematics though? If category theory represents the mathematical aspect of design and mathematics is fundamental to the universe then perhaps category theory is a fundamental theory of design.

There's got to be counter-examples of good system design where category cannot be applied.
I'm skeptical that the import duty had a significant effect on truck and SUV sales in the US. A lot of this is probably cultural, coupled with the fact that much of the United States wasn't really settled and developed (at scale) until after WWII. Pickups are just more useful in places that are less dense. Plus, they look cool and are fun to drive.

>Robert Z. Lawrence, professor of international trade and investment at Harvard University, contends the tax crippled the U.S. automobile industry by insulating it from real competition in light trucks for 40 years.

This comment also made me laugh. I doubt that we'd be seeing everyone drive Tatas around the ranch instead of Fords if they didn't have a 25% import duty.
Honestly it would probably be easier to do a refactor like this if they were a small company. There are a lot barriers and things move slowly at large companies.
Oracle’s raison d'etre.
List of military tactics
Your notebook looks functional and useful, but pretty simple, based on the pictures on your website. There's nothing wrong with that (and if I composed music, I would probably order a copy), but it doesn't necessarily attract the eye.

You might want to consider an edition that has little things a musician might find interesting or useful included in it. That seems to be how these planner people attract people, is a lot of little things that people probably don't really need but enjoy filling out anyway (the link says they compiled all sorts of stuff into their planner, and for anecdata my fiancee is a huge planner nut and loves checking out planners with all sorts of different approaches to layouts and fields and organization and whatnot).

For example (and I don't recommend going this far necessarily, but it might inspire you), a board game designer decided to design a playtesting journal for other board game designers, and threw all sorts of little things in there, like a built in scoreboard, a die number on the page so it could be opened to a random page to simulate a die roll, added achievements with a sticker page, lots of fields to remind the designer to ask certain questions at the end of the playtest, a game contract checklist, a page with guidelines of sizes for various components for getting the game printed by a manufacturer, etc. He did a Kickstarter for it and raised $30k for it (not as much as the article, but still not bad). I backed it and got a few for myself, even though I've kind of settled on my own method for playtesting games, I'll give his a try.

Anyway, his journal serves a specific niche like yours does, so maybe something in there will inspire you to find ways to make your notebook stand out and attract more people to purchase it.

https://www.kickstarter.com/projects/828934174/fail-faster-t...
"small indie company" is a frequent meme by disgruntled gamers
What-If Tool for ML Models
Uh... I'm not sure how wanting protection from arbitrary legal attacks, and the right to choose your own government qualifies as "keeping colonial roots"? If anything, there is a wide feeling here that Hong Kong essentially swapped one colonial power for another, and at least towards the end of the British rule it was more benevolent than CCP rule has become recently...
Tyranny of the minority is normally just called tyranny, and we know what that looks like.

It's not this.
https://gsuite.google.com/products/chat/ ?
An interesting example to bring up mysql_embedded :-)

I was the product manager, and we did have complaints about the size. So it was removed:

https://mysqlserverteam.com/mysql-8-0-retiring-support-for-l...

I don't believe there have been any regrets.
Chiplets, Faster Interconnects, More Efficiency
Hmm, would have the people prosecuted by evidence of inaccurate gps coordinates, been effected if they had used an iOS jailbreak and or android device to constantly fake a GPS location? Or is the gps coordinates being logged from an external point of location and that's predicting the phone's whereabouts. Basically, not being received from the phone.
> Do you not think it is fair for protesters to want to launch an inquiry into this behavior?

For the torture case, it is reported that the policemen involved have been arrested. In my view, the case should be dealt with under existing laws. An independent inquiry should be launched if/when there is systemic police abuse.

> Evidence of rioting

Many videos on Youtube. Here's one on last week's airport assault of two mainland Chinese. The two were trapped and tortured for hours and rioters prevented medical/police personnel from getting to them.

https://www.youtube.com/watch?v=Vz4-Ld1l7iI

Another video of the airport riot. According to reports, the policeman who drew his pistol had had his testicles smashed when he was being beaten up and he is now in hospital.

https://www.youtube.com/watch?v=HpQpwQijRzg

Attacking the Legislature building in July.

https://www.youtube.com/watch?v=rO16RnQNZmU

Attacking the Legislature, view from outside.

https://www.youtube.com/watch?v=RPU86QO8pUw

In June.

https://www.youtube.com/watch?v=SG23TIb-pUo

Randomly attacking a policeman.

https://www.youtube.com/watch?v=cuCgEAxwevI

Randomly attacking civilian.

https://www.youtube.com/watch?v=15gprNFvBiY

It has been like this for weeks.

It's funny (in a sad way) reading in this thread posters confidently labeling others brainwashed when they are the ones being fed a controlled narrative.
The sites are from the torrent and also from the archive team as well. I had to write some code that went through all sites and update the links. I also at the same time tried to just extract the html body and use that for indexing.... Yahoo! must still have the original sites. Surely they could just put them online as a "Read Only" version. They would have nothing to lose