skysight-inc/HackerNews huggingface dataset:
Well, it seems like there exists a tradeoff between code quality and profits. Profits provide incentive, and therefore pressure, which manifests itself in deadlines. If we think of deadlines as time windows, then the tradeoff is really between code quality and time. Everyone knows this; rushing through projects will reduce their quality.

Given all this, it should not be surprising that corporate code is “lower quality” than OSS. The authors of each are optimizing for different metrics.

It’s only weird if you think companies are irrational for prioritizing deadlines over code quality.
You have to divide that by 2. It's "half the matrix".
Couldn't you say the same thing about gold? It manages to survive.
Why don’t you use a secondary gmail junk account for that stuff? Pretty easy to set up no?
It's interesting he's referencing the Disruptor pattern. I wrote the Go port of the Disruptor implementation that he links to (https://github.com/smartystreets/go-disruptor) a while back and it performed beautifully. That said, channels weren't slow either. Our finding showed that we could easily push 10-30 million messages per second through a channel, so I'm struggling to understand what he defines as slow. That said, with a few tweaks to the Go memory model and I think I could take the Disruptor project to completion. Without those tweaks, I have to do memory fences in assembly.
If you liked POE you might enjoy Mojolicious :) http://mojolicious.org/
How does it differ from using a debugger and evaluating statements on the fly?
You can use PayPal. You'll pay a fee if course.
That's my mistake, I didn't even notice that and will fix it in a bit. Thank you.
If X people send to an address and then the amount is distributed by a different number of outputs (for example 3 addresses for 1 person, 4 for another, etc) you can see how it can make hard to track down who has what.
It's about (pseudo-)science and rockets... I guess it is a good fit for HN, otherwise it would not have been voted onto the front page three times in two days. On the other hand, the people upvoting it are apparently not the ones who pay attention to what was recently on the front page?
Thanks not what the post is about. It’s about “thanks” without an ask. As someone involved with a big open source project, Deeplearning4j.org, I can say that spontaneous thanks mean a lot, even years after you built something.
Office isn't a good example: it used to be the case (may have changed) that WinWord and MacWord were entirely separate codebases.

