skysight-inc/HackerNews huggingface dataset:
We've banned you for this. You can't do that here.

https://news.ycombinator.com/newsguidelines.html
I believe you have agreed with me in your points especially regarding talent and turnover. The shiny tech today will be a legacy 6 months later or a year if you’re lucky. Then the talent pool will change and you can’t attract the devs who religiously follow new trends. You’ll end up hiring people to deal with your {legacy} system or as you pointed out .. substantial changing it.
I've enjoyed lipograms a lot (in the past practicing not only writing but also speaking without "E"), and also admired these two tautogrammatic translations of the Genesis creation story

https://llamasandmystegosaurus.blogspot.com/2017/05/alpha.ht...

https://calvinballing.github.io/saga/

so much that I recently wrote my own tautogram-in-B version of the same text (just finishing yesterday!). I'm going to publish it somewhere soon.

https://en.wikipedia.org/wiki/Tautogram
2018, and the original title is "WWE Entrance Music"

"Telnet into my router and read the ARP cache" ... I run my internal networks lazy and open but thats a bit free even for my tastes now.

Also do people really let their phones be that promiscuous with WiFi? Perhaps I should set up a guest network to start snaffling whatever's being offered to it.
I like the concept of 'Masala diagrams' that OP introduces - I've drawn these a lot, and the UML-trained part of me is always slightly uneasy that I'm combining (say) data and process flow on the same diagram, or that some of my boxes are physical machines and some are programs, etc. But the thing is, you shape your masala diagram to communicate whatever the thing is you want to communicate. You'd need 3 or 4 UML diagrams to cover the same thing, and no-one would really care that you'd bothered to keep to the conventions.
Oh, I agree that null is fucked.
I've always really disliked UML because it tries to strictly encode a whole lot of information into diagrams, which is way too rigid and opaque for me. My eyes just glaze over when I see UML.

I don't want to have to search "what does double arrow mean UML" in order to understand a proposal. I don't want an arrow to mean something that I couldn't learn somewhere else. I'd rather have a loose informal reference diagram alongside a couple paragraphs describing the system more formally. That way, the important information can be emphasized, the unnecessary information can be glossed over, and the diagram acts as a big-picture aide rather than some kind of formal semantic notation.
In case you don't want to watch 30 mins: Franchisees are bound by their agreement to purchase and operate a very specific buggy model of ice cream machine, the manufacturer of which makes much profit from their exclusive service contract, and so has no incentive to fix.
It should be dependent solely on the negotiations skills of a candidate
F# might be a great compromise. A HM type system plus a Java-like platform with excellent libraries and support.
Nah, you're the one whose wrong on this one.
Sequence diagrams are probably the most useful UML diagram. I don't know of a simpler way to specify and document workflows, no matter the scale (from function to whole system)
Generally anything low res is hand-designed on a pixel by pixel basis (whether monochrome or limited colours). For fonts the lowest legible is 5x8 (depending of your definition of 'legible', e.g. the alphabet as printed on a seven-segment display).

You could look back at early graphics fonts/icons, e.g. early X11 or after that Mac and Windows for inspiration. Also graphics LCD displays (e.g. one or two lines of 16 chars) and then there's the BBC Microbit with its 5x5 display - lots of creative stuff there, the stock demo it comes with does text and graphics (and the code is online).
Interesting but it seems like the essential function of the tail call in this example is to create a strong hint to the compiler which values should stay in registers. Isn’t there a better way to do that than relying on a seemingly unrelated optimization?
I've never seen anybody using UML in Amazon, despite its culture for documentation, charts, metrics and diagrams.
UML is just all around horrible. I can't think of a single situation where it provides any benefit. It is a huge pain in the ass to the developer, and it just inspires false confidence in managers
That plus the clear difference that funding trains would basically mean subsidizing the operations of a few large companies, while anyone can drive on publicly funded roads
I definitely think Clojure is the sweet spot. It isn't easy to learn, but it is extremely simple to architecture things once you get how things are supposed to work. I've done plenty of pure Clojure projects, and am also on a large, heavily-Java-iterop project and Java is great for perf but also Clojure is still extremely fast. Things tend to get wayyy better when you start ripping the Java code out except for where you really need it.
Some people have asked the cheatsheet for other languages. you can look at this: https://overapi.com/#more
I'm aware, the specific identity of the person doing the collecting just didn't seem relevant.
It's weird to read this because building's architects and designers do exactly that: they have to make tremendous efforts to design complex systems (think an airport or a hospital) before they lay down a single brick. Somehow this idealization and planning step is impossible for software developers.
Mendel 3.5 Now Available
Are you trying to describe a panic such as a run on a bank? Because that only makes sense with fractional reserves. Bitcoin has a known and fixed supply with no fractional reserves.

