skysight-inc/HackerNews huggingface dataset:
I still live in the world of heavy desktop native apps (WinForms & WPF) and one thing I've never been able to understand about all of these Electron discussions is what benefit does Electron bring in the first place? Why not simply run the application and connect to it using the local browser instance? For convenience a link can be placed on the users desktop.
This reminds me of an old story of how the Japanese idol band AKB48 added a new member who turned out to be a computer composite in 2011, to think what they could do with technology today and in the future:

https://www.youtube.com/watch?v=piZ2TkdK4Dw

https://en.wikipedia.org/wiki/Aimi_Eguchi
Me too!
I shave in the shower using inexpensive blades from darko and soap. Someone gifted me cremo shave cream. A tinny dollop is even better than soap or brush (at least in the shower)
> Case sensitivity is a mistake in every platform that embraces it.

> I've used systems that are case sensitive and systems that are case insensitive, and the latter are responsible for an order of magnitude number of bugs more than the former.

Do you have "latter" and "former" transposed in the second quote? If not, I'm confused.
Let me set the record straight so you don’t have to guess about whether I’m conflating far left and center left:

1. I’m a moderate liberal by every measure.

2. I don’t view CNN as far left; while it is shamefully partisan, no more so than Fox News.

3. I don’t want the government to censor anyone, I’m more or less a free speech absolutist.

4. I don’t think tech companies in general are far-left; only that a handful appear to contain a sufficiently powerful contingent of far left ideologues who feel comfortable using their company to suppress dissent (social media platforms censoring moderate liberal and conservative viewpoints, Google firing Damore under patently false pretenses, Mozilla pushing out Eich, etc).
Fair points, but we are in the 21st century, and we should expect a nicer world out there, with the UN, global free press, etc.
I think you looked at my example and thought I was trying to make a much stronger claim than I was really trying to make. Your original post stated that experiments have shown environment can account for only 1-2% of the variance. I used the Polgar sisters example to show how preposterous that is. If Laszlo Polgar hadn't trained his daughters at chess, they wouldn't have been 1-2% worse at chess, they likely wouldn't know how to play chess at all. That's a huge difference!

It's such an obvious claim that I feel almost embarrassed in making it, yet it's an important one. If Richard Williams had never handed his daughters tennis racquets, they would never have won Wimbledon. Similarly, it doesn't matter if your child scores 180 on an IQ test, if he never cracks open a math textbook in his life then there's no way he's winning an IMO gold medal.

Environment makes all the difference. Math textbook beats no math textbook every time. Same goes for tennis racquet and chessboard.
1) Gained back some weight due to holiday stress/drinking. Going to hard cut for a bit and try and get below 15% BF.

2) Try and get into some professional programming, deep into the internals of golang.

3) Do the entire "Math for Programmers" Book

4) Get into FPV Drone Racing. Autonomous flight. Have some ideas surrounding INAV and a 5" Quad that I have.

5) Figure out how not to dread existence.
But this papers over a lot of useful information. An accidental is clearly marked when we use a key signature. A stack of twelve tones does not clearly mark which tones belong to the key center and which do not. This is very useful information when reading.

We use twelve tones, but most harmony is arranged in seven note scales. Representing those scales easily is important.
Sri Lanka : https://www.nytimes.com/2018/06/25/world/asia/china-sri-lank...

Ecuador: https://www.nytimes.com/2018/12/24/world/americas/ecuador-ch...

Montenegro : https://www.reuters.com/article/us-china-silkroad-europe-mon...

Pakistan: https://www.reuters.com/article/us-pakistan-silkroad-railway...

and now Kenya
The OpenGL graphics library and the GLSL language.

I have coded some shaders before, for some uni projects but I didn't realize the opportunities that this field can offer.. until this year. It's not just about 3D graphics; it's about making programs to be executed on the GPU in a very intuitive way.

