skysight-inc/HackerNews huggingface dataset:
> Up until this point, I usually would make most things from scratch and pull in libraries sparce. No big deal because my previous programs didnt need to. (Self taught programmer for 11 years.)

You can still do this with React. Some of the most-common general-purpose libraries for working with React aren't that big and could be written from scratch pretty easily. If you recognize when something's entire purpose is apparently to replicate OO features while staying "purely" functional by jumping through a series of awkward hoops, you can recall that the language you're writing in does, in fact, support OOP, and avoid the library altogether by using built-in language features (I keep seeing this in the React ecosystem and it drives me nuts).

Probably use Redux because everyone and everything expects that you are. It's easy to understand if you ignore their bad terminology and go in knowing it's just an event/messaging system, more or less. Action = event. "Action creator" = anything that dispatches an event. Reducer = your event handlers. Exactly what you'd expect from an event system with centralized event handling. Utterly mundane and non-magical. Figure out how to leverage "combineReducers" to keep your file structure sane and just go. The closest thing it has to magic going on is that when an event comes through it checks to see whether any of the refs in your "state tree" changed as a result of that event, and triggers re-renders on relevant connected view(s) (React views, in your case). That's it. Note that with a very little creativity one can decouple one's Redux code and most/all of one's business logic into its own library to share it between React and React Native.

If you use React Native, you're in for a treat if you're used to fully native cross-platform dev. It really does a great job of rounding off the many, many rough corners on Android that make it such a pain-in-the-ass to work with. Warning: the ecosystem's kinda nutty and does a bad job of keeping in sync, so avoid dependencies that directly target React Native as much as possible if you want to ever be able to, say, upgrade your React Native version without breaking everything. Pure JS libs that have no truck with React Native, good. Libs that add narrowly-scoped extra native integration for RN, usually good. Mostly JS libs that add on to React Native itself, typically just a disaster waiting to happen, no matter how nice they seem at first.

Oh, and use Typescript. For the love of god use Typescript. Just start the project with it, and never look back.
Similarly, JQuery questions remain higher than the other ones in that chart; does that mean JQuery remains popular, or that JQuery is hard and people need a lot of help for it?

Speaking for myself, it was often easier to copy / paste SO answers (in jquery) than try and figure things out for myself. I can imagine a lot of beginning developer start with jQuery and go to advanced frameworks after that.
We didn't ban you, but it looks like some of your posts got caught in the anti-abuse software. The best way to reach us about this is to email hn@ycombinator.com.
Wow that model tip sounds cool. Thanks for the idea bro!
Definitely a feature, not a bug. :)
If you want to post at a more public and linkable level, there are many other services and nothing stopping you. That feature would do nothing for the current users of Snapchat and would really be against the purpose and spirit of the format. As mentioned, they would lose millions of users over it I am sure.
Just a heads up: https://singleops.com/contact/join-our-team/ is a 404 for me.
I can't help but read this with a cynical voice in my head: Skype used to have an incredibly bleeding edge P2P E2E encrypted protocol, and Microsoft threw it all away. Some might say for good reasons (mobile use case, supernodes straining routers, legal wiretap compliance issues); I'd respectfully disagree and observe that there's just going full-circle.
I wouldn't call that a nitpick. It's a glaring Catch 22.
3 Things Businesses Need to Know About Digital Twins
Shouldn't there be a connection between the top-right red circle and green circle in that very first graph?
Why are you complaining to me instead of the GP who, as we both seem to agree, has made a comment we’ve seen a million times before?
Is 34 considered elderly? Asking for a friend..

Jokes aside, my girlfriend upgraded to a LG V30 specifically because I bought one and discovered it had an enabled FM tuner by accident.
So they are as smart as finance guys now. One day, they might aspire to be as smart as engineers.
The rebirth of the hardware revolution – CES 2018 News Report
(heads up, you need have a blank space between lines in HN to render them on different lines)

I completely agree. Many people claim the web is overly complex, but then go back into the C++ world where you need a build tool to build your makefile which builds your project using cross compilation on a handful of platforms.

I like to remind people that 10 years ago Android didn't exist, streaming video was still only just becoming a thing, and the iPhone had just been released and wouldn't have an "app store" for another 6 months.

There have been several massive changes to the web and to computers and how we use them in that time. It only makes sense that we will use different frameworks and paradigms to create applications.
Your IP is public, so you can't hide it; privacy invasion is a non-argument there.

IP data retention, on the other hand, will be interesting. On the one hand, law enforcement wants to have ISPs and companies to track and remember those, for future investigations. But on the other hand, privacy advocates want that kind of data to not be stored at all.
Exactly. By his own measure, a waste of space.
We know how they react. It's the same reaction as when their chat rooms go off-line. (-:

* https://news.ycombinator.com/item?id=16109735
> Stack Overflow Trends lets us examine how each of these technologies has been asked about over time.

So what are we measuring here? It seems obvious that more popular frameworks would generate more questions, but so would:

- Newer ones which not as many people are familiar with.

- Poorly-designed ones which lots of people nevertheless use.

- Ones which disproportionately attract inexperienced devs.
...this doesn't seem like it is at all worth giving up 1% of battery life. I don't think it's even worth giving away 0.25% of battery life to detect whatever the 70k songs stored in the database is, nor is it worth the space the database is taking up on the device. The question of "what song is this" comes up maybe once a month at best, and apps like Shazam already exist and have much deeper databases to search through. In other words, it does a worse job than existing solutions and uses power constantly.

It feels more like yet another solution looking for a problem. Worse, it screams like a foot in the door for telling users it's okay for microphones around you to always be listening, ala Amazon Echo. It also weakly smells like it'll immediately be used to send packets of what songs were listened to and similar frequency info off-device to be collected by the Google Big Data machine to be sold to RIAA members, as yet another way of extracting ad dollars from Android.
> a prop called "foo" & data/state param called "foo" are both accessed at this.foo, its no longer obvious what would happen if I would try to mutate this.foo. It mutates the data/state, not the prop, so now this.foo refers to the value in the data/state, which has a different value from the prop "foo" which can no longer be accessed at this.foo

Well yes, but have props and state with the same name is again just code smell.

> See this page which says "Don’t use arrow functions ":

This is a very narrow restriction and pretty obvious why you shouldn't do it, ie it passes a context that makes no sense. This is not a Vue limitation.

> React has escape hatches to get out of your way
So does Vue, don't use the Vue `render` if Vue isn't managing the state.
Groene thee drinken of slikken voor betere gezondheid en sneller afvallen?
Do you have any proof that the global banking “cartel” is using Ripple? Why would they want to use some third party company they have no control over, with participation of the general public, for a solution to a problem that they didn’t think was a big enough issue to address earlier, and that they could create a proprietary, private solution for?
That reminds me: Cory will always have my attention because, as with Ron Paul, I will take literally anything from an xkcd cartoon stick figure.
> the finiancial world has been doing it for ages

Well, not really.

Financial instruments like stocks and bonds are real legal claims on the real assets of an entity. They are not creating value out of nothing, they are transferring ownership rights.

Derivatives are a zero-sum game. There is no value out of nothing, the money you make is your counterparty's loss.

Seignorage is what the government does when it creates dollars (or when bitcoin is created). That truly is creating money for nothing.
Yes, they can use any currency or crypto with the technology, but there still is a transaction cost. Using XRP will lower that by 30%.
> I implied nothing

X was horrible ten years ago -> but X' was actually released 10 years ago, what was horrible about X'?

sorry, there is no way for me to interpret that other than implying that my statement was false.

there were multiple magic moments, but js didn't stop being horrible on daily basis for another couple years. having chrome debugger or firebug didn't save you from having to support internet explorer, did it?
You can use the cached version from Google.
I wonder how accurate this is in areas where tourism is a large contribution to the local economy. You don't actually have to be much good at running a business if you've got an endless stream of new people for several months out of the year and don't need to rely on repeat business. You just rename the place and hire a new GM when the negative reviews start overwhelming you (this applies more generally than restaurants btw).

I would probably try new restaurants more frequently if I could be more sure I wasn't gonna pay $10 for a $5 burger and help buy some sleazy J1-slave-driver (owner is too nice of a word) a new Land Rover in the process.
None of what you posted suggests that 40-something white males can't innovate. In fact you can't suggest that they can't innovate and say that they're the dominant group in tech unless you believe that all tech developments to date haven't been innovative. That's a contradictory statement.

You can claim that I somehow changed the meaning of the original bigoted statement but I didn't. It's a very simple, straightforward bashing of white males.
From the press release:

"If this funding challenge is met in gifts, grants, and multi-year pledges, MAPS will have raised sufficient funds to complete its Phase 3 trials."

That statement is huge. The idea that MAPS has successfully taken a compound through the entire FDA approval process using only donations is kinda amazing. They received breakthrough status with the FDA, they are starting phase 3 trials, and the only thing holding them back is an amount of money that would be a drop in the bucket for a big pharma company.
I'd like to see this article not banned (even though I think Project Veritas is shady):

* It's a primary source (or is it secondary since it's hearsay? ...Except they claim to have video.)

