skysight-inc/HackerNews huggingface dataset:
Ask HN: How to go about building a mobile or web app from zero?
For this year i want to build a web app from zero, learning how to code and good practices in the proccess, for hobby (working with motion graphics now, but always loved coding).

My question is, what should i learn when i'm studying it? Not only about coding, but good practices, how to plan the app, how to manage the development proccess, good concepts not just about coding, but about building a good project, etc.

In short, how a good software company would develop an app from zero? What would they plan first? What would be the proccess? What should i learn to do it? What are the popular languages in 2019 used for building web/mobile apps?
FYI, Bear does not support markdown table syntax
Not if you account for inflation in your calculations..
Data Scientists: What Is Holding Them Back?
C++ does not have garbage collection of any sorts. Objects leave the scope and are destroyed, however the order in which they are destroyed is not defined by the standard.
People buy Harley’s for the twin cam engine which vibrates a lot and “if you have to ask why this is good then you wouldn’t understand”. The marketing for Harley’s is very much about buying into “worse is better” for “cool” factor — and for social signaling that you might know how to turn your own wrenches.

The joke is that Harley owners spend more time in the garage with their bikes than riding them. They require a lot of maintenance to keep running. From a risk perspective, the onerously frequent maintenance requirements increase the chance of a mechanic introduced error having negative safety outcomes. The fact that every owner basically “has” to work on the bikes rather extensively means that they are more likely in general to be worked on by not so qualified mechanics. The extensive customization culture surrounding the bikes also comes with a lot of really easy ways for safety compromising designs to be introduced via ill thought out customization.

These may seem like small factors but all of them represent much more real risks than the imagined safety benefit that might come by making your bike excessively loud. Someone telling you to ride a Harley and also telling you to make it loud for safety is not giving good safety advice — to maximize safe riding you should never try to lower the responsibility of the rider to be aware of other drivers not seeing them - you can’t make yourself more visible by being loud and shouldn’t encourage someone to think this will work and thereby encourage them to not proactively defend themselves from a driver who might not see them.

There are other safety relevant issues with the bike design — notoriously bad brakes and gearboxes, poor suspension, heavy with a low center of gravity that makes turning a relatively higher effort activity for shorter riders and generally makes recovery from problem scenarios more difficult, the “Harley wobble” (yes wobble can happen with other bikes but it tends to be more severe with Harley’s) ...

It’s probably also worth pointing out that there have been something like 4 large recalls in the last 5 years for clutch problems that can lead to sudden brake failure. Also, the twin cam engine design is inherently not long lasting with many failure modes which means breakdowns are common (engine failure/fluid leaks are not generally conducive to safety).
> The ability to spec out the shape of an object, and then in the different contexts in which you need some of that data, specify what you need, is an awesome solution to optionality

You realise you can do the same thing in TS with its structural type system?
AWS Lambda already solves #1 by simply reusing the existing language instantiation across calls, as far as I can tell. That pretty much percolates out to solving most of the other complaints that this document muses about.

