skysight-inc/HackerNews huggingface dataset:
> Also, my single biggest all time source of off by one errors is translating between mathematical notation and code in a 0-based language.

If you were working with polynomial coefficients, Fast Fourier Transforms and convolutions, or modulo arithmetic, you'd prefer zero based arrays. In my experience, the majority of places where math notation uses 1-based arrays are in applications where the index doesn't matter.

I prefer zero based arrays specifically because they are better for doing mathematics. Yeah, it sucks that a lot of matrix algorithms in text books use one based arrays, but I blame the text book for getting it wrong.
I mean that argument applies equally to Signal since you have to use their client and the services are architected in the same way.

WhatsApp does filter messages on the client side but it’s stuff like submitting image hashes to the CP database. If Signal reaches the scale of WhatsApp they will be forced into doing this as well. And nothing in Signal’s architecture prevents this kind of data exfiltration the same as WhatsApp.
I got a good chuckle out of "real coding" too
It's good for people to post this information, and then for others to explain its significance or lackthereof.

Self-censorship and other forms of information suppression just inhibit this process of people becoming exposed to different information and thereby better informed.
Don't get me wrong, I love the borrow checker, but it takes time to get used to it, especially for those coming from simpler languages Node.js who may not understand the lower level concerns that the compiler is dealing with.
Yup, that's the classic Google support experience.
The improvement to this sort of time-tracking is not setInterval vs setTimeout but rather "<div>{(Date.now()-startedAt)/1000} secs have elapsed</div>". That way your clock loses its dep on interval frequency.
Touchable Bokeh – 3D Printed Wet Plates [video]
I think that the few who have both the ability and the drive to move science forward can be filtered by these two traits, and sort of already are. Their ability allows them to enter academia after working hard on their degree. Their drive keeps them in, severely underpaid compared to industrial careers.

There is a fable about a king and the royal astronomer. The king finds out that the astronomer is paid half as much as the palace's gatekeeper, and wants to increase the astronomer's pay to be comfortably above the gatekeeper's, to help further the science. The astronomer begs him to not do it, else those who now aspire to serve as a palace gatekeeper would try to secure the more lucrative position of the royal astronomer, to the detriment of the actual astronomical studies.

Unfortunately, currently academia equally selects by the ability to write grant applications full time and, at least in some areas, by the ability to produce showy results. Also, the choice is usually between rather short contracts and very hard-to-obtain tenure; the job security is pretty shaky unless you manage to become a full professor. This is sad and frustrating to those who strives to do science. I've seen a few of my acquaintances leave academy for industry, some with relief, some grudgingly.
> HIPAA isn’t a certification just FYI.

There are HIPAA certifications, but they aren't legally required or beneficial. They may have some marketing value.

> HIPAA “compliant” simply means you’ve hired a 3rd party to audit your business

No, it means you are following HIPAA requirements; 3rd party audit is not a HIPAA requirement any more than certification is, though it may be useful in identifying compliance issues.
Hilarious. Death threats were cool with him when it was directed at others, now he is whining about when the tables get turned on him.
Very good move
Speed of the web can’t be a compromise. I guess interoperability with js or py is something to consider more in the Rust web battle.
The dream of governments everywhere, to have something to hold over people that can be invoked whenever convenient in order to sidestep actual leadership.
I don't know about others, but personally I am not very comfortable with the idea of a military branch becoming financially independent.
I guess when you foster a community of domestic terrorists and then leak all of their data, they might end up turning on you.
Awesome. Any day that you can take Dave and Terje to school is a good day at the office.

I have my own little footnote in that book, somewhere, and know/have hung out with most of those guys. The old saying goes, "If you ever find that you're the smartest person in the room, you need to find another room," but it doesn't say what to do if you're pretty sure you're the dumbest guy in the room. It's good that the book is still in circulation despite its age, as there's a lot of wisdom left in it.
The "Aphex face" manifests as an clearly audible weird abstract sound at the end of the track. It sits nicely in the mix, but it's also distinct from the actual music - I would say it comes across like a signature rather than a musical element. The other examples in GP's linked article made more effort to produce things that are both musical and paintings in the spectrum, especially the Plaid track.
Indeed. Especially considering that US left would be sort of mid-right, or at best centre-right in most parts of the world.
> Why?

