skysight-inc/HackerNews huggingface dataset:
This is a familiar tale; it isn’t at all unusual to find yourself in such a situation as a new person joining a project. Despite the temptation to refactor, don’t do so without a reason —-remember that any code you change or improve can introduce subtle or not so subtle changes in its behavior and can have unanticipated negative impacts on the business. It won’t matter that you wanted to make the code better, if you touched it you will end up owning subsequent blame for problems. Refactor when needed to cleanly add new feature requests or bug fixes.

The good news is that the team and code base are both small. Bigger teams and bigger code bases (like hundreds of thousands of lines) become non-linearly harder to repair.

Likely high level goals are: being happy at your job and making your company happy to have you there. As a new person on the team, refactoring on your own is perilous and probably won’t advance you towards these goals; so, what should you do?

Often, tangled code is paired with tangled development methods. Look for places to make useful improvements in the development process. Is the code and it’s data protected by adequate backups; is it under change control; is there a release schedule with documented testing procedures; is bug reporting and tracking done; are there specification, architecture, and design documents (under change control); are there tests; are there reviews and coding standards.

During this period of time, while learning the code base, you can make yourself valuable by helping with the process. Be sensitive to company politics and don’t embarrass people that could make your life difficult at this time.
If the company has a reason for or against using cloud backups, don’t try to change it, but if they don’t do backups properly suggest that you can dive in and help with it. If they are doing adequate backups, move on to look at their source control. I’d especially focus on ensuring that source code control (like git or Microsoft’s Team Version Comtrol) is being used. Help in the areas that need it the most first.

To introduce better coding you could ask the person in charge to “help you” by reviewing your code. This will allow you to talk about your ideas without directly challenging their existing code. Act humble, but more than that be humble about receiving suggestions for your own code. This will foster an environment where better code will be produced.

I was working on a big OS kernel project once, and a new contract programmer joined the team I was leading. He spent the first few weeks getting a better kernel debugger running, while keeping me up to date on his progress. Other developers started going to him to get help with their debugging and soon, he became that essential guy that everyone respected and needed. At that point, he was able to start suggesting changes to parts of the kernel that weren’t even his. Dispite the huge code base and the politics of numerous departments and hundreds of programmers, this person made many important improvements throughout the kernel over the next couple of years and was viewed as one of the most valuable developers in the organization.
I just checked Never Split the Difference. The context of the book is intriguing. Thank you so much :-)
Phoronix already tested this: https://www.phoronix.com/scan.php?page=article&item=l1tf-ear... and https://www.phoronix.com/scan.php?page=article&item=l1tf-for....

The performance loss isn't that bad in most cases.
Unfortunately if you attempt any of these things in the US you'll be branded an evil socialist. Better off slaving away your entire life to create that all-important shareholder value!
I wouldn't define $100k for a family of 3 as upper middle class. And a big part of what defined class is how much control you have in your life. If you have to work 80 hours a week and get $100k that's far different than working 40 hours a week and getting $100k. Another thing is how secure your position is. Are you at risk of being outsourced? Is your job going to be automated? Are you in construction with temporary employment that can disappear at any time? Do you live in an area where you have other employment prospects and your children have the opportunity to have a good education and make good friends?

All of these are more important for the class discussion than a snapshot of income, in my opinion. What is probably happening is that long term wealth is building in certain zip codes, where the chances of success are larger and larger compared to other zip codes, also why it costs so much more to live in a handful of urban areas than other places. The competition for these high performing places causes quite a bit of insecurity.
Not Redis, RedisLabs. (Redis is the software project, still BSD, not a company)
This looks fantastic -- props to the whoever made the decision to open it up.
> But scholars aren't quite sure how this goldsmith with no formal architectural training managed to construct it.

That's just slightly patronizing to say about a man who came up with various inventions and innovations in his time—including the first linear perspective method, among other things.
Have you heard of Amdahl’s law?
How to Get Reviews on Amazon
Good on you to at least explore your options, that is 90% of the battle!