https://books.google.co.uk/books?id=vPvhzDqZlaAC&pg=PA174&lp... (Spolsky)
This is surprising, as this is exactly the type of application where you'd think Go would perform well.
Science fiction triggers 'poorer reading', study finds
I should have been more clear about that, my apologies. I've only made the Android app so far and have plans to work on an iOS one soon
Which applies equally well to Ruby, Python, Go etc.
Easier said than done sometimes.
I think it should all be web based with some random thin clients.
Please upvote parent. This is the first thing that struck my mind too. golang offers `select` for non-blocking calls. Deeply skeptical that node.js is the best solution for a chat service. (unless the backend is serving rendered UI's)
The idea that art must be sacrificed for is itself a profoundly toxic one.

Art is the culture that underpins society. Normalizing the idea of sacrificing to create it is itself antisocial.
"If anyone is dissatisfied with Bitcoin, it’s possible to fork it and add value. If a developer made Bitcoin 100x faster and just as secure, you can be sure that everyone would use the faster one."

It is rather ironic that the author should say this at a time when the Bitcoin community has recently been at war with itself, and is still divided and without a solution, over a proposal to adopt a fix for the urgent problem of transaction rate -- so ironic, that I checked the dateline, and it is current.
The relevant factor for market regulation is not the number of people but the size of the market.

The US stock market is 39% of all publicly traded stocks. The US market is bigger than the next 8 countries put together. Source: https://www.indexmundi.com/facts/indicators/CM.MKT.LCAP.CD/r...

Moreover, countries with successful stock markets tend to follow similar rules because they coordinate with one another. The US is a leader in that.
The 89m is their ENTIRE IT budget over 6 years.
Thanks, I'm so glad someone noticed. Also as a disclaimer, my mom is super supportive and uses my app every day.
FCC ignored your net neutrality comment unless you made ‘serious’ legal argument
Because buzzwords?
Hmm I do appreciate the complexity involved in implementing a max number of hours per day you can grow a star. But I think it may be worth it. The more you clamp down on ways to exploit the system the more player's will respect their achievement.

The minimum of one hour is easy to circumvent. I wake up, turn off the alarm and then set another for 12 hours from now..

Theoretically if this is to track healthy sleeping then 6-8 hours max per day is the target. If users start logging 23 hours of sleep a day you probably shouldn't be rewarding them unless its a 'Master Sloth' achievement. haha

Maybe a simple solution is to prevent the player from receiving constellation growth unless at least X hours have passed since the last alarm completed? X could be a hardcoded 8 hours or maybe its the size of the previous alarm's duration?

Do you plan on having leaderboards or ways to share your constellation? If not I think that could be a feature to make the app more viral. I don't know if it would ever happen but imagine people sharing Nebula links in their Tinder bio as a way to signal healthy living...? Maybe there is a world where you pair users based on their constellation similarities. Could Nebula evolve into a dating app because maybe 'sleep patterns are actually one of the best indicators of compatibility' ? Probably far fetched and poisoning to the core idea but thought I'd share in case it plants any seeds for you.
Ah, I see, thank you.
How to Appear Smart in Data Science Meetings
DosEmu can do it better but only on 32 bit GNU/Linux
is this so that you have to go to the bathroom in the morning so badly that you wake up naturally?
The SC Boeing plant doesn't exactly come off looking very good in the Aljazeera documentary [1] on the 787. Just having a job shouldn't necessarily be the goal...the quality of the job and the rights of the workers to advocate for the safety of workers and the public are also things the Unions have traditionally done. I don't usually advocate for or against unions...I think they make sense in some situations and less so in others, but the Boeing case doesn't seem to be a good argument against unions. Boeing prospered tremendously when working with the unions in Washington state and it seems that a lot of their recent anti-union behavior is part of a number of decisions they've made that are quite short-sighted.

[1] https://www.youtube.com/watch?v=rvkEpstd9os
Why are you required to pay the dues if you don’t want the benefits?
Show HN: Requestium – Requests and Selenium
Or if you want to keep track of your work schedule.
> I didn't see anybody implying that people asking for feaures are "lesser people" or "lesser developers".

I admit that I may be reading too much into the dynamic at play here.

To be precise, naturalgradient did not say anything about the intrinsic value of users, but his/her comment says "people who have never contributed anything" and "supporting their laziness", both valid sentiments. The complaint is that the user is inconsiderate; I'm positing that it's better long-term to teach those users to be better users and eventually good maintainers. It's wishy-washy, but the good attitude of maintainers and other users is what taught me how to behave in open source.

If your policy is to charge for features, please disclaim it in your README. It's not a wrong practice, but you should set up the correct expectations.

-

Because this is HN: For anyone looking for brass, this problem is muck and there's a product opportunity here.
I always had a pet theory that Omega-3 kick-started the development of the human brain. Not sure if the science agrees completely but it does suggest a correlation.
There's no reason whatsoever to believe that "store of value" is a "main characteristic" of cryptocurrencies", still less that it "has the characteristics of gold". Cryptocurrencies have no physical use, no intrinsic value, no legal tender status, very limited and volatile history as a store of value, no stable pattern of future demand, immature and corrupt options and derivatives markets surrounding it and the beauty of open source means that the supply of cryptocurrencies in general is essentially unlimited.
Both regulate the internet, but in complete opposite ways:

Net neutrality is the default state of computer networks (a packet is a packet), and protecting it forbids discrimination by source, destination or contents.

The great firewall discriminates by source, destination or contents.

One of the main arguments against net neutrality is disallowing offering different speed or latency depending on the type of service (VoIP, gaming, downloads), but that's false, because you can do that without looking at the source, destination or contents; you just have to compare them with other packets (as opposed to comparing them to a pre-made list).
Very true, but Apple is consumer focused, vs Microsoft is enterprise focused, and so I think we still have a better chance for Apple to react to this than Microsoft would have.
Ask HN: How do you protect your application models, logic in a JavaScript application?
Hi,

I'm exploring ways to protect application models, logic in a JS application (EmberJS specifically). For us, its good enough if its just hard. Currently ember-inspector makes this too easy.

Does anyone have any experience with this, or with tools like JScrambler?
Agreed, those mom quotes cracked me up!
One of the things I have heard a lot nowadays in the blockchain scene is that people like to call it "utility tokens" trying get a pass from the SEC and CSA (who also recently ruled that ICO's tokens are securities)
Excellent point. RIP DigiCash, CyberCash, First Virtual, Beenz, Flooz, et cetera, ad nauseam.

And come to think of it, I think Flooz reached better merchant adoption than any blockchain-based digital currency has managed to get.
I actually was working as a grocery clerk, then in a mail room. There are a lot of developers without degrees in the world. I was a nobody from nowhere and my vocational opportunities were pretty limited if I didn’t have the good luck of having a Commodore 64 when I was a kid.
If you aren't meant to type in ethereum addresses, why does all the ethereum software provide a textbox to let you type it in? Are they doing this to let you shoot yourself in the foot? Are they plain malicious or just extremely dumb?

While you may not know anyone who manually types in an address, there are plenty of stories about people who do (and make a typo) on reddit & other discussion boards.
It’s up to copyright holders to enforce their copyright. They can choose at any time to start or stop or restart doing so, for any reason, as long as the term of the copyright has not expired.

I’ll say this, if someone made a prediction market, I’d put down $10 on 70% odds that Microsoft won’t try and enforce in this case. They’re trying to reach out to developers these days, and suing Fabrice over this interesting project would piss off a lot of developers. But I accept the 30% odds that they may just pursue enforcement anyway.
Looking at the design on the generated logos, I'd say freelance designers need not worry for now
Cost of living and wages are different around the world... ;)

He implies that he lives in Eastern Europe.
I'm having trouble understanding what you're saying here, but I think we agree?

Please do consider checking out PureScript. It's a lot of the good parts of Haskell and some of it's libraries look like sorcery they're so good.
Your reply contains several errors, but I will pick one.

> D) Bitcoin is still, objectively, centralized.

