skysight-inc/HackerNews huggingface dataset:
I actually think AOSP uses whatever DNS is given to it. I use AOSP plain and network info says I am using the DNS server that my router gives it.
OSM is not a good option because it doesn't do transit. Oeffi is a FLOSS alternative that does do transit but is not a good option because the developer doesn't answer calls to update backends when they change (in the case of Poland's switchover, for example).
For most people, green card process takes about 2 years, not many years.
Ask HN: Can you suggest a game not yet in our interactive recommendation engine?
We are now filling up the game base for http://probqa.com/ - an interactive game recommendation engine based on probabilistic question-asking system (ProbQA). In each step it asks the user about a game feature and offers multiple choices. The engine also lists top 10 recommended games in each step. Recommendations change as the user answers more questions. It's tolerant to errors in the user output. There is no script or decision tree behind, but rather a cube of statistics.

Please, let us know if you want your game added to our base, by replying in this thread or contacting me directly. Your game doesn't need to be a top one to get ever recommended by the engine. Just it needs be likely a desired game for a user given his/her answers to the questions.This way the users can find your game even if they don't know about its existence in advance, don't know the keywords to search for or don't have any clear idea on what they want to play.
That's only true when you ignore all the people who quit or get manager out for non-promotion.
To be precise, git's scaling issues mostly relate to centralization and file count rather than raw size.

* Pushing changes to a central repo requires including upstream commits. With 1 commit/s to that central repo, all developers are stuck in a loop until their push succeeds. It is a human spinlock with high contention.

* Some algorithms scale linearly with the number of server branches, such as pull-without-specifying-a-branch, which becomes too slow with 100K branches (a consequence of central repos).

* Some algorithms are linear with the number of files, like git status.

* Binary files don't compress nor deduplicate well, slowing pull and clone.

Those issues apply to fossil and Mercurial.

cf. https://docs.microsoft.com/en-us/azure/devops/learn/git/tech...
>If privacy is your core business

Privacy in abstract is not their core business. A clean, privacy friendly fork of Android is.

In fact, it's not even a business, is a non-profit effort.
I experienced a kind of dyslexia when reading this headline. I couldn't fathom what a C framework could have to do with a "web application" outside of the world of web assembly, so I wondered why the phrases "web assembly" or "wasm" were nowhere to be found. FWIW, I spend almost all of my working hours immersed in the logic of the client side!
I understand where they are coming as often it's convenient to know from where visitors come from - that's how you can find threads in here, Reddit and elsewhere, and then contribute to the discussion. There aren't good alternatives to GA for this unfortunately, even paid options aren't as convenient. As a user though you can choose to block GA using various extensions so that's always an option.
Parent gave the CC to Facebook in order to make one purchase. It isn't always transparent that this payment option is then stored indefinitely, and can be charged on user input without re-evaluating that the charge was initiated by the holder of the CC. This is not necessarily a bad thing, and can be viewed as a convenience-feature. But it has downsides, which Facebook not only seems to be aware of, but seems to welcome.
Did you know it is easy to compute Percentiles in Sql
You will note that many people find animal slaughter objectionable for exactly this reason.
A good place to start is https://www.privacytools.io/#browser

Spend some time using uMatrix (much better than NoScript these days). If you're running uMatrix you do not need NoScript.

Some good documentation in regard to uMatrix:

https://www.electricmonk.nl/docs/umatrix_tutorial/umatrix_tu...

https://github.com/gorhill/uMatrix/wiki/The-popup-panel

https://github.com/gorhill/uMatrix/wiki/How-to-block-1st-par...

https://github.com/gorhill/uMatrix/wiki/How-to-create-rules-...
Becoming an engineering manager is not an escape from coding. It’s the opposite. To get there you need to be a top performer, which involves being really good at coding and all the other tasks you’d like to move away from. And then, you get promoted and they take it away from you. The best individual contributors become great managers. You should look into project manager roles instead. This will he a better option for you.
Well of course. Is anyone surprised by visa abuse? It’s clear that tech companies are all for the program, why do you think that is? Equality?
So people are starting to miss YQL
I am, although being Gnome 3 based it won't be the snappy experience one would expect. I can understand their choice though: having to liberate a tablet recently (Asus T101) I tried at first to use XFCE as I do on all my other hardware, but though it ran really fast that was a usability nightmare: absolutely no way to have a reliable screen rotation and trackpad management without patching here and editing there with the risk that it would lose the functionality at the first upgrade. I also tried lxde, mate and other light desktops with results from bad to very bad (wrt screen rotation, all hardware except camera runs fine) then just before giving up I threw Gnome3 at it which worked immediately, but it's definitely a resource hog.
> How can I trust the project

Simple. Just scroll through the source code.
I'm confused. What exactly were you doing?
I love this idea, but the only participating websites they list are Popular Mechanics and National Post, making this effectively vaporware for the time being. Launching this service without a significant set of participating sites is ridiculous, and seems to be asking for the service to fail.
I think there are two cures for this issue:

1. Expose the pay disparity at Oracle and other companies so candidates know ahead of time what they are getting themselves into.

2. Make it easier for any H1B employee to get a job at a different company if they have the ability and desire.

I am on this visa called the E-3 which is almost identical to the H1B except:

- No annual cap

- No 6 year limit

- Only available to Australian nationals

I have never had any trouble finding a tech job despite being an asian foreigner. My pay has varied from 60k - 180k and the companies i've worked at have varied from multi-nationals to 3 person startup.

High Minimum salaries would disadvantage startups and companies in smaller cities.

Here's how to fix the h1B

- No hard annual cap

- No 6 year limit

- For any company that hires more than 10 H1B hires, the average salary of h1b employees should not be lower than the average salary of non-h1b employees.

- Additionally, for large companies (say > 10,000 employees) the average salary of h1b employees of a certain level of seniority should not be lower than the average salary of non-h1b employees of that same seniority.

This will give companies more certainty that a potential H1B hire would be approved, providing H1B candidates more job mobility. It would also prevent larger companies from abusing this system.
MOSAD has used this same technique in the 90's on a friend of mine who was being subpeonaed to testify and info that might embarrass the Israeli Gov't would be released . . . of course depending on how much intimidation the agents practice this is considered a crime known as "tampering with a witness" . . .
I think they're putting it in through a tube that's inserted through the nose, not actually into the nose.
> One thing that isn't mentioned is whether Fossil supports working offline as well as Git does. My impression from this page is that it emphasising creating every branch on a server as well, which implies you need to be connected? If so, I'd consider that a "missing feature" as well, as it's something I use regularly enough and that's important enough that it'd be something I'd miss if it weren't there.

The way fossil works is that by default autosync is turned on, which means that if you are connected to the internet all of your commits, wiki and issue tracker changes are synced to the server.

In the case that you're not connected, everything still works as expected, and will sync back up next time you're online and try to commit or just run `fossil update`.
If you had to simulate such a universe in a computer program, how would you do it? What would it look like?

Perhaps instead of Brownian motion you'd have something more directed. Scientists inhabiting the universe would observe a "force" that brings elements of like kind together into nice orderly structures instead of random soups. It would be as if time ran in reverse. Perhaps instead of a big bang, the initial state would be a flat universe with just the minutest of perturbations in the energy gradient that would gradually evolve into a state of maximum order.
I would really like to see a benchmark for: stand alone fork in small statically compiled binary and also every combination of: [[vfork, fork] + exec, posix_spawn] + [small static binary, small dynamic binary]. I understand that for big interpreted languages like Python it's certainly slow, but with advent of Rust I would believe that CGI could make a come back. It's fast enough for many tasks and it gives great isolation. Using separation of concerns by using separate processes gives also ability to easily sandbox whole application even by as crude means as original seccomp.
It is rare that adaption has anything to do with the strength of the technology involved. Usually the winners are those that are early to market, are adapted early by industry leaders and/or have better marketing.

In this case the reason is most definitely the fact that it used in Linux, easily one of the biggest open source projects ever. I would wager a guess that if Mercurial was created earlier, Git would probably never have been created, let alone be adapted for Linux.
I do not appreciate the sarcasm.
In git you can do `git commit --amend --no-edit` to update your last commit, in case anyone is wondering.
Ask HN: Bulgarian IT contractor stole money from my UK startup, what can I do?
Apologies in advance if this is not the place to post this, I'm hoping to get some advice on my predicament.

I recently reached out to a friend who left his job in the UK back to Bulgaria, to do some Angular frontend contract work for my startup. I have known him for about three years so trusted him and his skills. He was struggling to get by so I gave him an interest free loan and signed an agreement to pay back within a deadline.

Over the few weeks, communicating with him became increasingly difficult and he failed to deliver work agreed in our contract. It wasn't viable for me to continue working with him and agreed a partial payment for some of the work he did. The loan agreement was past due and he was unable to pay this back until he got paid from his new job. I had no reason to distrust him so in order to fulfill my end of the contract, I paid him what was signed and agreed. I received one more email after this confirming he received the funds and that he will send back what's due the day after but this was the last time I heard from him. I tried communicating with him through multiple channels to then be actively blocked (Skype, WhatsApp, Facebook). It's obvious at this point he was being malicious.

I'm unable to proceed any further with my startup as I have got nothing usable from the work he did. Unless I'm able to recoup some of the money he took, I'll just have to put it aside until I can build up some cash externally and find the time again. I feel completely destroyed but alas, I'm going to take it as lessons learned. Anyone know what options I have and if there is any chance at all I can recoup any of the money? I believe this would fall under contract law not criminal so I think I won't be able to get any authorities involved, plus, whatever this guy is going through, I feel bad getting him into any more trouble. Any advice is highly appreciated but I know the likelihood of me seeing any of it is a distant memory.
Unfortunately there's no Google Pay equivalent, right?
I see this argument all the time but its not the fork() that is the most expensive anymore, its the actual program initialization after the fork(). If your app is non trivial (lets say a websocket based chat server that needs to persist messages to a DB and use pubsub to sync them to other processes) it probably needs a connection to a database, a connection to a cache server like Redis or Memcached, etc, or perhaps a connection to some other backend service. Reinitializing these dependency connections from scratch in a new forked process for every single incoming websocket connection is expensive and slow.

On the other hand a Node.js or Go program can have a preestablished pool of keep alive connections to the backends already ready to go and reuse that connection pool for many hundreds or even thousands of concurrent websocket connections. You can approximate something like this with the fork() model by having a local daemon process that manages the connection pool and have your forked process talk to that local helper daemon when it needs a connection, but you are still going to pay a penalty for that compared with having a fully preestablished connection ready to use right there in the process already
I've been using Corosync and Pacemaker with HAproxy, FTP/SFTP and a few other services in production for a couple of years now. I must say that I'm really impressed.
Never had any issues at all.
I still think the configuration is a bit weird, but usually it's more of a set up and forget kind of thing.
Will definitely give it a try with MySQL as well!
Salary is not enough to determine quality of life, a faang salary in the Bay Area doesn’t get you very far as an individual and for families it’s often not enough.
Perhaps some people are content with their role. I know many engineers, who, by virtue of being productive, got themselves promoted into managing roles where they hardly ever write code.

Perhaps this system works because it allows "climbers" to proceed up the ranks, ensuring they don't become resentful, while ensuring productive engineers get to stay productive?
The simple data model is the best part of git so I have no idea what you are referring to. I do not see how one could make it any simpler and still use it to implement a DVCS. The main reasons I picked Git over Mercurial were the data model and the performance.
Their maps app is Magic Earth which _is_ OSM-based. I presume when you say "OpenStreetMap (which is available in F-Droid)" you mean OsmAnd?
5 JavaScript Object Destructuring Tricks
Capital accumulation is the right word.
They probably get thrown away. I have received a few of them and throw them all away.
Where does it mention Replicant?
A WireGuard Server GUI
When subscribed on different mailing lists...
In many jurisdictions that's not a valid contract, so yes, the store has to reverse it.
H-1B coupled with the vendor contractor model are IMO the root causes of downward pressure on wages. Neoliberalism at its finest.
It is described here: https://www.indidea.org/gael/blog/leaving-apple-and-google-e...

They had to get rid of the trademark Eelo.
Still looking for donors..
> Facebook the company needs to be changed drastically by strong external forces (maybe governments, though the effects could include some harm too)

It seems most can only imagine a government-led punitive solution. I would like to see more efforts (they can be government led) that educate users and encourage alternatives. You can't win going against the people's wants and unfortunately to many in the tech circle they don't recognize that FB is what the people want right now (it's not so "forced" or "they are too stupid" as many delusionally hope/believe).

