skysight-inc/HackerNews huggingface dataset:
I like how both you and the sibling comment tried to educate me on the difference between containers and event-driven compute. I'm well aware of the difference. My point, which maybe I didn't make so clear since both of you missed it, was that you can make fargate spin up a container for an event, but it would be too slow for any useful event driven computing.

If you're gonna use containers, use containers. If you want someone else to manage the container for you, use Lambda.
Your comments here presume that there is an "actual underlying problem". But this study proves that isn't always the case.

I also think you're ignoring the extent to which a neurological difference has been medicalized here. Depression is truly debilitating in any context. Here ADHD is sometimes being diagnosed due to a poor fit between an artificial environment and and children who would have been seen as "normal" had they been born a week later. Is there actually a problem with those kids? Or is the problem with an industrial-age education system that expects kids to demonstrate obedience all day and drugs the ones who don't? That's far from the only way to educate children; maybe the problem is not the child's brain, but that we expect all children to fit a very specific mold.
America has become substantially more socialist over the last 50 years, if you look at the statistics on social welfare spending, or the number and breadth of social programs in force.

In the past, without the safety net, and with anti-vagrancy laws, the street people would have been doing the work now done by low wage legal and illegal immigrants. It was a hard life, but better than slowly poisoning themselves to death with opioids while living on government aid.
> I recommend church. It helps. You evolved to do that too.

We may evolved to follow each other but just because one person wrote a hit sermon doesn't mean we evolved to mindlessly church it out every week. Religion is really just something we do on the side that usually doesn't get in the way of evolution (unless it involves sacrifices or suicide).
Making a recommendation engine in the browser
Well said. As a programmer I prefer the old site, however you bring up a good point. The new site is a lot better for people in management to see that Rust is used by other large companies and to not immediately discredit it.
I am so very sorry for your losses.
"Whataboutism" is the new phrase to shoot down any comparisons.

And you can certainly find plenty of people in America supporting the immigrant camps, which Takei has called worse than his internment.
This is GAS syntax x86. I am very interested to learn what sort of context you do assembly language programming mainly.

Heh. If this were 10 years ago, we'd be using register ints.

As I'm sure you're aware you can get gcc to emit assembly, quite a few of the answers here seem interesting: https://stackoverflow.com/questions/137038/how-do-you-get-as...

You don't need to parallel-install dozens of versions of different compilers to play with them, too: https://gcc.godbolt.org/
It's actually more like 80% for Google. I spent a lot of time running various experiments on Search.

I'll point out a major difference, though: Microsoft, Google, and Amazon are already highly optimized. They've had millions of man-hours put into optimizing everything from product design to UI to UI element positioning to wording to colors to fonts. When you get a new, beneficial result in a change to Google, it's usually because the environment has changed while you weren't looking, and the user is different.

That doesn't apply to a new business that's just learning how to sell their product. In a new business, by definition, you've spent zero time micro-optimizing your message & product. You can get really big wins almost by accident, if you happen to have stumbled into a product category where users actually want what you're building.
I need a Clojure job, their technology seems like it's from the year 3000 and I'm over here in PHP land banging rocks together

Their idiomatic database can travel through time, they focus intently on composition, referential integrity, immutability to the database level

They have specs which can validate things typically better than types and they compose

They focus on shared protocols which gives them amazing leverage, like the internet works because we all cooperate via the http protocol

I've been looking quite closely at datomic recently and that database looks ducking magic

Now datafy and nav will give rise to generalised browsers of anything Clojure can touch, conceptually it's kind of like my file system, my SQL browser, my web browser, my profilers, my debuggers and any number of other things I haven't imagined, all merged into one
No, thanks.

I'll be wait until sources would be published.
Java Made (Somewhat) Simple [video]
>Add to this that Marriott's website is one of the worst I have ever used and I just don't see much reason to stick around.

It really is terrible. I tried to book the Mariott in Oakland last night for a conference and it took six attempts to get it working. There was some code on the page for Visa Checkout that didn't seem to have been tested well at all. I ended up having to alter the javascript and delete an element on the page in order to bypass the client-side validation and get the submit button to work correctly.
The user experience / payment flow on the payment terminals (in Canada at least) to make a tip is insane.

Every terminal is different.

The prompts on screen, rarely correspond to a button that says anything similar. “Yes” usually means press the green button. Although often the yes / no on the prompt are in the opposite positions to the red and green buttons on the keypad. But sometimes it means the small button closest to the on screen “yes”.

And sometimes they’re touch screens.

Regardless, paying in Australia is actually tap and go.

