skysight-inc/HackerNews huggingface dataset:
interface{} is not great but it is not void *. Type assertions (casts) on interface{} are typechecked at runtime and failed type assertions on interface{} cannot violate memory safety.
For a few months now I've been toying with the idea of a "mutual data fund." A social network that collects & anonymizes user data, pools the data on behalf of all users (similar to how a mutual fund pools investor cash), and the data is "invested" (sold to advertisers) by a management company (like an investment adviser) with the data always under the ownership and control of an independent Board of Trustees (same as a mutual fund). Just like a mutual fund, the "returns" from the data would be used to pay the investment adviser for operating costs + some flat % and the rest of the returns would be allocated to users on a pro-rata basis. So the people who use the platform more or share higher-quality content get more "shares" (the investment kind, not the social media kind) of the ad revenue than those who aren't on the site often or share fake news or just annoy the crap out of everyone else.

Most users probably wouldn't make a whole lot of money on the platform but they'd have privacy and ownership of their data and they might end up with $5 or $10 after a year on the platform.
PurpleRestore will refuse to work unless you have valid AppleConnect credentials, AFAIK.
Hi - so that we can improve our messaging, what about our mission or our voice makes you feel like we're trying to make a quick buck? One of the reasons we started behind a paywall is to actually not be quick in any way. We want to provide nuanced, thoughtful analysis. We started with a paywall so we could pay our journalists well and not be incentivized by clickbait. Charging a subscription allows us to be a more sustainable business and not just be a 'quick buck' scheme. What other business models have you seen working?
Nope. It's only true when all your code use safe subset/built upon a perfectly correct unsafe base (which is inevitable in a project like Chromium) with correct usage. Otherwise a single misused external call with unsanitized value can ruin all of your security guarantee.
A ‘Glass-Steagall’ law for tech companies
Unregulated financial markets draw crooks like moths to a flame. Forex used to be just as bad.

I wonder if there's anything to be learned from this? Perhaps deregulating markets driven by greed, margin, and leverage is a bad idea? LeT tHe FrEe mArKeT DeciDe?
How many remotely exploitable bugs in Java apps (that don't run arbitrary Java code†) do you see that arise from Java compiler bugs? I can't think of a single one.

If enough of a complex system is written in a language or run on a managed runtime that eliminates entire classes of exploits, then the developers will wind up implementing some optimizations and/or a way to write applications/plugins/extensions in C/C++. These mechanisms will open the doors to those exploits again.

(At least for now. Going forwards, I think we might be able to solve this one.)
> if everyone does this prices will get even crazier

So not viable after all then. The only solution I see is build higher and denser, and do it so much that it can accommodate the demand growth.
Try Gandi, CloudFlare, or Hover.
Which means its working well because captcha is a tracking tool.
Considering it's only half of the cut Apple takes 15% isn't very high
This seems like great advice, thanks for suggesting. I'll be doing this for my critical domains.
A very extreme case indeed, aviation is so highly regulated that any mention of it outside of the usual context is going to ring alarm bells. But I bet if he was putting them in custom racecars or such, they wouldn't mind --- because that's the whole reason they're selling those engines in the first place.

Since this whole Tesla parts thing came up, I've always found it ironic that you can easily buy an entire powertrain based on the stereotypical half-century-old American V8 design and put it into a not-so-safe hot-rod, register it and drive it on the road (not that I'm saying that's a bad thing --- I'm a car enthusiast myself), but Tesla will refuse to sell you even minor cosmetic parts and quote "safety" as one of the reasons (and meanwhile, their misleading advertising for "autopilot" continues to generate deaths.)
And f-droid better moderates (naturally) than any closed source stores.

Android is bloated of frameworks to enable adware kiddos to earn revenue. If it was the spirit of a regular linux distribution.......
For those interestes, if you produce anything for radio in Europe you need to keep the EBU R128 guidelines which are actually quite well thought out https://www.iconnectivity.com/blog/2017/6/10/ebu-r128-the-im...
Feels like we should have spaced repetition/Anki for highly-upvoted articles
>> The operation can be done in O(n) time -- essentially operating on each node once.