PSA's, populace education/curriculum, grants, coalitions/communities, public-sector development, transparency requirements (w/out other large-sweeping data requirements for now), etc are all reasonable compared to existing efforts of large-scale-legislation/requirements + fines. We can get to where we want without large legislative internet interference that won't ever be reduced. It just takes people, the tech and journalism community particularly, to stop seeing FB as only a nail and the legal hammer as their only tool in the shed. It's like everyone forgets the failures of historical law-based attempts to curb each generation's bogeyman (alcoholics, communists, druggies, terrorists, capitalists, etc).
Barry Diller's wife, fashion designer Diane von Furstenberg, was a proofreader of Sam Altman's last article 'How to be successful'.
You wonder what happened. Back then, when biotech and genetic engineering was going to become hugely impactful Paul Berg & colleagues organized the Asilomar Conference, and the impact of that meeting is still felt in the field. Now we have deep learning on Google-sized natural language corpora, and there isn't a word on the impacts of that on society.
Thats like saying the main source of famine is to low calorie intake. It may be technically true but it misses almost every part of the problem.
The comparison lacks a big item: distributed-ness: the whole git-remote push & pull symmetry. It allows not only offline bare-minimum operation, but full offline development, then later online merging. I don't see any signs that fossil can do the same.

The comparison re. licenses is factually mistaken in several ways, but that's probably not worth a great deal of discussion - it's too religious a topic.
I'm using enpass. Fantastic, cheap and runs on Win/Mac/Linux and iOS/Android.
Also syncs to your cloud of choice.
> America is the most powerful nation in the world today not because it has the most number of people, but because it has the best and the brightest, gathered from around the world.

