skysight-inc/HackerNews huggingface dataset:
> With a vector-based index space like I was describing, a[b] == * (a + b) is no more costly than * b. If you would need a more complex index space, you were probably doing more than bare pointers already.

Of course you're doing more than bare pointers. Which is why your example isn't applicable. (a + b) is fast when you're accessing record fields, because you already have a in a register and b is usually a constant. In the vector scheme you're doing (v + a + b), where v needs to be fetched (often through another level of indirection), and unless you're doing a long series of operation to the same structure, you're constantly reloading v and recalculating a.[1]

It doesn't follow that technique A is equivalent to B simply because when you reduce B to a microbenchmark the difference to A is de minimis. Microbenchmarks obscure and often elide the very reasons B would be slower than A. That said, I'm usually dubious of such performance arguments. This level of performance rarely matters, though when you do it ubiquitously it's more likely to matter, which is why it crossed my mind.

[1] It's often pointed out that loops like `for (size_t i = 0; i < n; i++) {}` are as fast as `for (; p < pe; p++) { ... }`, and that the former is preferable for various dubious reasons related to the ease of implementing boundary checks. But the performance is often the same because (and to the extent that) the compiler can reduce the former to the latter. Even today I regularly encounter situations where using pointers is cleaner and faster than indexing. Though that fact that it's faster is more a novelty; what matters most to me is clarity and correctness, which is highly context dependent.
I'd say just invite me over for a chat. I've probably spent 10,000 hours in Excel and can tell you more about its shortcomings than a PB of telemetry ever will
I have seen a lot more problems come from an excess of optimism, than an dearth of it. You should not be so optimistic that you don't think about how to roll back changes if they turn out to be a bad idea, for example. Backups and rollback plans and code reviews and etc. are all fundamentally pessimistic. An excess of optimism can lead to no plan B. Every startup pivot relied upon NOT having so much optimism that you will not believe a pivot is required.

Not to say that optimism is all bad, but it's not all good either, and in the U.S. corporate world I see a lot more problems from an excess of optimism than from the reverse.
I didn’t say they have an impeccable safety record. I said that even if they did have one at the time of whatever fatal incident they have in the future, they are engaged in a business where they are statistically likely to eventually have a crash.

My argument is that it is idiotic for a CEO in such an industry to make comments about being cheap. It leaves the door open for people to place blame when an accident occurs. It’s like talking to the police if they want to interrogate you. It can’t help, but it can hurt. Why would you risk it?
No. Each compiler has its own set of strengths and weaknesses, which is probably why for any of the big 3 (4 if you count intel?) compilers there are people who think one is the best. Whatever circle of internet people I happen to see a lot all think MSVC is terrible for instance, but the one really low level project I happened to work on, it produced the best code for it.

I wouldn't say any of the compilers runs circles around another in general

There is also a tendency for, whatever compiler you used mainly while developing your thing, it appears the best since you have been tweaking for that target the whole time.
ReadMe (YC W15) Raises 9M Series A from Accel and Y Combinator
You absolutely can still grade commodities. A discerning distributor who has discerning retailers who have discerning consumers has plenty of incentives not to comingle inferior material into his shipments.

The fact that consumers aren't very discerning is exactly created by brands -- they have learned to discern based on identity instead of by quality, because brand recognition is less effort than material inspection.

Additionally, a brand certainly does not provide the attachment to consequence that you claim, once a brand has consumers' loyalty and a sizable market share it can adjust quality with relative impunity.
Your locations from the time your phone was in airplane mode are uploaded the moment you switch it back to normal Wi-Fi connection. I guess your only choice is going full-on tinfoil/Faraday cage-style though that might be a bit impractical while doing the deeds...
Next Wednesday in 99/1919. I actually can't attend cause I'm finishing my internship. If you haven't already, I'd sign up for the MSR Talks mailing list.
"We love Linux so much that we would never let it be polluted by our horrible desktop software!"
At Bell Labs, on the outside people where already using plenty of Algol and PL/I variants.
You couldn't tell what backend they use just from their API unless there's some errant exceptions leaking information. Their test API might give us some clues. It can only purge your data one record at a time, at about 1.5 records a second, and locks your API credentials for however long it takes to crash or finish iterating through each object. I don't know what storage engine would have that constraint but they've stuck with it for years and simulate a fast test API with a whole other piece of software instead of just having a fast test API.

What storage options don't have the ability to delete all your records at once quickly? If it was MongoDB there would surely be an index attaching the data to your account. Same with PostgreSQL.
> They claim they won't comply with vague and overbroad warrants.