Because that's what the proposed law says the government would do.
FWIW, I advocate ~ as array append (a la perl6/raku strings) (and also as wedge product on vectors, * being dot product). It works well with x^y as exponent/repeat, since the rhs is qualitatively different anyway[0], and also gives you (with +) a sum-of-products/dioid/semiring structure for concatenation and alternation on regular expressions. Admittedly, you still don't have a sensible semantics for division, but that's true of plenty of other product operators (even int is iffy - either not closed (div-as-float/rational/etc) or not a multiplicative inverse (divmod)).

0: In particular, exponentiation by natural numbers (or positive integers for things like nonempty lists that deliberately exclude the multiplicative identity) is almost always well defined[1], even if the thing you're exponentiating bears no resemblance to a natural number.

1: Although note than with vectors and dimensional quantities (eg meters), x^2/x^3/etc are all different types: area/volume, bivector, etc.
A lot of times literal translations eventually become a part of the destination language as well.

Examples include "long time no see" which is now common in English but has roots in either Chinese or Native American languages.

Likewise, the phrasing "chicken-egg problem" originated in Western culture but is now often used literally in modern Chinese, e.g. "雞和蛋的問題".
(OP here) My experience here has been absolutely ridiculous.

Every support person told me that I have a compatible device and full LTE coverage.

I’ve spent days dealing with them including ordering a new SIM card, rebooting my phone multiple times after they’ve made mysterious “adjustments to my account”, being asked if my phone was unlocked (which is in itself kind of confusing. If it weren’t, wouldn’t I be v unable to send or receive a text at all? Which by the way does work with a multiple minute lag.), etc. and then I was told that what the previous support people saw as “full 4G LTE coverage” was actually “virtually nonexistent coverage”

When I asked about why those two phrases are interchangeable, they ceased all contact.
It should be read as a successor to 'Zen and the Art of Motorcycle Maintenance', not as a successor to Knuth or Abelson.
I still remeber that one episode when the main character goes up a stairwell for quite a while (possibly weeks+) then finally reaches the top, opens a manhole cover basically, enetering a huge room - for one he can't see the ceiling and it goes in all directions and seems flat.

After wandering around for an unspecified while he encounters a cyborg scientist looking through some sort of instrument. He tells him this "room" in the megastructure is a spehrical empty space and has the inner diameter of Jupiter.

So if you ever wondered where to Von Neumann construction bots that got a little haywire got all the raw materials...
The podcast Futility Closet had an entire episode on the book: https://www.futilitycloset.com/2015/05/18/podcast-episode-58...
I've been reviewing this problem lately for a project, and I've settled on a solution that feels elegant and versatile which this article doesn't cover: lexicographical sort.

I'm using Mudder.js to do it, but the algorithm is straightforward. Define an alphabet (e.g., A-Z). Every time an item is inserted/repositioned, its sort order is given the midpoint between the sort values of its two neighbors. So the first item is given the sort value M (midpoint between A and Z). Inserting before that item gets G (between A and M). Inserting between these two items gets J (between G and M).

Once you run out of letters between two sort values, the algorithm tacks a digit onto the sort value of the item ahead of it. So inserting between M and N yields MM. If you do this enough times in a pathological pattern and wind up with some long string of characters you can reflow your list and rebalance everything out evenly (though that's strictly an optimization for storage space/bandwidth, and not a requirement for the algorithm to function).

This all sorts perfectly with ORDER BY etc., supports an number of repositions bounded only by your storage space, and doesn't require arbitrary-precision decimal datatypes or fraction handling.
Its annoying to get ads for something you bought and wont need to rebuy for many years, its an extra punch in the stomach if the ads show you a lower price than you paid :)
In general I found it weird to have a whole conversation about "security" without mentioning that Rust is statically typed, unlike Node/Python, and has a great deal more null-safety.