There have already been three separate huge "panics" where the Bitcoin price has gone down 90%. But these don't even register any more if you look at the long term price chart. Zoom out. The Bitcoin price is going up and to the right like nothing else. It just keeps on going.
Also level crossings and equipment breakdowns. Collisions between cars and trains are not uncommon. In my first and last Amtrak trip, I rode from Chicago to Las Vegas and was nearly 24 hours late on arrival, due to delays from freight traffic, hitting a car at a crossing, and having a locomotive break down. And my luggage was delayed for another day after that.
The article is about Chia[0], the cryptocurrency created by Bram Cohen of BitTorrent fame.

It has a large pre-mine (aka pre-farm):

> It will take 21 years for the rest of the world to mine as much of the Chia (XCH) cryptocurrency as the company behind it will have on the day its mainnet launches next month. [1]

> The size of the pre-mine is one notable revelation from the paper, in which Chia also announced its mainnet will launch on March 17 or earlier. Farmers (the network’s equivalent of bitcoin miners) will be able to begin farming immediately. The network’s cache of pre-mined XCH, however, will be governed using a traditional format: Chia plans to take its company public. [2]

[0] https://www.chia.net

[1] https://www.coindesk.com/5-takeaways-from-chia-networks-new-...

[2] https://www.nasdaq.com/articles/5-takeaways-from-chia-networ...
In what kind of scenarios do they use Protobufs? I can think of messaging systems, streaming, RPC, that sort of thing?
this is why if you don't enjoy leet puzzles, you don't learn anything, or can't even do them.
Fairly sure the companies reliant on selling cars care more about this than the people buying cars.
iTunes doesn't use DRM anymore? I haven't used it since I had a 1st gen ipod mini back in high school, but I remember only certain music was available without DRM and you used to have to pay extra for it.
I usually start drawing diagrams because the existing ones are difficult to read.

This is another problem with UML in practice, that drawing diagrams is a skill, a bit similar to writing code in the sense that it is possible (and quite frequent) to have "spaghetti diagrams" with dozens of classes on one screen connected by long zigzag lines you need to carefully trace by finger.

The solution, as usual, is "divide and conquer", where you create a separate diagram for user management, another diagram for invoices, yet another for... whatever the application does. Okay, people do it partially, like they split 100 classes into two diagrams with 50 classes/tables each, but good design would be more like 10 diagrams with 10 classes/tables each.

Another problem is that the UML language cannot capture things specific for the project. For example, suppose that 80% of your classes have fields like "date_created", "date_modified" etc. How are you going to handle this? If you write those fields everywhere, you get lots of repetition. If you don't write them, you miss a potentially useful information.

With an informal diagram language, you could create a project-specific convention, for example a small clock icon in the corner would imply presence of "date_created" and "date_modified" fields -- and the icon itself would also be explained somewhere. A bit like graphical domain-specific language.
If one implements a low-level code, then one has freedom to pick good data structures. But when writing GUI apps there is simply no such freedom as data structures are already defined by libraries.

For example, a GUI framework typically uses a notion of widget tree that is fundamental to the library design. But the end user UI does not look as an arbitrary tree with deep nesting. It is easy to see that using a tree for this leads to extreme denormalization of data. Normalizing that to a relational form should remove a lot of duplication and code (often hidden) to synchronize that duplicated state. But try that with a popular framework. It is not doable in practice. So one sticks with tree architecture and its inefficiencies.
There was no rich/poor distinction in your example because you're ignoring the fact that the SALT deduction only comes into effect with itemized tax filings. >90% of the country takes the standard deduction, of which this SALT deduction has no effect. As such, only the highest tax brackets are affected by this cap.

Let's be honest about what this uncapped deduction was, it was a means to disproportionately keep rich tax payers tax dollars in their local areas. The middle and lower classes don't even come close to this $10K cap, nor do they file itemized taxes. Do we really need tax laws to help further the rich enrich themselves?

If you really want to end this double taxation, then I'm all in favor. But it must apply to all forms of taxation and all tax brackets.
> You'd want to design in some other medium

That's why I really like PlantUML [1].

It generates UML diagrams from a simple text markup language.

Much quicker to iterate on, easy to put into a repo and share or collaborate.

Still not something you would use to design your whole code structure, but great for brainstorming or drafting once you internalized the language a bit.