Assumably it’s the judge’s opinion on this that matters, right? In the case of a national security letter this fight wouldn’t even be public. Assume the worst.
personally I think we should switch to Planck units.
AFAIK that is basically what has happened in Iran, China, Lebanon and a lot of Russia in the past 10 years.
He went into it in detail when he was interviewed by Guy Raz. Wilson defended himself by saying his comments had nothing to do with obesity, but rather material. He is a fabrics guy, and his clothes were being used to shape, a la Spanx, when they weren’t built to shape at all.

It’s a fascinating interview and one of the best in the “How I Built This” series.
> I am not sure how much Rust you have done yet, but the borrow checker is a tremendous confidence booster

I recently spent an entire week diving into Rust for a personal project. While it certainly had a learning curve that slowed me down (particularly regarding the borrow checker), I realized that I only had 1(!) runtime error all week...in a language I was unfamiliar with. That gave me a huge amount of confidence in memory safety.
It's the FF 70 Beta Dev Edition. It was released yesterday.
Is that true on Android? On iOS location APIs just don't work in airplane mode.
> You undermine your own point with your assertion that that government guarantees are the issue, not the inability to discharge debt that provide the abundance of students.

I'm failing to see the difference. The government should not guarantee the debt and people should be allowed to discharge the debt in bankruptcy. The responsibility should shift to the lenders, not the government. The price of colleges should tumble. Some should have to close their doors. There should be a great reshuffling in the education space.

> "For every complex problem, there is an answer that is clear, simple, and wrong."

This is a great quote, thanks for sharing. I would say a more accurate quote would be: For every complex problem, there are infinite answers that are clear, simple, and wrong, but also a few that are right.
I want to be clear I'm not talking about your wife, because I don't know her obviously. But the women who "don't care" or would be against buying a diamond tend to fall into two categories. The first is relatively privileged women whose avoidance of diamonds is a status symbol in and of itself, often accompanied with some woke virtue signaling. And the second group is low status and she secretly wants a big rock but knows she won't get it, so she attempts to send the same signals as the privileged woman.

Everyone cares about status symbols. And engagement rings is one of the most prolific. It goes right next to fancy vacations, fancy cars, and fancy coffee.
Probably because the party doing the ACH is a third party agent/ISO but the checks are probably cashed directly by the management company. The thing that your management company probably wont tell you is they get some kick back on the profits from those fees you're being charged. So not only do they get your rent money but they also make money on you using electronic payments.
That's not the whole extent of the claim - the claim is also that these things have defined inputs and outputs as well as defined optimization procedures, and can't just go off and start doing whatever they want to maximize their utility. So even if you have a superhuman quality Google translate which can translate whole books, which may very well be able to exhibit strong intelligence, due to the API it is defined within it is still not going to go off and do nefarious things. Which strikes me as very plausible indeed.
I've found that the kinds of errors that static typing guards against are often things that would have been trivial to debug and fix in the first place (mostly things like typos).

Given that you have a good system for monitoring errors in production and a low friction deploy process so you can quickly and easily fix errors when you discover them, I feel these kinds of errors are honestly not worth guarding against in most contexts outside of those where getting everything perfectly right the first time is a hard requirement (health, fintech, other safety-critical industries, etc).

Of course, most companies lack either or both of these ( a good system for monitoring errors in production and a low friction deploy process), so they use static typing as a clutch to try to reduce the chance of errors making it into prod simply because they know they'd be slow to fix/detect those errors. That's a poor reason to choose static typing IMO, but I think that's by far the most common reason.
I tried to sell a diamond once. It involved an underground British boxing match, a shady Russian hitman, and a dog who swallowed a squeaky toy. The moral of the story: Don’t go to England.
Run SQL server on more cloud providers that way
IntelliJ IDEA has a plugin that will prompt you with the keys for commands you click. Pretty neat. Not exactly what you're saying (no compound actions). Still neat.
Is it not sufficient to floating-point divide the input values by 255 ?

Edit: I guess that, even as simple as it would be to implement, it still is another useful output format
Doing things in-kernel is almost always faster. No dealing with complicated context-switching, moving memory back-and-forth, etc. I can't necessarily provide a formal, data-backed citation, but it's pretty well understood.
Even startups should be willing to train. The skills really aren't that hard to pick up with the right mindset and knowledge a CS grad ought to have.

We had an intern come in that was still stuck in that student-mode of needing to be told everything and not asking pointed enough questions. After a few weeks they were up to speed and productive.

Frankly even experienced workers will still require a period to absorb specific knowledge.

I think the time required for fresh grads to be productive is way, way overstated and overestimated provided they have the right direction.
Excellent implementation.

I have long been trying to come up with a deterministic model to explore self-assembly. Ideally, a "Conway's Game of Life" for morphogenesis. This is definitely a step in the right direction.
That's understandable - being pestered with error messages early on is not to everyone's taste and can indeed interfere with one's creative process. But can't one always start with JS and switch to TS later?
It's as though the "free" press wasn't actually "free", I don't know. Seems like the scandal of the century: a leading presidential candidate with a massive monetary tie to a foreign power. It's not the only foreign power he has ties to, either. He also has oil/gas related ties to Ukraine.