But the larger issue is that not all systems are the same. They're not designed the same, don't deal with data in the same way, don't have the same performance bottlenecks, etc. If the author got their pet "One True Runtime", especially with a specific encompassing model of data interchange and orchestration, it'd be perfect for them, but have impedance mismatches with lots of other projects. If the """Cloud 3.0®™©""" standardized on such a model, it'd be too overfit compared to general use we have today.
Do you live in central London? It's hard for me to imagine you wouldn't come across it if you lived within Zone 2, say - I only lived in London a relatively short time, but some guys tried to mug me (I didn't have my phone out), I found a phone on the street and returned it to its owner, and I lost count of the friends it happened to, the incidents on the road I lived on, etc.
That term is a quote from one of the scientists. It also seems quite appropriate. What would you use to describe this event?
Aaand we've returned to discussions about hacks designed to make DNS at least somewhat trustful.
I had similar experience when I played around with it a decade ago. I actually resorted to the closed source shoutcast server back then, which was almost plug and play, even though it was already pretty much abandoned software at that time.
There was a pre-chosen set of keywords and the research as an ongoing process involving the agency. We would quickly trim the set, exclude irrelevant words, etc. The insight we got was that we should advertise product value props rather than test keywords at scale. The research that wasn't in place was the one matching value props with different keyword sets. I mean we scratched the surface of it, but scaling things up was too early in the process.
Is there actually precedent for a GPL library, clearly setup to be consumed with an API, to require GPL of the whole binary? On the one hand that's clearly not the case in the Linux API, on the other hand the LGPL exists. But was curious if this is actually settled or just too murky to live with.
True, if that’s the cost of our consumer protections I’m okay with that. It’s actually really nice to live under. That said I’ve never been on the retailers end.
From my experience:

1. Hardly any way to see a GP outside work hours, so you have to take time off.

2. Cannot see a GP near to where you work, it has to be near to where you live. Which, combined with point 1, is a pain.

3. If you don't use the NHS and go see a private GP instead (which makes economic sense given how much your time off costs vs a private GP costs), you still have to pay for it.

4. Hard to get an appointment at short notice; registration is a pain and very inconvenient.

5. Unless you are dying, they are unlikely to offer any real help/proper tests, but then again that depends on individual GP and is probably not that different between NHS/private.

6. No personal accountability for your health. You end up paying for all the clowns that drink too much on a Friday night and end up in an ambulance and other people that do not take care of their health. Old people seem to go to a GP just because they are lonely.

I have not had to use NHS hospitals luckily, but I am guessing if you are not dying the wait times could be bad.
Notion looks polished, the mobile app on the other hand is clunky, simple tasks like adding a member to a worspace is a hard task and if you don't close the android app completely it wont always update.

Like many others id like a version I could host myself locally, id happy pay for a licence to do so, and no id not expect any support at all. granted i'd expect yearly or monthly licences that had user limits, 10,50,100,enterprise.

Sadly i suspect that the reason there is no own-hosted version, be it paid or free open source is the fact that notion has been built around services like AWS/DO/RS for scalability and was never designed to be able to run in a single container and use a local datastore be it a MongoDB or (Ms/My)SQL(lite) database.

I may consider paying but not knowing where my data is stored, in what country, if it is encrypted or not or truly who has access is always an issue for me, as I'm sure it is for others.

Still a great service well worth checking out.
I love how easy it is the see and hear previews of the intros (just hover over them)!
It does indirectly because their demand inflated demand for programmer talent.

The money they have to acquire companies raises the valuation of all startups.

I’m surprised most people don’t realize this.
I keep thinking about leaving - I'm a NZer in London, but I fucking love living here.

There is a serious problem with the way the elite treat this country though. It becomes more apparent the longer you live here, with the way David Cameron handled the EU ref being the perfect example. They're so sure of themselves, they've never really experienced a situation where they haven't been in the advantage, and they have 0 empathy. Then they fuck things up royally.
In the context of political forecasting, imagine that you are a defence chief who is faced with an unquantifiable external threat, as the US was by Russia during the Cold War. You can predict that this enemy is a very great threat, or you can say that it isn’t much of a threat, but the outcomes are asymmetric. If you say that the threat is a grave one, and strengthen your defences accordingly, then if the enemy attacks, you were clearly right to take the threat seriously. If the enemy doesn’t attack, you were still right, because you can say that the enemy only didn’t attack because of the action you took. On the other hand, if you dismiss the threat as insignificant, and the enemy attacks, then at best your career comes to a sudden and unpleasant end. So therefore, it is always right to over-emphasise the threats, and if you turn out to be wrong, you were wrong for the right reason.[1]

[1] https://wiseinvestment.co.uk/news/antiques-roadshow-tony-yar...
Business and Leadership Lessons from ‘Shoe Dog’ by Phil Knight
Show HN: Get Feedback for Your Landing Page UI/UX
How I built an open source tool in less than 24 hours
I have lived in central London for 25 years and never experienced this, nor do I know anyone who has.

However, I know the problem exists and I have just been lucky. I am not claiming that my experience invalidates that of others - just adding my anecdote to the pile.
It's nice to see such a positive outlook on the city and a reminder to myself that there is a reason there are so many people in the world who would love to live there.

I moved to the UK from Canada last fall with my wife and we've both been really struggling to find positives about it, so to see such a positive outlook was warming.
Thanks, "belief systems" is one way to describe those partial theories which work on a practical level. Thing is, you need many, and they're contradictory. I see them as similar to linearisation of complex functions: they work well in a neighborhood, but not outside of it. The real function we'd like to reason about has infinite dimensions, is can't really be measured...

"All models are wrong, but some are useful" George E.P. Box
I thought they also grouped into a week ticket?
Glad to see you on the thread. Would you mind us updating the article with some of your points? I really like how you laid these things out:

— Tight campaigns going to tight landing pages where keywords match what folks entered.
— No one cares about your money more than you do.
— It's your job to customize landing pages based on keywords entered, SEM agencies simply can't or won't do it.
Querying the Wikidata Knowledge Graph with Python and SPARQL
Show HN: Open source CLI tool to clean unused uploaded images in your Ghost blog
Crypto exchange Cryptopia hacked for $2.5M by Etherdelta hacker
This are called false positives and are a normal occurrence in the life of a software developer. That's why when testing the root-cause you should test for a false positive as well.
I generally use cash for everything. The exceptions being large purchases or where I need a secondary proof of purchase.

I was once asked by my bank why I wasn't taking advantage of of the convenience my contactless debit card offered. I said because I didn't want them knowing what I spent my money on.

This led on to me being advised that I would struggle to get loan or mortgage facilities because the bank would be unable to see if I was spending my money responsibly.

I can live with that.
You can get monthly and annual passes on Oyster, not contactless, which are cheaper and have some other benefits like not fineing you if you touch in and not out.
The problem is that video calls are broken.

There are many reasons for that, mostly people using inadequate equipment and bad internet connections.
It is not about right or wrong, it is about trying to understand why they made this decision.

And that could be putting yourself into the position of someone with very particular experiences the health system (e.g. you where very vulnerable and doctors treated you like a piece of meat) on top of other circumstances (you have never been that ill that modern medicine saved your ass, most of your very real health problems have psychosomatic roots and the neighbour wife with magical esotheric healing abilities was the only one wbo really talked to you about it).

This is about understanding who these people are and where they come from and what lead them to their (at times utterly wrong) beliefs. Doing that will not somehow stain your belief (unless you built them on similar shaky grounds). Most people/nations/companies think they are the center of the universe and that they are doing the right thing, sometimes for the simple reason because they see themselves as “The Good” side

They developed some sort of culture, rituals or superstition that backs their behaviour. Of course this gets harder and harder to decipher with each iteration they take downwards the devils spiral into irrationality, until you look onto them from the outside and you tell yourself: no way on earth I understand where they come from with their &)$&)!&@) beliefs.