In Canada you may as well insert the card, you’re going to be here a while selecting a bunch of options for tipping.
Show HN: Advent of Code Discord Bot
And everybody recognizes that was wrong. We're trying to be better than we were then.
I'm not entirely sure I get the distinction you are making. Sounds like you are just saying that not everything prints well. Which, yeah, that is true. As noted in the speech, sometimes it is just cumbersome to see printed.
I wish this video was 5+ years old regarding the Java interop, it would have made my Clojure life so much more easy.
How to Get a Better GAN (Almost) for Free: Introducing Metropolis-Hastings GAN
Because there's demand for developers that supply cannot meet, the demand to take on a civic job in NYC is tremendous, yet we constrain supply of these workers by paying very high wages.

These organizations are crippling the cities ability to deliver services, if wages were 2/3s of what they were now, they could hire far more employees and potentially provide better services all around.

Additionally, public sector unions are completely different than private sector ones. Concessions should be made to workers at the expense of capital not workers who make less than them.
No, it's NOT a bank in any way.
The colors are great, really comfortable contrast level, and the typeface is easy to read. Fairly tight information density, but low-density layouts are a common complaint with the target audience so I think it strikes a good balance. My compliments to the designer.
We don't have a problem with monopolization of lemonade stands, though. But we do have a problems with large corporations monopolizing their respective markets, and they are doing that not because they are granted said monopoly from up above, but because they are able to consolidate it.

Limiting the amount of capital one can own is not equivalent to your scheme, by the way. The rule isn't that only one guy can own a tavern, or that there can only be one tavern - the rule is that one guy cannot own more than one tavern (just as an example - I don't think that's the level at which we should actually cap capital).
What a weird coincidence. As someone who rents, I share none of those concerns, even though in theory they should affect me just as much. This “but what about the parking?!” argument gets trotted out so often, but it only ever really seems to concern those who stand to gain from a housing shortage. If you want more infrastructure, vote for more infrastructure.
Right, it's a baby step to science: actually explaining how the world works. It's a powerful meme that tends to run away with itself once the scientific method is stumbled upon in society.
It's so effective I had an out-of-body experience and raped myself.
Meanwhile...AWS Lambda Layers.
Is typing on your phone while moving at highway speeds much less dangerous than a DUI?

A first DUI conviction in CA involves large fines, generally a 6 month license suspension, is a misdemeanor, and potentially up to 6 months in jail. A $250 fine plus class is a joke. The fine for accidentally running a red light in SV is double that.

Driving and looking at your phone is not a joke, a car traveling at 70 mph is a lethal weapon that can easily kill entire families in an instant, and it should be treated with commensurate seriousness. I know a couple families that have almost been entirely wiped out due to other drivers, with the survivors left as paraplegics.

I think serious penalties for what is seemingly very common might be a shock initially, but once people realize how serious it is, I imagine the infraction rate will drop rather rapidly. Drinking and driving used to be much more common than it is now.
I think we agree. The calculus is the solution involves a cost orders of magnitude larger than the problem and we’re not willing to assume that cost over principle.
Fair point,

I definitely should have been more charitable in my reading, I got stuck on this:

> The most effective rape drug ever, turning adults into children who can be exploited

I was looking to tease out some clarification, because the implication that these drugs turn adults into children and prime them for rape seems like a strange leap from my perspective.

I’ll happily chalk it up to my lack of charitable reading and assume in good faith the commenter was referring to the drugs combined with the power dynamics.
State of the Global Climate in 2018
How does a wifi antenna work in full-metal laptops?
C++ is the weird one out, you might have a declaration like:

int (*f)(int x);

The variable type is around the variable name. Some of it is before and some of it is after. In Go it’s simpler:

var f func(int x) int

If I want a void function, I can just leave the return type off, I don’t need to add "void":

var f func(int x)

It’s easier to write a parser for this, because you know that this is a variable declaration just by looking at the very first token and finding a certain keyword. If you write a parser for C or C++ it’s much more complicated, because you have to keep track of which identifiers name types in the scope that you’re in. Generally, more modern languages like Java, C#, Go, and Rust are much easier to parse, they are often designed to be relatively straightforward to parse with e.g. an LL(1) parser, or close to it, maybe you can just use recursive descent.

In C++ it's also a bit inconsistent,

int f1(int x) { return x + 5; }
std::function<int(int)> f2;
auto f3 = [](int x) -> int { return x + 5 };

You also have to invent a placeholder for when there aren’t types:

int x = 3;
auto x = 3;

In Go you just omit the type, and you don’t need a placeholder:

var x int = 3
var x = 3

Other languages where the type comes after: Haskell, Python (PEP 484), ML, Rust, Pony, Nim, TypeScript, Swift.

In fact I think the way C/C++/C#/Java do it, with the type at the beginning, is actually somewhat rare.
It's a discord bot that can print the leaderboard (sorted) to discord channels. I'm using it for my own discord channel but thought some of you might want to use it as well so I put it out there :)