Agreed, Saigon (and VN in general) is not for everyone, but that is changing over time as more western influence starts to happen here. Case in point, Landmark 81 is now open. I'm not sure that is good or bad... It also is a city that you live in, not visit.

Those 'creature comforts' are not easy to find as a tourist, but they exist. Having friends and dating locals helps a lot. My google maps is unreadable now cause I've marked every single place I've been to and I know that I'm missing out on tons of things cause I don't know the language.

It took me about a year to get used to the heat, but you do (I actually find that I get cold more easily now).
So anyone can just come walk around inside your house without your permission, and you think it’s legal and no problem as long as they don’t take anything? I could see that being the perspective in another culture but it certainly isn’t how the US works.
Intel is actually behind in performance/price ration by a wide margin at least on workloads which can make use of many cores. The margin is likely getting bigger after the latest patches.
Here we go. Gotcha! Mutual interest
I would say copyright violation.
That makes sense, and like I said, I don't have a problem with what they are doing. It's what they said and how it was presented and how it has been defended. Like evil BigCorp has been stealing from them.

Just a "Hey what we are doing now isn't working, for our business model we need to make more money and we need to make some of our code around Redis proprietary so we can sell it. Don't worry, Redis itself will remain open source, free to use for everyone."

Instead it was "today’s cloud providers have repeatedly violated this ethos by taking advantage of successful open source projects and repackaging them into competitive, proprietary service offerings". It was open source, they could do that. If you want to make them pay in the future, that's fine. But they aren't the bad guys for using OSS.

Anyway, I hope it works out well for RedisLabs, but I also hope that the licensing of OSS software is simple and open.
The other thing is that they're a nightmare to programme and they're expensive!
If you can't decide beforehand if you can support an open source project or if you should go for a commercial product,
I think a solution is to time-bomb the "Commons Clause" for a 3-5 year period, after which the software reverts to full open source, similar to the GPL Time bomb discussed some time ago: https://news.ycombinator.com/item?id=12459492

This way, the developers get paid fairly, for what they actually deliver, but they can't lock the users in. If the developer dies, goes bankrupt or falls into a predatory phase where it milks the product for cash without reinvesting sufficient back (Adobe), then the project can be salvaged as open source by those who use it. An even better option is to allow any commercial developer, after the 3 year period passes, the option to fork and develop it's own version with similar licensing conditions.

This will ensure a healthy, competitive environment where the software can be monetized traditionally, yet the 4 freedoms are (eventually) satisfied. As a user, this is what you care about above all else; you will pay the commercial license fee to get the bleeding edge product, knowing you are in a way "leasing to own" the software and you will be able to fork it in-house if the way you use it diverges from what the publisher will want in the future.
I would absolutely consider that offer. I get cheap housing, healthcare, and education and as an added bonus I get rid of social media and my nagging smartphone?

(Btw, TV was in color by the 70s and literal gramophones were long gone)
There are multiple ways to deal with it from an engineering point-of-view but the conversation is a business one. Is the product in its current form likely to be in-use for many years to come? That is different from a product that is only used until the next large raise in maybe a year or two in which case you can maintain it until the next release.

That said, one of my favourite ways of "rewriting" is firstly to identify any parts of the system that could be separated off into a second application and start designing and building a new system in parallel.

Another relatively easy task is to spend a small amount of your working week building the "rewrite" from scratch starting at the highest level so that you can learn some of the problems that are not obvious from the current system but which the previous developers had to learn while they went along. You could build a large part of the scaffolding without struggling too much and then have the basis of something to suggest for the future.
The three Facebooks (one of them executes 26.13 MB JavaScript)
If that were the case, you'd have a better managed transition.