But if you want to effectively criticise, you need to know how to dismantle these beliefs, and in order to do that, you have to understand (not agree to!) their position.

If you feel like you are giving someone too much power simply by trying to take their perspective, this might have its roots in your own culture, rituals and beliefs.

So in the case of some antivaxxers the best alid ideas that come from their standpoint is probably a criticism of capitalistic medicine (incentive: make money, not heal) and (from their subjective position) untrustworthy medical professionals. On top of that, they suddenly can google every illness on the internet and they feel like they know more than the expert in the field (this is by the way a sentiment of our times, which again has its roots somewhere).

Of course antivaxxers are irrational lunatics, but if don’t just want to yell at them, but use rational arguments, then understanding their background will help tremendously.
Story for people who want to know more- Farhadazima Story on Storybird
SSD endurance myths and legends
Got it. Great piece, by the way.
My wife had her phone robbed from her in this way in Canonbury (N5) 2 years ago.

It was very scary for her since they went up onto the curb and pushed her onto the tarmack as they grabbed it. It happened at around 6am in the morning at most 20 metres from our flat which was on a quiet terrace of victorian houses.

It's not just touristy areas. It's probably easier for the motorbike thugs to operate in places which have relatively quiet roads that they can escape on. I suspect that if you live in a nice area, but close to some of the inner city ghettos you are most at risk. I've also seen it happen in and around the parks.
Reminds me of an "How-To" i wrote several years ago...

https://thecodeartist.blogspot.com/2013/02/shoutcast-interne...

Capturing any Shoutcast stream from the terminal in 13 lines of C code.
we used a combination of Exact Match/Modified Broad Match/Negative Keywords. We'll run some tests using Broad Match + Negative Keywords and see how it goes. Thanks for pointing this out
We are making the world into farms and monocultures. A very brittle arrangement.
There are many gpl/lgpl dbs with bsd drivers (ex: scylladb). Dont know about library though (you should be able to use the library externally I think just like you do with the db)
A nuclear bomb might not kill you. But not knowing how to respond might
Tigers are nearly extinct.

People don’t care.
MAPS.ME launches the UGC platform for travel guides
MAPS.ME is launching its own platform to allow users to create routes and share them with other travelers.

Now MAPS.ME users can create their own touristic guides based on their map bookmarks. Complete routes can be uploaded to the catalog and made accessible to all, or users can share the link only with friends.

Thanks to simple interface, you can create a route in a few clicks. Just create a list of marks in the Bookmarks and Guides section and set your favorite places on the MAPS.ME map (they will automatically be added to the list). Then in Settings you can add a short description of the route and tags, and also set the privacy level.
With this new function you can make a simple group of tags, or create a full travel diary no less great than any professional guidebook.
I opened an issue for that. Please give it a +1 and let's get Linux on the list of platforms.

https://github.com/brianlovin/security-checklist/issues/40
The vulnerability is not that serious

From what I understand - if you scp any file from a remote server to your home directory, malicious remote server can copy anything else into your home directory without you knowing it, which can lead to remote code execution.

However, (1) the server needs to be malicious or compromised (or mitmd and you accept the new cert), (2) you need to copy into your home folder, not anywhere else, directory traversal is impossible
Majority of which people?

