skysight-inc/HackerNews huggingface dataset:
This is one part of the truth, but not all of it. The remaining minutes of the the hour long podcast evidently provide enough value to the listeners for them to keep tuning in, despite the annoyance of ads. As long as his output has value and he charges what the market will bear (in terms of ad time), he should do well.

The point is, it's not a net "waste" of people's time, it enriches their lives in some way.
Just because you and your social group continually assert in any marginally relevant forum that Trump is "completely devoid of ethics" and a "completely evil man"(to take two choice quotes from this thread) doesn't make it true - no matter how much you wish for it.
This seems pretty much like exactly what I was looking for—thanks!
> Teaching people to be good members of your community, and being proactive in removing bad members, isn't possible until you define what that means.

Maybe you also have to realize that, just like human societies in general, no community is ever going to be perfect, and focusing too much on rules,rules,rules, can become counter-productive.
Abstract optimization games like this remind of Verigames, a DARPA project researching gamification of scientific problems (such as protein folding or formal verification of software) so crowds of untrained human players could attempt the solve the problems.

https://www.scientificamerican.com/citizen-science/darpa-ver...

https://en.wikipedia.org/wiki/Foldit
Does the shut down of spontaneous activity due to lack of oxygen/blood account for why people pass out in choke-holds? Or is this a different process?
Lots of these feel-good initiatives are actually dictated by very real concerns around legal liability. For example, many corporate diversity programs exist because they're trying to protect the company from the unfavorable EEOC decisions that are required before an employee can file a lawsuit alleging discrimination.

When people do things to prevent liability, they can't say they're doing them to prevent liability, or the liability effectively recurs. If such middling statments exist, it's much more likely that judges and juries would consider the action insincere, if not intentionally deceptive and evasive, and disregard it entirely, thus undoing the effect of the program/statement/rule in the first place and potentially inviting additional punishment for the supposed deception.

So why is it a good idea for venues to force events to have Codes of Conduct? Because if the venue gets caught up in a Donglegate-esque scandal, they can point to something and say, "We did everything we reasonably could to prevent such an outcome, we told our customers that they needed to warn attendees against such behavior, we acted according to the documented procedure, and we need to get dropped from the suit and/or not have bad press anymore".

Whereas, if they don't have such a policy, especially if other venues do, there's more ambiguity and it's much harder to make a decisive argument.

This is also a large reason why PR matters so much. Try all you want to find an unbiased jury or a judge totally unmoved by public opinion, couch it in pomp and circumstance until the cows come home, but like it or not, reputations and assumptions matter. You're much more likely to get a positive outcome with a positive reputation v. a neutral or negative one, and PR events frequently become legal props: "Of course we're non-discriminatory, see $LOCAL_NEWS for the story about how we're working so hard to recruit diverse talent!"
He is most definitely being sidelined, not pushed out. The other founder would be happy if the guy just stays out of the way and allows the company to do business and has told him as much. However, he had failed to do the SOPs for 18 months before they brought me on.
I didn't imply anything of the sort. I just said that the pollution problem was solved by the 80s, and the Chinese outsourcing boom occurred in the 90s. These two issues have no strong connection.

The EPA was created in the 70s, while the USA has strongish rule of law like any modern western democracy. California implemented strict clean air requirements then at the same time that were copied country wide (e.g. on vehicle emissions). This was also in the wrong time frame to have "simply outsourced our pollution to China".

Consequently, if we are talking about Taiwan or Japan, then no, the polluting industries didn't go there (given what we imported from them). Maybe they meant Canada and Mexico when NAFTA came on line? The mystical "quick search" without any details proves very little.
What you propose would catch many changes by looking at things like cpu and latency, but the space of potential hidden resource constraints is vast enough that without empirical verifician, we cannot have high confidence that performance regressions have not occurred (eg: lock contention can be not a problem at all until it is a huge problem...)
Ah, that’s interesting. I always just assumed everything I was using inherited IEnumerable somewhere way down the line. Thought it’s possible that was the case too. It’s been a few years for me and I didn’t do much outside of standard library / entity framework.
Rebuilding Google Analytics
Ask HN: Mobile developer job choices?
After 10+ years of being self-employed, I'm going back into the job market and trying to make sense of my options.