[1] https://plantuml.com/
If you aren't able to estimate how much value somebody would bring to the team before hiring them, you maybe should oil your hiring process a bit. Also assuming you can trust somebody more or less depending on their legal jurisdiction says a lot about your company's culture
I wonder if you could lower cost by switching to narrower tunnel gauge. Also, if it's all tunnel you could evacuate some of the air to lower resistance...

Oh crud Hyperloop finally makes sense to me.
Right. Who cares what class names the implementation uses? This is the downside of hacker news. Everything has to be implemented in rust or go or it's a bloated piece of crap
There’s already significant causal evidence on smoking causing increased lung cancer risk. False equivalence.
The Church of Interruption – Sam Bleckley
> Also I don't think there ever were physical audio formats with DRM?

MiniDiscs had "copy protection"[0] and this format was supported by major record labels[1]. They were first released in 1992.

> all digital video formats have always had the technical capability for DRM, starting with DVD.

By starting with DVD, you're skipping the DRM-free formats of Betamax, VHS, and LaserDisc then? Unless by "had the technical capability for" you mean "could be later extended to add", in which case there was Macrovision[2] for VHS, but also Extended Copy Protection[3] for CDs, also known as "the Sony rootkit".

[0] https://en.wikipedia.org/wiki/MiniDisc#Copy_protection

[1] https://en.wikipedia.org/wiki/List_of_MiniDisc_releases

[2] https://en.wikipedia.org/wiki/Analog_Protection_System

[3] https://en.wikipedia.org/wiki/Extended_Copy_Protection
If the optimization is not performed, you blow the stack because your stack usage is now O(n) instead of O(1).

That's why it's important to get the optimization in debug mode.
It's been pointed out numerous times elsewhere in the threads, but long-haul routes are short-haul routes, for people in the middle. Very few people drive I-80 from end to end. Lots of people drive it for trips like Iowa City to Omaha.
Protobuf's abysmal performance, questionable integration into the C++ type system, append-only expandability, and annoying naming conventions and default values are why I usually try and steer away from it.

As a lingua franca between interpreted languages it's about par for the course but you'd think the fast language should be the fast path (ie: zero parsing/marshalling overhead in Rust/C/C++, no allocations) as you're usually not writing in these languages for fun but because you need the thing to be fast.

It's also the kind of choice that comes back to bite you years into a project if you started with something like Python and then need to rewrite a component in a systems language to make it faster. Now you not only have to rewrite your component but change the serialization format too.

Unfortunately Protobuf gets a ton of mindshare because nobody ever got fired for using a Google library. IMO it's just not that good and you're inheriting a good chunk of Google's technical debt when adopting it.
> i read all of the standard resources (CLRS, vazirani, kleinberg, etc), watch all the youtube videos, did all of the practice problems in the books, and still couldn't solve the kinds that are asked on interviews. i even went as far as emailing kleinberg for help.

I dread at the thought of coming across you in an interview loop some day.
5 minutes read.

Sam Bleckley with one of my favorite posts this week, forcing us to think about the way we talk (and interrupt) others: "Barkers are delightful storytellers, brilliant lecturers, and appalling conversationalists. [...] The first task for you will not be talking to a Barker, but ensuring that you never become one. [...] As soon as you decide that someone has nothing of interest to say, you become a Barker in their eyes. If that happens too often, it becomes a habit – and you might never talk with another human again."
Internet down in Tumbler Ridge, B.C., after beaver chews through fibre cable
Godot Dictionary
>> You're "renting" something that can be effortlessly replicated ad infinitum.

>This is only slightly less true for books and optical media. You are never paying for the paper or plastic - even on the lowest margins that's at most 10% of it - , you're paying for the privilege of consuming what's on it.

When I pay for a book in a bookstore, part of the money goes towards maintaining the system that produces and distributes books. The system includes various parties, like printers, publishers, distributors, books stores and so on. It's far more than 10% and there is nothing wrong with paying for a reasonably working distributed system like that.

Replacing all of those companies with a single megacorp like Amazon or Apple is not going to result in the same system running cheaper. It will create an entirely different system. Over time that new system will shift to publish entirely different type of content, it will have an entirely different relationship with consumers and authors and it will have completely different effect on the society at large. Given what I see already, I seriously doubt those changes will skew towards the positive.
IMO diagrams work best in tandem with actual docs. The diagram is an abstract — you glance at it to get a high-level understanding, and if you need to deal with the details you can look at the writing. UML always gives me a headache; I hate having to squint at a diagram to deduce details that I could just be reading about.
This display sounds very similar to LCDs, for which you can get row/column driver ICs.

> I think you can set up logic gates or something I don't even know what that means except very superficially superficially I'll cross that bridge when I get there