I plan on using OpenGL shaders in a project in progress that I will share here on hn.
Git gud.
'we're gonna make this fucking bazaar tighter than any cathedral!'
Yep, we all know it's not slave labor if you get prisoners to do it.
Almost nobody can afford that, not anymore. If your application can be written in Electron and provide 80% of your features, someone's going to do it and eat your business alive. Especially if they can figure out how to leverage network effects to use their users to drag your committed users away.

Unless you have a core feature that _can't_ be implemented in Electron for some reason (I guess you're writing a game or something similar?), or have some other mechanism for locking your users in, writing a native app in 2018 is just putting your employees livelihood at stake.

It's not cool or fair at all, sure, but hey, us Marxists were telling you this will always happen for over 150 years now, and y'all still acting surprised.
> it reminds me of the Onion satire (maybe it was not the Onion) about the laptop with just one big button instead of a keyboard.

The New Mactini: https://www.youtube.com/watch?v=BGGOn-H7s3Q
When you get into international, your intuition breaks down. Unicode is a zoo. Greek, for example, has TWO lower case forms of capital sigma depending on where it's placed in the word, so how would your system handle that? Latin has similar quirks.
> So far I think the trick is to live a poorer lifestyle than your income suggests you ought to, which drastically reduces all financial and employment pressure

Yes. And then if you can find a high-paying job that allows you to work less than the typical 40 hour work week (eg: 20 hour work week) it'd be perfect, don't you think?
It’s the starting salary at biglaw firms. The law profession is very guild-like in it’s hiring practices.
LASIK eye surgery. I had a lot of astigmatism and a little bit of myopia. I didn’t mind the act of wearing glasses (except for active activities) but they don’t correct astigmatism well. I see better now 11 years post surgery that’s i ever did before. I wished I did it 10 years earlier.

Be sure to wait until mid 20s when your eye have stopped growing/changing quickly.

Be sure to find a high end dr that has a high candidate rejection rate. If they accept you, you have a very high chance of success.
Greece should have thought of that:

- Provide unfettered economic access to China for 20 years in exchange for having the country's debt paid by them.
- Seed a few alarmist articles.
- Wait until USA and EU go crazy over that and summarily agree on a debt write-off.
Not ok, just better.
Your article talks about the same issue as the one being discussed here. And my comment is to shed light onto this issue from the other side (debt issuer). Anything wrong with that?
Where did this "8 hours" figure come from? I find it funny that people want to get this mysterious 8 hours of sleep while here I'm wanting to sleep less (I routinely get 9-10 hours or even more every night despite drinking coffee 2-3 times).
> disrespect geographical boundaries that gave rise to the magnificent diversity on this planet.

You mean boundaries set by colonialism?

> The only loss that I mourn is the set of unique cultures and heritage of the many people inn Africa.

Again, what about the ones destroyed by decades of European colonialism? Many African countries speak French and English, ever morned the loss of their old tongues?
This morning is getting stranger with every post or comment I read.
In the USA, the average age when women have their first child is 27, and the average age of marriage is 28.
Something changed when information technology became ubiquitous. In the world of the aforementioned DFW, successful automation requires a lot more than just getting bored enough to build something, it required more bureaucracy. More bored humans doing boring things.

Computers truly are magic.
Don’t trust, verify: A Bitcoin Private case study
This is a good article. The anecdote about Henry Ford’s generator probably isn’t true though: https://www.snopes.com/fact-check/know-where-man/
> The entire West has taken advantage out of African nations but God forbid someone else tries to do that now.

As an American citizen, yes. We're not perfect by any means, but we're no authoritarian regime such that China has.
Chinese Scientists create process to turn Copper into 'Gold'
I truly wish you guys the best. I'm all for any kind of new approach to economic development.

I would caution your use of "without political strings attached"

Trust me, anything at that scale? It has political strings attached. What concerns me -- and why I commented -- is the perception that there isn't.

Large groups of people working together always do things for political reasons. Not altruism, morals, or some other attribute an individual might have. Large groups of people working together are not just some huge version of a person.

