skysight-inc/HackerNews huggingface dataset:
Is C/C++ still worth learning if o want to create some models from scratch (new layers or different paradigms)

I hear that C++ is a nightmare to work with and was wondering if Rust,Julia, or even Swift would be worth learning instead.

I know Python but deep learning frameworks seem to be written in C++, so to come up with new layers I need to understand C++, which I was told has lot of peculiarities that takes time to pick up. Compiler isn’t also very user friendly (what I’ve read)
> It is possible to take someone's lived experience seriously while still realizing that they don't have all the answers and they have biases.

That's excellent advice for almost any encounter in day to day life, including tech support. Something that the people I work with love is that if they say there is a problem, I believe there is a problem. It might not be specifically what they said, or what they said might be impossible, but if you can picture their point of view, their knowledge, and try to imagine a situation that would look like what they described you can often dive directly to the problem.
> Of course, good camera software is a good thing and for the segment of society that's enthused about photography it's going to be essential. I'm just not convinced it's the secret sauce to mass appeal.

We already have the hard data: almost without exception, people who use phones want their phones to take nice pictures.

For reasoning about camera software, it is entirely reasonable to assume that “the segment of society that is enthused about photography” is basically the exact same segment as “people who have phones”.

If you don’t believe me, show me a popular smartphone that doesn’t have a camera. :)
They actually don't precalculate, since Haskell is lazy. This kind of construction of the infinite data structure and relying on laziness is a really typical trick in Haskell. For example:

fib = 0 : 1 : zipWith (+) fib (tail fib)

Indeed, the way the author has written it would seem a little strange to most Haskell programmers, I think, who would just write (in this idiom):

mapIdx f xs = map (uncurry f) $ zip [1..] xs

fizz = ["", "", "Fizz"] ++ fizz
buzz = ["", "", "", "", "Buzz"] ++ buzz

fizzBuzz = mapIdx f fbs
where f n "" = show n
f _ v = v
fbs = zipWith (++) fizz buzz

main = mapM_ putStrLn $ take 100 $ fizzBuzz

Though usually you would just write it a more typical way

f :: Int -> String
f x | x `mod` 3 == 0 && x `mod` 5 == 0 = "FizzBuzz"
| x `mod` 3 == 0 = "Fizz"
| x `mod` 5 == 0 = "Buzz"
| otherwise = show x

main :: IO ()
main = mapM_ (putStrLn . f) [1..100]

But, yes, I don't find the semigroup connection particularly illuminating.
> The words catamorphism, semigroup and monoid barely make sense to most programmers.

Over the last few years I have absorbed a lot of these terms via professional Haskell development and have come to the conclusion that it is quite unfortunate that most of us tend to shy away from this unfamiliar vocabulary. It turns out these are very precise (mathematical) terms which describe common things we see every day in programming.

Addition, multiplication, and string concatenation are all monoids (described as: an associative binary operation with an id element). This might not seem useful to know on the surface, however, once you discover that you can write generic functions over any monoid you can start eliminating large classes of errors that tend to turn up in software development due to the DRY principle.

> An extreme attempt to simplify?

It turns out that the more generic you make something, the harder it is to do the wrong operations on it.

id :: a -> a

If 'a' is a generic type value for all possible types, is it possible to return anything other than the initial value passed in?
What is the significance of four years? Personally, I prefer to talk about my three year return.
What usually happens is that people get something working, think they now know ML, but don't even generally know enough to understand the things they did wrong, and never end up getting to the theory.

The best approach is to learn both concurrently. Learn some theory, apply it and understand that applications including pitfalls, then learn a bit more and repeat. Incremental learning with a solid base. It's fun to hate on academia but this is how experts with deep knowledge of a domain get to where they are.
I'd rather describe it as mathematical code golfing.
It could be bad hardware, you are right. I doubt the issue is faulty hardware since the same parts work in Linux, but the ultimate point that it could be something else entirely and not Microsoft's fault is of course true.

