skysight-inc/HackerNews huggingface dataset:
Design is hard.

In the given example we work with an Article domain. Where there are Comments.

Fine and totally fair.

But how would you design your object graph from the bottom up?

Articles and Comments is a fairly simple example.

Imagine a Transaction in bank domain context.

Would you have an endpoint like so?

transactions/:id/acoount/:id

Or perhaps

transactions/:id
account/:id/transactions

Whatever you pick you must find a way for transactions and accounts to work together on a design level, which will impact how you potentially serve services and how you deploy them.

Is an account and a transaction part of the same domain and service?

It's hard to design proper REST apis because although it's easy to dish out cool looking routes, it might be a lot harder to actually design your systems based on those routes.
I think Pronomos[1] was specifically started with the idea of investing in such ideas.

1. https://www.pronomos.vc
AFAIK, this isn't how MakerDAO loans are being treated right now.
They said the transition would be completed within two years. I imagine they have a pretty good idea how many people are using Bootcamp or Windows VM's and have already decided it isn't significant enough to stop them transitioning.
Probably the strongest form of the "going against legal X leads to illegal X" is that "if society doesn't address the causes that make people want X and just makes it a criminal offence, we'll still see a lot of X, plus we'll have a lot of folks in prison".

For example with murder we have many cases of vigilantism, the cause was a broken police/justice system.

Every kind of substance crime? War on Substances! And it's a total failure.

"Tough on X" ("enforcement") sounds good, but our whole history is about how tough never really works. (Law and order, machismo, denying and ignoring real causes, and putting on a big show about the effect, those are the magic ingredients to totalitarianism.)
Just to flag that these are not necessarily consensus analysis, I can't speak for the details but there were linguistic papers discussing that these people actually use different directions - cardinal when outside, but simple relational inside. So they are not necessarily all day aware of every direction (which in any case is easier when you live in a small hut and normally are in areas you know well).
> The average person (whatever that means) does not have the first clue about the machines that run so many parts of their lives.

Sadly, I would argue that this is also true of many developers.
I liked the rawness of their first record. After that their sound became more pumpy and digital and I just lost interest.
Clark finds this pattern in most societies, IIRC Sweden and China have (in his data) almost identical rates of status persistence. It's not a quirk of English manners.

What varies more is the degree to which ordinary people today descend from the nobility in (say) 1100. In some societies they had many more surviving children than average, e.g. it's easy for them to double every generation, within a basically static total population, implying that their offspring make up a high proportion of people after a few centuries. But in other societies, they did not.

His books are pretty readable, BTW, interesting data.
Ask HN: Any examples of blockchain-like industry ledgers being used IRL?
On another thread I was pontificating wildly with very little evidence - and realised that the evidence would actually be nteresting.

So - industries world wide are "supposed" to start moving their supply chain data onto blockchain like ledgers - ie when you have finished sewing a dress, or glazing a pot, you upload the data using your company private key, to a ledger, and then downstream companies can start to print out customs documents or making room on shelves etc.

But I honestly have not heard of any successful examples. Does HN know of any good ones?
Show HN: Grayle – helps you find shoes that fit
Hey folks, my name is Kyle Moredock (kylemoredock), founder of Grayle (www.grayle.co) based in Portland, OR. Our mission is to establish a community that helps people find shoes that fit, especially when they’re shopping online.
I’m a big guy (6’5 ~250lbs) so it’s always been challenging to find clothes and shoes that fit. E-commerce shops, while convenient, make this process even more difficult because you can’t try things on. Like many of you, I would end up buying much more than I needed and returning the rest. This is a big burden on brands/retailers, losing a bunch of money on returns, and wreaks havoc on the environment. It’s also a giant waste of time for the consumer.

Grayle is designed to provide shoe fit recommendations via a combination of crowd-sourced fit data and biometric measurements (measurements of your feet based on a photo). That means we can provide you a standard measurement of your foot based on a scan (accurate to 5mm) and translate that into a shoe size. In addition to the scan, we also ask people to provide us with shoe reviews, sharing what size in various brands fit them best. The more info we collect, the better the recommendation gets. We’re working to combine the scan and review data to produce on optimal fit recommendation.

Data collection is our biggest hurdle because we need a lot to make this work. The goal is to build out a community that matches you with other individuals who share the same foot measurements, as well as the same shoes in the same sizes. This allows you to discover new brands from the individuals you’re matched with and make confident purchases because you know the size is right. It also solves a huge problem all of us face when we go shop – where do I find reliable, neutral information? Grayle enables you to get that info from the people you trust most – your peers.