It sounds like this bridge is a long way in the distance.
I really want a timeline where we have tail calls everywhere and this drama can go away. The non-tail call folks feel like folks arguing for not using spaces in text.

https://en.wikipedia.org/wiki/Scriptio_continua
> Coincidentally, NFT’s got the “transfer” side of the equation, but forgot about the “privilege” part! The tokens are yours in perpetuity, and can be transferred to others, but it’s not at all clear what privilege they provide.

Exactly! This is the part that I cannot get past whenever people talk about NFTs. They are a neat toy, self-contained, and having unambiguous ownership of the NFT. But there is absolutely nothing in the real world connected to it. It's like those pie-in-the-sky physics models that have hundreds of free parameters unconstrained by any experimental measurement. Sure those models might make some interesting predictions, but they have nothing tying them to the real world.

I could imagine a system where NFTs are used to establish ownership, but that requires there to be some trusted source that signs the initial NFT. This could be a land surveyor to make a NFT that represents property borders, or a patent office to make a NFT that represents a granted patent, or a MMO video game company to make a NFT that represents a particular asset within the game. But as it is, J.K. Rowling could make a NFT representing "Harry Potter and the Philosopher's Stone", and I could make one as well. There's no indication of which one is a valid link from mathematical space to real space.

NFTs need a legal system in order to tie them to anything outside of the NFT ecosystem. They need trusted authorities who are the only ones that can generate NFTs with specific legal authority. And once you have that trusted authority, there's no point in having any of the other trustless blockchain architecture whose sole, flimsy excuse for existing is in avoiding having a trusted authority in the first place.

(Sorry, that turned into a longer rant than I had expected, but your phrasing crystallized some ideas that had been floating around my head, and I wanted to write them out to see where they went.)
That's why I uploaded all of my DRM free purchases to iCloud, that way I'll have access to it forever. /s
> This article is about a new Clang extension:

> An exciting feature just landed in the main branch of the Clang compiler. Using the [[clang::musttail]] or __attribute__((musttail)) statement attributes, you can now get guaranteed tail calls in C, C++, and Objective-C.

> What does Rust have to do with this? Nothing.

Rust has a planned keyword for this exact feature, namely 'become'. So the author would be able to use it in Rust just as well, as soon as support for it lands in an upstream LLVM release.

Regardless, writing raw C as the article suggests in order to parse a quasi-standard high-level format is cowboy coding. It's a nice hack to be sure, but it's not the kind of code that should be anywhere close to a real production workload. Instead, this feature should be implemented as part of some safe parser generator. Not necessarily written in Rust but something that's at least as safe.
Aviation accounts for 2.5% of global CO2 emissions. It's not low-hanging fruit.

https://ourworldindata.org/co2-emissions-from-aviation
Congratulations Andrea, and thank you so much to you and everyone who contributed to this great feature with testing and reporting issues, and thank you a lot Eli for reviewing and incorporating this!
It's not really up to us though, it's up to our colleagues.
This looks appealing as a framework for using in IAM for applications with federated auth. Given historic legacy alterantives are lower level policy frameworks like RADIUS/TACACS, SAML, XACML and UMA2, what are the objections to Casbin?

A library you can build into your application for doing policy AuthZ without having to deal with a centralized policy repository, while moving AuthN to your IAM gateway is a huge deal in enterprise envirionments.
> I'm certain this technology will find a place in the future after it has matured

Why? It doesn’t solve any real problem that anyone has ever had.
> I've run such phishing campaigns

To test if employees are easy to pish, or was it for real (black hat)?
A Product Engineer’s Guide to Platform Engineers (2019)
Please don't willfully misconstrue what GP commenter said.
100% - that’s my primary usage of it. It’s easy to encode complex diagram and change it easily.
12 minutes read.

Rina Artstain the pains and focus areas when working as a product engineer with platform/infrastructure engineers. It's remarkable how little software development is actually about writing code as the company grows. Unless you treat your company as a product, trying to scale out and scale up the emotions involved, you're most likely to slow down as you get bigger. Any authentic incentive (to the people you have and those you want to attract) that increases empathy between teams has to be proactively promoted.
We've banned this account for repeatedly breaking the site guidelines. Please stop creating accounts to do that with. It's vandalism if not arson, and will get your main account banned as well.
I think what this blogger is concerned about is bad actors ruining it for everyone. So a few manipulative businesses do not self regulate, and many legitimate use cases of AI are lost as collateral damage.
Fallout from Cold War Nuclear Testing Detected in U.S. Honey
https://watusi.fouadraheb.com/
Check the privacy features.