skysight-inc/HackerNews huggingface dataset:
I will address the concerns around compensation. I appreciate the comments and understand that working remotely is not valued the same by all and has its own unique challenges. However, the challenge of location influenced pay is not unique to remote companies. I worked at large, traditional companies for years who had different pay for team members in the Silicon Valley, and those in other offices. Of course, with team members in so many different locations, many without meaningful local compensation data, the challenge grows. We don't have it perfect at GitLab yet, but we continue to try to make it better. It's a complex topic, but I will add some thoughts to the discussion.

We do look at rent index as a factor within Compensation. It is not the only factor but it would be unfair not to take it into consideration. Afterall, there are not many locations in the world where $117,000 is considered low-income. (https://sanfrancisco.cbslocal.com/2018/06/26/hud-117000-low-...). I'm thrilled that we can provide team members with a meaningful career without forcing them to move to a high-cost area. I have often seen cases at other companies where we make a great offer to an out-of-area candidate. They think the compensation is amazing and jump on a plane to start their new job in the Silicon Valley only then realizing that they can't afford a home here and may need to get a roommate to pay the rent unless they live far enough away and endure a long commute. The big salary suddenly looks a lot smaller after seeing the cost of living.

However, it is not the only factor we look at and we are continuing to improve the model we have for compensation. We also set a minimum rent index so those very low cost areas are actually paid above market. We do this to ensure that the gaps are not too large. We also pay the market data for a region widely. If you're within a 90 min. commute of San Francisco, for example, you would still make the SF pay.

Where you see region broadly represented (like the example of "the rest of the UK), that is because the rent index across the region was less or equal to the minimum rent index set. When you see a location that you perceive to be a lower rent index, getting higher compensation, that could be because we also add a contractor factor in those locations where we are hiring as contractors, knowing that there are often additional expenses to cover as a contractor.

With that being said, we are constantly trying to get meaningful compensation data in various locations so we can rely more on the market data and less on the rent index. It is my intention that if we see that the market is changing with more remote companies, we will also adjust our benchmarks to be an accurate reflection of the market. I know that there will always be a company out there willing to pay more and that we will lose some talent because of that. I also know and have seen, that GitLab is able to attract and retain some of the best engineers I've seen (and I've seen some great engineers!) due to its product, culture, and all remote work life.
51/52 ain't bad.

It's a benefit to still being connected to the grid. Though I'm sure you'll find "service fees and taxes" eating up a majority of the power bill you thought you were cutting (e.g. my natural gas bill costs $20 monthly to run @ 0 usage, regardless of only using it for emergency heat for the furnace).

FWIW, Tesla's (crude) Powerwall calculator suggests 3 powerwalls would account for an instance of this with 100% power generation via solar (7 + days backup, it says). Of course I'd hate to see that installation invoice, though.
https://www.youtube.com/watch?v=Mo3psiMZjGc
Ask HN: How to best deal with 2 computers, but a single control keyboard/mouse
Due to a new contract, I now have to actively manage 2 computers during my day. One for the new contract, and another for my existing open source work which requires me to keep in touch, etc, and I'm having trouble figuring out how to ergonomically handle this.

Currently I use 2 or 3 24" monitors where the center one is directly in front of me, for simple ergonomics. I use one or 2 side monitors for other stuff, chat, youtube video, music or reference material. This has always worked great, as I can have my code on the center monitor where my focus is.

But now I'll be about 1/2 time on one computer, and 1/2 time on the other, but would still like to keep tabs on the other thing. Of course multiple monitors allow this. But what is the best way to have the center monitor contain what I'm trying to focus on at that time.

Right now I'm thinking of how to use a KVM to toggle the input of the center monitor. And then use the wing monitors for email/chat notifications of the different scopes.

I'm used to context switching in my head like this, so I'm not worried about the cognitive load. I've just never been forced to use a dedicated computer for a specific contract. This is more about ergonomics for me.

Thanks.
ASD (Autism Spectrum Disorder) is definitely not classed as a Cluster B personality disorder. You may be mistaking ASD for ASPD, Antisocial Personality Disorder, of which psychopathy is a variant. Sociopathy is not defined in the DSM-IV or DSM-5.
Doesn't happen to me, so?
So something to note on using them:

https://www.yubico.com/support/security-advisories/ysa-2018-...

If Chrome has WebUSB enabled and can see it, it would be possible to get around the security U2F affords.
Scaling DevOps
I use Linux because of the state of Windows these days, as well as its tweakability, not because of some dislike of proprietary software. I use plenty of proprietary stuff in my day-to-day life and its existence really doesn't bother me.
Open a brokerage account under your LLC and do 40% bond, 40% S&P 500 index funds, leave max 20% cash in the savings. If you're running a business in the US, that means you believe in the US economy. So betting on the US industry being successful in the future makes total sense. And it could bring up to on 8% average, while bonds would cover for potential losses.
I haven't gone too far myself, but I'm pretty sure it's possible to customize the symbol layout to better suit a particular language or user preference.

IIRC you can swap out (or add) any of the side/minor triggers, but I don't recall if it's possible to change the big nine major keys.

It is great though, I abhor word prediction when I'm trying to write (the smarter the predictions, the more viscerally disturbing I find it), and ME has been the only way I can keep up a comfortable pace.
When I took my MacBook Air in for repair with a UEFI password, they carried out the whole repair and just asked me to type my password when I arrived to collect it and ran a diagnostic on the machine to verify the computer was working. You shouldn’t need to tell/give an Apple Genius your password.
Startup Grind is back in Zimbabwe
Show HN: SpaceAce, a new kind of front-end state library
Nah, there is definitely a gradient of well-framedness to questions. A bad question is one without context for why it is being asked or which merely hints at the asker’s confusion without directly tackling it.
Both my undergrad and grad OS courses used xv6 and I can tell you that the easiest way to get hacking on it is to spin up a VM (I used vagrant for this since I just wanted headless) and run it in QEMU. MIT has a patched version available that has some handy debug features. Feel free to contact me through keybase and I can provide you all the scripts I used.
There needs to be a signal apps can be sent when resources are low... there are quite a few apps that could do things like empty various caches under ram pressure for instance.

Similarly for disk space being low, or under IO pressure, some apps could hold off checking certain files / throttle things for a while.
> Because they'd be sitting right in between EU countries

EU? The guy was talking about texas, california and ny.

> So hard borders all around, no trade deals in place, nothing.

So they'll just negotiate trade deals?

> It would be like a no-deal Brexit, but infinitely worse.

You gave no reason why it would be worse. Also, post brexit, are you saying britain will never trade with anyone? How did britain trade with anyone before the EU was created?
I have found the Makeblock mBots both at a reasonable price and a lot of fun. Not quite as versatile as Lego but in the same ballpark.

https://www.makeblock.com/steam-kits/mbot
All I can think of is this fun story from a few years back: https://www.theregister.co.uk/2013/01/16/developer_oursource...
Also see Martin Odersky's recent talk about abstracting context using implicits https://youtu.be/uiorT754IwA
https://symless.com/synergy
vnc works well

https://www.realvnc.com/

https://www.tightvnc.com/
Thanks for the feedback, much appreciated :)
I'd wager that over 90% of desktop Linux users are running it on a machine that came with a Windows license and Windows preinstalled, and went to the effort of wiping it despite the fact that they paid for it and legally own it.
Well, how about considering the inverse:

Those with more savings/assets would be able to live off of them while looking for another job if the pay isn't enough.

Those who need every penny for the next utility bill (but still make it, even if barely, with the reduced pay) will stay with the company, as they can't risk getting off employment for any length of time.

All 4 options could be at play. Which is why people barely making, still keeping at jobs despite horrible pay cuts. It's because they don't have any safety net to go look elsewhere.
As somebody coming from geocoding background parsing places from full text will be a huge challenge. Hardly a word that isn't also a location. (There's a state in Turkey called Batman).
Synergy is an open source utility that allows you to share a single keyboard and mouse with any number of computers in real time..

https://www.google.com/url?sa=t&source=web&rct=j&url=https:/...
I do this. I work on whatever I feel like on the other day.
How does one use a U2F / YubiKey on a mobile device like an iPhone (lightning port), or are they only compatible with laptops and Android phones (USB-2, USB-C, USB-3) connections?
100% this. I've been through a BFA conservatory program. Having your work torn apart, respectfully, in public happens every single day. When I moved to the corporate world I was shocked that no one knew how to give or receive feedback. I've seen and given a few talks on how this activity can by applied in a corporate setting.
> Will household electricity consumption rise or fall?

It looks like it'll plateau. As we add more appliances, they just tend to become more efficient.

https://www.statista.com/statistics/201794/us-electricity-co...
But what do you think would have happened if Scotland declared independence against the will of the UK government? Unless you were willing to fight for it, I don't see how the outcome would have been different than the Catalan one.
Rather than incorporate them into the software, small enhancements are the sort of thing the authors of the project would prefer to leave as exercises for students, I'm sure.
Thanks for the feedback, those are all good suggestions, much appreciated :)
>you're just not going to get any significant number of home Linux users or enthusiasts to pay for your software.