Not only you, but this whole thread is missing one critical word: incentive.

Miners are incentivised to play ball, as trying to play games will result in the rejection of their hashing work. Wherever they are, it does not matter (up to a point, ie geographical risk repartition). But in actuality, we know there are miners all over the planet, and that there are thousands of them.

Parenthesis: by the way, non-mining full nodes add precisely ZERO value to the network, and they actually slow it down. Before you guys start yelling, please see reference at the end of my comment for details. That's another urban legend purported by Bitcoin Core. Anyways, don't get me started.

OK, back to miners: yes, as time will pass, there will be mining consolidation, it's inevitable. But it will not matter. In addition to miners, there will be large service providers (thousands of them) who will be -incentivised- to run either small mining nodes (more secure) or non-mining nodes (less secure) for verification of their own transaction. That alone will be more than enough to ensure the security of the network.

From the start, Satoshi was predicting the apparition of large mining server farms, no farther than in the very FIRST email he wrote to the world!!

http://satoshi.nakamotoinstitute.org/emails/cryptography/2/#...

quote:
At first, most users would run network nodes, but as the
network grows beyond a certain point, it would be left more and more to specialists with server farms of specialized hardware. A server farm would only need to have one node on the network and the rest of the LAN connects with that one node.

Bitcoin Network Topology Description (provides visual explanatino as to why non-mining nodes are totally useless, and even detrimental.

https://fr.scribd.com/document/359522859/Bitcoin-Network-Top...
"[..] if your entire business model is flawed [..]"

Unions go a little deep than the concept of "business model"

"[..] I personally have zero desire to work in a union or be forced to be in one."

I'm going to speculate that's only because you have good working conditions.

"unions [..] have a place in the past"

That's a common opinion. What have changed from the past?

Because the laws of capitalism tell us that if any profit or benefit goes to the worker is because there is no way around it. Sometimes is a good idea look back to history. For instance the eight hour working day:

" In 1919 in Barcelona, Catalonia, after a 44-day general strike with over 100,000 participants had effectively crippled the Catalan economy, the Government settled the strike by granting all the striking workers demands that included an eight-hour day, union recognition, and the rehiring of fired workers."

(https://en.wikipedia.org/wiki/Eight-hour_day)

Sometimes I think that we are all "free riders" on the fights of the past.
> Saying Bitcoin is centralized because large mining firms exist is equivalent to saying that Git is centralized because of GitHub, or email is centralized because of GMail.

Email is indeed controlled by a few actors which have way too much power over it.
>A) Bitcoin is congested with transactions and takes hours to process some of them

It regularly takes /days/ for visa transactions to go from "confirmed at the counter" to "arriving and unlocking in my bank account so I can use it to pay my rent". Over Christmas in Australia it's common for visa to just flat fail to keep up with demand, forcing shops to keep offline dockets for up to weeks after the product has left the store on the /trust/ that visa will let them redeem those pieces of thermopaper for actual spendable money.

Mere hours is, from the perspective of the merchant, amazing.

>B) Bitcoin fees are through the roof, it sometimes costs as much as 25% of the value of a transaction to send it