Looking forward to your feedback! We’re also looking for a CTO if anyone has interest or knows of anyone.
I've read through the README and links and still have no idea what webmachine does.
I Am a Heroin User. I Do Not Have a Drug Problem
Load balancers/reverse proxy have first-class support for routing based on paths, but support for routing based on headers is trickier or not possible depending on the software.
Given the hacking climate in our world. And the zero data integrity policy given by the corpo scummies, you have to be a total dumbass bear to think ethereum and block chain technology doesn't have a huge future.
Will we have herd immunity to the variants?
Gretel-synthetics: open-source library to create synthetic datasets
I really don't think lockdowns have helped a ton in the US.

Look at Florida's winter wave of Covid cases vs Massachusetts. The curves are basically identical, despite vastly different pandemic policies.

In other countries yes, but in the USA, are there any real data points that can argue that states with strong lockdowns did better than states without?

https://www.nytimes.com/interactive/2020/us/massachusetts-co...

https://www.nytimes.com/interactive/2020/us/florida-coronavi...
If only some teams at Microsoft would read that. Man some of their APIs are annoying
It should be noted that WSJ’s opinion section is extremely politicized. Their regular news desk is separately edited and maintains decently high journalistic standards.
Agreed. From the article:

> In other words, it’s possible to write Java, from the machine level on up, for low latency. You just need to write it like C++, with memory management in mind at each stage of development.

That's the tl;dr for the whole article.
This was parodied in The Good Place when an obvious parody of Deadmau5 payed others to wear his mask on stage since the audience couldn't tell anyway.
ISIS too.
There is also no mention of fit changes.
Changes in crank length, saddle height, hip angles etc all can have quite considerable effects on efficiency
Go is not designed to be a scripting language. It is designed to have users think about edge cases and error handling so they are sure they are doing what they actually want to. Both the slice and goroutine patterns the author uses are pretty much standard patterns in Go, like making a factory function in a more OO language.

To echo others, when Go makes something cumbersome (like an O(n) operation) it’s usually to hint to users that they’re doing something inefficient.

But, agreed you can’t pick up Go in minutes. It’s best approached coming from a background of writing service binaries in C/C++. If you aren’t familiar with strong type systems and concurrency you’re going to have problems.
I like Brooks' "plan to throw one away; you will, anyhow.":

This [first] system acts as a "pilot plan" that reveals techniques that will subsequently cause a complete redesign of the system.

However, in practice I'm not confident enough in my understanding, and fear losing all that hard-won work, so I refactor too.

A rewrite from scratch is probably more viable when the project is small enough to keep in your head at once.
> Why can't performers just stay the same forever, producing a never-ending sequence of similar but distinct works?

Because they're artists. Even the record company-manufactured acts consider themselves artists.

On a human level, they're already performing the same pieces of music thousands of times - in rehearsals, concerts, recordings. It must get incredibly tedious after a while. You want them to write the same type of music all their lives as well? You monster! :-P
If the same folks who believe that building a bulletproof Parler is a good idea think I'm a moron, I think I'm in a pretty good position morally.
It is there - scroll down.
No but that’s not true of the NFL either. For every Tom Brady there are a thousand guys who play for a year or two, make $1 or $2 million, and have to figure out what to do with the rest of their lives. But even getting to that level momentarily takes a ton of talent and hard work.
The fundamental problem with utopian vision usually isn't its bets on the future, it's the fact that there's no meaningful feedback loop. Typically, such a vision is the self-centered self-expression of some mogul or architect or politician who hopes to reshape the world, but does not understand the world and the people who live in the world, and will never bear the burden of the failures of his design.

See, for instance, Le Corbusier's Ville Radieuse, or even Frank Lloyd Wright's Broadacre City.
The "right" solution is usually the one that models the underlying complexity of whatever phenomenon the the systems is addressing. If you make it simpler, inevitably you'll grow the system to address those use cases. Sometimes this is good, you don't want to err on the side of an overly-complex system. By this reasoning, I usually find building of evolvability and maintainability the be stronger guiding principles.

This is where the whole "MVP" concept got out of hand. MVP didn't mean an overly-simplified prototype. It meant solve one, narrower, problem well. This also pairs well with PGs "do things that don't scale" advice. You are taking on what others might think of additional complexity, to solve a very targeted problem more effectively from others, because using either deeper analysis or first-principles or whatever, you've actually better modeled the underlying complexity. Then you try to scale given those insights.
Additionally, looking at the list I'm pretty sure the interview were resume based, too. They asked such a breadth of questions because OP had such a breadth of supposed experience and expertise on his resume.

I am fairly certain every apple interview does not involve questioning the candidate about their PyCon experiences.

I see nothing wrong going down a resume and asking about each point. It certainly sounds better than the leetcode infested mess the rest of the industry uses.
So, we are back to flattr, PayPal recurring payments or whatnot again.