I'm a seasoned iOS dev with substantial web (and other) experience. I live in Seattle, so there are plenty of options. Is there going to be a huge difference between working at big tech (google, fb, etc.) vs random big co (say, T-Mobile) vs digital consultancy vs startup vs other in-house?

The only software job I've ever held was in-house at a large university, so I'm looking for thoughts about pros and cons of different types of opportunities.
Merely adding one to your event seems like it can be illuminating enough! These things appear to be a red rag to a certain kind of bull...
It has become necessary because we regularly discard people's opinions based on identity politics these days. It's sad.
Original comment:

> Which lead to the actual US solution: outsourcing production to China.

Reply:

> The USA had solved its pollution problem by the 80s, while the China outsource boom started in the mid-late 90s.
reply

Your reply:

> The USA had also lost lots of factories to Japan and Taiwan "by the 80s".

Connection to grand parent implied.
Great! Now let's get out there and educate, because Uber is truly a disgusting organization at the top. I am sure once they have died, their engineers can find spots at Lyft as something will need to pick up the void, so no need to worry there Uber devs reading this.
I was thinking of this same example.

In the end a CoC will be used to persecute unwanted characters, but wanted violators will not be affected.

In the end it becomes a monument to the organizations hypocrisy.
That's the biggest issue. I was following a certain community recently that had a fairly elaborate code of conduct with very precise language and somehow always managed to manipulate said language so that one of their members could virtually get away with murder, while other people would get moderated/banned/whatever for the slightest mistake.

As long as its impartial (to the extent humans can be impartial...), there's no real problem.
Yeah, my use cases are a combination of burntsushi's and dbaupp's answers.

1. As dbaupp said, there are some convenience methods which don't actually depend on a buffer being any kind of string, and would be just as useful for an &[u8] containing true binary data, or even arbitrary &[T] - yet currently are only implemented for &str. For example, find(), for finding the index of a substring/subsequence.

If that was all I wanted, though, I wouldn't be talking about wanting a separate type. So:

2. As burntsushi said, sometimes you have strings that ought to be UTF-8, but might be invalid. If they're invalid, I don't care about displaying the string correctly, but I still want to be able to round-trip between the source (perhaps an on-disk binary format, perhaps FFI with C/C++) and the native Rust representation, without crashing or doing a lossy conversion.

3. A similar use case is strings that could have any representation… that is a superset of ASCII. For example, this is typically a guarantee for locale character encodings on Unix systems - that is, if you want to properly handle legacy locales rather than just assuming UTF-8 (which reduces to the previous case). It also applies to legacy "text-based" formats and network protocols such as IRC. For some use cases, you'd need to actually know what character encoding is in use and convert between it and Unicode. But for many uses, you only need to locate, replace, split, or join based on known ASCII delimiters. And since the environment locale setting is not necessarily reliable (or in the case of network protocols, isn't meaningful at all), if you can do what you need with that alone, you should. For example, in the case of IRC, a low-level protocol implementation would ideally use byte strings for everything, and outsource the decision of how to decode messages to the client. It's not good enough to make the encoding a configurable setting: even if, say, the client wants to interpret all strings as UTF-8, if someone creates a chat channel whose name is invalid UTF-8, the client should still be able to ask the low-level implementation to join the channel, send messages to it, etc., which requires echoing its name back to the server.