This is a forum though. We're here to talk and share our experiences and anecdotes. We don't have access to any real statistical data regarding the amount of bugs and issues that people experience with Windows. What we can do is collectively share what we have experienced because we enjoy talking about it, or we want to try and see if things are getting better or worse on average. I think you can get a reasonable view of how buggy / how many issues people are experiencing for a given product by the ratio positive posts / negative posts.

I never had problems with Windows in the past. I now have a lot of problems with Windows. Take that however you will.
You are, forgivably, projecting several assumptions onto my words. Give me an attempt to clarify my intent further.

As I explained in another reply, I am not advocating for keeping up to date with the news so much as I refuse to absolve smart people from accepting responsibility for confident media literacy, and it's hard to be media literate without at least parsing what's being reported so that you can reason about it, even amongst people who are in your bubble. I am suggesting that if you think you can avoid this step and still be able to hold your own in a discourse, you are willfully proving the Dunning-Kruger effect.

Our goal should not be to enter a conversation intended to change the racist uncle's opinion. That is, indeed and sadly, a fool's errand. But it's also the wrong tactic.

I would argue that the #1 goal of such a family dinner should be to listen compassionately, being the progressive that defies all of the stereotypes about elitist, know-it-all coastal intellectuals, and choose your battles really, really carefully. At the very least, the other people observing are judging every subtle nuance of what's going down, and even though uncle racist will still likely be a terrible person after dessert, the other six people at the table will find themselves much more confident that you quietly made him look like an asshole.

The left is far too hung up on the shallow win of a "fully pwned" outcome, where the racist uncle is sobbing and begging for forgiveness and promising to lead a better life. Not only is this a stupid goal, it's insulting to the fact that your racist uncle probably has some ideas that are not fully wrong. The notion that the left is right and the right is dumb is roughly 95% of the problem.

I am typically not quick to delegate my points to video, but I was really impressed by this Big Think: https://www.youtube.com/watch?v=zFfWv0EnHQw
Moderator mistake. Not sure why. Fixed now. Thanks!
In my experience it’s easier to manage permissions on iOS and it’s easier to see which apps used them. So while app vendors probably try to include the same spying software on both platforms I’m able to restrict their data access in a more straightforward way on iOS.
Sure. But that's begging the question. Clearly, the "back row" of society was once much more mobile than it is today. What's changed?
I left a longer reply on another comment, but if you're interested and willing, I think that this Big Think clip sums it up (for me): https://www.youtube.com/watch?v=zFfWv0EnHQw
An election cycle.
> It's not a security barrier (malware can bypass it, or get the user to)

All it needs is the user to have one of many buggy programs installed on their computer, for example Steam. If you're doubtful of this, replace the steamservice.exe executable with one of the same name that does whatever you want (doesn't require a admin privs and can be done by any user on the machine) and then reboot - it will run as admin with no prompt. Source: https://nvd.nist.gov/vuln/detail/CVE-2015-7985
PS2 emulator works at full frame rate under it--ordinary GUIs should fly.

There's something else going on there...
Are you selling the addresses?
In my waspy American family, nobody asks for help or even would let it be known they are in need. It would be an embarrassment. We are individual capitalist and you must not be weak!

That said, there are a few deadbeats who try to take advantage by always being in need. But only to finance their life of leisure, not real need.
The original 8086 had a six byte instruction cache (the 8088 in the original IBM PC had a four byte instruction cache). If you modify an instruction less than six bytes away, it won't be seen by the CPU unless you issue a JMP (or CALL) instruction. It was not normally that big of an issue (just make sure you modify the instruction from far enough away). You can use the fact that the 8086 has a six byte instruction cache and the 8088 a four byte instruction cache to determine which CPU the program is executing on.

