skysight-inc/HackerNews huggingface dataset:
Show HN: PowerSong, a platform to see which songs make you run or ride faster
Do you that song that gets you running a little faster or your heart beat harder every time it plays?
Ever wanted to apply statistics to check whether the effect was consistent?
Here's PowerSong!

The backend is based on Python, with Django as the "MVC" framework, NumPy and Scipy, Spotipy.
Celery is used to retrieve information from the APIs asynchronously.

The main challenges when building PowerSong was how to transform the raw information from Strava into "clean" pace, heartrate and elevation information that perfectly correspond to the period of time:

* GPS data is very noisy: decreases in GPS precision leads to spikes in the user position. I had to filter out songs that have large accelerations and speeds;

* Dealing with differences and speed (meters/sec) and pace (minutes/km) is a fun surprise: to calculate a difference in speed, you just have to subtract them. But if you want to compute the same difference in terms of pace, you cannot grab the speed difference in m/s and convert it to minutes/km; you have to have to compute the difference with the speed in minutes/km;

* The last.fm and Spotify only give you information regarding when the song you are listening started/ended. Pausing and skipping songs can lead to ambiguous situations;

* The same song can have different duration in different albums and versions (e.g. single version, album version). This is a bigger problem on last.fm, as songs are associated to multiple albums, which means that it can be impossible to find which version of the song was listened (this is still a WIP);

* Celery's per task rate limiting sounds nice, until you realize that you have multiple tasks using the same API, and thus, not counting towards the rate limit. I had to create per API tasks (spotify_task...) that encompass all methods and have a well behaved rate limited system;

Go to https://powersong.run/demo/ for a live demo using real data.
Heuristics often dominate over reasoned analysis because they are right more often. That's why people say "you're overthinking it".
>> took a break from social media after realizing that she spent far more time on Instagram than she realized.

So she ended up realizing...
Two unique things about bikes is that it is harder the slower you go, and it uses a skill, balance, that we practice every day as we stand and walk. When you are a child, afraid of falling, with no experience, you want to go very slow. And that is the hardest way to ride a bike. As you increase speed it wants to stay more stable (on a flat surface).

Just the knowledge that you have done it before, that it is an easy thing, means that in the first second you are accelerating to a speed where it is in fact easy to ride a bike. I don't think that particular example is as much about skill as it is about confidence.

Frankly, the experience "you don't forget how to ride a bike" was true for me the very first time I rode a bike. My mom was holding on to the bike, then we moved faster, then a few seconds later I realized my mom had stopped behind me and I had been doing it on my own. We just had reached a speed where that became easy. And then the trick was not panicking ;)
A friend of mine released a game that sold around a million copies in the late 90s or early 2000s sometime and had a deal like that. Except the publisher claimed that after all the distribution and physical costs the profit of the game was 0 and so he never got any money from his profit sharing agreement. Steam and online distribution in general is a godsend.
Yes it does. Free speech means not stopping Nazis from expressing themselves, it doesn't mean you have to help them express themselves.

If you want to express something I don't like, then I'm not gonna try to silence you, but other than that you're on your own.
Sure, maybe. But the tone of the article was that they had invented a new business model, which is obviously wrong.
Why don't payment processors want to be associated with someone calling for violence in the streets while peddling conspiracy theories they know to be untrue?

Isn't that pretty self explanatory...?
It's about 70 minutes; I would really appreciate if you could provide a TL;DR of why you think it's extraordinary, before digging in.

Thanks!
The major publishers aren't trying to "beat" Steam, they're just trying to release their games without paying the Steam Tax.

The point is, it's too late to do the math on the Steam Tax now, those R&D dollars are spent. Steam was too slow.
Ask HN: What are some fun projects for SDRs?
My take on this is that the ecosystem of interacting decentralized platforms needs to sort of become the new government in order for it to be effectively regulated. In other words you can't deal with it with some external group of people that not only don't fully understand it but also have no direct influence.

Which is not to say that any self regulation built into decentralized platforms should closely resemble anything like traditional government.
> TBH, I find that most of the people making an argument to remove politics from things are using "politics" as a euphemism for something other than elections and governance. When HN experimented with a ban on "politics," it explicitly excluded the operations of government from the definition of the term.

So maybe we need a new term. Something to separate "politics as in mechanics of governance and related systems" from "politics as in partisanship, ideologies, and all the other bullshit that's entirely opposite to reason and rationality". Both HN and academia needs the former, not the latter.
Is it moral for content producers to sell users web browsing habits to advertisers without their explicit consent?
Given the current climate where vast swathes of people actively support and encourage this type of de-platforming and censorship, I believe it's far more likely that we'll find ourselves in a situation akin to those in China than the libertarian paradise you've alluded to.

