skysight-inc/HackerNews huggingface dataset:
I find the opposite. With Scala my logic can be plain English written in the language of the domain, because Scala makes it very easy to push out secondary concerns like authentication or audit logging or error handling out into the type system where they're still there, still managed, still checked by the compiler, still visible on mouseover/click-through in my IDE, but they don't have to obscure the straight-through happy-path business logic. Whereas in Go, all the secondary logic has to be right there, which clutters up the code and makes it harder to see the primary thread, and in Python or Ruby either you do the same thing or else the secondary logic has to work by invisible magic (metaclasses, exceptions, method_missing...) and you have no hope of ever being able to understand what's actually going on.
India is seeing very rapid per capita GDP growth. So, while the number of top economic spots is limited the range of 'acceptable' is expanding fairly quickly.

However, exams like this are still stressful in Japan where high standards of living are far more accessible. Which suggests it's more about importance and being zero sum that's the core issue.
Uncaught (in promise) TypeError: Cannot read property 'type' of undefined
at value (index.build.js?_v=a7a2d7259113c491b649f58a7c951217:29)

Also playback and download links are 404ing when hitting dropboxusercontent.com URLs
Yeah, me too. It is definitely better than all of their other choices.
> It will piss off people who wish work was an objective technical meritocracy where the best coders immediately rise to the top and are in charge.

Also worth pointing out: Sometimes (often) the people who are most vocal about this are not the best coders :-)
Unless things have changed drastically in the last 20+ years, CS degrees involve plenty of software development. I remember having to build a calculator in Pascal using queues in CS1. We'd have to code all the classic algorithms (Merge sorts, traveling salesman, shortest path, etc).
That's what you get when you apply reinforcement learning company-wide and set rewards +500k +promotion for completely new, "revolutionary" products ;-)
Ask HN: Feeling miserable at work
Rails programmer with ~10 years of experience here, recently I've been hired as a PHP programmer and I'm dealing with a very complex and undocumented codebase that I wish I never seen before.

You might ask "why did you took the job in the first place?", well that's either because I can't find work in my area and most of it is PHP/Python work and I can't move either, the Rails related work that is remote requires that I move and remote work tends to be "US remote".

The PHP code I'm working with is extremely complex/messy and most of the code is undocumented, I have to do lots of debugging just for changing the simplest things and I'm also not very familiar with this language.

Most of the code is a mess of spaghetti code, think of HTML, JS and PHP all glued up with no proper structure.

The git repository is also one of the biggest repositories I have worked with (247 MB), 45,000 files and 1 million lines of code for the whole project.

I was already able to complete some tasks but I can't help but feel miserable with this project.

Recently my manager started asking me questions like "How's it going? Will you finish this task today?" and I explained to him I'm having difficulties with the code and that I'm not very comfortable working with it but he's insisting that I stay firm at it and get familiar with the code. Please advice.
Right.

So basically it works, it was $1/year, it allowed to text, send images and send videos and one only needed to know someone's existing identifier (phone number) to connect to them.

Who would have thought that making something that works would eat messaging?!
You can get a construction loan in some States and in those States you are allowed to build your own house. Now the bank may have some requirements (show them your plans etc...) on you but you can generally act as your own general contractor. Still I think a reputable builder + home inspector + real estate attorney is the better way to go. At least if the contractor is registered with the State you can usually get access to State funds if the GC screws up.
With no onboard graphics you are required to buy a graphics card. That can raise your cost a significant amount if you weren't planning on buying one. If it ever dies, and every build I've owned has had the GPU die at some point, your computer is unusable until you buy another. Plus you can't do any Android development unless you boot into Linux. I'm sure these issues don't affect most people, and probably saves some gamers a little money that they can put toward their GPU, but I had two similar builds for the same price, picked AMD Ryzen over Intel to support the underdog and I regret it. I'm planning to give my Ryzen build to my folks and buy an Intel.
You're correct. I meant he rebuilt it using materials as close as possible to the original: granite, oak, quicklime, etc.
Styling Vue Components with Aphrodite
The ocean is a really, really, really big place. You don't even have to submerge in order to stay relatively hidden. We don't publish the exact coordinates of carrier groups because they're really hard to find when underway. You can fly a plane around for days looking for one and not find squat.

No number of drones that we can realistically produce and operate can adequately blanket the ocean. The Pacific ocean is bigger than all of the Earth's landmasses combined. Imagine trying to find a ship-sized vehicle moving through an area the size of Wyoming by plane, that's about how hard it is to find a whole carrier group just moving on the surface of the water, with publicly available information.

Without it, you're looking for a needle in a haystack the size of Wyoming.
Having the type system match the domain model of your code immensely reduces the cognitive burden compared to untyped languages. You can just trust the types and trust purity and carry on. On the other end of the spectrum is where someone goes and creates complex type wizardry which can be overkill, or if they modeled thr problem incorrectly then it can become a ball and chain.
> This gives you credibility and trust. Then make your suggestions.