It's a bit close to the start, but if there's bugs/issues I'll try to fix them ASAP.

Have a nice AoC / Good luck! :)
Yeah I completely agree. Though I think when you really get used to a language and understand it deeper, you tend to understand the trade-offs that were made, if the language is well designed. Then you can still think that the trade-off don't match your requirements.
What's weird is your conviction of facts based on some bloggy article which seeks to link this incident to a wide-spread problem.

With a $100,000 surgery bill and talk of law suits, you're quick to take the side of the person wanting the payout.

You don't go to court with "the brakes didn't work. The end." as the submitted evidence. You have a report about the scooter, and a lot more facts at hand.

> "After cruising along for about a mile, the couple started to descend a steep hill."

There's your problem. 63 years old on a scooter, probably new to scooters, and descending a "steep hill". What could go wrong? And she scooted a whole mile apparently without using the brakes at all? Doesn't add up.

You may be interested to know that scooter manufacturers often specify an age range the scooter is suitable for. One popular scooter I looked at recently said "Age: 16 - 55".

> You really don't need to double down on this.

Nor do I need to triple-down, but I'm quite comfortable with the reasoned position I'm taking thanks.
nice. until someone starts offering the 'swatting' equivalent on BTC.

for a price, they will forward BTC from sanctioned address to your target. Zero repercussions and all funds of victim's wallet are now useless (in the US at least) and they will receive hell from most US agencies during the investigation.
Unions in the private sector provide workers protections from exploitative capitalists who exist for the sake of profit and profit alone. Public agencies exist to better society, if we paid these workers less, than we could hire more, and these sorts of jobs would be available to more people where services could potentially improve.
I still fail to see how methods are not data in the general sense, but while trying to answer my own question, it seems that "data" in clojure means roughly "Either an atomic type[1] or a collection"

1: an "atom" in clojure is not what it is in traditional lisp lingo; is there a name in clojure for type that is roughly the union of: symbol, number, character, boolean ? perhaps "primitive"?
I think is pretty cool, yes. But fix error messages please.
Right, which is the point.

The Hololens and machine learning tools are also general purpose and not comparable killer robots.
What is the productive meaning of this article? Evidently, the universe does not upload her laws into ArXiv for us to read and link on HN and for that reason people have poured their lives into certain perceptions and publish their findings in hope it carries some productive weight.

The idea that our established views in math and physics are all selective and narrow is certainly correct but I'd like to see where the alternative is. Feels like nihilist rambling.
Yes it is, the entire definition of middle class is median income. Just because the quality of life for the people within this income range has gone down does not make them any less middle class than they were before.
Bogle Sounds a Warning on Index Funds
5x the cost to manufacture, which would not include product development, not to mention sales, failed products, cost of returns or fixing defects, office rent, testing, certification, support, and on and on and on.

There is a market opportunity and many people capitalize on it. Amazon is full of things like this. Generic items or barely designed items with your brand stuck on them, built by somebody found on Alibaba and shipped to the consumer. They're fantastically cheap, the margins are much thinner, and the products range from adequate to terrible.

It's terribly difficult to build a high quality product people will want for many years (no new design costs) which you don't have to market or do anything with and can just manufacture and sell for a tiny profit. When it is done you'll usually find it as a small very specialized family type business which hasn't sold out yet.
Takei has called the immigrant camps worse than his internment. You can find plenty of Americans who support those today.
Payroll, customer acquisition, rent. (Probably true for both hardware companies and restaurants.)
You realize that there is no blanket action and 95% of Muslims and Uyghurs aren't arrested? Don't just listen to propaganda. Millions of Uyghurs are living regular lives. The current top actress in China is a Uyghur, an Uyghur just won the Rap of China, the situation is nowhere close to Japanese internment. The people targeted are the ones who had suspected contact with Wahhabist extremists. The process is non-transparent and probably incompetently executed but that's a function of China's immature and authoritarian justice system.
How to Become a Blockchain Developer? Step-By-step Plan
>>you are the god, or the only one that matters anyway.

> you will find yourself ensnared in mindless consumption.

Funny how you're both following the religion thing only on the surface. Take a bite, already! Western culture is based on a specific religion whose philosophy hinges around the realization of slave morality as the superior state of being. Following a school of fish is all you get from consumerism, but all those fishes take away things. The reason why it's not going to fill you up is exactly that there's no interest between you and the next fish, and you weren't going to give them anything, anyway. The only thing you effectively give is a few cents towards blood, sweat and tears in some Asian factory or sweatshop. And you're feeling that somewhere, deep down there.
It seems counterintuitive that having unhealthy food increases healthcare costs over not having enough food. How does that work? Is it because they don't live long enough to accumulate medical expenses? That still doesn't sound like a net win for taxpayers.
You need to give away margin to distributors and retailers.