Yet all we hear in the news is made up bullshit about Russian oligarchs co-signing Trump's loans (retraction coming today BTW).
That's not true. Though not very successful, there was many significant people. One of the seemingly more interesting ones was the Head of KGB Counterintelligence.
Compare to Deis, who built a Heroku analogue that you can run on your own compute resources. It was wildly popular for a little while, and then when it turned out there wasn't really a market for it, they simply had to leave it behind. (Today, that's known as Hephy Workflow, full disclosure I'm one of the maintainers of this FOSS project.)

Workflow and previous versions of Deis, as well as Dokku and friends also depend heavily on Open Source contributions of Heroku, so it's somewhat misguided to say that Heroku stays proprietary. They have been "leading the pack" when it comes to Open Source implementations of buildpacks, also Cloud Native form which you can find at buildpacks.io—and they set the original bar for a developer-friendly PaaS experience, which is still basically unrivaled even in the current era of Kubernetes product explosion.

We often ask about Workflow: "why isn't this particular technology several orders of magnitude more popular" and struggle to explain it, since it makes perfect sense to us and of course whenever people try it, they usually love it.

But Deis saw the writing on the wall, shifted gears to be some of the early Kubernetes experts when it started to become clear who was going to win; invented and open sourced "Helm" the K8s package manager utility, which is still very popular by comparison, one of the leading ways to package stuff for K8s. And then Microsoft scooped them up.
better because you can be sued for using the FUSE interface?
Does Elizabeth Warren have any tribal tattoos?
Is pull a totally different process? I’ve noticed for pull you have to authenticate the account (usually) with the “verify the two small deposits” dance while push will sometimes let you skip that.

In fact, I just called Citi earlier today because I’d closed a CC with them and had a credit. The CS rep asked for my routing and acct number and without even verifying it with me immediately said “you’ll see the credit in a couple days.” I asked her to verify the account number and she said “I’m sorry but the number is no longer visible to me but rest assured I sent it to the correct account.” So if those funds went somewhere else I suppose I’ll never see them?

I was also able to establish the ability to wire from my discount broker today to another checking account I have without performing any verification of the destination beyond providing the routing/acct number.

I have a feeling I actually don’t want to know how this all works...
>how would they go about doing it given all the forensic instruments that we have today

It can't be done. For it to even be conceivable a decently preserved corpse would be necessary, and even then we would have no surefire way to confirm that it is him. If miraculously we managed those feats, many causes of death would still be hard to prove.

Our best hope would be finding some copy of a currently lost text that provides more details, and even then it would be hard to tell what is true and what was propaganda from the Wars of tge Diadochi.
Here is for instance a Rust tool that I just stumbled upon that seems to have an exemplary UX and adherence to Unix principles while packing a lot of features which I would personally call "fun".

https://github.com/sharkdp/pastel
Those women aren't worth being friends with
One cannot teach new tricks to old dogs.

What has made relevant was the rise of FOSS UNIX clones and the GNU guidelines for using C.

All major desktop OSes were already on the path of adopting C++ frameworks. BeOS, Windows, OS/2, Mac OS.

Thankfully C has been shown the door on Apple, Google, Microsoft, Sony, Nintendo and ARM platforms.

Others will follow.

FOSS UNIX clones and old time embedded developers are the only ones keeping C relevant.
Would be great if someone could come up with a "Pull" sticker that would read "Push" when mirrored.
Or you/your wife could just find better friends that won't judge you for such petty crap. Believe it or not, materialist obsession with conspicuous consumption is not universal.
Hah, it kind of sounds like your manager was giving you the ol' Walter White "tread carefully" - are you sure he wasn't involved?
It also removes the requirement of distros packaging it up and users installing and configuring it. Is it's in the kernel it just works out of the box everywhere.
At first I thought I was going to read "I am starting to wonder if the preference static vs dynamic is some kind of character trait like intelligent vs ignorant", which would have been much closer to the truth. I think you're very incorrect.
Maintaining a codebase of any sufficient size and complexity without static typing is a poor investment of development time. It can be done, obviously, but it's a nightmare.
Typescript is a bandaid for web-development's biggest open wound. Taken on its own merits ( ignoring the garbage ecosystem, terrible tooling, etc ) Typescript is a decent enough language, but it's not a clever one.
Is Typescript better than vanilla Node.js? Absolutely. Is it worth introducing to an area without Node.js? Absolutely not.
If your project is any more complex than a four page CRUD app, in my opinion you're better off going with a bigger player like Java/.Net. These languages are more robust, more mature, there's better tooling, better community... The list goes on.
Misery is a state of mind, not of finance. I'm sure plenty of billionaires are personally miserable, despite their ability to do literally anything.
Android allows the user to turn location on in airplane mode.
http://tiny.cc/ggmm loads gmail fast
Whether or not he toiled in misery is independent of how much money he had. It only depends on whether he toiled, and whether he was miserable doing so.
I worked on the design of the first several versions of Excel. For Excel 3.0 we were intensely interested in user behavior. We often compared alternative prototypes of proposed features in the usability lab. We sometimes would invite develpers to watch users strugging with what they thought was great idea...