* I'd like to see the claims debunked or at least desensationalized

* It's a warning to us all to be careful when people we meet are pumping us for information about our company
Glad to hear it. I’m scouting for one on eBay now :)
> you could indeed say the same thing about gold

You could not. Exactly because it has some nifty use cases. The jewelry market is what keeps gold stable - it can absorb a small panic and stop it from becoming a large burst and anchors the gold price into a real world quantity.

If you create a store of wealth without any kind of real world anchoring, any small panic would be enough to permanently move its price to any random value. That makes it quite useless for a store wealth.
I think the price of 1 XRP is going to be somewhere between $5 and $10, $5 being more reasonable. The time to buy in was when it was less than a cent and nobody believed it would go anywhere. On a sidenote, I believe Ripple is made primarily by banks and I think the idea was to make it as close to USD as possible. If this is in fact true, it obviously will be overvalued even at $5.
It's not the IP address that's the problem, it's that they're processing personally identifiable information about their users in a way they haven't asked permission for and is not related to the service they're providing.

Here's the UK's ICO guidance for what you can process, as far as I can tell they've got no lawful basis for trying to match a user's IP address to a company without the user asking them to.

https://ico.org.uk/for-organisations/guide-to-the-general-da...
I think you’re overestimating the power of music theory to serve as a basis for generation or modification of music, and also the scope of music that it explains. Rhythm has been central over the past 100 years since Western pop music has a lot of its roots in American blues. However there is surprisingly little that music theory has to say about rhythm or groove.

There are a lot of regularities and patterns in harmony and harmonic sequences which music theory covers, but there are also a combinatorial explosion of melodies that will be justified by music theory in a particular harmonic context. The choice of which melodic path to go down is very poorly constrained by music theory.
NextRadio is an app that interfaces with the the FM receiver on android phones that have the chip enabled. It can operate in 'tuner only mode'.

Edit: http://nextradioapp.com/supported-devices/
You still need an app to turn on and tune the FM receiver, that is what the http://nextradioapp.com/ app is. Apparently it does have a fallback to stream but its focus is on the FM chip. They even have a search page on their site to help you figure out which phones have an FM chip.
My personal take is that perhaps chipmakers will start to see different market pressures. Performance is the big one, and it's been around since the first microprocessor. Power became increasingly more important, particularly in the past decade, from both ends of the market. (Both mobile devices and supercomputers are very power conscious.)

Security may become a new market pressure. You will likely sacrifice performance to get it, as it will mean simpler cores, maybe in-order, and probably without speculative execution. But, with simpler cores, we can probably further increase hardware parallelism, which will only partially mitigate the loss in single-threaded performance. Some chips may even be more radically security conscious, and guarantee no shared caches between processes. Such chipmakers would be able to say: we can't say for certain that these chips are fully secure, but because they are simpler with less attack vectors, we are far more confident they are. Security conscious chips may tend to be the ones that are internet facing (your mobile device, cloud data centers), and faster, less security conscious chips may only exist behind strict firewalls.

I bring this up in response to the submitted article because I find it unlikely that we will start to model processor insecurity at the language level. It ruptures too many levels of abstraction. I find it more likely that we will find ways to maintain those abstractions.
I know they have FM receiver chips built in. They are built into the QCOM chips. If you use the NextRadio app you can use the FM chip on the Radio to tune into FM stations. I am not sure why I am getting downvoted for providing some information.
Spectre has nothing to do with program correctness or safety. It has everything to do with hardware's correctness and safety.

That is, the basic premise of hardware process isolation is that a process cannot have any knowledge of what another process is doing, or whether it even exists, unless it is explicitly permitted (e.g. the OS offers an API to look at processes).

This basic premise is now broken: enough information leaks via timing as to allow to read arbitrary memory regions. It's like you built a house laying bricks in a formally correct way, but the walls proved to be permeable because the bricks themselves have a flaw.

Since this flaw is not fundamental, that is, not even every currently existing processor exhibits it, it appears to be reasonable to replace the flawed design of the bricks, and not to re-engineer house construction.

There is a nice quote in the article, about doing basic science to find out how software (and hardware) actually works, since specs are badly incomplete. It can be matched with another, earlier famous quote: "Beware of this code; I only proved it correct, I did not test it." Black-box testing of information systems is not going anywhere, formal methods or not; at the very least, we need evidence that formal methods were not visibly mis-applied, and also evidence that other basic premises, like those of hardware, still hold. Because sometimes they don't.
Ecuador says it has granted nationality to WikiLeaks founder Julian Assange
The Magic of HQ Trivia
Ask HN: My company plans an ICO despite my opposition as CTO, any advice?
I'm really sorry for creating a new account to stay anonymous. Feel free to ban this one if it is considered misbehavior.