I don't know the details here, and I think even if I did a lot of it is going to have to shake out over the next few years anyway. Best of luck! I sure hope this doesn't end up screwing over folks in Africa yet again under the guise (and perhaps honest mission) of helping them.

By the way, the same goes for folks who oppose such efforts. Groups like spinning things as if they are all of one mind, but these are complex decisions with many groups and levels of politics to consider, not good guys versus bad guys. That kind of stuff is just the pablum they sell to the folks back home.
Webpack with css, less, sass assets with React as a SSR library. What's the current solution now ?
If the US government takes a dependency on Amazon, then amazon will foreseeably become too big to fail.

Making government purchases go through a platform lobbied by amazon seems like a bad idea for the free market...

Especially given amazon’s history of “competing” competitors into dust.
You get access to some features that a browser doesn't allow like better access to a file system or taking a screenshot.

Plus it gets rid of visual clutter like the tab bar and treats your app like an actual application rather than a simple website for viewing.
Definitely find a new job. Take the courage to face the uncertainty. That's what I did, and I'm happier than before.

Think of it is as the mental equivalent of all those physically risky activities people do (mountain climbing, etc.). It can actually be quite exciting.
5 papers and articles about project management in data science
This program uses for example printf, which is provided by libc, so it needs some form of libc to run.
Untitled – Buy Trustpilot Reviews – Buy Positive 5 Star
That’s right, thanks for the reminder! Some syntax is ambiguous yet results differ. I think that’s why I liked the unambiguous module syntax very much, it made things explicit, without much cost.
It sounds to me like it is a temporary holdover from the earlier plan to speed up the implementation of Phase 1. The idea is that it's better not to add the complexity to parsing while the minimal kernel is figured out, and then layer it on in Phase 2 once the most important bits are working.

I do find it a little annoying personally, and it will hurt my personal adoption slightly...but I understand why they would tackle it in that order.
I agree. One aspect I like is that it forces you to put your daily life aside and focus on the current moment. I really like scuba diving for this same reason.
Why Chinese?
> I wonder how schema information/introspection from the back end could be used to improve this further.

Yes, Apollo's schema validation is really awesome as we can find wrong type before we run code. I would like to add feature in the future.

Thank you for your suggestion!
Bitmain's layoffs will make them stronger
What kind of foundational software are you referring to? Honest question.
Most people here are talking about the dystopian aspects of this. But for a graphics programmer, this is astounding news. We're probably looking at the future of cinema.

This is the way to build a next-gen renderer.

Laarc thread: https://www.laarc.io/item?id=158
Simplicity, especially, code splitting at build time and run time is THE software architecture you're looking for.
I drink 2-4 cups of tea a day but don’t (think) I have trouble sleeping. I fall asleep easily and generally sleep soundly (unless the kids wake me up).

Previous to quitting caffeine did you think you were sleeping well or did you think you had trouble?
I'd recommend reading "The Four Pillars of Investing" by William Bernstein (and making any adjustments for Australia).
If you get the right boss who gets it it may be possible. I'd posit that if you gave me every Friday off instead of a nice raise, you'd still get as much productivity out of me.
That's been on my TODO for a long time... How do you figure out the condidate rejection rate?
Statistics applied to black-box component mishaps have a couple things going against them. 1) you need a relatively large number of failures to build a good sample of data and 2) even if you have the probabilities in place to quantify risk, you may never understand the root cause of the failure to fix or mitigate it.

For a large expensive system, the presence of either of the above may be unacceptable. Take something like the space shuttle program. If it was heavily reliant on black box AI, you might be able to build probabilities through tools like monte carlo simulations but you would be hard pressed for the government to put billions of dollars at risk without understanding the root cause of simulation failures
Your inappropriate metaphor; no one else's.
> However the majority of the architects I encountered are completely hands-off on the development part which causes lot of problems like teams that are not empowered to move fast and ridiculously complex architectures in MVP stages of products