Ideally you'd have the CEO onboard with this from the start. Alternatively when it came time to boot them, you'd a) already have someone in place to take over b) be able to pay them off sufficiently to not make a fuss, and help you frame it as transitioning to a new role (i.e. they'd stay on as an advisor, move to a COO role etc.).
I originally found a company that 'sponsored' me as a consultant. Then I've had a number of jobs while I've been here. I'm currently remote consulting for a global company based out of NYC. Yes, it means I have a nightly 10:30pm standup, but that is an ok price to pay to get to live where I want to.
I've started shaving myself regularly to stop myself from doing this.
Shipments of 5G smartphones to not pick up until 2021, Digitimes Research says
Running Truffle Unit Tests with Jest
and that, in turn, reminds me of The Most Important 6 Second Drum Loop

https://www.youtube.com/watch?v=5SaFTm2bcac

and Raiding the 20th Century

http://www.djfood.org/raiding-the-20th-century-is-10-years-o...
In this particular example there's absolutely nothing that required touching or duplicating the sites of others, the same PoC would work just as well without using a "competitor's website", it could be tested in practice simply by using multiple domains/sites that you fully own.
Yes, of course! Contact me offline. =)
? Sure, you can just call the URL directly in browser. Which other way do you mean?

The problem is not to end up at "noindex site" (btw: noindex is not a neccessary part of this scheme). The problem is to end up at "noindex site" thinking that the "noindex site" is a competitor site. And I don't see how such deception is possible without the backbutton-bug.
Tree-number-wise, feels good. But in the very last paragraph: "the study confirms that some of [Earth's] most productive and biodiverse biomes—especially tropical forests and savannas—are significantly more damaged and degraded...

Reforestation isn't a quick fix: "Forest soil may take centuries to recover carbon sinks damaged by deforestation."
(says this report on Nature article:) https://arstechnica.com/science/2018/08/carbon-impact-of-anc...
When I was a kid, almost every company name ended on "tec", "tech" or "tek".

Every generation will be shamed by the next.
I used to work in a hospital and the worst problem was keyboards full of blood. I would rather clean up soda all day long. :)
Fixed this - thanks so much for pointing it out. I never click the play button itself for some reason!
Why would it only be about one side? Why is it NOT about the reveiver getting something for free? Why do I have to pay income tax on money I earned by working all year?

I agree it is morally more complicated on the giver side, but on the taker side it is fairly clear cut.

On the other hand the giver is dead and why should he have any more rights?
That's not ironic, it is exactly what one should expect from a team of people whose goal it is to make money.

People do it in their personal lives too, try to get away with paying the least that they can, and earn as much as they can.
You are the one making extraordinary claims and complaining how "mainstream science" ignores them.

The burden of showing credible evidence clearly falls to you, and you have yet to show anything at all. I think you should already consider yourself lucky that some people have even deigned engage with you despite your tone and your general conspiracy theorist attitude.
From Google Translate:

"Identify the desirable sofa for interior space"

Flagged.
Maybe restrict the history API to the same-origin-policy? Javascript could/should be allowed to manipulate browser-history only for the same domain. Just an idea.
It is sad to see Intel moving this way, but the Internet will find a way around this. As it did so often.
> Sadly, even if this is unenforceable, the potential legal battle to have it declared so would be scary enough to quash some criticism.

I have seen this happen in so many cases all over the world. Supreme Court orders can be ignored by the government agencies and even private parties as long as no one drags them to court. Spending a 100 million dollars is nothing for the government or influential private parties as big as Intel. The small guy, however, will be bankrupted.

Be it the government or the big corporate, it is effectively the public money being used against the public. How absurd.

This shows that money is necessary for justice. This is dangerous.

Why can we not have systems that detect such frauds and automatically discipline such entities? It is not like such violations are happening behind closed doors of a small house in an inaccessible jungle. These violations are public.
The ultimate guide to GraphQL schema stitching
> They also host petabytes of apps in hundreds of geographically dispersed and localized app stores