If you go direct to consumer, you need to invest in building out awareness, and online and offline sales channels by yourself, which costs margin too.
Thanks for the hint, will do some reading on this ...
So we eliminated the ADHD brains only to found most of our jobs automated and most of our schooling irrelevant.
You got lost in the meta. There's a difference between someone's beliefs about evolution, which might be true, false, or nonexistent; versus evolution itself, which is a force that will act on us regardless of what we believe.

Are we evolved to have religion? Maybe, but the answer to that has absolutely nothing to do with the question of whether or not evolution itself is true.
Nah, it's because they're consultants, which means they need to constantly drum up business, which means that they need potential customers to believe they have unique knowledge that'll help improve their business and all the alternatives are shit. It's a sales pitch. And because they're consultants, they don't need 80% or even 10% of website viewers to convert: they just need a handful of customers who will each pay them tens of thousands of dollars for services.

Controversy is great advertising: they get all the folks who hate them to help spread the word about their services.

It's the same thing with software methodologists, gurus, and architects. Roughly daily there's a new blog post about how [common practice] is now considered harmful, and you need [proprietary expertise held by consultant] to implement some other replacement instead. These posts may or may not be helpful to your software engineering efforts, but they are certainly helpful to the poster's bottom line.
Pretty sure the CEO says they're close to profitability, but not, in the article.
Microsoft Awarded $480M Army AR Contract
I feel like if you’re excited by those things you will have more success running a startup, no?
> It can just as well be a mutual and voluntary agreement.

If it were a completely mutual and voluntary agreement, then you wouldn't need a government as such, or laws, or any enforcement thereof. And that would be an anarchist commune, not a state.

Any place that has laws, and penalties for breaking those laws, has an implicit threat of violence against law-breakers - it's really that simple. And if it is making that threat at all, it's because it expects the law to be broken by some.

> The "violence" in "monopoly on violence" isn't any more sinister

I didn't say anything about it being sinister in principle. It's only sinister if it causes more violence than it prevents.

> What is your point, in relation to my original point of government being ours in principle, and being changeable?

I was specifically responding to another person saying that "a gang is a little bit like government", further expanding on that. It was not directed at you or your comment.
Thank you, racist cops in NYC along side corrupt subway officials get to make competitive upper middle class wages, while public defenders and social workers get their budgets cut.
Ask HN: What regulations apply to my company? How do we know we're compliant?
Are there any good resources to understand what regulations / laws apply to my business? As a small business owner I'm finding it very difficult / time-consuming / expensive to understand what regulations are relevant, let alone have confidence that we're in compliance.

Previous experience working at large companies (2,000+ employees) suggested that most companies eventually give up and pay professional services firms (accountants, lawyers, process consultants) to help them cobble together the necessary docs before an audit but that's beyond our means right now. Curious what other folks have seen with regard to understanding compliance / regulatory liabilities and executing against those. Thanks!
I usually travel with my family, so the room upgrades are nice because we could use the extra space. Also, being guaranteed a room anywhere as long as I book 24 hours in advance is a nice perk. And often we get free food.
It's just an example...
Another example would be you want to iterate your array in reverse. The normal `for (uint i=size-1; i >= 0; i--)` won't work.
this channel has the streams. they are pirated so they might not be there when you check

https://www.youtube.com/user/salem86
Rust syntax being busy is something I've heard, but people point to things like lifetime annotations, which sort of make Rust what it is so...
I was diagnosed ADD in 6th grade, took medication and it greatly helped me, so a bit biased

I was told the disorder is not just about not being able to concentrate or sit down. It’s more about lacking executive control that helps you to focus, stay sitting down, or keeping your mouth shut. Makes you more prone to all sorts of behavior that loses you friends and makes life generally miserable.

During my diagnosis a lot of discussion happened around non-focus things, and possible alternative solutions (including CBT through a school program, which was pretty good now that I think of it)

This was 15-odd years ago. I think that popular culture goes along the axis you say, but the reality is professionals are trying hard at the diagnosis phase I think? But meanwhile this comment means I get the “lol so you can’t concentrate? Not a real illness” BS that plagued people with clinical depression forever if I ever discuss this with certain people.

That being said, the school system is uniquely challenging to all children who have executive control difficulties. Almost nobody’s adult life is as complicated as “trying to fill the demands of 10 different teachers in a week + also grow as a human”.

But at least for me, discussion during diagnosis went beyond just school, because it does affect all parts of life in nasty ways.
OP probably has a US-centric view, and in that frame of reference it is amazing in comparison. Everything is relative.
If you’ve ever used a Sennheiser headset with your Mac it is wide open to attack
> Men don't have the same time pressure to start a family with many starting at 45+.

not sure if many men can partner up with someone 15 yrs younger.