Many years of experience has taught me that this is 99% of the time useless. If management were listening to suggestions, they'd have been listening to the suggestions of the people already there. But they're not.
Thanks, Checking!
After looking around some this morning, it actually looks like the Google Slides - Publish to the Web option gives a better embedded experience than any of the others I've seen.
What exactly does Google not control that prevents them from pushing one high quality messaging app that is independent of network operators?

What control do network operators have over Android?

Device and SOC makers do indeed have some control over Android. But that is unrelated to Google's messaging mess.
The degree itself opens doors that can remain closed to you otherwise.
Get some theory in you and you will stand out from those without it.
There is lots of time to be a code monkey.
Well, yes but the parent is complaining about taxes on a net financial loss. This is really unjust and something difficult to support.
so correct me if I'm wrong but the serious problem with racism and sexism in academic philosophy is that academics want to debate (which involves critiquing ideas) and that they want to discuss ideas and concepts rather than taking to the streets in protest or otherwise skipping the ideas and going straight to execution? I recognise I'm being a bit reductionist but you have to see these criticisms are insane.

[edit] or at least, to call them racist/sexist is insane. I can somewhat understand the latter criticism coming from the perspective of someone who wants to do something about injustice, but then why are you in academic philosophy? That isn't where real-world change happens, people like that would be better off getting involved in social activism, whether they continue working in academia or not.
We ban accounts that won't follow the guidelines by commenting civilly and substantively. Could you please do that?

https://news.ycombinator.com/newsguidelines.html
It's that I never considered the fact that people would appreciate someone like my father explaining his hobby.
I would find this rather useful, but as vanzorn pointed out, you appear to have a few errors in your JS and URLs.
“NFP” is for “Network Flow Processors”, the micro-engines and related architecture that we use at Netronome on the SmartNICs, and on which we run offloaded eBPF programs. By extension, it often relates to the cards themselves.
Combine Duplicate Rows in Spreadsheets with Power Tools
Sure, high pressure. Has nothing to do with the fact that India ranks 136 on the Freedom Index, let alone it's other issues.
Yeah, I am pretty much in that situation, still use Hangouts daily, mostly with long running group chats.

Being able to use it from any device, or even a browser while at work makes a big difference.
While impressive, it's not really a barrier is it.
> Custom resolvers will also usually not be required because of Postgres views.

Ok, that's probably a nice solution. I'd much rather write that logic in SQL than JavaScript.