> Why wouldn't you do a pre-order traversal

Because then it wouldn't be O(n)
A bit of a tangent, but does anyone know if a "paper PhD" is still and option ? The first and only time I ever heard of it was during a lecture by Nobel laureate Dr. Shuji Nakamura[1].

IIRC, the University of Florida offered PhD's if you published 5 papers which he did in one year.

[1] https://www.youtube.com/watch?v=fUlR9DP6Me4&t=2074s
And it doesn't move anything you don't store on iCloud. So don't store things on iCloud and there's nothing they can access. For example iMessage messages aren't on iCloud in clear text unless you enable that feature.
> Rent means having access to liquid capital

No rent means you're spending more on housing, as you need to pay for someone's mortgage, costs and their profit, so it means you save less and so have less liquid capital, and also don't have any non-liquid capital in your equity.

> It also means: no property taxes, maintenance costs, stamp duty

No you're paying for all that, via your rent.
As far as I understand, 'lossy' would mean information was lost, right? But here it looks like information has been added.
I believe the scheme lets depositors prove that their own coins were included in the liabilities calculation. If some depositors never check, the exchange could steal their funds, but if it was a regular part of using an exchange, it would put a pretty strict limit on how much could be looted before it was noticed.
I agree with the author. Dave Ramsey is a great resource, he gives out great advice that's easy to understand and follow. But it's not the very best advice that will always fit for everyone.

I'd throw in a little bit of Jack Bogle, a little bit of Warren Buffet, and a passle of friends on Bogleheads.org. That mix should fit a lot of different situations.
Following interesting people generally has nothing to do with following celebrities.

People could post the same stuff on FB, Twitter, or email lists the hard part is finding stuff worth subscribing to. It’s really more about what platform creators use, and Twitter’s lightweight nature means a lot of interesting things end up on it.
>one app with three "skins" and three different brands, each a different level of "edginess."

They aren't a tech company as such but this reminded me of Coca Cola. There's Coke, Diet Coke, Coke Zero, Coke No Sugar plus whatever flavored variations they are currently doing. They are all slight variations on more or less the same product but it gives people the feeling that they are making a choice.
Sounds great; setting a reminder to check in on Facebook in a few years.

Not too happy that my data from my deleted account might actually be gone by the time Facebook becomes privacy aware.

Seriously, I saw the movie, it took a few college kids a few months; now a rewrite for privacy will take years?

They’re buying time, and I am pretty sure people are already willing to buy privacy. Why can’t they sell that?willing
Who is denying that sleep has rejuvenative benefit? I'm not. I know that sleep has a rejuvenative benefit.

Please try reading my comment or following the thread. I'll paste it here : "I was specifically addressing his point about the drawbacks of sleep - "There are several survival drawbacks from sleep, as it leaves one vulnerable."."

In other words, sleep has rejuvenative benefits and it keeps us away from predators. Sleep can have many benefits. You can stay up all night, but you'd miss out on the rejuvenative benefits of sleep. Or you can safely tuck away and sleep and gain benefits of safety and rejuvenation.
They can only do that if they know who you are.

So make sure that they don't!
I'm not defending Facebook. I'm not responding to a logical argument, therefore I'm not committing a logical fallacy. Whether someone believes user tracking is unethical or not is a value judgement, it can't be proven true or not true.
Also, Go makes for tiny containers. Very important these days.
>> People who are reading “math” code can be expected to understand mathematical notation, e.g. to be capable of reading a journal paper where an algorithm or formula is described more completely including motivation, formal derivation, proofs of correctness, proofs of various formal properties, ...

The majority of machine learning papers are very well stocked in terms of heavy mathematical-y notation, but are very, very low on formal derivation, proofs of correctness, proofs of anything like formal properties, or even motivation ("wait, where did this vector come from?"). Most have no theoretical results at all- only definitions.