This isn't actually all that different from the pure binary use case, since locating, replacing, splitting, and joining is also useful for arbitrary binary data. Unlike the "possibly invalid UTF-8" use case, you don't want any normal code paths to try to interpret the data as UTF-8. However, it would still be useful if the Debug impl did so.
Also source required where the number of sexual harassment cases at Uber > the number at a comparatively sized company. Otherwise you are just going off of who gets the most publicity in the media.
Unless you were born on February 29.
Really? I don't need high clock speeds, I'm looking for a reasonable (48) number of PCI-E lanes and ECC support.
Both of the companies need a lot of competition. Nice.
>My organization NumFOCUS, asks all conferences and projects working with us to adopt some CoC.

I think it was likely this part.
This doesn't work in practice. Places like Switzerland have all around good city strategies, yet finding a place to live is still super hard and super expensive. You can't even run off to the ghetto for cheaper options.
Whatever you choose just make sure that the enforcement is consistent.

That's the important part. How are you going to make sure that the CoC is applied when it comes to people of high status? With another Code of Conduct? You made me laugh.
But don't we have thread pools and futures for that ? You can't get a simpler API.
With restaurants, you pay afterwards. With conferences, there is a lot of up front money. The situations are different.
no, finally, for once, this is actually a real application of the blockchain!

specifically any that has support for zero-knowledge proofs so that transactions are actually anonymous.

you could have a bunch of people buy lottery tickets by sending currency to a smart contract, and then have it transfer the money to a random winner's address, and make the winner's address available only to the holder of the lottery contract's private key.
Hi, I’m not ignoring the article, I’m just commenting on it. No we don’t force a community to use a CoC but we don’t want to fund ones that don’t.
Your implication that only Chinese companies can plant backdoors seems exophobic to me. If we are going to go with the 'only China can backdoor things', Broadcomm has corporate offices in Singapore - why couldn't someone amenable to the Chinese cause, or a lot of money, help get a backdoor in? The same is still possible with US citizens running a US enterprise in the US, but the punishment in America for treason against America is pretty severe and well known. What is the punishment in Singapore if you help put a backdoor in a product which ultimately goes to the US military?
Yeah, $264M after taxes. What a disaster. I bet your life would be ruined if you won the lottery.
I don't see what's so good with that. Don't we have multiprocessing and threading pools that does that stuff automatically ?
That is not where the myth originated, but it is where I heard it first.
Hotels will just keep the entire amount if you try to cancel at the last second after making a reservation.

There are plenty of situations where you just forfeit the cost. Too bad, so sad.
If you're in the US it's easy to forget that Uber is very world-wide and as a frequent traveller I use it nearly everywhere I go. Lyft is mostly US-only right now.

It's much nicer and easier to get an Uber at most airports and know you're not getting screwed, communicate your destination easily when you don't speak the same language and know that they take payment by card -- rather than arriving at the destination, having already asked if they take card payment, they said yes, then suddenly they don't.
> I’ve seen and designed many decks for startups and some engineers pay zero attention to design.

"design" is such a vague term. In 99% of the cases the meat of the pitch is much more important than design, at least because of the thinking process that needs to lead there. Making beautiful decks without substance is going to be the risk if you hammer that kind of message, because there is always going to be more time you should spend on perfecting your pitch that will be taken by trivial design details. By going with very simple decks (little text, spare visuals, very few colors if any), you remove the risk of "bad taste" and this enables you to focus on everything else.
Yes. Yes. I am aware you read this on a blog post about interview prepping. I wish you had shown the same retention for this thread.
If you look at CNBC video on the deal (https://www.cnbc.com/2018/03/12/us-tells-broadcom-it-confirm...) which talks about the Government concerns there are two parts:

1) Its a foreign company takeover. This will not hold as Broadcom is domiciling in the US soon.

2) Broadcom has publicly stated that it intends to do private equity style management. They are going to add $100B in debt - which might make them cut R&D. For its size, Qualcomm spends significantly more on R&D and has been a pioneer of many technologies. CFIUS contends this is a natural security concern. Any reduction in US R&D spend on key technologies like 5G will lead to China filling the void.
Sorry if I wasn't clear; I didn't mean to imply that the Rust maintainers assume any prerequisite knowledge of C/C++.