Having that said, you can read the full story on my first comment below.
Why can't you keep them around and feed them fake intel on drug deals so they waste their time?
That is why self hosting is not the best solution.
I'm in my late 20s. It's been almost 4 years since we founded our startup company. We pitched for a year and eventually gathered enough investment to give it a go. The initial plan was to release our app in the local market (middle east) and aim for more users. At the end of first year, with the approval of the board, we decided to delay marketing spending for more development to polish existing features as well as to add more ones. We revoked one feature (not ads) which would provide early cash flow as it turned out to be too ambitious and rash.

We pivoted and decided to go global with our proven to be fun features highlighted. It went smooth and retention rates grew tremendously until finally the day for series A arrived. The lead investor (the one with the most equity) already hinted that he would be willing to invest, some others followed as well. They are all angels btw.

Mails exchanged, meetings happened, places were visited and it turned out what we can gather is not enough to handle marketing costs for aimed growth. We contacted people from crowd equity funding companies. Apparently, none of them is currently accepting applicants from our country.

During our last meeting, the board discussed the idea of an initial coin offering. Some of our investors are crypto enthusiasts and many of them think it is a good idea to fund a project publicly with tokens. The thing is, our product doesn't resemble anything like a currency, not even a commodity in my opinion. It sounds unnaturally arbitrary to have tokens inside our app, or a token with our app's branding on top. Moreover, as someone who is the most technically proficient person in the board, I can easily deduce that all the proposals about hows and whys of the ICO resembles an obfuscated fraud. I couldn't believe what I heard that day and it seems I am the only one who thinks that way.

I plan to spend my all remaining days until the next meeting to prepare the hugest report ever written, hoping it will prove that it is the worst idea we ever discussed. As my voting rights being limited, I have no idea what to do if my report doesn't stop its happening. I still need to work for a year to permanently gain rights on my own equity. If I quit now, I'll lose everything except the lessons learned during these 4 years.

My question is, what would you do?
True. The whole relationship between Ripple, XRP, and potential other tokens on the same network(?) has always confused me.
If someone has a good explanation (or rather a link to one, I'd be very happy about that.

For example if this test works out, what's to stop MoneyGram from using some other token, cutting out XRP altogether? Or just spin up their own system (think LTC vs BTC)?
Quick addendum: although the four color theorem proof always seems to require a case analysis at some point, proving that planar graphs admit 5-colorings can be done with a very short proof. Not particularly relevant to the analogy in the post, but if you want proof that planar graphs admit constant-sized colorings that's the one for you.
You mean Classical Liberal to be FDR types? Usually I see it used by conservatives who don't mind gays or weed.
Every now and then I wonder if we're making a mistake with the new tech we're bringing in to replace radio and TV broadcasts. FM/UHF broadcasts scale infinitely! There's something quite beautiful about them, technologically.

It's not difficult to imagine that in any kind of emergency scenario internet-based broadcast systems will collapse. And maybe it's just me, but I always found broadcast to be pretty reliable (or at least consistently unreliable in ways I could predict) - online broadcasts have a tendency to fail/buffer/etc. at totally random intervals.
The VCS is still decentralized (you can share code with your neighbour or across the world), it's the administration (tickets, PRs, etc) that aren't.

I think it'd be fairly straightforward for github or a competitor to store those things in git as plain markdown files, either alongside the main source code, or (as it does with GH Pages) in a separate branch (that has nothing in common with the master branch but it's still in the same repo).

Similar (maybe) is ADR (http://thinkrelevance.com/blog/2011/11/15/documenting-archit...), storing architectural decisions into numbered files in git. See also: https://github.com/npryce/adr-tools
Things I Have Learnt as a Team Leader
I'm working my way through the "Blueprints for Armageddon" series in hardcore history. The attempts to regulate AI remind me of the Russian efforts to regulate war before WW1.

In the first part of BfA (I think) he talks about the peace conferences in Russia whose goals were to limit the progression of technology. Partly because Russia wasn't prepared for a high tech war, and partly because large scale efficient killing was kinda scary. Anyways, they wanted to limit what technologies could be improved by freezing combat technologies where they were at the time.

Dan talks about how it wan't really that far-fetched of an idea to to artificially limit the spread and extension of knowledge at the time. This is in contrast to today, where it seems impossible for technological advancement to stop. Tech changes so fast it's difficult to imagine that it'll be slowing down soon. Could we even slow down the advancement of AI if we wanted to? How?

Is there any dangerous technology whose development could be stopped even if we saw it coming?