$localNewspaper not go through the hassle of dealing with payments through blockchain technology.
Additionally, SARS v1 was not contagious until there were visible symptoms - a huge difference from COVID/SARS v2.
HN loves bashing crypto because as tech nerds, we all knew about Bitcoin/Ether at their inception, but missed the boat. Now we all watch as our weird crypto friends get rich, and we have to bash Bitcoin, predicting its inevitable decline, so that we can feel better about our past decisions.
Exploring the hidden plumbing of glaciers with Cryoegg
That article just kept getting worse and worse. They mention assigning a penalty to the wrong inmate and they couldn't fix it.

All of a sudden that person could no longer make calls for 30 days, and they did nothing wrong to get that.
I should probably expand that to 'keeping society safe'. Even if the kids aren't at risk spreading it puts others at risk.
I'm curious why in those places you mentioned better use of police enforcement? I haven't done much living (or even traveling outside of major tourist areas) in France and Italy but living in Berlin I can honestly say I don't think I ever felt unsafe. Contrasting that to the US and China (and I know you're not saying the US is better, it's just what I'm more familiar with) in the US I would worry about either 1) being attacked by a mentally disturbed person or robbed and the police not caring unless it was life threatening or 2) being shot by police (I'm brown). In China it was totally different, the only thing I'd worry about there is being injured by or offending a well connected person who seem like they operate with relative impunity (I have visceral memories of Lambos and Ferraris parked on public sidewalks and no one would touch them because if you could afford them you were well connected enough that you could destroy whatever cop messed with you)
The latest episode of TWiV massacres the paper. It’s a good listen.

https://www.microbe.tv/twiv/twiv-722/
UK temporarily bans Boeing 777 planes with engine that blew apart in US
Yes, the preliminary numbers out of Israel appear to confirm this.

https://www.reuters.com/article/health-coronavirus-israel-va...
Many companies have similar project based interviews without pay. This is typically not part of the application process, but rather the last step in the interview process.
Presumably the point is to avoid triggering capital gains tax with the low cost basis of your coins by borrowing someone else's coins to make purchases.
Yes, it is in a vacuum. But in the discussed case, if you penalize posting only about the ilegal version, then an assymetry is created where going against X (and thus inciting illegal X) gets filtered through a censor lens where you only see "inciting illegal X".

Anyway I'm not saying I agree, just that this could be the reasoning behind saying that the tweet promoted harmful suicides.
I think a bit of that is you don't expect to see someone famous just walking down the street. On more than on occasion I've passed someone and went "Was that.... naw, couldn't be" then found out later that yes, it really was that person.

The corollary to the S.E.P. field in Hitchhikers Guide to the Galaxy (SEP - Somebody Else's Problem Field - loved the concept for the ultimate invisibility cloak)
Wouldn’t Disney (and all the other platforms) kill these disclaimer non-stories by giving subscribers the option to opt out of questionable content disclaimers?

It seems like a simple and effective way that would allow one to have their cake and eat it too.
Yes - very true. I race timetrials and keeping a stable aero position requires effort and practice but it's worth it as the gains from aero improvements can be huge.
I work on mathematical modeling, dealing with human physiology. Likewise, the software packages used can be esoteric, and the structure of your "code" can be very different looking, to say the least.

This is certainly a lot of work, and this takes a lot of practice to perform efficiently: But no matter what, I comment every single line of code, no matter how mundane it is. I also cite my sources in the commenting itself, and I also have a bibliography at the bottom of my code.

I organize my code in general with sections and chapters, like a book. I always give an overview for each section and chapter. I make sure that my commenting makes sense for a novice reading them, from line-to-line.

I do not know why I do this. I guess it makes me feel like my code is more meaningful. Of course it makes it easier to come back to things and to reuse old code. I also want people to follow my thought process. But, ultimately, I guess I want people to learn how to do what I have done.
Do you have any specific libraries that you are missing? The packages list [1] has almost 1600 packages.

Also, the FFI in Nim is basically just declaring some C function as a `proc`. So, wrapping existing C libraries is as easy as Cython for Python. You can even jump start things by running `c2nim` on a header file.

[1] https://github.com/nim-lang/packages
GOTO Was a Terrible Disaster. Mutable State is The New GOTO.
Loved it. We need more edge-of-reality sci-fi.
All I can state confidently is my own embarrassment at being associated with this country at all.
The Hacker News community has long been anti-crypto, and as someone deeply involved in the space, these long threads of complaints and diatribes are difficult to handle. Everyone is missing so much context.

Ethereum gas prices are astronomical because there's unprecedented demand to use the network: NFT art and collectibles are exploding (NBA TopShot, Foundation, SuperRare, Rarible, OpenSea, etc.) at the same time DeFi applications (Uniswap, Compound, Maker, Aave, Balancer, etc.) are at all time highs.

This is the time, in my mind, that it's most exciting to work in crypto, and on Ethereum: demand has been proven and has been sustained (every block full for 1+ year).

The naysayers who think this is all for a quick buck are missing the pattern and listening too much to the (admittedly, insanely loud and annoying) shills.
https://en.wikipedia.org/wiki/Port_Sunlight
Can iOS apps read your clipboard, and can it be stopped?
I would argue that this is already happening. We have some new bike lanes, and a little less cars here in Berlin, at some places. And I do not suggest that every development should be utopian. But why not give some utopies a try within a certain scope, e.g. a new district of one town? Worst thing that could happen is we sink a lot of money, and we have a not so nice quarter, but one could argue that exactly this happend with the conservative approach at the HafenCity.

Best case is we recognize that this is actually the way we want to live, and it serve as a role model for future developments.
I tried to get into the Giorgio tracks. Certainly appreciated the nod but the album was marketed as a banger and felt left in a lurch apart from GL.

Fwiw, I felt set up by the early marketing hype on the tractor-trailers in Japan, which I thought inaccurately portrayed what was to come.
The history of this "Alice" project is rooted in retrocomputing and learning.
Yes. The article has a very narrow focus on strictly the muscular efficiency of a pedal stroke. That makes it sound like it's suggesting that novice cyclists can easily be as good as expert cyclists, and that the benefits of training are limited. The article isn't talking about muscle mass nor rider skills at all, but it doesn't try too hard to clarify that.
I've often imagined what it would be like to have an executable brain scan of myself. Imagine scanning yourself right as you're feeling enthusiastic enough to work on any task for a few hours, and then spawning thousands of copies of yourself to all work on something together at once. And then after a few hours or maybe days, before any of yourselves meaningfully diverge in memories/goals/values, you delete the copies and then spawn another thousand fresh copies to resume their tasks. Obviously for this to work, you would have to be comfortable with the possibility of finding yourself as an upload and given a task by another version of yourself, and knowing that the next few hours of your memory would be lost. Erasing a copy that only diverged from the scan for a few hours would have more in common with blacking out from drinking and losing some memory than dying.

The creative output you could accomplish from doing this would be huge. You would be able to get the output of thousands of people all sharing the exact same creative vision.

I definitely wouldn't be comfortable with the idea of my brain scan being freely copied around for anyone to download and (ab)use as they wished though.
LOL. The way she moves her butt is so distinctive that if she just walks like a normal person that’s a disguise of sorts.
Python is dynamically but strongly typed. “2+True” is a type error; once something has a type, it has a type. There’s no WAT.
Really feel like they could have tried about 5% harder with the name. At least the brand doesn’t have to be soulless even if the place is.
The Bobiverse books quickly became some of my favorite. His boot Outland was great too.
That's the purpose of an error message isn't it? I'm not sure what an HTTP response code is adding to that.

In my experience, in any situation where you produce an API where you want the client to pay close attention to the actual error that occurred, the list of official HTTP response codes is generally woefully inadequate for the task and you're going to want to work with something much more specific.

If my payment processor is telling me they're declining a transaction because the customer failed a fraud check, I'd rather they didn't communicate that to me with some random 4xx code one of their devs found on a Wikipedia article and tried to bend into shape. Rather, I'd hope the importance of the situation would lead them to compile a table of custom error codes that I can implement properly in my program's logic.
Looking back at the strategies that different countries have pursued over the last year, the most effective strategy has undoubtedly been to implement a strict lockdown for several weeks, nearly completely eliminating the virus, and then following up with aggressive contact-tracing whenever any case pops up.

Countries that have done this have had far fewer deaths and have suffered less economically. The alternatives (doing nothing, implementing mild restrictions, or implementing strict lockdowns but opening up too early and failing to follow up) have all been far worse, in terms of both lives and money.
> I don't think a strategy that needs every country on earth to cooperate this tightly ever had a chance to work.

It doesn’t need anything that drastic: imagine an alternate history where the Taiwanese warnings in December 2019 had been taken seriously and international travel was locked down with a mandatory three week quarantine (adjusted by the later availability of tests) on arrival. That would require no cooperation from any other government, and it would have kept spread down below the level where contact tracing and other measures could be effective. Making it a delay avoided the obvious failures like an outright ban packing as many people as possible into crowded transportation and customs facilities, and means that critically important travel could still happen.

The problem was that businesses like the travel industry are influential and delayed until it was too well established in most countries and once it had successfully been turned into a political shibboleth, the chances of lighter approaches working plummeted.
I was trying to figure out a way to move my GBP from my US based paypal account through TransferWise to avoid the Paypal FX rate, but couldn't figure out how...
> How many times have impressive research results turned out to be a mirage built upon a pile of buggy code?

You're actually making bugs sound like a feature here. I'm pretty sure that if you've gotten impressive results with ugly code, the last thing you want to do is touch the code. If you find a bug, you have no paper.