skysight-inc/HackerNews huggingface dataset:
Athena is a community-curated repository of learning resources to help you learn anything.

We found it really hard to self-learn with Google and YouTube because you constantly have to sort through a ton of ads and news articles. So we spent a few hundred hours hand-curating the best learning resources we’ve found all over the Internet (on topics ranging from startups to hydraulics to morality).

We put the ~25k links into spreadsheets (https://docs.google.com/spreadsheets/d/1XI4BS-_9BpDw8wMGWUqZ...) and labeled all of the links as blogs, courses, podcasts, lectures, videos, etc. We used this internally for a while and found it pretty useful, but to make it better we decided to build a real UI and a crawler that scrapes link metadata to make it easier to search through.

While we’ve managed to build up a pretty good collection ourselves, we think the best way for us to make this really useful is to open it up as a community project. Anyone can contribute to the repository through our Github (https://github.com/AthenaAI/community-search) or through our Typeform (https://athena-ai.typeform.com/to/DeChoI). We filter all contributions to ensure quality. When someone’s contribution gets added to the collection, we add their names to our contributor wall (https://www.athena.cool/#/contributors).

We hope this project can:

1. help self-learners learn more, quicker, and
2. help grow the collection into something more refined and comprehensive (which supports 1.)

This project is still rough and WIP (mvp af), but we’re refining it more and more everyday. All feedback is greatly appreciated!
Just curious. Was the company that asked you to move within 6 months based in Singapore?
> In the example given, suppose you wanted to replace the database with a nosql version. Now you have to throw away or modify your tests even though the behaviour of your system has not changed

Well, not really. Because now I have the DB stuff all contained in a separate function (or handler which can be proxy to the correct DB engine/type of DB), so if with careful design I should be okay.

def create_account(user_manager, user_details):
user_manager.create_account(user_details)

Here user_manager can abstracts away the exact DB type/engine like Django.

Of course this is ideal, but that was the motive. I do agree on mocking == testing implementation in general, and functional testing is almost always the way to go... since mocking returns dummy data / fixture, might as well return from a real database. The downside is speed :/ (there are various of tricks like setUpClass, run every test or group of tests in docker containers in parallel, but takes much longer than UTs). Ugh trade-offs.
Silicon Valley's Secretive, Orgiastic Side
The 1998 one was particularly egregious--we were right on the verge of having some decent content in the public domain and wham! It's not that I think everything should be public domain, but the current duration is absurd.
Actually, those are Scala code examples, so I believe it will be end up using ints for this case, not Integers.

Edit: I'm wrong, the example still needs a @specialized version.
> Then you might as well ship a native binary.

It isn't an either\or choice. You can do both. WebAssembly gives your application a "zero install" option and native gives you better performance.
Yeah, those batteries are junk. Try the Sanyo NCR18650GA from illumn.com.
Did you notice the link ends with an _aI suffix? :)
OK. But how does that relate to this article? If you're using keepalived what you're doing is moving the connection from one instance to another if the current one is detected as being dead. Even if only the MAC was used to generate the UUID (which it is not, timestamp is factored in too) I struggle to find a scenario in which this would be a problem. Even if you time it down to the nanosecond, if keepalived is used as intended you'd never generate a UUID at the same time on a number of machines sharing the MAC.

And from a privacy concern, if the MAC cannot be considered unique, that's only a bonus?
Before we do that we need a visa to keep the kids we're educating in schools here in the country after they get their bachelor's or master's degrees.

Right now to go to work full time they have to get an H1B, which means they'll get screwed over if it becomes a matter of who pays the most.

The US loses if we educate kids on things, and then they move back to whatever country they came from. I mean, it's good for the country they go back to, but if we're looking at this in a self-interested "Good of the US" standpoint (Which we must be, if we're having this discussion at all), we want to keep them here.
There was a thread on reddit a little while back where a guy who claimed to be an American working for Infosys said he was often subjected to discriminatory talk, out in the open, by the majority of his coworkers. As in they would openly discuss such things in meetings.

It's human nature to group up by any perceivable similarity and view oneself as superior to those who are dissimilar. Add in the fact that these companies have a much higher margin with non-American employees and it's not hard to see the plaintiff's claims as plausible.
Another argument for globally similar rates could be that cost of living is also to some degree a reflection of additional value (high quality education and healthcare, safety, etc...) which individuals in low income locations may lack. Getting paid the higher rate is a form of compensation.

However, I haven’t seen the same argument for other salaries. What makes a developer different from a musician, a lawyer, an architect? Or, for that matter, from a teacher, a waiter, and a bus driver? Shouldn’t the same argument that the work is the same apply?
Indeed she got it for that price.
Thank you. Would you mind to elaborate a little more with perhaps a little pseudo-code snippet?
There are other differences between Intel and AMD's implementation of the x86-64 ISA. For an exemple of a bug which affected only Intel processors: https://blog.xenproject.org/2012/06/13/the-intel-sysret-priv...
> Add metrics and advertising obsessed companies into the mix and the only result could be a complete clusterfuck.

Case in point: The Web.
What a distorted view of the future. Distorted by negativity fixated on events and possibilities that are blown far out of proportion and context, that ignores the tremendous progress and promise in the world of the present and the future.

Cynicism is such a fashionable attitude these days. It's a strain of cynicism about our institutions - both public and private - that has been present in western culture for a very long time. A healthy amount of cynicism is good, because it itself can be a source of progress, but too much cynicism produces an unrealistic and clouded outlook.
It is a great tool. I use it to create simple GUI mockup, then copy-paste it to github/gitlab issue.
Lower living expenses is a stupid reason to charge lower rates. I am not a contractor, but I can only imagine lowering my rates (if I were) if I was consistently underbid and not getting enough work or if I were doing charity work for a nonprofit doing important work.

If my living expenses were far below my rate, I'd save my money happily against the possibility my living expenses would go up or my income would go down in the future, and would not lower my rates.

If I occasionally lost a bid but still got enough work, I would not lower my rates.

As a worker, lowering your rates unnecessarily screws other workers, and future-you is another worker getting screwed.
I think delivery is a bigger deal than portability. There are many ways to make applications portable in 2017. The big deal is that browser SPAs don't need to be installed, they just run when a user clicks a link or loads a page while browsing the web (something they already do anyway).
If we have learned anything in the past 2 years, it is that the difference between parody and reality is vanishingly small.
It definitely makes sense to not hire for a certain period to see how this salary bump impacts the company as a whole.

Anecdotal mention: https://open.buffer.com/layoffs-and-moving-forward/

Fast Hiring at that salary level is probably why SV startups burn through money so quickly.

I doubt they will see major performance boosts with the salary increase. If they don't, it indicates the team is already working optimally OR salary increases don't always translate to increased performance. If they do, do they then start asking themselves why performance was so average (relatively)?
It's as if ads are some terrible injustice brought down upon the weak and helpless masses...

I really don't mind them.
> Can you give me one valid reason why the developer in India should get a penny less than the developer in the Bay area?

You can reverse that question to help answer it.

Can you give me one valid reason why the developer in the Bay area should get a penny more than the developer in India?

One of the reasons the Bay area developer is paid more is because it costs so much to live there that they need to make more to pay their bills. If they won't work for less because of the cost of living, then it's a factor in how much they get paid. As such, it's not just the employer that's factoring employee location into the amount they get paid.
Should you accept an offer of tea/coffee in a serious meeting or job interview?
might be pretty cool for lab technicians to do routine calculations and documentation, so they have their hands free.
Yes, except you'd only have to do it once for each entity (e.g. chain of cinemas). Plus, this should not be rocket science, so maybe you can crowd source extractors...
I'm guessing he put that in just to annoy people that are easily annoyed. Kind of like how every woodworking video on YouTube is invariably slammed with hundreds of commenters accusing the maker of being literally Hitler over some very small safety detail. After awhile they stop trying and just poke fun.

It does make me appreciate the one guy who can rise above all that, Paul Sellers.
Yeah, because I can so write a website and only test it in one browser and be sure it will work on all of them, right?
My son and I built a gaming rig for Xmas. Ryzen 1600 and RX580. It’s constantly black screening and crashing. A real piece of shit. Should have stuck with Nvidia and Intel.
You might want to reconsider these assumptions. There's a lot of history and economics to cover, but I don't believe it is fair to say it was so clear-cut who the aggressor was. When the US had economically ravaged China and then sent Perry to open trade; the Japanese had refused, so Perry went and fired a shell in Tokyo (Edo, then) Harbor. The Japanese then went through trials of trying to play along: one Japanese diplomat put it, 'When the West won the game of poker at the world's table, they then as the victors declared the game immoral,' which describes Japans geopolitical situation. There was economic warfare against Japan, first.

Germany also had economic warfare waged against them and this should not even be controversial--even mainstream "modern-day priests" like the hugely influential economist Keynes had said this.

That said the Japanese empire was an evil one, like most empires, but when the bombs were dropped on civilians the war was already over--that is why Eisenhower said "there was no reason to use those things."
Worked in tel aviv for a few weeks in "remote work for a customer , from a nice environment". Here's your schedule : walk along the beach to go and pick up your breakfast, back to your place or stay at the terrasse for some work, then grab a sandwich at lunch, go for a swim. Work a few hours again, then swim before the sun goes down.

It's a very addictive schedule. The only downside is that you'll be alone pretty much all day because not a lot of people can work like that.
AFAIK in Europe they have full-encryption. But the presence of encrypted traffic in the reserved airwaves near you means there are cops/fire/ambulance nearby. I remember reading about someone building a cop radar by exploiting this property!

There are false positives (e.g. you're speeding down the autobahn, and there's an ambulance in a town you're passing through), but it's probably good enough...
Selecting highest paid H1Bs is actually not a good idea. Assume you ar doing startup for 3D printer and you found this genius young guy in UK who knows how to write firmwares for it. Being a startup you can't pay a lot of base salary and this is a rare skill to find good people in this area. Even though talent is right in front of you which can make or break your startup, your hands will be tied up by the law. Hope you get the idea... Sorting applications by pay will mean that only top 5-10 companies will benefit from global pool of talent and that would put their competitors even further out from competing.
In Windows 10 and Linux, this can be nearly for free without any additional hardware. Linux calls this dma-buf, and Windows 10 basically requires it for any WDDM 2.x compliant drivers: GPU to GPU direct DMA mapping without CPU involvement (directly routed over PCI-E and not through the CPU memory controller when possible).

Basically, it means Optimus style and hardware-muxer style setups are obsolete, and display framebuffer and render framebuffer are entirely disconnected naturally; and also does not require any overt cross-architecture support (ex: Nvidia Optimus support in Nvidia's driver requires explicit Intel support; dma-buf solutions don't).

Presumably, OSX also can leverage this.
The next big thing is hard
Prometheus's Brother – Gods, Science, and Camels by Thomas Pornin
Show HN: A simple offline-first app to track your reps in the gym
Developer here. Thanks for checking out my app, Riker. In case anyone is
curious, the iOS app is native, written in Obj-C. The Riker web app is written
using React and Redux. The REST API is written in Clojure and the backend is
Postgres.

Although there is also a fully functional web version of Riker, the app is
preferred since it supports offline mode, provides Watch App and integrates with
Apple's Health app.

Will be happy to answer any questions.

App Store link: https://itunes.apple.com/us/app/riker/id1196920730?mt=8
Web link: https://www.rikerapp.com
Glad to hear they went away!

The side effects are pretty mild, though if I miss a dose the headache I get after is usually amplified.
RIP Linux support :(
>The argument I get against this is that when a higher level test fails, it's harder to locate the lines of code that broke the test unlike when you have lots of unit tests. I don't find this convincing though.

This is a valid observation but the problem clears up when you start integrating better debugging tools into your testing infrastructure: having the ability to intercept and inspect API calls made by your app, launch a debugger in in the middle of the test, etc.

It is also minimized by writing the test at the same time (or just before) the code that makes it pass.
Adding Rewind to a Gameboy Emulator
Why is there a separate tool for creating text? It would be better to just click to place the cursor and start typing.
Was it fixed?
Best VoIP phone service and IP phone systems for your business
* Now you have signups, instead of installation

* Only Linux end users have to care much about dependencies

* You're kidding right?

* Sure, if you only target one browser your code will probably work more or less the same on that one browser on at least some of the OSs it runs on

* There aren't any walled gardens in PC Destkop land worth talking about, other than maybe the package repositories of Linux distributions.
Cryptocurrencies Are Not a Legal Tender; India’s Finance Minister States
Isn't the wave of FP causing some folks to do this? It takes time for people to change their attitudes. Consider that we're still having this conversation about automated testing, which was promoted by the XP book in the early 2000s.
Ask HN: Can I talk with you about programmers and soft skills?
I’m making a career change into programming. I knew the stereotype of “Programmers are bad with people,” but I was surprised to see the amount of debate in this post from last week:

https://news.ycombinator.com/item?id=16016121

I’d like to do research on this for a future project, maybe see if this is a solvable problem. If you’re interested, can you shoot me a message and we’ll talk about it?
Why Self-Compassion Beats Self-Confidence
I almost had an accident when the ancient “Budweiser” sign on I94 near Armitage in Chicago was replaced with an 80-foot electronic billboard.

It was a darkish night, and while I was looking the board board switched to an ad with a mostly-white background. It was like looking into 1000 suns. I was temporarily blinded with those purple spots in my vision and actually rolled onto the shoulder near the wall before recovering.
Why not use something like Pug[0], which compiles to HTML?

[0] - https://pugjs.org/api/getting-started.html
10 Best Cloud Storage Services for Bloggers and Freelancers
Having read a python implementation of bitboards in the thread, I believe it's for search pruning. If you search many of the boards after three moves, then there will be some duplicates. Preferably each board should only be evaluated (for which player it favours) once and that can be done by storing them in a hash table or similar structure, which requires storing the board.
People use the "average user" as a strawman. He is simultaneously too stupid not to install malware that claims to be a fax, and yet unwilling to exert even the slightest effort to install software he needs to get things done.
Yeah, I thought since it's the top link on Hacker News, it must be good. The guy is clearly a radicalized statist SJW (talks about punching people eg), and that totally colors his thinking.
quick emacsen, let's augment artist-mode to match it (especially the topology friendly resize)
Just asked a retired pharmacist and clinical social worker (two family members) about this. They said that there were numerous things that anti-depressants are prescribed for (smoking cessation, OCD, anxiety, etc.) which are NOT off-label uses.
Personnel counts grow at an exponential rate.

Wrong usage of "exponential" seems to grow exponentially these days.
Yes, it's a tradeoff for quality of life.

Any active medication has side-effects. But if the depression—even though it may have an unknown cause—prevents a person from functioning in life, then the medication might be worth it. But it's a judgement call to be made by the patient, with proper guidance by his/her care team. In many cases, increasing the risk of a severe disease 20 years from now is preferable than losing job/house/life. It's easy to criticize these patients or their care team as doing too little but sometimes, a baby step is the only realistic step that can be taken, and there may even be some urgency associated with it.

Having said that of course, it's important to follow-up and continue to dig deeper in what can be done from a mental health perspective. An antidepressor may be the band-aid to regain sanity and some stability, and from that place, the next steps can be taken. The key is to not give up in that journey towards health, but that is easier said than done.

Disclaimer: not a doctor, just a patient advocate.
WooCommerce Support
There's also Monodraw, ASCII drawing with a native MacOS GUI and more advanced tools.

https://monodraw.helftone.com/
Similar, but for MOTD on linux/unix boxes
Appreciate your insights. I don't really have an answer to your question. I respect the popularity factor, I just can't help but think that we've had (and still currently have) competing technologies which are far more mature and capable. Not saying WASM won't end up on top in the future. There are plenty of applications today that build on parallelisation, synchronisation primitives, IO, IPC... all of which are already perfectly possible today over the JRE/JVM (as an example), but the same can't be said about browsers today (no doubt that with enough work, it can all change sometime in the future). Just feels like reinventing the wheel.
Ask HN:Does aIntercom , Uservoice and the likes under one roof for saas?
We are SAAS Startup , To develop the tool we need the following features Support Team Chat Feedback Survey Product announcements Discussion room / forums Onboarding Is there a tool which provides frameworks for all these services . I Believe these frameworks are required for SAAS startup . Pricing is a concern thats why i am not considering intercom , uservoice and the likes .
Thanks in advance for your suggestions and a wish you all a very happy new year :)
Only two of them are tabloid. The rest are broadsheet and telly.

In the UK, regulation is a serious discussion point when discussing journalism, both from the perspective of things like the tabloid phone hacking and also from the perspective of restrictions placed on broadsheet reporting, e.g. the Trafigura super-injunction.

Also, what role were you taking in the newspaper projects you were involved with?
Using a global sequence means 8 bytes less storage per row (including index entries and all foreign keys which refer to the PK), and more importantly typically mostly sequential inserts into B-tree indexes which means less bloat and faster insert and access.

Disadvantages are data leakage and, theoretically, minor contention on accessing the sequence.
Apple Introduces the iUD
This looks so much fun and was probably unrivalled and academic spirit.
Well, then let's have first year or two free. I think artist IP revenue is typically heavily weighted in the first year or two.
LaZagne v2.3 – Credentials Recovery Project
I've been working on a project I'm calling "Business in a Box" which is based on the idea that the consumer oriented interface to our economy has been radically optimized while the comercial interface has been obfuscated thereby artificially limiting participants.

Basically, we would offer packages designed to get someone up and running with a profitable business in a short time. This would include training, equipment and supplies. The goal would be profitability not complete financial independence.

Some examples would be carpet and upholstery cleaning, micro-farming, retail, micro-manufacturing and more.

Each business would be an open source franchise where anyone could utilize our training and business plans, but for a small annual fee they could use our name and supply chain.

If people are able to provide for themselves in some way they are much less likely to remain in a dead-end job living paycheck to paycheck.
What Are Lightning Network Channel Factories?
Nope ;-)
> for something as crucial as [computer games]

fixed
Smart of you to use a throwaway account :)
People often tell me, "Yeah the Bay Area is expensive but the tech salaries make up for it."

By being able to get a Bay Area salary (e.g. $150k/year) while working from anywhere in the world (e.g. any city where $40k/year is considered comfortable living and $80k/year is considered "well off"), the incentive to continue saturating the area with local talent decreases.

Same salary, lower cost of living, AND the ability to be a homeowner in the foreseeable future? That's a hard deal to beat.