So they run a CDN. In the US and Europe, Fastly charges [0] a maximum of $0.12/GB. A messaging app like Threema is 41MB and costs 3CHF (~3USD) where I am. That's ~$0.005 for distribution of a $3 app.

For a 4GB app (the largest Apple supports), you're paying $0.48 but you're also usually charging on the order of $20 for the app, so this is ~2.5%.

Actual bandwidth costs much less. You can buy decent transit for 0.17c/Mbps/month [1] ($0.0005/GB if you max the pipe).

> and covers all bandwidth for distributing and updating those apps

Let's say incremental updates cost 5% (~2MB) each time and you send them once a month for 10 years. That's 240MB of extra download, for a total bandwidth of 281MB/user. That's $0.0372/user for a $3 app, just over 1%.

> And unlike google Apple actually reviews every release of every app by hand, keeping huge amounts of malware off customer devices

That primarily benefits Apple. Apple's policies also cost entire classes of apps _100%_ of their revenue, since Apple prohibits them completely.

[0]: https://www.fastly.com/pricing
[1]: https://www.ixreach.com/services/promotions/global-10g-trans...
That looks like it also contains a VPN component. Wouldn't touch it with a bargepole.
Ask HN: Has anyone been able to get a Knights Mill Xeon Phi
The Xeon Phi 72x5 Family (aka Knights Mill) was launched, officially, in late 2017, but, so far, I've been unable to find a workstation (or anything, really) with one. I'm curious about the VT-x features and how well (or not) they perform.

Does anyone know someone selling machines based on it?
Just to offer a different opinion here: I think happiness at work is the most important thing for me personally, and I have no patience for legacy codebases that look like shit.

I mean, you are offering good advice for a person that wants to fit in as his highest priority, no doubt about that. But there are people (like me) who don't enjoy working deep down in complicated shitty code to the degree that I don't even want to be a programmer in such environments.

There are ways to mitigate this. Join companies that care about clean code and micro services. Work in the cloud. Avoid enterprise. Those advices can be hugely important for someone who just hates those kind of gigs where you feel like you don't want to be there even.
Ask HN: AWS, GCP, Azure or Alibaba Cloud
Hi HN-ers,

Wondering if anyone has experience dealing with the big cloud providers? I will be using the platform to deploy and run Docker images.

Thanks!
So what will these guys do?

https://www.cpubenchmark.net
Cheers. Next time my visa is up, I'll have a look.
A part of me thinks open source is this epic joke and conspiracy played on programmers. Some cabal of business owners somehow managed to convince us that it's admirable and ideal if we build all this software infrastructure for free so they could profit off of it. And that's pretty much what is happening and things like OpenSSL show how terrible it is.
Thanks for your work Matt!
This becomes doubly interesting once those users are in a different jurisdiction. I highly doubt a EU court would be willing to uphold such a bullshit term for a US company. Especially since many EU countries have quite strong laws against unexpected/unreasonable licensing terms.
Unfortunately I speak mostly English all day. I'll speak Japanese when interacting with a Japanese colleague directly but everything else is in English. I have to work actively to improve my language skills.

I'm glad to hear you're happy but I hope you try to move to a company that will pay you what you're worth. For a software engineer and team leader, that's way more than ¥5M.
In the 40s and 50s a middle class household could get by just fine (and the house be bought) by a single income earner.

> Has that really changed?

Yes. From http://www.mybudget360.com/the-magical-2-housing-ratio-betwe...:

> Back in 1950 the median home price cost a little above 2 times the annual median household income [2.2]

> in 1970 the ratio became more favorable to US households [1.7]

> After this point[..] prices remained fairly stable only because of the two income household, until 2000 [2.3]

> After this point, things went haywire. Even today after the [subprime mortgage crisis] the ratio is still out of sync with 50 years of data [3.3]