As for callback type things (sending emails, data transformations, webhooks to 3rd party services, I guess there's always pg_notify :)

> Do you have any specific requirements around subscriptions?

Mainly, pubsub with web clients would be nice.

> Hasura's migration tooling is inspired from rail's tooling

Fantastic!
Is their body mass significantly lower than the overall human population?
There are 2 front page stories about Google messaging strategy, both of which were spawned from TheVerge article[0][1] that was posted last night that didn't get as much traction then. Google gave them an exclusive interview and they put together a well detailed piece that is talking about what Google is doing around messaging and why.

[0] https://news.ycombinator.com/item?id=16881497

[1] https://www.theverge.com/2018/4/19/17252486/google-android-m...
Make hangouts great again.
Watching the video with Steve Jobs talking about Paul Rand was really fascinating.

My two takeaways:
1. Paul Rand's IBM logo really was interesting because it predated emojis, but that is what it is.
2. Steve Jobs is a great speaker (duh). When he needs to think and respond, the stillness is amazing. This is very different to presentations because he is ready for it.
Another portal covering the same: https://www.finextra.com/pressarticle/73562/deloitte-runs-th...

Looks legit.
Even if it weren't federated (though I do miss Google Talk), there would still be some value in using an open standard. If I can only afford a feature phone, there are XMPP clients for it (or they can be developed relatively easily), even if I don't get all the features. Using open standards, even if you don't make the service open, still makes you more inclusive and helps a lot of people who would otherwise be shut out of your service.
"Poor people, they should rebel."

... and then...?

Smash the institutions providing a way to raise themselves up, and then...?

I assume you'd want them to build up new ones, to which I'd ask, out of what, exactly? And when they build up new ones, how will these new ones avoid having the problem that they must inevitably pass through a period where the number of people who want to use them will grossly exceed the available capacity of the system?
Not sure how you can claim things like Deepmind are "vaporware" since it achieved exactly what it was intended to do. If you disagree that it should be called "AI", well that just comes down to semantics, but I think "Artificial Intelligence" is exactly what it is.

Of course it will be possible to create synthetic consciousness eventually, why wouldn't it be? It may take 10 years or 10,000 years, but if you think it will never happen for the rest of human existence, that is nonsense. If it already exists in nature, then there is absolutely no reason why it can't be done synthetically.
Great example of how expensive it becomes over time to name (almost) every product you create "Brand" + x.

Google is eroding trust in its product offering & regularly adding an adoption handicap to their whole product portfolio.

P&G, Unilever et al know this. I'd expect the software companies to learn from the challenges of the "supermarket"-era brands.
Ik this article was so poorly written, even the format for an interview was not there.
Well it is ambiguous, so that is a headline-writing failure. Especially since this is a common misunderstanding of evolution anyway! In some sense this would be a logical ambiguity even if the writer meant to say that adaptations are goal-driven. Headlines simply shouldn't be written like this. Perhaps we're looking at this the wrong way, however. One gets the sense that most journalists don't really concern themselves with logic and clarity of thought anymore, since their intended audience is similarly unconcerned.
Facebook has auto-enrolled users into a facial recognition test in Europe
People keep coming back with this use case but it always baffles me. Certainly you need to have some amount of trust in these parties not to falsify data? If so, why do you need a Blockchain instead of basically anything else that would be cheaper and simpler?

I hoped to find answers in this Forbes articles but all I get are vague claims like:

>The use of blockchain technology will hopefully avoid the all too common problem that occurs when a claim comes through from the provider and it mismatches with the information the insurance company has in its provider directory.

>CMS found 52% of Medicare Advantage plan provider “directory locations had at least one inaccuracy.”

How will the blockchain magically make sure that everybody updates all information? And if people suddenly somehow make sure to publish and update the info then why can't they do the same thing with boring old technology?

>“With increasing state and federal requirements relating to provider data maintenance and quality, tackling the high cost and redundancy in this space is a logical starting point"

Backups and redundancy existed before the Blockchain, also I'm sure nobody wants to publish private user data publicly for all to see so it's not like random users around the world are going to mirror your database.

So you end up with a "Blockchain" where only trusted people can access and contribute. What's the advantage over spinning up a PostgreSQL intance? I mean when you read the Quorum wiki[1] it reads more like a database setup guide than spinning a bitcoin node:

>The P2P layer has been modified to only allow connections to/from permissioned nodes.

And just like that the entire point of the Blockchain vanishes.

>‘Proof of work’ consensus algorithm has been replaced with ‘QuorumChain’ consensus, a vote-based consensus mechanism.

Surely I hope that medicare providers obey to some top-down rules to operate, not a consensus on a Blockchain. And given that all nodes are whitelisted anyway I'm not sure why such a voting is even required.

It's pretty crazy to me that when I read articles like this one on Forbes or the Quorum website I see pages after pages of hype and praise and yet so far nobody is capable of giving me one simple use case demonstrating the practical usefulness of the technology outside of cryptocurrencies.

The more I read about it the more I become convinced that the only real feature of the Blockchain is being a magic word that makes suits throw money at you. Maybe I'm just too dumb to understand it.

[1] https://github.com/jpmorganchase/quorum/wiki
You may not see the relevance of certain courses, some may never be directly relevant. But they are shaping your mind getting you used to abstract thought and greek letters.

What we have atm is a job market where you can make good money with your skills. Consider that the "weather", it may come and go. In leaner times, the degree can be of more value.
This makes perfect sense. It's all about economics both w respect to intel and nvidia. You can't be paying 8-10k per gpu, and you are not going to pay that when you can make something far cheaper and faster. Google got this done in what two years?? All the debates around the tech comparisons miss the economic picture. Who cares if 4tpu's being compared to one volta. Point is those 4 chips together cheaper than buying one v100. Bitcoin mining no different. Do you care how many chips (196) are in an antminer s9? No! What matters is that it mines 13000x faster than a gpu for roughly double the price. Facebook, Amazon and the likes have every incentive to go down this custom ASIC path. Google is now hiring sales folks for their tpu cloud. There is a reason they are not selling the hardware. It's more valuable to them to get tenants the other hyperscale competition can't match. So think all the hyperscale guys now looking for ways to keep up which obviously is horrible for nvidia. A lot of people have missed how much of nvidia's story been about essentially killing it on one very narrow use case, ml training, in a very short time. This is basically 50%+ of all profit growth they have achieved last two years. Nvidia has got some serious challenges ahead.
We're re-uploading to a different source as we speak, please bear with us!
Letting new people who don’t thoroughly understand the old system write a new one seems like a recipe for another broken system.
Well if you think about it in terms of the man-hours that must have been wasted doing "hair length inspections", it's probably equivalent to at least one person dying young :P
Indeed. I'm a software engineer in the defense industry, and there has never been budget for a designer on any contract I've worked on. So you end up with interfaces designed by engineers who hate doing UI work. Which is how you get big panels of identical gray buttons and layouts that make no sense (or put another way, some of these government systems make the Eclipse IDE look like the work of a UI/UX genius). Also, some of the more recent and publicly embarrassing incidents of UI-driven operator error :)