More like no significant number of home users are using Exchange.

If every software that runs on Windows ran on Linux without restrictions, that would be the end of Windows right now and it's exactly what Microsoft are currently preparing for.

They are shifting profits from Windows licenses to the app store and user data/ads to compete with free operating systems and they're trying hard to appeal to Linux users.
I understand that, but I'm not sure the benefits exceed the drawbacks. In other words, verbosity introduces errors by making the code harder/longer to read. The type-related verbosity may reduce errors, but perhaps not enough to counter those caused by verbosity. In my experience, it's roughly a wash, but depends on a lot of other things, like frameworks used, skill of developers, QA techniques, etc.
> why is there such a hard dichotomy between "commercial - binary blob" and open source?

I see at least 2 reasons.

1) Mindset (and ignorance)

I've worked in big telecom companies, in their technical teams, which means people who know about programming in big (BIG/HUGE) projects. Even there, many of their -very- experienced tech people were AFRAID of anything open-source. They were terrified that using anything that had the words "open" or "free" (as in free software) would mean that they would have to "give" their code "gratis" and lose their customers.

The irony? Those programs were BIG projects that were only useable with their hardware (think stuff like devices' OSs & supervision UIs for telecom equipments), it would not have worked with other devices and any attempt at an adaptation would have cost more than developing from scratch. Add to that that they only sold to a handful of companies (those hardware + software solution are expensive) so they would immediately have noticed that something was wrong, and you see how INSANE it was that they were afraid.
They had completely bought the FUD from Microsoft and the like.

And thoss were TECHNICAL people, I leave to your imagination the attitude of managers... :-(((

2) Quality (or lack thereof)

A lot (if not most) of code done for "enterprise software" is of pretty bad quality (and I'm being nice). I've seen such horrors that you are left to wonder how anything AT ALL could work. The incompetence was staggering, comments and tests inexistant, no source management, no documentation, "if" conditions spread over hundreds of lines, 10 thousand lines of SQL in a single file, config files thousands of lines long maintained by hand (which I showed contained hundreds of errors), etc.

Showing how "sausages are made" (an horrifying view) would be bad, maybe even suicide (once their ineptitude would be proven) for those companies.

On the other hand, the bad quality would have quaranteed that nobody used their projects (LOL). Even compiling them was a HARD task. Real example: I had just arrived on a project where the most experienced guy was unable to install on my computer the tools needed for development... I had to write code "blind": without linking & testing nor documentation. Am I surprising you when I tell you it did not go well? (And they had the nerve of blaming me for their incompetence!)
Why do I feel like the octonions are likely related to the spin networks of LQG (loop quantum gravity). The non-associative property is probably key to explaining how change in space is propagated through the spin networks. And thus why time is directional..
I'd actually recommend the Arch forums over Ubuntu or Mint. The community seems a lot more friendly IMO.
If you're not artistic, and you don't have that type of creativity, what makes you believe you're the best judge of what is good or not? Yes, you may have the money to pay them, but if you're hiring them why don't you just trust their judgement instead of your admittedly poor sense of creativity?

I'm asking this out of curiosity, not attacking you, since you said yourself you're not creative and rely on these people for their creative talents.
I think another solution would be to insert and compile the source of a different compiler, hopefully a rare one like TCC, or even a C interpreter of some sort. The evil compiler can't be programmed to recognize all conceivable C compilers; there must be a small finite list it understands. (This was probably a difficult option back then.)

Depending on how advanced the evil compiler is... Plan A would be to use it to compile TCC, then TCC to compile the original compiler. If the evil compiler inserts into every binary the generic command sequence "search for files that look like the original compiler and evil-ify them", then Plan B is to use evil to compile TCC, then use the resulting slightly-evil-TCC to compile TCC, then use the resulting clean TCC to compile the original.

If someone has also modified the kernel such that anytime someone uses the syscall "chmod" to mark a file as executable, it'll add evil instructions to that file... Well, perhaps you could recompile the kernel, but it'd be easy for evil instructions to cover that too... finding a new independent kernel source that runs on your machine is probably pretty hard... it'd also kind of interfere with downloading good binaries onto the machine, if the process was "download to a file, then chmod", though if it was "chmod, then write to the file", the evil kernel would have to be clever enough to make it instead append to after the evil instructions; you also could attach a disk and mount it and run executables already on it, and that would be pretty complicated for the evil code to transparently handle (of course, it could just refuse to run such things, but there are lots of things it could refuse to do).
1password does mitigate it to some extent by automatically copying the code to your clipboard after filling the form, these 2 things only work on the right domain. Of course you can still copy the values from the app but at least it hints at things being wrong.
I got a Cozmo ... has vision and a Python API, which seems like a good idea. Haven't had a chance to really use it. It was also a bit expensive.

I have made my own robots in the past. Frankly, my flakey hw killed my sw enthusiasm. That's why, I am happy to pay a bit for functioning robot hw.

Next, I want to get into robot arms. Something with the DoF of a kuka arm but doesn't need to perform as well and on a low budget. My current prospect is the Dobot Magician but I am still on the fence.
This looks like a really useful resource that I will inevitably forget to ever use in the future and will instead, continue to google/stackoverflow programming questions.
Yup .. I also encountered the microbit recently, and it is very well done IMO. A bit easier to use than the Arduino for lil kids.
What about dolphins from other planets? :)

(http://hitchhikers.wikia.com/wiki/Dolphins)
If you're using 1Password-generated passwords and storing TOTP codes in 1Password, how are the TOTP codes not just theater?
>It is verifiable though, at least in principle. WMDs either exist or they do not. Feelings have no comparable feature.

No, but as ultimately everything is based of feelings and wills (where would those value judgements necessary to reason would come from? Reason is totally neutral, annihilation of the other is the same to it as solidarity, given the right axioms), naked feelings can at least be judged as what they are.
> I dont like the idea of having my email handled by propietary software.

Fair point, although I'll point out that you're commenting on a story about a client specifically designed for Microsoft Exchange.
Ironically, I am just in the process of preparing a talk on the history of the atomic theory. Even as late as 1905 when Einstein published his work on brownian motion it was still highly controversial whether atoms were "really real" or just a mathematical contrivance. Some people are able to maintain skepticism even in the face of overwhelming evidence.

> Neither the fact that measurements have one outcome, nor Born's rules for probability were derived from this decoherence idea yet.

That is because it is not the case that measurements have one outcome. Measurements appear to have one outcome from the perspective of a given classical observer, and the outcome observed by any given observer will be classically consistent with all the other observations that observer makes [1]. The Born rule (which, it must be stressed, is not fundamental, but only apparent from the point of view of any given observer) follows from that, not mathematically but logically [2].

[1] https://arxiv.org/pdf/quant-ph/9605002.pdf

[2] https://www.scottaaronson.com/papers/island.pdf
Efficiently Generating a Number in a Range
Snap does not even support systems where the home directory is not /home/$user (e.g., a lot of NFS setups) so I'd be very careful. It's a long standing bug and not even the (so far useless) error message has been adjusted.

To distribute to Ubuntu users it's good though, due to being well integrated.
I found that taking a few college programming courses was entirely sufficient to learning to type. (keep in mind, I had already written dozens of academic papers at this point, but it was the coding that really solidified my typing abilities...)
U2F is fantastic. I wish Apple supported it in Safari (hoping!).

Also, YubiKey 4 is a great device. Set it up with GnuPG and you have "pretty good privacy" — with convenience. I recommend this guide for setting things up: https://github.com/drduh/YubiKey-Guide

The great thing about YubiKeys is that apart from U2F, you also use them for OpenPGP, and the same OpenPGP subkey can be used for SSH. It's an all-in-one solution.
Ask HN: Your Passive Income Suggestions?
I am looking to start some passive income projects, currently have a bunch of iOS apps which provide some passive income. Passive to me means "makes money whilst I am on the beach" but requires time/money investment up front with some ongoing support/marketing.

(There was a very interesting thread with this title back in 2016)
The prime use case there would seem to be intermingling your work and personal email.

That doesn't seem like a great idea, on many levels.
> FOSS mentality we encountered on Reddit

Reddit is well known for not attracting the best communities and the most reasonable people.
Thank Jobs for that. Two physically, visibly, distict buttons were ‘too complicated’, so instead the second action is invisible and undiscoverable.

(Jobs also stuck us with the invisible fragile clipboard in place of the Star copy/move pattern.)
I'd bet that Google has probably 10x more engineers working on improving the situation with their various Intel chipsets (being on laptops, or servers), than those working on "Plan B" (Power9), or "Plan C" (RISC-V) solutions.
I always wondered what was the point of using 1Password for 2FA. After all, if you store your 2FA secrets in 1Password to generate codes, you've just reduced your 2FA to one factor?
I thought they charged on a per minute basis. Still ... a valuable resource.

I haven't done the costing but seems buying a cheapo printer is more economical than using any per-minute service .. especially, when one is getting started. That said, last cheapo printer I got kept breaking down .. when I was in an inspired mood, I had to wrestle with the darn printer. Seems like a nice model where I can rely on someone else to keep the printer working - if it is cheap enough :)
01824029602
nahid
> But having a large number of function parameters is not rare or exceptional: you have that for legitimate reasons all the time.

I think here we can only speak of our own experiences. In my team's experience that linter rule had been triggered only 2-3 times in 2 year history. Far from being "daily experience". And in all cases it was warranted: it was a poor choice of abstraction that resulted in accumulation ever-growing number of dependencies in a class.

> Introducing some type of abstraction purely to allow refactoring into function signatures with fewer parameters would be a nasty bad code smell to me.

Referring to my earlier comment, the point is not to blindly refactor something to satisfy the linter, but to actually understand:

* is there really a problem (in _your_ terms) behind a given linter signal?

* if there is a problem - fix it

* if not - well, suppress it for this instance, adjust or get rid of this linting rule.

> You code professionally long enough and you start to realize that most design patterns, especially OO cookie cutter patterns, are pretty crap and only have a few narrow use cases.

When it comes to OO patterns I tend to agree: many are quite narrow and the way they are pitched ends with people looking for nails with a bunch of hammers. I.e. people keep "applying patterns" instead of fixing problems in their code. But those kind of linting rules are not about design patterns.

Edit: formatting.