Honduras is being impacted. Our reaction in the USA is to block the refugees fleeing famine and drought from reaching us and “invading”. Similarly with Europe and African refugees.
The person near the gates is mandatory (a legal requirement), if the staff aren't available to provide that person the gates will be switched off (so you can just walk through) or they close the route entirely (and if it's the only route that also means closing the station).

The gates are designed so that an adult can force their way through despite the gate being closed, but nevertheless in a fire or other emergency situation you don't want to wait for fleeing people to force the gates, so there must be a trained human available to command the gates to all open immediately. In a tube station there will be a control booth with CCTV of all areas somewhere to direct operations - the gate still must be supervised by someone physically nearby, not solely from the booth. Flow controls that don't prevent you fleeing from an emergency (e.g. the "Do Not Enter!" flashing signs at some tube entrances that can be activated to prevent overcrowding, or the changeable internal direction markers that let them send unfamiliar users over a longer alternate route to their destination) are controlled from the booth though.
Water possibly could be of great value in the future? Moon has plenty of drinking water. Maybe gold, not sure if there’s gold on the Moon?
> So a rational robot/human will never open the door.

If the door leads from outside to inside, there's also a small chance the robot might die if it doesn't go inside (a passing car might hit it, anti-AI vandals might destroy it, etc). It's probably safer inside. So perhaps we could say that a rational robot/human will never go outside.

Interestingly, some people do exhibit this behavior (agoraphobia) and it's generally considered anything but rational.

The problem for the AI can be fixed, without a belief system, with a lower cost for danger. Infinite cost is too high because it makes probability irrelevant. A finite but very high "cost of death" would still avoid likely death without becoming paralyzed by the possibility of unlikely events.

We sometimes see people deciding that a cause is worth risking, even knowingly giving, their life for, proving that even humans don't weigh the cost of death above all other activities, so it's hard to see why a nonsentient AI should do so.
> The reason is, the type system is actually incredibly complicated (to accommodate to all sorts of silly and messy things you can actually do in JavaScript).

Can you give some examples?

I have a feeling if you need that, you are writing some complicated magic code, but I might be wrong.
Weird star system has double binary stars and wonky planetary nursery
Replicators. Feels like no one watches Star Trek anymore. Those writers had more time to think about this stuff than most science labs and engineering teams imho.
The interface is astonishingly Windows'ish with millions of knobs to turn and not as stable as you want. (Resource usage metrics returned errors for a while on me.)

You will need time to get used to it. I even use AWS for a Windows instance.
:) a nice one, we should've probably named it "How we spend $50K on Google Search Ads to derive a good list of negative keywords."

Aware of our LTV, I would say a $40 click would still be fine if it brings a customer. As a SaaS, we're A-OK with a CPL of $100 and currently target our search ads hypotheses to $15 or less.
> “I’m not opposed to preprinted cards,” Cunningham said.

I think it's worth avoiding pre-printed cards. If you know the bereaved or the dead person well enough to want to express your condolences, then write a letter or note. It doesn't have to be more than a few sentences, unless you want to write more. Yes its a hard thing to do, but it's also necessary. And in my experience it can help the writer too.
If everyone did that it would cause an economic collapse. Do you know what happens when there is an economic collapse? Fascists take over. Trump is just a small taste of that, and he is president because white middle class people are facing economic hardships. If it gets worse the leaders we have will become more extreme.

I don't understand how none of you environmentalists can realize that if you had your way with your extreme proposals like reducing everyone's environmental footprint by 95% it would backfire incredibly hard and would result in a strong man taking power and possibly a genocide. Do you not realize how delicate our government is? When there is extreme economic hardship it pushes the government to the brink of collapse and people always turn to awful leaders. It has happened throughout history at least dozens of times.
is this kind of simulated gravity sufficient for the convection processes described?
Google and Facebook employees are teaming up against their bosses
Looks very nice!

On the integration side of things I'd wish for GitLab and other chats (don't like slack).

I'm afraid it's not easy to test your app without Slack/G+ Account and would be grateful if the project could "open to the free software world" a little more.

Thank you either way for sharing and keep up the good work!
Are blind people stepping out in front of bicycles because they can't hear them?
The only way we’re going to get better at managing our environmental impact is going to be through technological improvement. As you say we are too many now. The only way that technology will improve is under good economic conditions. We have to weigh economic growth against its impact else we will only speed up the destruction. When people become poor environmental concerns come second place to the basics of life.
Not explicitly - nor did I, you know, the sun don’t shine in many places - but implicitly it was saying i should do just that with my privacy expectations and our laws about them.
I’d argue that also a centrist has an ideology. Or a non voter. The division between left and right is tempting, but ultimately fails to remind us, that most people don’t really fit into that concept of two sides ideologically