I agree, there is a non-quota limited O visa for temporary workers for the best and brightest [1].

>> The O-1 nonimmigrant visa is for the individual who possesses extraordinary ability in the sciences, arts, education, business, or athletics, or who has a demonstrated record of extraordinary achievement in the motion picture or television industry and has been recognized nationally or internationally for those achievements.

H-1B is also required for jobs that can't be filled but is definitely being abused.

The best and brightest from around the world can ALWAYS get in with no limit with the O visa [2].

>> There is a misconception about the H-1B program that it was designed to allow companies to import workers with unique talents. There has long been a visa program for exactly that purpose. The O (for outstanding) visa program is for importing geniuses and nothing else. Interestingly enough, the O visa program has no quotas.

The H-1B abuse is more a situation where large companies are abusing it to lower labor costs and wages while owning employees. It will never affect the best and brightest from working in the US by getting an O visa though.

[1] https://www.uscis.gov/working-united-states/temporary-worker...

[2] https://www.cringely.com/2012/10/23/what-americans-dont-know...
Are We Getting Streams in Redis
If you don't mind me asking, what do you do for a living? Your expertise in this is seriously impressive.
I'm also a big fan of not deleting data. I don't like squashing commits, for example. But I also want to be able to see high-level intent.

If instead of "squashing", it were "grouping", I'd be happy. I could encapsulate a bunch of messy commits that I made while I didn't know what I was trying to do. The intent would be clear at a higher level, but if you want to dig in to see what it actually took me to achieve that, you can see all my experimentation by looking at the commits inside the group.