I agree with your observation but IMO there is no causality, it's a matter of competence of the architect; and the architect is (should be) in the team, not outside.
Running a server app and pointing your browser to it may work for you. Less sophisticated users will struggle with this approach starting with coordinating two things. You are also getting some bundling advantages with it - in particular electron contains node (and the right version with which the app was tested) which is also not a given on innocent users computers. Last but not least one gets support for building bundles for multiple OS platforms.

Java apps on the desktop became more prevalent and usable when Java was bundled in. The Electron is not so different from what worked for Java.
Ask HN: Worked example of belief propagation
Hi,

I have been interested in better understanding the belief propagation algorithm for a while. There are some good resources out there but nothing has really filled in all the details for me. I guess the thing that I would really like to better understand is how this would be implemented in code. Christopher Bishop has a good explanation of how it works in his book 'pattern recognition and machine learning' but I can't quite wrap my head around the notion of passing functions as messages. One thing I am not sure of: is this message passing of functions merely descriptive or is that what you explicitly need to do?

Any help is greatly appreciated!
No one takes money from the IMF unless they are so screwed that they have no other options. The reason they have no one willing to lend to them is that their government has enacted policies that destroyed their economy and the IMF requires concrete changes to get them back on the right track.

The alternative to taking an IMF loan is so bad (collapse of country) that they take it. It isn’t the IMF’s fault, it’s what happens when those in power loot their country via corruption, huge bloated public sectors, unsustainable pensions, crony capitalism, etc.
Offtopic: I've never worked in anything that has > 100 (200 on good days) users. When you have >10k or 100k users, what really changes? Do you have to rewrite everything? Do you spin up more machines? Profile & optimise any/all bottlenecks to eek out more perf? Am really curious as, am not sure how something of that scale looks like. I always imagine those always are rewritten in C/C++/Java or Rust(current years) or have very special architecture etc. :)
2019 will be a breakthrough year for food robots
Show HN: Shell scripting just got a whole lot easier with ABS preview 2
> Look at the music industry, whose total value peaked and started falling, but is now back and has exceeded earlier peak

Would you mind citing your data for this? What I've seen suggests the opposite:

https://www.ifpi.org/news/IFPI-GLOBAL-MUSIC-REPORT-2018

"Despite the recent uplift, revenues for 2017 are still only 68.4% of the market's peak in 1999."

And as far as I can tell, that 68.4% is based on nominal revenue. Inflation adjusted it works out to 2017 revenues being less than 47% of 1999 revenues, if I calculated correctly.
I feel the same way. I played SimCity, but SimCity 2000 is the version that feels like "home" to me; I like the grid constraint, and I love the art.

I bought the edition that came with the Sim City Urban Renewal Kit, which was a way to create your own buildings using the graphic editor. It even had support for animations using palettes! I had a grand ol' time creating gawdy, neon-brutalist monstrocities to shove into my cities.
Unironic exceptionalism at display right here.

Colonialism is only bad if it's not Europe/US doing it. /s
Question, so I better understand where you're coming from: are you a musician, and if so, at what level would you consider yourself?
>Speaking furthermore, I do find it highly concerning just how much of an echo chamber this place is in regards to this notion of "Chinese colonialism" and Chinese "debt - traps".

Western media should not be trusted to report accurately about foreign non-western countries. They almost never do.
Ask HN: What are your favourite Apple Watch apps?
This is how Apache Cordova (previously PhoneGap) works.