When I send money from Iceland to Australia, it takes about a week to arrive. I've had a transaction magically blink out of existence once (both banks told me it was the other banks fault), and while it is in transit approximately $70AUD is removed from it. This number is not exact and varies by up to $15 each time you send it, which means you have to send $90 more than you intend to pay in order to make sure you've paid at least as much as you intend to.

Mere hours is again amazing, and a 25% fee (that's probably not correct by the way, segwit has reduced fees from approx $5USD to approx 25c USD, check your wallet settings) is rather tolerable by comparison. In the process of paying Australian government bills and bank charges from Iceland (which are usually in the order of $20-50), I have definitely spent at least 1.5x as much on transaction fees as actual payments.

You're focused on the "coffee problem". You want to buy a coffee in person and have the transaction validated immediately so you can leave the till. Bitcoin is not great at this. However, the coffee problem is only one very narrow subset of how money is used, and you're also only considering it from a consumer-centric perspective. Bitcoin is considerably better than fiat at a lot of things, and in a lot of other areas it offers a different set of tradeoffs that might or might not work for you.
interface{} is not reflection, and using both reflection and excessive amounts of interface{} are not a good idea in Go, and frankly, I don't see anything in this code that would require using either
What makes receiving money difficult?
I can totally understand why people wouldn’t enjoy being a software developer and would leave it for better opportunities if they could, but they should at least be aware what an amazing privilege it is, in the world today and in the history of the world to earn a living from thinking.
Sentences:+simple+and+compound
I know that OPSkins created DMarket

https://www.prnewswire.com/news-releases/opskins-founders-to...
Let’s Build a Decentralized Game Economy Using Blockchains
Ask HN: How to pass cryptocurrency assets in a will?
Does anyone have any good ideas on how one would pass on cryptocurrencies to family in the event of death?

I imagine you just need to pass on the type of wallet used, and the mnemonic recovery words so they can access the coins.

But you can't just leave those words in a plaintext will obviously. Any thoughts?
Maybe I'm a dumb idiot but I'm definitely guilty of using this so-called anti-pattern, and I don't really see the big deal.

In a lot of places I define module.exports as a function that takes some inputs, eg. db params, and returns a promise that results in an object containing the methods I wish to expose externally, _after_ any initialization, eg. connecting to the db.

That's a convenient way to guarantee a module is ready to use to the bigger app. Naming each export as a constant would break this.

So what's the benefit? You want to use some fancy IDE with Auto complete? Well la-di-da some of us old farts are still on text editors. So unless I'm missing something I don't see why I should change my habits to cater to someone else's convenience.

If someone can provide a better case against default exports, I'm all ears.
Balance the alarm clock on the edge of a tin pot, so that when it goes off, it will just fall inside and make a bunch more noise.
The most censored racist website on the Internet
Not anymore.

See the Office related talks at CppCon 2015 about how to write portable code using what Microsoft calls the hamburger model, as part of their migration to a common codebase.

Basic a shim layer for low level OS APIs, the middle layer with the majority of code and another shim layer for UI APIs.
I think it is probably:

* a guarantee, and support for running Linux
* UK-based customer support, rather than ROC/Taiwan-based
* maybe component selection that avoids certain hardware with bad drivers?
Sweden: The only country in which the metoo movement has caught on
These 24h transaction volumes are simply not correct.

https://www.cointracker.network/rates
I thought that was IBM think Pads
Still doable when user experience is more valuable then developer convinience.

It is all about design a good application architecture from the get go.
I don't feel this urge at all, I just wake up smoothly and then after 5min or so "oh I could go to the toilet, okay". I guess it's been a known trick for centuries, at least I've read somewhere it was a pretty popular strategy among indigenous folks. But hey who am I to say, I cannot even wake up with an alarm clock!
Default exports don’t export any name ie. symbol that can be easily associated with a exported value. Named exports, on the other hand, are all about having a name (pretty obvious right ) . This makes possible for IDEs to find and import dependencies for you automatically, which is a huge productivity boost.

There's no reason a default export cannot have a name.

export default function foo() {...}

With this in place VS Code is able to auto-import the dependency and refactor its name if necessary.
Here is how we do it: https://blog.sentry.io/2017/11/14/evolving-our-rust-with-mil...
Buy and sell Bitcoin, etherium, and other coin with Turkish currency
Artificial Intelligence Is Important for #Cybersecurity, but It’s Not Enough
Congrats! This looks really interesting. One thing I would appreciate clarity on: I'd prefer not to send data to ad networks, if I pay for the ad free version, will that not only prevent the display of ads but also any associated tracking?
The main difference is that 20 years ago, eCommerce was actually good for pretty common use cases. 20 years ago today I'd already had 9 successful orders from Amazon totaling 38 books. I was hardly an early adopter; at that point Amazon had been going more than 2 years.

In contrast, I'd be willing to bet that the bulk of ICOs to date will in 10 years time be seen as failures.
>There's some discussion of this above, but I think it's interesting that the alternative to software development is seemingly always construction, or delivering food, or being a waiter.

You don't need a degree--or even any formal education at all--to become a software developer.

That's why it's often compared to blue-collar jobs.

For people like us, if we weren't developers, then blue-collar is our only other option.
Belgium moves to ban 'Star Wars Battlefront 2'-style loot boxes
Absolutely this. As I got older, I realized that I felt more relaxed and refreshed after a weekend when I put the computer down and went for a hike or out to the bar with friends, or to the local game store for some kind of games. Things I used to consider counterproductive. Having something else going on is important for putting things in context.
Ask HN: Devs, how many iPhones do you own to test iOS compatibility issues?
Hello guys, every month, our small team lost hundreds of hours testing our app on various iOS and various devices. Sometimes our app will break on iPhone 7's iOS 10 but works fine on iPhone 7+'s iOS 11. A recent Safari bug made our app unusable on Yosemite and El Capitan, but works fine on Sierra - and we have to spend a ton of energy stressfully updating, pulling, rejecting, explaining to angry users, and fixing reviews.

We start to feel that the iOS/macOS eco-system and device landscape is so fragmented right now for both native and hybrids apps we're developing. Take another example, we've seen iPhone 8+'s Safari and native table view behaves very different from iPhone 7+ of the same iOS version due to timeout and performance different in the phones. It's even more frustrating consider these devices have different VRAMs.

It's mind boggling that now these days some same swift code would work differently in ios10 and ios11, and iOS development feels a lot more similar to or worse than Android development now.

We're thinking to just buy a few Macs and iPhones to make our lives easier. But is this also what everyone else ended up doing?