So let's not overdo it. The OP is making a reasonable demand: write complex code in a way that makes it easily readable without being part of an elite brotherood of adepts that know all the secret handshakes and shibboleths.

A great deal of complexity could be removed from machine learning papers by notating algorithms as algorithms rather than formulae. For example, you can say exactly the same thing with two "for i to j" and two summations with top and bottom indices. Sometimes the mathematical notation can be more compact- but when your subscripts start having subscripted superscripts, it's time to stop and think what you're trying to do.

Besides- the OP did talk about code not papers. Code has to be maintained by someone, usually someone else. Papers, not so much.
I agree with you in principle, but I hope that things will change as people develop an awareness of things.

There are several dozen other companies that manufacture electric cars, and they will sell you shop manuals to service things, including the main battery pack.

As an intellectual exercise, searching for "leaf evb pdf" might lead to manufacturer procedures for diagnosing and servicing an electric vehicle battery system (with safety recommendations).

I know this isn't tinkering per se, but maybe tesla will someday do the same.
Interesting talk, but it really pretty much confirmed a lot of my assumptions about Civ AI. He pretty much admits that they are constrained on developer resources and AI code only makes of a small percentage of the game. Because of that, they have to make do with very naive assumptions about strategy. And because of that, they have to cheat to get the AI up to a level that's even considered fun.

At first I thought he seemed to be making a lot of false dichotomies, but really, he was saying, these are my only choices, given the overarching constraint on how much effort we can put into our AI. Basically, all of the AI decisions he talked about were small scale heuristics, with no ability to really look at the bigger picture, which is what the player is always doing when making small decisions.

And of course, personalities are a great idea, and not mutually exclusive with a strong AI. One thing I very much disagreed with was when he said an AI can roleplay, but a player wouldn't do that, the player just plays to win at all costs. But earlier on he even talked about one of the player types is people who play for a narrative. Those are roleplayers. So, especially at lower difficulty levels, it makes a lot of sense for the AI personalities to trump optimal play. But that doesn't mean you can't have a strong AI in general, that makes some limited sacrifices for the sake of fun.

Likewise with diplomacy. It isn't about making the game as difficult as possible. If that were the goal, you could just make the player lose when he loaded the game. It's about making it feel like you're on roughly even footing with your opponents, so that success has meaning. To that end, I would expect each empire to act in its own best interest, and therefore treat the player the same as it would any other opponent. It's also why diplomatic options need game mechanics to enforce them. As he pointed out, if there's no mechanic to stop a player from accepting money for peace, and then declaring war again, then there is no reason to every pay for peace. You should design these mechanics with player behavior in mind, and the AI should use them the same way players do. Think about how players behave with one another, make that fun, and then make the AI behave similarly. This wasn't possible given their constraints, but it's certainly possible in the more general sense.

As far as "making the game too hard isn't any fun" that's the problem. Too hard is subjective. What's too hard for one person is perfect for another, and way too easy for yet another. If anything, to please the maximum number of people, you'd have to write (or train) a very skilled AI that can compete with the brightest players. If you can do that, it should be much easier to tone it down or penalize it to make easier difficulties for the average and casual players.
> not being able to compensate for memory unsafety.

This is a bit of a simplistic view tbh. They have managed to drive up costs for 0 days on the black market. They have introduced auto-updating browsers to get security patches to users quickly. They have managed to reduce the number of security exploits. This is a big feat and major progress.

They have compensated for memory unsafety quite effectively. Maybe not perfectly, but well enough.

Yes, memory safe languages are wonderful. I myself am a rustacean and LOVE to RIIR. But their efforts weren't in vain.