Groups should be able to be nested, of course.

The only way I know how to achieve this in git is my relying on no-fast-forward merges. There's a post detailing this approach [1], but unfortunately a lot of git tools don't support this workflow that well. I haven't gotten it to work well in gitlab, for example.

[1] Git First-Parent-- Have your messy history and eat it too : http://www.davidchudzicki.com/posts/first-parent/
One of the bullet point advantages listed for Fossil of allowing multiple checkouts per repository is also supported by Git. There has always been a way to do it, but since Git 2.5 or so, the "worktree" sub command was added for this purpose.
I guess the ability to use the bug tracker while offline is a nice advantage, but for that to be worth it it needs to be competitive with centralized bug trackers.

It is just like distributed code review tools, I wish there was any that was good enough but the ones that exist are too primitive to be worth the small gain of being able to seamlessly review code while on a flight.
IntelliJ IDEA 2019.1 Early Access Program Is Open
The Insidious Device Revolutionizing Piracy in Latin America
> articulate an hypothesis of what it might be to the best of your knowledge (it's likely you’re going to be 80% right)

Please don't do this. Many managers and clients have a far better bullshit detector than you give them credit for. They might never say it directly to you, but you just lost their respect by trying to guess instead of being honest. When programmers I interview try to bullshit their way through an answer they clearly don't know, it's almost always the end of the interview. Especially because I make it super clear at the beginning that I prefer "I don't know". A solid "I don't know but I do know I can get you an answer or an update in a couple of hours" is the approach that earns my respect every time. And likely you'll be right 100% of the time with that answer.
Did you know that the bug search tools in Java code have bugs too?
Here's the hacker news comment this article links back to:

https://news.ycombinator.com/item?id=14406853
> - propose to launch an effort / work stream / project to figure it out

...This is only applicable if it's something major, that would require research or experimentation, rather than "let me go talk to Drew after this meeting" or even "I'll look it up on Wikipedia."

I suspect that those would cover a majority of the cases of this.
I'm curious to know why one has to fork Android instead of fixing it to provide privacy out of the box?

AOSP is a respectable open-source project, yes? If patches were submitted to make google tracking optional and improve privacy for privacy minded folks, would they not accept those patches?
Caching Beyond RAM – Case for NVMe
Top 5 Programming Languages for Server-Side Web Development
Actually, having computer boards with their own CPUs was NOT a modern phenomenon due to excessive computing power. They have always been made, as early as in 1980 (without the s), and for good reasons.

Some were even a bit unimaginable today: for example, we had Z-80 Softcard (https://en.wikipedia.org/wiki/Z-80_SoftCard), a Z80 expansion card made (by Microsoft!) for computers with 6502 CPUs (Apple ][) to run existing business applications written for CP/M, like WordStar. It can also be connected with a modem to utilize its additional processing power to run a BBS server. There were also cards that packed multiple CPUs to implement a poorman (home computer) version of parallel processing.

The simplicity of single-task operating systems and hardware architectures of that time allowed multiple independent computers to shift control of a physical computer back and forth. Today it's - pretty much - impossible, but nobody needs it either, you can just run everything simultaneously.