skysight-inc/HackerNews huggingface dataset:
I tend to agree with ephaeton that forcing the order is a little heavy-handed. But thanks for the insight about initialization order.

For what it's worth, I find strictness pedantry like this fairly useless in production. For example, a JSON file has an order to the elements of an associative array, but Javascript doesn't. So most of the time, I treat associative arrays as having no order, and use another array to map indices to keys or whatever.

Contrast that with PHP, which does maintain key index in the order it's added. There have been countless times where it turned out that I needed that order, and it saved me the work of declaring the extra array. Even more importantly, I've never been hit by that surprise (of not having order) in PHP, whereas I have in pretty much every other language.

So maybe PHP is less pure, but truthfully, pureness is the single biggest source of friction in my daily life. Basically the entirety of my day now goes to setting up environments from minimalist environments, working around subtle language errata, or translating what I want to do in my head to the domain-specific language decisions that are so widespread in languages like Ruby.

I prefer the lazy route now in most things. Just give me everything, with the least-friction needed to do what's in my head, and let me prune it/optimize it when I'm done. So in this case, I'd prefer C++ to have a strict ordering of elements, but let me initialize them in any order, so that I can think in abstractions rather than implementation details. Which is why PHP is roughly 100 times more productive for me than C++, even though I grew up with C++ and know it like the back of my hand.
In general I agree with your point. I just want to point out one particular edge case where it can be misapplied.

The one thing I always want to be careful of with questions is to make sure they don't come off condescending. One example of an anti-pattern with questions is to ask

"Why did you do <obvious mistake>?"

In that case, clearly they didn't mean to make the obvious mistake. Asking the question implies that they did it intentionally, when surely what actually happened is they overlooked the error. Instead, I just point out the mistake. "I think you forgot to check for null here." comes across way better than "Why didn't you check for null here?"

The general principle I find useful is to try to say exactly what you mean. When you spot an obvious mistake, there's not really a question to be asked. You are trying to note the mistake, so just use a statement to note the mistake. When it's less obvious, or it's a judgment call, a question is great, because that's exactly what you're trying to do: ask whether another approach might be better.
What's the advantage of this over using clean energy sources to synthesize jet fuel?
Bought a RX570, worked great. Undervolted for more performance, would recommend it.
Show HN: Read PDF man pages online
> At least with governments you get a representative.

At least with corporations you get a choice, short of emigrating. Google is one of the most dominant corporations in the world, yet there are multiple alternatives to most of their services.
What a bonehead, you control the car from your phone app.

You need to be within viewing distance of your car.

You press the button on the app. When you release it, the car stops immediately. This bonehead clearly wasn't doing that.

More FUD on the inevitable future. Keep it up, you horse and buggy lovers.
I think we’re saying the same thing.