Should they start thinking about adopting a memory safe language like Rust or Wuffs? Definitely.
I see xaml there, does that mean this is WPF even though it's c++ ?
some programs are happy to just have you tack a bunch of papers together into a dissertation. they usually still require you to write the actual document, though, re-explaining the work in each paper.
Wow. I'll be watching for more news on this one. Interesting.
I am happy to see support for spark from Microsoft and such larger organizations. Intel also added support to run spark over GPU however it requires the code to be modified. Does Microsoft require us to modify our existing spark code?
The browser can also ship with a pretrained GAN, so the site just asks for a picture of a cat and then the GAN creates one as needed, but nobody will know exactly which cat you saw.
195,000 USD on a hotel bill while lobbying the person that owns the hotel.
The transaction sequence in your example is not possible. A transaction output can only be used once as an input. To me, the operation would rather look like these three transactions:

100 Satoshi from A1
2 Satoshi to A2
98 Satoshi to Ax

2 Satoshi from A2
1 Satoshi to A3
1 Satoshi to A4

1 Satoshi from A3
1 Satoshi from A4
2 Satoshi to A5

Edit: Sorry I referred to "wallets" in my previous comment. This allows a scenario where the Satoshis are kept in separate transactions all the time. But I'm not interested in those scenarios. I'm talking about scenarios with multiple inputs and outputs. Where you can't say which of the inputs went which way. In this transaction:

1 Satoshi from A1
1 Satoshi from A2
1 Satoshi to A3
1 Satoshi to A4

You can't tell which Satoshi went where.
It is extreme, but Ford cares about liability in all cases, but most cases don't cross wherever line their lawyers have drawn. The idea that they don't care is all I was going for. That and it is a story someone would enjoy.
I wonder if Facebook UX researchers review feedback from threads like this? This seems like useful qualitative information for them to improve their product.

But then again, I wonder if their target population is different. In that case, it could be that Facebook is being strategic on what things to prioritize and they're banking on certain sub-populations, because they can't win over everyone, for their bottom-line?
Why not simply allow the user to control the js apis that are available/enabled, kind of like the camera/mic permissions? If sites simply cannot use the mouse events or window size events, they won’t be able to fingerprint. This grey box alternative seems like a complicated hack.
Jerry Cain – Programming Paradigms (CS107) Stanford University [video]
I honestly don't know how to explain it really well, but OCaml is much noisier than Haskell in my opinion. Many times when I see code snippets in OCaml they're not as nice as they look in Haskell, though they're really similar. The small difference seems to snowball when the code gets increasingly complicated.

Compare functor's definitions in either syntax:

module type FUNCTOR = sig
type 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
end;;

class Functor where
fmap :: (a -> b) -> f a -> f b

The latter looks cleaner to me. There are other ways you could write it (for example if you turned on explicit forall it would get messier.

At this point I start skipping talks at conferences when they're in Scala because the amount of noise in the syntax is near unbearable to me (and there's likely to be a haskell talk on a similar topic) -- OCaml is much better in that respect, but I still find Haskell's syntax to be easiest on the eyes. OCaml might be more pedantically descriptive though, it seems to be more explicit about everything.
Spark is intended to work on big datasets. It's machine learning capability is very limited and it's primary strength is processing huge amounts of data. I think it's unfair to blame it for 'failing' on small datasets
I suspect that's the biggest reason Google was so interested in "https everywhere". That removed detailed browsing visibility from a lot of entities, but not Google.
I Improve Myself
Lately, I made it a point to practice continuous self-improvement. Here's what I've been doing lately and I wanted to see if anyone else has a structured approach on improving themselves?

1. I carry around three blank notebooks; ideas, self-improvement, and study.

The ideas book is for jotting down ideas about things I might want to create. It prevents me from just rushing in.

The self-improvement book is a list of things I want to improve on for instance soft-skills like communication or health-related like eating.

Study - I tend to write in depth in this book. It contains many notes around algorithms, computer programming concepts I'm studying or even about books I'm reading.