Edit: Silently downvoted, no disagreement voiced. Welcome to the new Reddit.
One thing I just noticed with Instagram's website is that I can't select comment text any longer... that may or may not be a new change but I never noticed it earlier and it's driving me crazy now as I frequently copy comments to put into different translators.
Plenty of German cities, for example.

http://m.faz.net/aktuell/wirtschaft/wohnen/haus/immobilienma...
The idea of anyone invading the east coast is hilarious, Appalachia would make Afghanistan look like an amusement park in comparison.
Do you have a single published study showing that the UB "optimizations" benefit real programs?

I typed in the example code and current Clang generates exactly the same assembly for both u and not u integers - which is correct. So the problem he is describing is an error in Clang code generation that has since been fixed. Again: I have yet to see a serious attempt to validate the utility of UB "optimizations" - this video certainly does not contain any.
I would have to leave internet and find relevant hobbies. I dont do fb or other social networks ( well i occasionally check insta but that is very minimum ).
Most of my time gets thrown at rss/browser.
> a far-right reddit clone

I was under the impression that voat was created due to censorship that reddit applied on all kinds of things, including anime porn for example. Not exclusively for far-right content.

I certainly do not doubt that most of bitchute's or voat's users are far-right however. It only makes sense that the groups that are censored from other platforms move to censorship-free* alternatives. That being said it would be great to see other creators who have suffered by youtube's content-id system move to decentralized and censorship-resistant alternatives.

* I do doubt that it is fully censorship free still. Chances are that they are willing to take down copyrighted content from their site for example, even if they can't affect the webtorrent distirbution.
> when you open a Pull/Merge request on those sites. It's easy to apply & download the patch series locally to test it. For E-Mail client integration you need something that'll "git am" a range of messages.

That's a good point. Like git-am is the inverse of git-format-patch. Unfortunately, no program has been written as the corresponding inverse of git-send-email. If a program like that existed, then one could get feature parity.

At least with Thunderbird, one can highlight the messages one wants to save and save them to multiple files in a folder.

> Likewise with "git push" to your topic branch updating the PR/MR. Sure you can do this all manually with git-format-patch and git-send-email, but having something that works smoothly takes a lot of work.

Based on what I've read, people typically rebase their patch series and push up a new set of emails as a reply to the original patch series. In Github/Gitlab, people typically make an incremental commit and push it up.

But, if one wants to maintain a clean commit history for a given feature development branch before it's merged, one will have to rebase and apply those incremental commits to their corresponding base commit. That's trivial if the feature is implemented in a single commit, but a bit more complex if it's multiple commits. The former case has been addressed by Github with their squash before merge feature I believe. The latter case requires manual rebasing (which arguably is more more than just doing it locally before pushing up the next version of the patch set).
> Yes it does. Free speech means not stopping Nazis from expressing themselves, it doesn't mean you have to help them express themselves.

I'm sorry, but I don't see where @dmerfield says what you are arguing against.

Quoting @dmerfild for posterity:

> No it doesn’t. Free speech means allowing nazis to express themselves so you and others can understand nazism.

---

Interestingly, in most of Europe, "Free Speech" does not include this right. It is pretty uniquely American.
Use the compiler intrinsics (__builtin_add_overflow, etc.): that's what they're there for. They are guaranteed to generate the most efficient code.
I don't know if that feels entirely applicable. People who advocate that people shouldn't vaccinate their children simply increase the chance of large amounts of people dying from preventable disease; if they didn't, nothing would've been lost. Calculating how much should be spent on a bridge, on the other hand, is simply necessary in a world where there is demand for bridges even though there's not enough resources to ensure that both enough bridges are built, and that every single bridge is guaranteed to be 100% safe.
Heh, I've got an Armatron in its original box in a closet somewhere. It is the second of a pair as I attempted to convert one to computer control. The mechanical artistry inside is pretty amazing, there was no way to directly convert it as far as I could find, you would have to replace all the mechanics. So the second one sat untouched...
My average time on Instagram is 14 minutes a day. I need to cut it down a bit.
I just realized that I'm yet to properly introduce myself to you folks; name's Darrell (the Happy Koala - I love koalas the way other people seem to love cats!). I'm a self taught developer and the project this thread is concerned with is actually the reason, pretty much, I started dabbling with code. If you want more of a background, you can check out an article I wrote over at Medium about the evolution of this project and how it led to me becoming a web developer - https://medium.com/@darrell.arjuna.huffman/how-an-interest-i... (please bear with any spelling or grammatical mistakes as English is not my first language). I'm still very much of a junior empty stack developer, but I love coding and intend to continue doing so, so hopefully we'll have lots of interesting discussions here on Hacker News in the future! Having said that, have a nice start to the week!
And use your friend’s computer for all access to that account, making listings, booking shipments, customer service. Because the tracking and identification they use makes Panopticlick look like a kid’s toy.