A limited list of chemicals is used in organic farming. How did they limit the list? By removing the more toxic pesticides.
Brands get your phone number and call when they see you browsing
This looks like it's roughly at the level of Allan Gut's intermediate probability book (https://www.amazon.com/Intermediate-Course-Probability-Sprin...). There's a need for more exposition at that level, but I'm not sure that the course notes themselves are a good source.
Or hops in...
better headline: Across major US carriers people received text messages sent Valentine's Day

Its not clear that the messages are being resent. They appear to being delivered for the first time.
I think what makes HN so high-quality overall is the constant policing for personal attacks and toxicity. Some sites have 'rules' that are barely or not enforced at all that you must be respectful but this is the only site that consistently and objectively enforces good conduct.
There is rayon in rust land. This is a pretty different (simpler) thing.
Xstumbl (NSFW Site) Hacked
Indeed it is.

There'll be time after us.
Most days, I only carry my driver's license because, despite a head of rapidly graying hair, I might need it to buy tobacco. Otherwise, what the hell do I need a license for when I ride the scooter/bicycle to work?

I can already leave all of my cards at home when I go to work, save that license, because the gas station that cards me when they sell me tobacco also takes NFC payments. Digitize that license, and I can just carry my phone even when I drive to work.
Asana | San Francisco, Vancouver, and New York City | Onsite | https://asana.com/jobs
Work productively ever after

Asana helps more than 70,000 organizations and millions of users across 195 countries helps teams orchestrate their work, from daily tasks to strategic initiatives. Asana has been named a Top 5 Best Place to Work by FORTUNE three years in a row, and one of Glassdoor’s and Inc.’s Best Places to Work. Headquartered in San Francisco with offices in New York, Dublin, Sydney, Vancouver, and Reykjavík, Asana is always looking for curious, collaborative people to be a part of our inclusive culture and help us achieve our mission.

Some open roles:

* Head of Mobile Engineering in San Francisco: https://asana.com/jobs/apply/1347064/engineering-managerandr...

* Software Engineer, Product in Vancouver: https://asana.com/jobs/apply/1284781/software-engineerproduc...

* Software Engineer, Infrastructure in San Francisco: https://asana.com/jobs/apply/721271/software-engineerinfrast...

* Engineering Manager, Product in New York City
https://asana.com/jobs/apply/1300586/engineering-managerprod...

* All open Engineering positions: https://asana.com/jobs/engineering#jobs-listings
I'll invoke him if he's relevant.

It is possible for both the government and the private sector to be corrupted, especially if the latter exerts corrupting pressure on the former.
not from a national security point of view. well, more accurately it kicks the can further down the line to the security of wherever and whoever the government is using for that data.
There are two ways a language can help

1. A performant "i/o" layer in the standard library that allows a large number of concurrent activity (forget thread vs coroutine differences).

2. Ability of programmer to express concurrency. Ideally, this has nothing to do with "I/O". If I am doing two calculations and both can run simultaneously, I should be able to represent that. Similarly for wait/join.

Explicitly marking a thread as async-only will just force everyone else (who need sync and cannot track/return a promise/callback to their caller) write a wrapper around it for no reason.
It's usually more "We think we need some type of system to manage our business, please deliver a white paper and presentation comparing options, and then stand by to design the option we choose"
I spend the majority of my time working with high level Rust while doing web development and writing networked services. It's really great to have the option to go low-level when I need to, though. The ecosystem doesn't have everything I wanted / needed so I occasionally go low, but it's infrequent as there are already a lot of great tools available that I make use of.
CFTC Orders Proprietary Trading Firm to Pay Record $67.4M
thank you pointing out :)
Any mirror? This server seems to be choking.
Maybe my bible searching isn't work, do you know of a scripture that says Christians should convert people?
Tax laws vary from country to country and even within countries, but it is possible to exempt religious groups from taxation without giving them special treatment, simply by applying the principle that non-profit groups aren't taxed. So, the local church doesn't pay taxes, but the neighbourhood sports club doesn't pay taxes either, since both are non-profit entities.
The issues have nothing to do with the differences between STL smart pointers and Mozilla/Chromium smart pointers.
Tips for Sketch and Watercolor Effects in 3D Character
not only does it lack accuracy tests, it has been studied in the past, for example by RAND¹ and there's no evidence that it works at all.

more importantly, it should be noted that these are essentially unproven systems that are being beta tested on largely minority groups. That something like this is happening in a country with a rule of law and at least in theory constitutional safeguards is reprehensible.

[1]https://link.springer.com/article/10.1007/s11292-016-9272-0?...
Doesn't look like, from the admittedly short video, that there's too much confusion from the people around it, other than the lady near the stop sign at the end, and that seems only because she's trying to decide if the car is going to stop for her.
It is not at all obvious that would the case in the US.
The quote said governments, not "this one specific government."
My question is, we already have remote control vehicles. Do we not have any laws for full sized RC cars? Would it apply in this case?
SharePoint Administrator
Full Time SharePoint Admin need in Washington, DC
Would the car endlessly follow the person around the mall? Is there a timeout? Seems like after x minutes it should self park and update the app.
Paying to send emails? I assume you mean something like Twilio? For a company providing this type of service, I would imagine they would have written the core code themselves and email is pretty basic/simple to send (stuff like texting is much more complicated). I would be shocked if they actually just plugged in something like Twilio to farm out their core service.
To get a sense of what would be required to "pocket summon" the car, you'd have to:

- pocket unlock phone

- pocket open tesla app

- pocket scroll down to Summon

- pocket click Summon

- pocket select "Smart Summon" from within the Summon screen

- pocket click the target button on the map

- pocket hold down the "come to me" button continuously

All this while being within 200ft of the car.
But as the article said, that liability may not be covered by that person's vehicle insurance in British Columbia

> In the recent incident in Richmond, thankfully, there was no accident. Had an accident occurred, the vehicle owner's insurance may not have provided coverage.

I don't think anyone disagrees that the vehicle's driver is liable (regardless of physically being in the vehicle or using summon). The issue here seems to be if that is legal at all and if it is legal if insurance would cover that liability.

Plus what happens if a third party activates summon, for example a toddler? Is the toddler now legal liable for any accidents? Is the owner of the car? Is the child's parent/guardian (even if they weren't physically there)? Lots of interesting legal edge cases to explore.
you can just `.await` on any Future returned directly by APIs, if it's not marked as an async fn.
"and offer some names of people who can help"

For people who are reading this quickly, this is the magic that makes saying no ok. If you are just turning down client requests they'll stop asking. Most people are extremely busy so they really appreciate having a "go-to guy" they can send any requests even vaguely related to what you do.
There is absolutely zero confusion in this video.
Got a reference for that? Road rules typically apply to... roads, not private property.
Yes, yes, it's free. Not like Kafka Tool, where you have to pay for commercial use.
> How would this compare with RCU techniques, as used in Linux? Is it about getting finer-grained access without compromising speed?

I'm wondering this, too. To me it sounds the same. From the "bad news" section:

> CX serializes all mutative operations which means it's flat at best if the workload consists of only mutations on the sequential object. ... It also consumes larges amounts of memory and in the very unlikely worst case, may require 2x MAX_THREADS replicas of the sequential object.