These days, I think you would need to 1) have memory pages with code with write permissions, 2) possibly flush the instruction cache and 3) hope no other thread is using said routine. With today's security concerns, 1) will not be likely, 2) possibly requires elevated privileges (I don't recall---I've only really done ring-3 level code on x86) and 3) is probably okay in a single-threaded program.
http://archive.md/qfoN9
The problem with this is that starting off, it's getting no likes, and to a human eye, the output all looks the same.

If one day it does get some attention, that doesn't mean the people who like it will differentiate between the images.

The dimension of variation and the fitness function just aren't matched up.
On modern IA32 and AMD64 architectures it involves the instruction cache in the cache protocol, so it's all done for you.
One of my kids fetched up without money for a ticket at a transit terminal a couple towns away when neither myself or my ex had a car in the days before smartphones.

Pretty simple: phoned the station, they paged the kid, gave him a ticket and a payment form which I was glad to take care of when he got back home.
What
Happens to the addresses that are entered ? Privacy ? Any info about that
What are complex integrals used for in machine learning?
Yes, the Swiss screwed up when they handed suspended sentences to Swisscontrol management who condoned working conditions at the Center in Zurich.

It's a problem that negligent management that causes death and misery to hundreds and thousands gets off as easily as Joe Random who though his negligence killed just one person. It does cause contempt for the law. At that level of responsibility you need strict liability, and the hammer needs to fall. Otherwise you end up with the 737-MAX.
Sure, but there are enough countries out there that fall into both the "reliable enough connectivity" and "government control of money" parts of the Venn diagram that this is still valid.

And the world is only getting more electrified and connected as the years go on.
Modern news sites in a nutshell: we're going to write a 10 000-word essay on how beautiful the movie theater is and how people are frustrated.

We're going to show a total of four pictures of the movie theater (one exterior, one cropped exterior from same angle, two interior shots).

We will, however, lazy load graphical ads every two paragraphs.
:D
+1
i m not so optimistic. The old internet died because it's not as profitable as the new internet, not because it's not sustainable, but because it doesn't stand a chance to grab the attention of makers, when compared to the obscene profits of the new internet. People either build a B2B SaaS (which is assumed to have higher unicorn probability), or go work for Faang. communities are over
IIRC, it took me 4-7 hours to load 600GB of uncompressed data to the PostgreSQL after disabling WAL and tunning some config variables. I didn't have time to test all possible speed improvements.

After import, it takes 3-6 hours additionally to create indexes for those tables.

I think the main problem was that I had text indices. I'm not an expert in RDBMS and used a simple join that was taking ages to start producing the actual data. There are definitely a lot of ways to tune such queries and PostgreSQL configs, but I wanted a simple and universal solution.
If I had to guess I'd lean to thinking manufacturing an artificial muscle like the hearth is is a lot more challenging that an artificial joint like the knee is. Also from what I've seen people who get knee replacements tend to be people with a lot of years left to live to want to ski and run on them, whereas someone who needs a hearth transplant is probably nearing the end of their lifespan.
This is a great idea , it all comes to privacy on the address that is shared. How are those preserved
Interesting phrase "data prostitution".

Google's business model worked well until everybody was led to think that that model is "evil." I am fine to trade receiving some ads with free services. But unfortunately that is not the full story.

The data they collected started to be used for evil ends so there is some truth.

However as far as I know, on the current Internet having full privacy is an illusion. Your ISP or VPN provider in some regards know more about what you do when you are on the Internet than Google does.
Small suggestion for UI improvement: while hovering over a tile, and pressing (say) the R key, you could rotate the tile by 90 degrees.
Ted Bundy didn't even know who his dad was.
> Names should be easy to type. [emphasis in original]

I see. This is why your language is called "K".

Permit me to disagree. Reading code is harder than writing it. Names should be easy to read. Typing can be assisted by autocomplete in editors -- already an old technology.
That's why we need lawyers on a payroll that would figure out all the details.
The assumption by framing that telemetry programs are “often” anything notably weakens your argument. A collection of examples of different entities misusing telemetry over time would strengthen your argument.
Ah, yeah, looking into it more it seems the "barefoot" fit is really important to some folks. That explains what I was missing.
I subscribe to both as well. They both have journalistic integrity and try their best to report facts without bias, but I think it's a little disingenuous to suggest that their own biases don't unintentionally leak into the publications.