And whose tax id will you use to meet the 1099-K requirements?

I asked Seller Support about this because I started consulting to help people sell on Amazon, and was concerned about getting caught in a dragnet over multiple accounts. They said as long as my clients didn’t sell the same items it probably would not be a problem.
I use the stock Mac layout for the one hooked up to my MBP at work. Some of the combos are a little awkward I guess, but I've gotten used to them.

I do wish there were enough thumb keys to have one each of Super/Cmd, Ctrl, and Alt/Opt on each side (without sacrificing one of the pg up/down or home/end keys). I've even written to their support requesting this :/

I find the lack especially problematic on Linux where I really need the Super key to operate i3 or window manager shortcuts and the Ctrl and Alt for IntelliJ and other program shortcuts.
Planned OBSOLESCENCE on X58 CPUs? And RE: HUB I7-980x [video]
Ask HN: How to get more downloads for Mobile apps?
After Good UI and unique features still not getting more download.

Is any way to promote the app , so more users can download apps ?
Python for Beginners – Learn Python from Scratch (Kickstarter)
The problem with any platform that bills itself as "uncensorable" is that it will always attract the people that everyone else wants to keep as far away from them as possible. The repulsion people feel for those "deplorables", for lack of a better term, easily and automatically transfers to any platform that appears to tolerate them.

For this type of platform to succeed it must focus on self-replication rather than too-big-to-fail uncensorability, propagating through a hydra effect that makes it easy to clone and re-spin when major hubs get brought down.

This is basically what happened with BitTorrent. The trackers and indexes come and go, as whenever one obtains too much prominence the hammer comes down, but the core platform remains and it's reasonably easy for any interested party to pick up the pieces.

If someone really cared, they'd run the most blase service on top of such technology and actively kick off anyone slightly controversial. As they obtained mainstream acceptance, they'd be able to focus on developing the resiliency and portability of the underlying technology. With some work into ensuring this tech becomes known and depended upon primarily for its association with positive things, associations with undesirables can be written off as an unintended side effect, but the ultimate outcome would still be free publication without requiring the control or approval of any breed of censorious supervisor.

Not unlike the internet itself, really.
Is he aware that Trump ended the program that subsidizes shipping cheap products from China? I imagine this will pretty much kill all FBA when it goes into effect

https://www.theatlantic.com/technology/archive/2018/10/trump...
It's the voat/gab for youtube.
Not sure I agree with that. What else could free mean in the context?
Not really. "Safe" is a feeling. Unless you define it in some study as a % risk of something bad happening, it is not defined. It is similar to saying that 41 percent of those surveyed felt some uneasiness about taking vaccines. That does not seem really astonishing.

One should be a bit nervous when putting things in your body that are strange enough to change your immune system. Doesn't mean you shouldn't get over those feeling and get you and your kids vaccinated. Maybe this anti-vax movement is largely sustained by the "follow you feelings, reason will fool you" philosophy that seems to be ascendant at the moment.
> This is a great example of how 'just set up your own platform' may not be the best solution to issues of censorship and what not.

It's more like "don't depends on Silicon valley's ecosystem" these days. Because all these tech corporations went crazy since Trump got elected and clearly decided they'll use their audience and market shares for political goals... which they have all the rights to do by the way, and it's actually a good thing, if leads to a more diverse landscape of tech services. There are opportunities for competition but still a lack of VC that can fund that competition...

EDIT: I obviously do not support violent or "racist" views. But since now even radical feminists get booted out of social media and what not because they don't subscribe to a specific ideology, it proves that at the end of the day it has nothing to do with "fighting Nazis".
The rules of markets are an emergent phenomenon based on human psychology. The government operates within those rules--it can create incentives and disincentives, but it cannot change the rules.
On the contrary: if clang assumed that signed integers could overflow by default, then that would be a bug. Why? Because it would result in missed optimizations, and optimizations are the reason why we use an optimizing compiler.

Here's an example of what can happen if the compiler doesn't perform these optimizations: https://gist.github.com/rygorous/e0f055bfb74e3d5f0af20690759...

The loop codegen when the optimization is not performed is pretty atrocious. That is the bug, and solving that bug is the reason why compilers assume signed overflow cannot happen.

If you want to blame something, blame the C language. Compiler developers are just doing their jobs.
I don't understand why BitChute can't moderate how the site itself appears to the casual viewer without sacrificing Free Speech.

Free Speech does not mean they have to promote the content that is uploaded, only that they do not censor it. Allow conspiracy theorists and extremists (right or left) to post what they want.. but you don't have to feature all recent uploads on the front page. You actually don't have to feature popular or recent uploads on the front page at all.
Refusal after Refusal
Then the Department of Justice will step in and it'll be 2001 all over again
https://en.wikipedia.org/wiki/Hollywood_accounting
A yik yak clone, what could go wrong?