For each entry, I write the date and time. e.g., Mar 6th 5:37 PM PST (California). I find it interesting to see when I wrote those notes and where I was at the time. I plan to document the actual location going forward as well.

2. Eating - I'm trying to cut back on carbs and sugar. I found over-time it does give me a sluggish feeling.

3. Walking - I walk around 3-5 miles every day. I find it relaxing, and it gives me time to listen to audiobooks.

4. Sleep - I need to improve this. Typically I go to bed between 1 am - 3 am and wake up at 6 am for work. I want to try and go to sleep around 11:30 PM.

5. Remind myself of positive things in the morning. This is something I've been working on lately. I found it to be beneficial and it changes my outlook throughout the day.

How do you structure your life to improve yourself?
Something on similar lines is https://www.thebetterindia.com/. It has positive stories , though based out of India only.
Deep Learning GPUs – 2080 Ti vs Tesla V100. 2080 Ti is 73% as Fast & 85% Cheaper
Here are a couple of relevant quotes from Freeman Dyson (who does not have a PhD):

“Well, I think it actually is very destructive. I'm now retired, but when I was a professor here [Institute for Advanced Study in Princeton], my real job was to be a psychiatric nurse. There were all these young people who came to the institute, and my job was to be there so they could cry on my shoulder and tell me what a hard time they were having. And it was a very tough situation for these young people. They come here. They have one or two years and they're supposed to do something brilliant. They're under terrible pressure — not from us, but from them.

So, actually, I've had three of them who I would say were just casualties who I'm responsible for. One of them killed himself, and two of them ended up in mental institutions. And I should've been able to take care of them, but I didn't. I blame the Ph.D. system for these tragedies. And it really does destroy people. If they weren't under that kind of pressure, they could all have been happy people doing useful stuff. Anyhow, so that's my diatribe. But I really have seen that happen."
Yep that’s the real solution - just build a lot more (not “affordable” housing just lots of any housing).

Unfortunately between existing owners working to kill any new units and renters in SF claiming that building more increases rent (and vying for rent control which makes things worse) I think it’s just hopeless.
Facebook actually pretty useful for events and looking up businesses if you have a fake account with no friends. I recently disabled my account but there were things I missed so that's why I made a fake account.
I've always wondered that, and is it an inherent 'flaw' with social media platforms, and FB just got so big that the coming decline will be just as catastrophic as MySpace and Friendster, but from a much greater height?

FB has obviously made very very smart acquisitions in WhatsApp and Instagram. I get the feeling these were primarily made because of the excellent data they had through their VPN app tracking service (as you could see the hypergrowth in real time and know exactly who to pick and how aggressively to go after). I'm sure they have or are working very hard on some alternative to this (maybe buy metadata off ISPs or become a network/transit carrier in their own right so they can see the IPs where stuff is going?).

But I do wonder if all social networks just are fads. You have a problem that as the network gets bigger, it starts becoming less interesting to you. Your social circles start overlapping (you don't want to post anything because it may offend someone, coworkers, grandparents, children), which stops everyone posting, which causes the whole thing to grind to a halt and become less interesting.
>It surprises me that the majority of my family can still tolerate Facebook (and instagram/whatsapp etc.) despite what is known.

I'm not sure why it's super surprising. Facebook's data collection has never personally harmed me. I like Facebook because it helps me stay connected and tools like whatsapp/messenger are some of the best cross-platform messaging tools.

Yes, Facebook has downsides, but I've never experienced a privacy-related downside.

Someone should provide a link to an article that exposes some really nasty stuff about Facebook--I already know Facebook knows my address and my likes/dislikes and probably what sites I browse (since many sites use Facebook tracking), and it reads my messages, but in a way, I don't really care about those things because Whatsapp and FB Messenger are free.
I've lived with friends a number of times and I would add the qualification that you must ensure you've all got the same desire for cleanliness (or uncleanliness). Resentment will always build if somebody thinks the other is being unreasonable in the level of housework they're willing to take on, and you will end up losing friends.