That's roughly the same text I'd expect to see on an RCU implementation. (Maybe the exact number of replicas differs; I think with some RCU schemes it's GCed asynchronously and is theoretically unbounded.) At first glance, it's hard to understand what's new here. They say they used this to make "the world's first wait-free balanced binary tree". How does that description apply to this but not to RCU?
People are bad at managing retirement money. It is better to have a mandatory distributive model like in Germany. That way retirement grows with the economy, everyone has a retirement and nobody can just misappropiate the money.
Show HN: Free website feedback app
The solution is to not offer pensions.
Vancouver's automated system without platform doors has been in place since 1985, and as you mentioned, has worked quite well.

The key benefit to not having doors is that you can use different train types and consists because the train doors don't have to line up with the platform doors. Platform doors also make future procurement of new trains potentially extremely expensive, because you're pretty much locked into buying a specific type of train.
https://www.bbc.com/news/technology-38073949

https://www.theverge.com/2016/11/22/13720092/facebook-china-...

https://www.nytimes.com/2016/11/22/technology/facebook-censo...

https://time.com/4581361/facebook-china-censorship-news-mark...

https://www.forbes.com/sites/xiangwang/2016/11/24/doing-busi...
Regardless, that's inherently also going to involve a good deal of investment. Maybe not an investment of time, but emotions or some other factor.
By updating the tool tip
Does the new component propagate out to all sites?
I outline the attack vector, feel free to ask questions
What do you think an MTA, MDA, and mail stores are?
i'm not a lawyer, but my guess for both questions, the driver's inability to provide an eyewitness account would probably heavily bias towards their fault. Kind of like if you were driving your car with your eyes closed.
> Good muslims have as many kids as they can

I don't have the power to downvote but its comments like these that are used by fascists [1][2][3] the world over, sometimes for mass murder [4] and genocide [5] so please be careful how you wield it

1. https://en.wikipedia.org/wiki/Great_Replacement
2. https://en.wikipedia.org/wiki/Eurabia
3. http://www.asianews.it/news-en/Hindu-nationalist-press:-Musl...
4. https://www.irishtimes.com/culture/books/review-one-of-us-th...
5. https://www.theatlantic.com/international/archive/2017/11/mu...
If your world view is based on separating entities into good and bad, nuanced statements will appear ridiculous.
Arguably it does - if someone tells me they are going through their Saturn return, I know two things about them (going off banuguler's information):

- they are around 30 years old

- they feel like they are dealing with restrictions and limits in their life

Together I can make an informed guess that they're more likely to be worried about, say, starting a family, or their career options narrowing, than a randomly selected member of the population would be.

Similarly, if someone tells me that shark attacks are up lately, I will predict that ice cream sales are also up (via the proxy of beach attendance). You may find tricks like this unimpressive, but it's a step above "nothing to do with".
Interesting bug.

It makes me appreciate working with languages that support pattern matching like Elixir.

I think this type of bug would have been preventable with pattern matching because that single controller function would have likely been split out into 2 functions that each matched against a specific HTTP method, and when the unmatched pattern came into play (the HEAD request) it would have failed to find a match and then threw an error instead of processing it as something else.
The biggest problem and confusion just is that there isn't a driver. Noone challenges a human for going on a joyride.

The fact that there is no driver visible might be a bigger challenge for self driving vehicles and its acceptance.
BEAM (Erlang VM) provides pre-emptive scheduling
you are not like most people. most people don't use a password manager, nor will they ever. Most use an excel file and have them written down somewhere... So when they are confronted with a login, and they don't remember the password, they either just leave or attempt to retrieve it or go through the mundane take of using the a dismal password retrieval process.
What if I'm driving a car and get hit by another car (in such a way that it is not my fault)?

I imagine it would be the same.
Quick please :)
> Batteries don't have the energy density needed

... today.

There's a lot of money in batteries these days.

But from what I gather, it's not just about the batteries, but also about coming up with a design that takes advantage of the possibilities offered by simple electric motors.
Cute but doesn’t actually work
You aren't against pricing in more of the externalities though, right?

For example, a round trip flight between NY and London is said to melt 3 cubic meters of arctic ice per passenger. So it wouldn't be unreasonable for airlines to be required to offset that in some way?

If so, then we just disagree on how to structure the tax but mostly agree on the need to reduce damaging flights.
I started a consulting business doing CRM work on nights and weekend about five years back that’s now running close to $100k/mo.

It all started from a former colleague who’d moved onto a new role and asked me to help them set up their CRM. This colleague talked to their friends, I started mentioning it in casual conversation and more referrals started pouring in.

This process of working nights and weekends meant I could scale it without pressure.

Your network will be your best asset early on because you have no brand awareness not evidence that you can do the job. Folks will be working with you because they know and trust you.

We’re now at an inflection point where that method of driving business won’t scale as fast as we want so we’re now relying on channel relationships we’ve built with the CRM provider. We also work with consultants in related fields that don’t want to do CRM work which has been a huge boost to our bottom line as well.

On the flip side I have a friend trying to break into devops consulting who couldn’t get a single customer despite relying heavily on his network so take both anecdotes with a grain of salt.
> How can OEM's still ignore AMD, I mean.

Most of them got burned very very badly by Opterons. They are likely waiting if this is new AMD or the good old one that cost them millions in the past. Also, AMD has no production capability to displace Intel in any meaningful volume.
There is no consent. There is not even a choice.

Even in anarchy, humans form groups because it's better than being alone. Every group has rules. Members can choose to follow them and enjoy the benefits or leave the group and lose the benefits.

Governments don't follow this logic. Nobody consciously decides that they want to be governed, they just happen to be born on a particular territory. Most people can't just reject the laws and leave, and those that can are really just choosing between other governments. They can't simply create another country with their own laws and invite people over.

The social contract isn't really a contract, it's an imposition.
This appears to be a common thread in the history of antivirus companies.
YouTube’s homepage redesign focuses on usability […]
Sure, if you have a company that wants to produce useful code and not haze employees. For many companies, especially in big tech, code reviews are more about asserting dominance than actual helpful suggestions. Looking at you, AMZN...
My home desktop is a NUC + eGPU and it's been working great for me for the past year or so. I love that I can just turn the power to the eGPU off when I'm not using it and run my whole computing setup for something like ~40W.
Uncommon Side Hustles to Make Money 2019/2020Finance
Interesting! Can you share an example?
Sort of honor based. You could be asked to show proof of payment and would get fined if you couldn't show you had paid.
This appears more like some kind of batch that never got released, stuck, and finally just flushed. Maybe spam processing? A server crashed as a bunch of messages went into a scan, and they got stuck in a quarantine or a crash recovery process?
Most of those are issues in old, _C_ code. No one disputes the fact that C is a mine field due to its complete lack of support for things like arrays and strings.

But that's not really an issue in modern C++. It's only really a problem when you want to implement your own data structures with raw pointers, in which case, yes, you have to be careful and write tests and use sanitizers, Valgrind, etc.
FWIW, if you have to ask this question then perhaps the ~20-30% cost overhead of RDS is worth not having to handle the sysops layer? If you want to, Bitnami and others have AMIs on the marketplace that have various versions of PG installed: https://aws.amazon.com/marketplace/pp/B01LWIX1ZK?qid=1573152...
Show HN: Static Blog and Site Generator
That's a great short term solution, but then what do you do with society's old people? We still haven't yet seen what's about to happen with the destruction of pensions in the US.
Agreed. I also find myself just attaching a question mark to most comments unless I'm very sure of them.

E.g. "Add a comment about foo bar?"
So true. I love to be misled and click on links editorialised with low effort puns.
Human perception does not have a sampling rate. This is why our eyes don't produce weird shutter speed effects like the one shown in the video. There is no shutter and there are no frames.

The same is true for measurements in physics. Modern digital lab equipment may use sampling, but this has nothing to do with the underlying physics. Putting a photographic film behind a double slit "collapses" the wavefunction of the photons going through without any sampling.
Indeed. We already effectively have single payer system for large segments of the population, the Medicare itself. It still didn't push the costs down to European levels for Medicare recipients.

The US needs cheaper healthcare, but single payer won't achieve that.
“Driverless” is going to see a fast and final end when a small child gets killed by one of these robots and the owner, manufacturer, and every insurance company within throwing distance gets a billion dollar lawsuit judgement.

There is much hubris going around about AI and machine vision with business people and grad students taking lives into their hands and not seriously handling the responsibility.
take-off uses far more fuel per ground-miles travelled, because in addition to trying to go forward, you're also lifting hundreds of tons of steel, several miles into the air.

but take-off and cruise use probably ROUGHLY the same amount per minute flown - because why waste time cruising at a significantly lower power setting?

> So would a hybrid model plane make sense to use jet fuel or equivalent for the most energy consuming part, then electric batteries for the least intensive parts?

Not at all, because energy is just energy, and full batteries weigh just as much as empty ones, but full fuel tanks weigh a LOT more than empty ones. And empty ones are more efficient to keep aloft.

cite: https://www.usatoday.com/story/travel/columnist/cox/2014/11/...
I throw events in Toronto. Same kinda deal.
i really want to know how this works.
I take public transit now, but that's how I used to cope with car commute too. I'd get into "the flow" of driving. It was a form of meditation and I still paid full attention to the road.
Yeah no, after the billions the catholic church has nobody can claim with a straight-face they are a non-profit.