Keep in mind that this data is comparing housing prices to household income, not per-capita income.
I think learning Android in 2018 is very exciting now as Google officially supports Kotlin and introduction of new set of libraries such as Android Jetpack.
https://developer.android.com/jetpack/
By following newly introduced jetpack, you could avoid most of the deprecated libraries.

And going through the google architecture blueprints repo and sample https://github.com/googlesamples/android-architecture
will help you understand how you should approach to your new apps development and help you get started in a right way.
If there was a spinlock, the problem stay.

> the rule simply is that you MUST NOT release and immediately re-acquire the same spinlock on the same core, because as far as other cores are concerned, that's basically the same as never releasing it in the first place.

https://yarchive.net/comp/linux/spinlocks.html

Other mechanisms do exist of course.
Ask HN: Developers in SE Asia
Hi,

I'm looking to outsource development work and wanted to know more about the quality of software development work in SE Asia. I was born in Malaysia so if you're Malaysian - brownie points for you as I'm also keen to learn more about the tech landscape in Malaysia and looking for knowledge expertise.
The problem I'm seeing is not that the author did something un-ethical (there are plenty black hats out there with no such concerns), but that the content can modify the browser chrome behaviors, and that the users trust the browser chrome a lot more than the content (as it should).

As a workaround, I recommend using separate Firefox containers for big sites, as the big sites are the main attack surface of a lot of people. I.e. Firefox containers for Google, Facebook, Microsoft. This attack would be stopped by using a Google container as the back button will not work once you step out of the container to go to the result page.

Sure, it won't help you on a targeted attack, but will help a lot with this kind of drag-net attack.
Experience teaches that that is a vastly exaggerated statement. There remains quite a lot of the World Wide Web that does not require Javascript.

And of course it is pretty much not required at all for using the Internet outwith the World Wide Web.
Are all of these pages mirrored? Seems to me like the writing is facing the wrong way.
Under EU legislations these rules is void and null.
In addition you can’t put rules to stop scraping of databases. The only rules that does apply is patents and copyright if you want to redistribute/sell.

You are free to change, modify, reverse-engineer every product you can view or get access to.
Maybe PRISM is also caused by Huawei and ZTE. There is nothing
about politics.
In 2 years we won't have to worry about Trump any more, maybe.
For learning and trying out new layouts.
Increase the time units by one and double it.
Polis çaldı küçük çocuk söyledi
Inside the bluster and lies of Petro, Venezuela's cryptocurrency scam
His point still stands that in that 100GB storage costs substantially less than sequencing @ $1000

Why does whom need the original pre-calling measurements?

I get that the reads will be randomly distributed. Let's pretend that for a given position in the genome, the number of reads covering it are poisson distributed: i.e. the number of reads is chosen such that with sufficient probability each region is probably covered by one or more reads. This means the peak of the poisson distribution is much higher. So most regions will have over-redundant amount of coverage compared to the aimed for minimum global coverage. So the bulk of the data are actual repetitions of a single underlying sequence in the genome. Why can't these regions covered much more than minimum coverage regions, be called with sufficient certainty to discard the raw measurements? then only the low coverage regions may need raw data.

For most research purpouses it seems the raw measurements would be unnecessary? To the extent they are necessary we are admitting that we can't affordably sequence genomes yet (if you want I can sequence yours with my dice).
That would be actively misleading - "This software is licensed under a mixed OSS/commercial license" implies the traditional dual-licenced model where you offer both an open source licence (e.g. GPL) and a commercial licence. Those who want an open source licence can choose that one, and those who want some extra options can choose the commercial licence. That's not the case here, there's no choice to get an OSS licence.

The difference between this and the restrictions in other OSS licences is that the "common clause" restricts core freedoms - if you attach it to something, that something ceases to be an open source licence, this clause transforms into a commercial licence that prohibits free use of the software. There's nothing mixed about it, it's a "not-OSS" licence.
Did... Did you just call Oracle "trusted"?
Extra hot compilation cube №92 – Channel FunnYCubemix 2018