Now, I am not sure if memory bugs are "worse for security" than type bugs or null reference bugs (in the wild or in theory). Certainly many of the more notorious major exploits in recent years come down to memory errors. But of course, the major infrastructural software affected in bugs like Heartbleed wouldn't be written in a dynamic interpreted language anyway. More generally, a language being safe against C-style memory bugs does not mean a (reasonably well done) implementation is actually safer than a (reasonably well done) implementation in C. That statement might be true for C#/Java/Haskell, but not for JavaScript/bash/Python/etc.

It just seemed odd to not mention typing discipline at all. Presumably the author has experience with frustrating type errors in Python or "object of type None does not have method xxx" - these can be really bad for security in a Flask app unless you have careful exception handling ! And, unlike Rust, Python offers very little to actually help you with the exception handling.
A hierarchy of content units where you can move units at will (rather than select, copy and paste) would be extremely nice.
ZA-na-doo
I think it's disingenuous to conflate the GP's claims of poor design choices with "unusable". To its credit, lisps also tend to have plenty of interesting, unique, and very good design choices. I don't think it's fair to compare Go to lisp in this context.
> Go is for doing the things that Google does on servers,

What does Google do on servers that has not already been served by Java and C++? As far as I know, the vast majority of code both existing and newly written at Google is Java and C++, not golang.
Is it encrypted by default yet?
I like this mindset. What to do when time is critical tho?
It is well worth reading, or at least browsing through. ie. This phrase perfectly describes my sleeping habits:

"Yesterday at evening, I was to bed so late that I may not rising me soon that morning."