[https://cordova.apache.org/]
> and get it right, it's a comma not a dot

I would have upvoted your comment but for this. In the Anglosphere, we always and without exception use a dot for decimal fractions. Yes, many other cultures use a comma, but when writing English (as you yourself do) one always and without exception uses a dot.

(yes, I'm aware that ISO 8601:2004 states that the comma is preferred: it’s simply wrong)
Supposedly genetics plays a part in whether someone is a night owl or early riser.

Ive always been in the night owl camp, however an interesting experience I have had was when I went on a full 4 day water fast. By day 2, my circadian rhythm completely reset and My 12-8 sleeping schedule became 9-5.

As soon as the fast was broken with a dinner around 7pm, I became wide awake beyond 12a rether than getting tired at 9p.

Dr satchin Panda has been researching body clocks and food and has pointed out that the ingestion of food starts the liver’s clock and kicks off bodily processes tbat start the clock. So it seems that food plays a very large environmental role in our sleep schedule.
‘A Christmas Story’ Director Was Killed by an Illegal Alien
Most desktop software does not use more than 1 core because most desktop software does not need anything near 1 full core. How much processing can it take to show you a button?

That does not change the fact that some software does need more, and people are wise to dimension their computers taking the largest usual load into account, not the average one.

That said, the point about memory locality is good. It is just not as important as the author makes - data tends to have locality, even physics pushes it there. But the point about non-parallelizable algorithms isn't good; who cares about the property of your algorithm? If the problems allow for parallelism (with local data), dump the algorithm and get one that scales.

Also interestingly, the authors does bother to link the limits to the von Neumann architecture, but didn't think about using the extra cores to JIT-compile the binaries into some other architecture...
If they get the funding for this from the government we'll be hearing about it from some overzealous spending hawk congress person next EOY.
This would make it a much better idea to run on a machine with only the cores you are using, though, yes?
A Hedge Fund Makes Billions Off Americans’ Underwater Mortgages
Personally i often start work at 10am after a breakfast, so by 12am i'm just not hungry yet.
I've become parallelism optimist thanks to Rust.

The borrow checker basically doesn't even have a concept of a single-threaded program. Everything you write in Rust is required to be thread-safe. This makes Rust appear more difficult, but it's just front-loading the effort required to make the whole program thread-safe (which to me felt nearly impossible for non-trivial C programs). From there you can sprinkle Rayon all over the place, send async work over channels, etc.

The piece I'm missing is "Amdahl's-law-aware" profiler that would show not just where any code spends time, but only where the unparallelized bottlenecks spend time.
Ask HN: Do you think my math website is a waste of time?
Quick tangent: I'm trying to avoid this guy's fate https://www.youtube.com/watch?v=UCgoxQCf5Jg

My math website, which I haven't touched in several months and I think will take about 4 years of my free time, is https://regressionbuddy.com.

There are only three posts so far (with one in review) but each post takes about two weeks to do.

The main idea of the site is that you can do a few problems on it a few times a week so that you don't forget the math you spent years learning. But also, the non-wordy appendix is the kind of quick reference that I like to use (don't have to reread through paragraphs just to get to the point).

So imagine you were to spend four years of ALL your free time on a project. Also, you are not rich or particularly intelligent. If it were a math website that thousands of people used and actually found helpful ...that wouldn't be too bad (imo). But if you spend all that time and no one finds it useful then I'm afraid that's a little bigger than just a failed project. That's more like a failed interpretation of the world around you. That's more like, well, going down the rabbit hole. No one wants to be the fool who spent 4 years on a math website that never caught on.

Whenever I google a math topic I expect to get a mix of pdf worksheets (with or without answers), 10 minute youtube videos (with or without answers), and horrendously formatted math websites. Yes, there is brilliant.org but they seem to be a typical business (social media, popup login screen, click-bait questions) and less focused on providing an easy and open reference. Plus their appendix isn't responsive and is too wordy.

So I think the site can still fill a niche. But while I am working on the site I am getting worse at math and drifting hopelessly away from my goal of learning machine learning (which I would have achieved by now if I never got distracted). I still want to learn so many things that could get put off for years if I stick with this site.
AFAIK, Netflix does not stream out of AWS, but instead "just" runs their application services on AWS (which is still a significant workload).

I seem to recall they offered a rack full of their own caching equipment to medium and larger ISPs (to save both sides streaming costs while providing better service to Netflix customers). Basically a private app-specific CDN.
I think I remember playing that in Russia, too - we had friends who had imported video game consoles, and that helicopter game looks very familiar.
In Java `x` is reserved for time zone offset: https://axibase.com/docs/atsd/shared/time-pattern.html#patte...