A few times I've said (well, not these exact words), "Give that UI to me, I may not be a professional designer or even an experienced front-end developer, but at least I care about making something usable." I was actually told once that I had to scrap my interface and re-do it, because it made the rest of the product look bad by comparison.

As an aside, I think you provide an obviously valuable service, wish I had come across it before I had done the UI for my current project :)
I did my grade 10 in 2009 and grade 12 in 2011, giving CBSE board exams as well. Holy hell, i remember those two years as pure torture. My day looked something like this,

Go to school at 6:30 ( didn't give much attention in classes), come home at 2:30, go to tuition from 4 to 9, come home, have dinner and then be forced to "study". Looking back, i still don't know how i survived that.

Contrast that to my undergrad in Canada where it was fun to study and do assignments.
I find that happening alot with the Elixir community. Over abuse of macros in every library. No idea what's canonical and what's something somebody just made up.
Walmart Seeks to Integrate Blockchain Technology
I agree with you, but in reality, a large enough company could face (and lose) a wrongful termination lawsuit if they do this too often. The burden of proof for this is surprisingly low and engineering pays well enough that many of them can afford good lawyers.

Plus there's the added risk of hiring "duds" that are also minorities. And letting too many of them go will make it look like formal discrimination. Which is a much, much more expensive mess.

And then there's this issue of finding the duds. Easy for the people on the ground to spot, but less so for management and HR, which will require some form of reasonably accurate performance evaluations.
>> Nope, that's just hype. Good ole C++ still rules the day, except for specialized (and smaller in scope and speed needs) games.
Sure, it's C++, and in my perception much C-style C++. And C++ != OOP.

Sorry, meant to write "good old OOP still rules the day".
I have no idea what top-tier company are you talking about. Google, for example, doesn't care about from which college you graduated and hire through APAC test. If you are good enough to be in the top n percentile you would be called for an interview in Google. Take a look at https://www.hackerrank.com/jobs/search. No companies give a shit about which college you are from as long as you pass the coding test.
As someone who has spent most of his adult life recovering from a math phobia (due largely to poor teachers in middle and high school) and enjoys programming as a hobby, had I read this article when I was exploring whether or not I had the aptitude/background for programming this would have turned me off entirely.

I agree with the others that this article seems to overstate the requirements.
They’re diving for food, so ostensibly better ability to feed for offspring is the mechanism of selection pressure.
Male mental health is definitely not a priority in society (it’s off-topic in this thread).
The simplest way to understand the castle is with an image: https://www.google.com/search?q=motte-and-bailey&tbm=isch

You'll notice they have two defended areas - an easy-to-defend keep on raised earthwork, and a harder-to-defend courtyard ('bailey') covering a much broader area.
Without a WHERE clause, select count(*) still does a full table scan (or full index scan) in InnoDB, and probably always will.

It is optimized in MyISAM via table-level metadata, which is only possible because MyISAM doesn't use MVCC or support transactions.

In InnoDB, you can get an estimated row count from SHOW TABLE STATUS, but the estimate is based on table stats and can be wildly inaccurate.
Thanks for this, I added this essay to my reading list. Breaking people out of the OOP worldview is currently one of my biggest professional challenges.
from what i read and what i saw in test cheating,is it common in india culture? our local high school is investigating test cheating,turns out all of them(12) are from indian,which puzzled me, other culture treats test cheating something extremely bad,but the india students probably think it is not a big deal?
When you say "field", do you mean algebraic field, or professional "field".
Do people realize how game changing this laptop would be for students in developing countries like Uganda, Kenya, Nigeria? For $100 price tag on a useable laptop that you can run code or productivity apps, this is an absolute game changer. We have students at university going computer science without owning their own laptops! So this would really go a long way in bridging that divide. Kudo Pine64 team.
I saw a presentation recently on Mill[1] which looks extremely promising and looks poised to remove the giant Scala development headache of working with SBT.

[1] https://github.com/lihaoyi/mill
I use medical marijuana to treat anxiety and back pain. It's effective. I also have a PhD in biophysics with a specialty in drug design so if you want to talk about the pharmaceutical value of thc and cbd we can do that.

My state, CA, has legalized recreational, but I am keeping my prescription (obtained legally from a doctor).

Note also the FDA just approved a cbd med.
Google's problem is launching products to to compete with something that's just there. I would guess there's a very large chunk of iPhone users, perhaps a majority, that are completely unaware they're using an Apple messaging service. Messages is just their SMS app that happens to behave slightly differently when talking to other iPhone users.
you regret buying a ryzen because you had to buy a gpu, and why can't you do any android development? can you not use genymotion or a real device for development?
I think the ability to mine is incidental here. This is more likely to be targeted at dapps developers by offering them an easy setup for both test and production environment.