I rather meant that the goal of someone learning Rust "in anger" is for that person to quickly decide if Rust is the best language to use to solve the problem they have. And, if Rust is even a candidate in their solution-space, then usually C and C++ (and sometimes also Go or D or C#) are the other candidates the learner is considering learning. They're Rust's "neighbours" in its solution-space.

And so, Rust's documentation is well-written, but it's well-written specifically for this type of person learning Rust "in anger", with the goal of evaluating the language against its neighbours at the same time they're learning it. Such a person wants to see Rust's design-decision guts spilled out on the floor before them, so they can move on if those decisions are not to their liking.

This doesn't mean the documentation isn't approachable to people who don't have any such points of comparison! But just like a movie can be enjoyable for both kids and adults on different levels, Rust's documentation has both a "teaching you Rust" level and another "justifying Rust's departures from the Average Low-Level Language" level.
Some time ago, Twitch bought Curse, probably for the Curse App that already does voice and text chat. Also viewing streams and mod management for a handful of games.
Tasker beta program now available on Play Store
> In Android 8.0, you need to use Google Play services

I agree. This point is under appreciated. The GPS libraries and their backend services (e.g. Maps and Location, Push Notifications, Google Auth, etc) to a great extent ARE the android SDK.

I don't quite see how Yegge's use of the word "stealing" can be correct. No one can steal those backend services. A competitor is going to have to reimplement services like Maps and Push Notifications (not to mention the Google Play Store itself). And that just means more fragmentation in the marketplace, not stealing android.
I'm sure lots of safety margins built into bridges are also respected due to liability concerns, but I don't mind the insincerity as long as the margin is actually there to protect me when needed.

You are free to feel different of course, both in the case of bridges and in the case of people.
One thing that's worrying about CoCs is that many of them seem political in nature and are used as excuses to abuse other members of the community who don't conform to certain opinions. Bryan Lunduke has chronicled a few examples of this occurring and causing destruction of otherwise healthy communities.

https://www.youtube.com/watch?v=s087Ca9JnYw
Sounds like this guy made the mistake in being really rich in a place that isn't "for" rich people. The rapper Lil Boosie has an interview on YouTube where he talks about this. Once you reach a certain level of wealth and status and start to stand out a little too much, you simply can't be around "normal" people without many of them becoming enraged and wanting to hurt, rob, or kill you. You need to go to a rich-people-friendly area (basically some really nice areas of the major metros) or that kind of stuff will just continue.
React Router as Action in Redux Application
If it was that important, you should have mentioned it. It's not uncommon and not possible for him to have known otherwise.

I agree with your sentiment though even if I don't happen think smoking is socially unacceptable...and I'm not even a smoker.
I will forever be shocked at what humans can be convinced to do to eachother for money.
One of several red flags. Another thing that set off alarm bells was the strawman reference to penis slang. That's not something I've ever seen referenced by someone who is serious about having a conversation about codifying personal conduct expectations.
While the book is really top notch (I'm usually not a fan of programming language books), there's something to be said for not introducing all concepts at once. A scripting language has many of the same concepts, but not lifetimes, etc. Not to say objects are intuitive!
Just curious, why does stating that a particular training or policy is purely for liability purposes make it not valid?
The 3-in-1 book contains a high school math review, a mechanics course, and a calculus course (450pp). The No bs guide to math is just the high school math review and is much thinner 170pp. (I'm essentially cutting up the 3-in-1 book and releasing it as split books because I realize 450pp can be intimidating for some readers).
From what I've heard the Intel to buy Broadcom rumor was absurd and never going to happen.
Would a code of conduct for your life make you feel safer? Or would you rather just deal with people the same way you have up until now?
If you look at markets outside of America. There’s a few. Most people don’t use Uber in singapore. They use grab. Then in Indonesia there’s grab and a local brand. And Thailand is grab and a local brand. Too lazy to double check the names.
Show HN: Custom Audio Art – Capture Your Priceless Moment in Sound
THAT SOUND THAT DAY is started with a mission in mind to capture and playback people’s memories in the unique visual art form. “Sound is one of the important elements of people’s memory that can capture the moment of the lifetime.” Jom Naknakorn, the artist and founder, says.

That Sound That Sound helps capturing your priceless moment in sound, whether it is a birthday, wedding, anniversary, a song from their first dance, the first voice of your sister’s baby, the celebration of accomplishments or life-changing events. With our sound/art engine you can turn any sound into art. It is so easy to design your own 18”x24” wall art through our sound art generator. We print, you frame and hang it up on the wall or gift it to your loved one. You don’t need to be a professional artist to make your own original sound art, all you need is your story and sound. Yes, your very own art with your story.

check us out at https://thatsoundthatday.com/
Another common trick along those lines is pointer tagging, where you use some of the bits in a pointer/reference to store flags and if those are set, put data in there directly.

E.g. you could on a 32-bit machine reserve the least significant bit to mark an integer, and if it is set the high 31 bits are treated as a 31-bit integer instead of a pointer. Since your objects are likely bigger than a byte, you don't actually need all 32 bits for addresses and thus don't even loose addressable memory space. On 64bit machines you can do it even more, since they are far from being able to use all bits for actual memory, and you might even fit a short string or other more complex type in there.
It’s surprising that renters would ever prefer high prices.
Any recommendations for podcast apps on Android?

I'm carrying around my a junked iPhone 5C and using it just for Overcast. I haven't been able to find any podcast players on Android that work as well for me. If I could find one, I could stop carrying two phones.
This is due to rent control.

Renters become more like homeowners when there is rent control. They essentially have an investment to protect. Their immediate financial situation (rent being due, much like a mortgage payment or property tax) is unaffected by neighborhood changes. The enjoyment of their neighborhood is affected though, and they seek to maximize this.

The difference between the controlled rent and the market rent is in some sense an income that the renter receives from the landlord. The higher the market rate rent, the greater this income will be.

Long leases may have a similar effect; this is voluntary rent control.
Perhaps, but perhaps it is just because you're almost guaranteed that you are giving basically unlimited money to a previously very poor person who has bad money management skills(the demographic that spends the most money on the lottery).
Show HN: The jq REPL for digging deeply into JSON, ijq
Yes, that's what I meant. Actually, both the Unix variant, "GIGO byte sequence probably UTF-8", and the Windows variant, "GIGO u16 sequence probably UTF-16", have cross-platform use cases. For example, the UTF-16 variant could be used when doing FFI with Java, or when reading Windows filesystems. Therefore, I think ideally Rust would provide both variants as cross-platform types, and OsString/OsStr would just be aliases for one or the other depending on the current platform.
Of course they are, they don't want to get priced out of their neighborhood by gentrification. You can live in an undesirable area for 20 years and have somewhat stable rent, but once the area gentrifies because of a crunch on housing availability, a developer's going to start buying properties, slapping on a coat of paint, and doubling the rent.

It's happening _incredibly_ quickly in Boston's neighborhoods one by one. It happened to The South End, Southie, Jamaica Plain, Somerville (not technically Boston proper but 10 years ago they used to call it Slummerville), and now Dorchester and Roxbury are gentrifying.

I own a single-family house in a previously undesirable area, and on 2 separate occasions I've had developers come to my door cold trying to buy my single-family house to tear it down and develop on the property.
If they have no women employees now, that might be enough to scare away a female candidates in itself. I didn't read anything hostile in the post itself, it seems to be more like "this is bad, how can we do better at this?" not "we are proud we have no women employees".
Senate banking bill rewards Equifax despite privacy breaches