https://www.gimletmedia.com/reply-all/9-yik-yak
No, you are confusing race with racism:

> In that case, race is very relevant to the "real reasons for a problem."

I'm sure you mean that racism is very relevant etc.

> In 2018, we can't discuss real reasons for police violence without race. In many cases, it is the reason.

Same here, you can't reasonably mean that race "is" the reason for police violence, you (most probably) meant that racism is the reason for police brutality.

This kind of mixing up of the concepts is precisely what I object to.
What courses did you take?
Thanks. I'll add the Washington Post's database of police shootings throughout the U.S.:

https://www.washingtonpost.com/graphics/2018/national/police...
Well, the argument goes something like: I'd euthanize my kids and spend the rest of my waking life in one of your jails, dying childless, rather than let them live in your world, raised by you, and not me.

If I'm in your jail, I'd rather dispell all illusions about it, and not live a life pretending my children are more than your playthings. Furthermore I wouldn't even want kids, if they'll be raised by you. They're better of dead or aborted.

Let's be clear, I'm playing devil's advocate, and I don't really think or believe this myself, but this is the root of the argument.

My reason for surfacing the foundation of the premise for such behavior, is because I think different strategies are needed to confront emerging biological hazards of the future.

It's not going to be enough to just ask people to jump on a band wagon, and it's barking up the wrong tree, to remove an individual's choice from the equation. People have to want to live, and biological epidemics have to be attacked with a variety of strategies.

Vaccinations are good, and so are antibiotics, but they won't save us in all cases, and they won't save all of us even when they do work.

Other brute force methods like area denial take over, when the sophisticated medical tactics fail. It's important to look ahead, and recognize that in scenarios where vaccines and antibiotics don't work, to consider the situations that emerge even when other plans fail.

Basically, the oldest option on the table is quarantine. It's low tech and appeals to biblical sensibilities. Some people are willing to try it instead. The argument is going to go that way. Strategies for dealing with people who think like that are going to have to chart a different course.

My actual position is that life sciences are going to radically change in the next decade or so, anyway. Why bother haranguing people about vaccinations, when five years from now, biological agents might very well be a solved problem, rendering vaccinations as obsolete as brute force quarantines?
> What are the obvious reasons?

Really?

OK, how about this: he's a polarizing nutcase who has adopted controversial and unsupportable standings on several calamitous events in the past two decades.

Most people that see a mainstream business supporting him assume that business adopts those same ideas, rightly or wrongly. So, the perception of supporting Alex Jones can be incredibly damaging to the reputation of a business.
No one is denying that there is a chance of a bad reaction or side effects. Safety is always relative, and vaccination is a lot safer than non-vaccination.
> The fact that you can break the paywall (easily) doesn't give you the right to do it.

I would argue, from both legal and technology perspectives, the ability to easily break a paywall provides you the right to do so.
The other stockholders are almost never your adversaries. Their interests are in alignment with yours: to vote in such a way that it maximizes the value of the stock.

The only exception would be some kind of action that is specifically discriminatory towards your shares over theirs, which is typically not legal. If it were to occur, that is the only situation where I would want Vanguard to be voting on my behalf.

You're right though that not voting is equivalent and much easier than trying to replicate votes.
> it silences a computational action

HN generally does not like comedy accounts...
I don't think it's any single point that dominates their belief, but it's that they have so many "doubts" about vaccines to point to. As soon as you debunk one they move on to the next. In the end, even if you debunk all of them carefully, just the fact that there are so many "doubts" seem to fool the human brain into thinking things are not so clear. It's the same thing with global warming. The one dissenting scientist weighs the same as 10,000 on the other side. Or there's always the case from the past where the lone wolf scientist was right all along!

I'm hoping with enough good arguments and data I can sway her view, but I also know the human mind is incredibly bad at rational thought and interpreting statistics.
I'm introverted myself, but I think being around people makes us better as persons. Even more so if its all kinds of people (e.g. a community, neighbors, etc) and not just our self-selected friends.

The internet, on the other hand, usually has the opposite effects: it multiplies the pathologist of the individual, and makes them the god of their own puny universe.
There is lots of research and literature about that. In the West, it's generally somewhere between 250k and 2mm.
That is not portable.
How? Homeowners associations. I planted milkweed in an empty side yard and was cited for the same thing.

Also I was cited for having a browning lawn. My neighbors brought me a bag of weed-and-feed (basically lawn seed with pesticide) because he thought I did not know how to “do the lawn.” Very sweet, but all I wanted was not to kill everything. Wasn’t allowed.