> It's just what they choose to cover.

I think these choices matter. Based on the stories they choose to run, the NYT comes across as undoubtedly intersectional, a bit globalist, and pro-market in the Bill Clinton sense. In contrast, the WSJ doesn't write much about social issues and is a more explicit proponent of free trade. It's a subtle distinction -- I'm sure the staff of each are amiable toward each other and mingle freely in New York City -- but if you had to collapse all their viewpoints into a single point on a 1-dimensional scale, they would land on slightly different places on the left-right political spectrum.
I've had problems with Windows in the past and now I don't. Does this information help you in any way? Does it contribute something of value? No. All the anecdotes about stability and usability are mostly just noise masquerading as useful discussion.

Even with potentially important issues, like privacy, nothing has changed in the last 2 years. The horse is so beaten to death it's unrecognizable. For those who really care, they've moved on and probably to an OS just as bad, if it wasn't Linux. There's no value to this conversation and even the original article isn't anything new or interesting.
I'm glad the CIA is doing something; I guess virtual fencing hasn't really been a thing since the Summer Olympics tie-in games of the 80s. I'm surprised, really, given the existence of "Bus Simulator", "Farming Simulator" and so on, I would have thought there would be lots of ultra realistic virtual fencing. But a minute or two Googling didn't turn anything up - mostly people discuss fencing-like activities in random games with swordplay.
No, it includes capital inflow. I believe (and I may be wrong here), foreign investment in the US counts as an addition to the deficit.
Very cool OP!! Amazing work!
Hi, qualcoder developer here. Yes qualcoder has some bugs, and limited testing on Mac OS or Windows for now. However, thanks for the advice regards manual transcription with key shortcuts, I will try and incorporate that idea.
There is another free qual web-based product called Taguette www.taguette.org which you might be interested in.
I was just looking at the source code, it appears `map` is a global variable that is a 7x7 grid representing your current city (49 arrays of `[0,0]` by default). This could be serialized to a URL hash that could be shared.

source: https://github.com/victorqribeiro/isocity/blob/master/js/mai...
[1] https://en.wikipedia.org/wiki/Information_silo

also called 'siloing'
You're both kind of right, just that there's a difference between the current account (trade) and capital account (cross-border investment flows).

In the current account you're just looking at the value of goods and services going each way across the border. In the capital account you're looking at investment going one way and the returns flowing back.
I dunno why you are down voted. It seems that many people see the word communist and have an emotional reaction. If you take the time to read this masterpiece you will soon realise that Marx knew more about capitalism than most of us who live it.
Be sure to check out 3Blue1Brown's linear algebra series as well. (Maybe after you've built your own MNIST network) Blew my mind when I made the connection that each layer in a dense NN is learning how to do a linear transformation + a non-linear "activation" function.
Where has this been shown? I have never seen this. Are you saying that there's plastic particulates that leach into the water, or some kind of residue?
open an issue as suggestion, if no one does it, I'll do it later. I'm on a party now
The customer will certainly notice low maintenance costs.
Excellent recommendation. I really appreciate all the recommendations proposed. Happy New Year eachro.
C++ is not as tricky as people make it out to be. There is a lot of elitism among programmers, and a lot of people seem to claim it’s hard solely to make themselves look smarter for being able to write it.

If you know the basics of programming and have the persistence to. RTFM (Read The Fucking Manual), C++ will not give you any trouble. In fact, you might actually start to enjoy it more than the other languages you used in the past.

All that said, if you are focusing on machine learning rather than programming, then you should look into Python and R. A great resource is “an introduction to data science with R” by David Langer: https://m.youtube.com/watch?v=32o0DnuRjfg
The secret? They’re junk!