Also, long before the Internet we asked users permission to send them a special version of Excel (called the Instrumented Version) that would intelligently log actions, but not data to a floppy disk. Users would send the disks back to us for analysis. We used the analysis to understand how users really did things vs what we thought the did. Sometimes we got some surprises. We used this to prioritize features where users were having difficulty that needed special attention. It also indicated frequenty performed actions that would benefit from, for example, being put on the toolbar.

I think our user focus was an important reason why Excel has been so enduring. (Although Office 2003 screwed it up to some extent - I was no longer there.)

Back then at Microsoft the applications group tended to take the lead in UI developement and many of the things we designed made their way into Windows. Some were even picked up by the Mac! Although Steve Jobs would never have admitted it.

It grieves me to see the shoddy state of software design these days. There is no craftsmanship. Visual design take precedence over real usability. Maybe this is because with fast developemnt cycles and the ability to instantly change a web based design, it's easer to throw crap at the wall and keep iterating until it sort of works.

These days user interaction designers have endless great user data on which to craft wonderful UI but it rarely happens. If they happen to hit on something good, usually another team takes over and changes it, often for the worse!

(End Rant)
The times I’ve used Zelle to send money, it has been real-time.
The former has been going on forever; the latter has been going on for at least as long as environmentalism itself.

Also, both of these are "industry trends", where I think what the parent is asking for are campaigns unique to a single company and a single advertising agency, but with far-reaching effects on public perception beyond that company's brand.
A man who does that signals that he buys into all the social hype, but is too cheap to really buy in ... and he'll be forcing his wife to either reveal that or perpetuate a lie.

Why not just be a real man, speak and live the truth. Eschew the lies.

Why can't we all just do that as a society? It doesn't matter how much you love each other or your mutual respect? Why do rings even matter?

It's the kind of irrational behavior that has destroyed an entire planet!
One of the key issues here is also about how policy makers engage with the Intel. For example, no matter how much good information GCHQ is gathering about Brexit, the UK politicians recieving haven't turned it into a workable policy. Compare that to the complete penetration of the IRA and pushing them towards peace in the late 80s and early 90s.
For your example, I would prefer a variable called active that can be true or false (True or False in python). This is just an example but I see stuff like this in statically typed projects, where integer enums are used when a string will suffice, and strings are used where booleans will suffice.

If I wasn't aware of valid values, I might search my codebase for uses of it. Usually if something is being set to true or false, it's a variable that can be true or false, or true, false, or empty (None in python, null or undefined in JavaScript).
I used to work at IBM and I have first-hand experience with exactly how wonderful (that smell is not the dog, that is sarcasm) their Kubernetes implementation is; without mincing words, I would consider IBM's enthusiastic adoption of k8s to be a warning sign rather than a positive indicator. VMware, ditto, they're a trailing-edge company flailing for modern relevance. Azure is a cloud provider so persistently awful that they and IBM are the only ones I'd refuse a client on because it's not worth the frustration; not sure I'd bet on their thinking, either. And GCP--sure, the people who made k8s like k8s, that stands to reason.

Containers are fine deployment tools, sure. And Fargate is a better management and monitoring framework than whatever you'll roll together, while also not making you pay overhead for hot-spare and failover inventory. (Their prices used to be really wacky; if you dig through HN you will find a post from the day Fargate was announced where I looked at the numbers and had some Questions. I do not anymore.) I get that you have GPU stuff to deal with, and maybe that doesn't work for you--but EC2 instances probably do, can be sized better, and can be dynamically scaled without breaking your back. Things you don't pay for are cheaper than things you do, you know?

On-premises--yeah, sure, use k8s, it's literally the only place where it makes any sense to do so. Of course, you could write good code with clear interfaces and separation of concerns so you can figure out an on-prem story after you have a product and after you have a business, but again, I too like rabbit-holing on stuff that doesn't help me ship. ¯\_(ツ)_/¯ Good luck, I guess.
Misery, like happiness, is orthogonal to material possessions.
That's funny, I don't like dynamic typing for the same reason. Rapid prototyping without types makes the whole process so much slower!

With dynamic typing, you don't get the immediate feedback of breaks when making frequent changes. You don't get the safety of automatic refactoring. You don't get auto-complete and easy of discovery of APIs.

I really don't understand the idea behind dynamic typing being better for prototyping unless that "prototype" is only a few lines long.