Get your own copy here: http://gutenberg.org/ebooks/30411
For me personally, I am waiting for ENOSPC to be 100% solved and understood. It may or may not be (maybe it's theoretically impossible to solve who knows), but until then I'm content with what I have now.
Lunar Theme for VSCode
I think this might be an overly rosy/meritocratic view of hiring. There are other signals like where someone went to school, where someone interned, what they've published, & where they've worked previously that seem to give a boost to candidates.

Some of these things (like schooling & previous jobs) can end up being strong positive feedback loops.
Or even just "the Nimitz", especially if it's a radio traffic report. And of course there is the MacArthur Maze, not to be confused with The Stack.

https://www.google.com/search?q=macarthur+maze

https://www.google.com/search?q=los+angeles+the+stack
Should require top admins to sit in every class too. No reason to just sacrifice just the Profs, when we can get rid of admin bloat too.
I can’t recommend Go with Tests enough if you do TDD. It’s fantastic.

https://quii.gitbook.io/learn-go-with-tests/
Totally agreed. IMO it's almost completely unreasonable to expect Rust to be as nice as more-established ecosystems, so it being "hard(er)" is expected. The community isn't as large nor has it existed as long, so of course it's not up to par yet. Given the community is generally more focused on performance and safety, I'd honestly expect it to take the Rust community longer to reach "nice for web projects" than e.g. Go and Node took.
I'm curious if the author used incremental builds and what hardware exactly was used.
It’s not free, but I really recommend ‘Let’s Go!’ by Alex Edwards. He goes through building a web app and all the code is included, so for someone like me who learns better by tinkering with things, it was super helpful. He also blogs about some things which I still find myself referring back to.

https://lets-go.alexedwards.net/
NRA files for bankruptcy and seeks to incorporate in Texas
Matze doesn't seem to be able to reconcile these two conflicting ideas.

- "free speech" meaning everything should be published on wildly accessible platforms, including death threats and organizing attacks against individuals.

- "personal privacy" where no one knows his address, largely so that he can avoid death threats and stop folks from organizing attacks.
Well why isn't it encrypted or signed?
D’oh! Thanks
YES. I'm stoked about David Bentley Hart's New Testament translation for that reason: https://smile.amazon.com/gp/product/030024844X/ref=ox_sc_sav...

> Reproducing the texts' often fragmentary formulations without augmentation or correction, he has produced a pitilessly literal translation, one that captures the texts' impenetrability and unfinished quality while awakening readers to an uncanniness that often lies hidden beneath doctrinal layers.
Languages can't be changed substantially once they become popular. Python broke compatibility significantly once and people are still complaining.
> I'd love love love for there to be a language that gets in between Rust and TypeScript.

I am really really keen on developing something like this, along with an optional linear type system. I think this would be a cool project for my thesis but also I have a lot on my plate already.
I should've been more specific. It's a different problem with Clojure, Scala, & F# where you're expected to understand the JVM & Java or the CLR & C#. It seems similar to Zig to me. There are numerous sources on learning C and I can barely figure out how to do a lot of things in Zig. Maybe a learn X in Y would help me.
I would encourage you to try it out. The expectation on the other side is extremely low -- no one expects a conversation or honestly more than a two-word pleasantry. And the camera defaults to the back camera, so no one sees anyone's face.

My last call:

Me: "Hello?"
Them: "Hi. Can you tell me which can is soup?"
Me: "Can I see the other one?"
Them: "This one?"
Me: "That's cream of tomato."
Them: "Thank you."
Me: "You're welcome."
Apparently! I honestly didn’t think I could hate a mobile carrier more than Verizon, but Google Fi wins the trophy. This is utterly ridiculous. The hiding and silent treatment reminds me of a child after being called out after stealing a cookie. So incredibly infantile.
In theory, maybe. In practice, you'll probably be limited to about 15ms round trip.
This reminds me of how the time derivatives of displacement "are" velocity, acceleration, jerk, snap, crackle and pop. Everybody agrees on this, except for the weirdos who use jounce. Official recognition is the lame way to get a unit adopted.
> C# actually has unsafe too.

An optional feature. Very useful for embedded and similar, but for general-purpose stuff like the web you never need anything unsafe.

> it's pretty common in both of these languages for there to be C libraries involved somewhere in the stack.

Negative. The complete stack is open source. You can browse the source code of the standard library at https://source.dot.net/ You only gonna find unsafe/dllimport for IO parts of that library where they integrate with file systems and such. All their core components are 100% managed code.
DJT has power over all you haters and y'all don't even realize it. You waste so much of your life hating someone who will never effect you personally.
This is an extremely good point. So many small idealistic companies are bought out, with the "baggage" of a big loan anyone who did want to buy out Signal for profit would have to now pay 100 million dollars.

If I had oodles of money I'd probably do this, "I'm just giving you this money now, but if you got bought up by someone without those same ideals they need to pay up.”

Given it’s the former WhatsApp CEO even more reason to be skeptical.
So we can develop for them. A new version of, say, a programming language needs the ecosystem to come along with it.
Is this project completely open source or is the code for some of its key components being held back?
A friend had local dating / forums site in 2000s, was getting various threats from users for all kinds of reasons
> There's quite a difference between as well as and better than. I think that qualifies as editorializing, which is discouraged by HN guidelines.

The "as well as" is comparing valved and un-valved N95s. The "better than" is between valved N95 vs cloth/surgical masks. Many jurisdictions in the US put valved N95 in the same category as no mask, where as this study says that they maybe better than the mandated face coverings.

If you look at figure 6, you'll see that surgical masks performed at 20% penetration. The dotted line on that figure is what was reported in Rengasamy 2009. But not all surgical masks are the same. ASTM level 1 is I believe 80% filtering media. The wearer will get less than that due to fit. Most of the "surgical" masks in stores now (not in hospitals) has no ASTM rating at all, and the cotton masks that are sold also does very poorly in controlled penetration tests, even before considering their fit.
They are not as bad as the rest up there. But the ACLU is populated by old timers. And from time to time they have vacillated so has the EFF. The EFF tried hard to placate Twitter and Facebook banning accounts on account that they are public companies and they could do as they pleased with regard to speech.

That's not arguing for freedom. That's playing politics.

Now Twitter feels free to ban things like Sci-Hub. And who knows who's next. That's the thing, if you don't stand for your principles, because you disagree with someone's politics, then you don't have principles, or at least not the right principles to defend the primary principle you are set up to defend.

It's like saying you believe in due process upholding the law, but then a murderer comes around and you say, nope, sorry, I cannot defend murderer in court. If that's your stance, then you actually don't believe in due process and the law.
Please try out my first ever game
Unless you have infinite memory, at some point you want a task to slow down, block, or whatever in the face of resource exhaustion.

It's not a bad idea to maintain a local buffer that gives you a certain amount of cushion. I recently helped a team resolve the exact problem you had, with a similar solution. But excessive, unnecessary use of non-pageable memory is one of the things which induce early I/O contention, causing these stalls to begin with. (Consider an overloaded or errant process generating and buffering a lot of logging noise, precisely because the overtaxed system is under heavy I/O contention.)

To reiterate: you want backpressure, which means that you want a process which is exhausting limited resources to slow down or block. And you want that to transitively slow down or block upstream requests. Too many developers don't understand this and insert hacks to solve their immediate problem (e.g. closing a ticket complaining about intermittent SLA latency misses) without appreciating the broader issues, which at the end of the day just contributes to these problems.

One of the alternatives people attempt is to insert a gazillion knobs to permit dedicated resource allocation. But now you just have two problems, the second being figuring out what the magic values should be--a never ending and often intractable problem. This rarely ends well except for highly specialized tasks--e.g. a dedicated DB administrator who spends all day attending to and tuning a database instance.

That said, in the old days you mounted /var (and if you were super fancy, /var/log) on different disks to minimize unrelated I/O contention.
The Dark Past of Algorithms That Associate Appearance and Criminality
The final spate of complaints about Parler before Apple and Amazon kicked them off the internet (loosely speaking) included the frequent presence of Parler posts with death threats (against Pence, Pelosi, etc)

As someone in the pro-censorship camp (private censorship, at any rate) I find it exasperating that Matze sees no parallel.
https://en.wikipedia.org/wiki/Elliott_wave_principle#Critici...

Economic governance has shifted in significant ways in the last 50 years, and will likely continue to do so. Of course, we don't have sustained euphoria in markets so "long waves" with inconsistent peaks and troughs emerge.
I really love the idea of a calm game. I have been looking for something to do with friends that isn’t a 100% of attention hostile fight fest...
Right. In the visualization it looks bad, but actual penetration testing reveal that it's not so bad.
Awesome. Thanks for the info.
Story whise there is a caste of underground dwelling engineers who rarely venture to the surface who are taking care of that - via a giant pipe organ like musical instrument/control console!

They effectively play the whole planet using their inner understanding of the system and perfect musical hearing, keeping everything in perfect balance and harmony.

(There are actually some other "engineer castes" such as the Salamanders that live on the floating islands and keep the ppanet warm. They are much less baddass but still rather hot blooded for some reason.)
Let me be super clear: if real, that’s awful, inexcusable, and indefensible.

But it also seems kind of inevitable:

1. Create an environment where seriously unstable conspiracy theorists hang out.

2. Get hacked so that the people from #1 see the personal information you collected about them, including their government IDs, leaked to the public.

3. Act shocked when the people from #1 decide that you must be cooperating with the “deep state” to oppress them, and therefore you’re the enemy.

Death threats seem like the logical outcome of #1. And again, that’s not OK. No one deserves to live in fear. However, it seems highly personally risky to get involved with the kind of folks who’d flock to an app that promises zero moderation. Lots of normal, decent people might want to use Parler for all sorts of normal, decent reasons so please don’t interpret that as me saying “Parler users are terrorists” because that’s not at all what I think. But you if asked me where scary people were likely to hang out, that would be on my short list.