There is only upside for Church, who will get a piece of every company. If they fail, he has nothing to lose.

One of A16z’s past biotech stars was uBiome. The science there was bad from the beginning but investors couldn’t tell.

I think a better article could be written about how many have failed, and how many will continue to fail. 5 years from now it’ll be even easier to write.
Actually this is a great idea. Seems I'll try this approach for 2020 Q1.
Ask HN: What does 'Resilience' mean to you?
I read all of The Expanse. Fun series that takes place after we've colonized the solar system with infighting between Earth, Mars, and those who live out past the belt, when suddenly an alien artifact shows up.

Influx (a large secret govt. sect suppressing technology breakthroughs and keeping it for themselves) and Kill Decision (autonomous killing drones) by Daniel Suarez were fun. I liked Deamon (a murder mystery of sorts where the murderer is already dead and automated scripts and whatnot carry out the deeds) and Freedom (part 2) better however.

Beyond what I've read this year in Sci-Fi, I would recommend the Hyperion saga (my vote for best sci-fi ever), The Martian, Ready Player One, Snapshot (a short by Brandon Sanderson, my favorite author by a wide margin), and, heck, while we are at it, the whole of the Enderverse, though I preferred Speaker for the Dead, Xenocide, and Children of the Mind the most).

It has been said that the difference between sci-fi and fantasy is spaceships vs trees. If you are looking for fun fantasy, I suggest just about anything from Brandon Sanderson. He has his Cosmere universe composed of many book series, the best of which are the Stormlight Archives.
For the reason I said, giving money to anti-legalization efforts helps improve their public image despite selling addictive drugs.

Perdue gave a lot of money to anti-legalization efforts to deflect the criticism of selling OxyContin.
Not that I want to be the "well actually" guy...but MS has a much underrated tool called Log Parser that's been around for years that lets you do this kinda thing and more.

If you're a Windows admin and haven't bumped into this utility then it's well worth a look.

edit: forgot to mention that it can also scripted from VBScript and Powershell for added fun.

https://www.microsoft.com/en-gb/download/details.aspx?id=246...
Can you expand on why it would be pretty bad for the US?
This idea keeps coming up a lot in conversations, usually around avoiding or recovering from burnout, but I'm curious what comes to mind when you hear the word? And what exactly does the process of building 'resilience' entail?
This is a super fun app and I'm also very impressed by the elegant simplicity and readable code of this project! The tools you provided are perfect -- they offer just enough options to open up fun original creations while providing practical limitations to stay productive.

PS. Love your github tagline "I'm a Brazilian times better than your average coder." :)
> In reality, it's a small amount of responsibility and lets a person take ownership of the process. It is NOT difficult at all, especially for W-2 with the standard deduction. The whining in this thread is ridiculous imho.

The ask is for the government to declare what it knows about a resident's taxes upfront, and then letting the tax-payer decide how much they want to invest in contesting the government's calculation. The conjecture is that for most people the need for contesting the government's math will not be needed. Currently, the part you call "responsibility" results in tax payers paying a third party millions of dollars every year. The expectation is that this waste of money can be largely avoided. How is that whining?
You can get around 1 by having the page be mapped multiple times with different permissions. Modern x86 processors don’t need a cache flush.
if you want to strengthen your mental fortitude, I recommend folks to spend hours alone. or at least a month to maybe 6 with minimal human interaction i.e both online and offline. if you can go that period without going crazy, then you'll be surprised at what you can achieve.
There is a question I have been asking for quite some time. It is known that Python is the language of choice when practicing ML. But, can similar results be achieved using Powershell? What makes Python superior to Powershell when making models for ML?
No one suggested standford cs231n: http://cs231n.github.io/. I'd recommend the winter 2016 lectures (by FeiFei Li, Karpathy and Johnson).
For getting started with convnets / deeplearning, I think this is one of the best hands on ressources out there.
Caesar 3 was a fantastic game.

Also: plebs are needed.
The future of product is fraud