skysight-inc/HackerNews huggingface dataset:
Ask HN: Method of tracking login time for a web app?
Are there any good solutions for tracking the time people are logged into and using a web app?

Got a scenario where we want to share the cost of a floating licence fairly between multiple teams. And rather than us logging into a spreadsheet manually, I was wondering if there's a tool that could do that easily.

Would an SSO tool be able to do that?

I know there's browser extensions but it feels like a hassle to set up.

Perhaps a web proxy? Would it be possible to set something good up with nginx, Apache or HA Proxy, that would sit in front of the web app?

Perhaps a firewall could do the job? Somehow counting sessions per IP? But then it gets tricky to work backwards to user, and would have to MITM the traffic?

Or maybe there's some nice opensource tool that does this in a really nice and easy way?
> Australians are used to the higher price of food, have been trained not to expect table service, have a rigorous set of laws around underpaying trainees and teens, have endemic "under the counter" wage fraud to avoid taxes and the minimum wage, and don't feel morally obliged to tip their expensive waiters and waitresses.

Woah. One of these things is not like the other ones.

(As an Aussie, though, the tipping thing just seems weird. It's nice to tip a little for really good waitstaff, but if doing so means they get a pay cut on their hourly wage then that's bogus. Paying your staff poverty rates because you expect them to live off tips is like paying your police force poverty rates because you expect them to live off bribes.)
Stream Sports Live
Comparison Jeopardy: A game to train your naming skills
Which websites would you define under social container?
For the purpose of a patent, that doesn't help.

"Independent creation" is a valid defense for copyright, but not for patents.

Something cannot be patented if prior art exists before the filing of the patent. It doesn't matter if you knew about it. Even if you can prove that the prior art is not something you were aware of at the time you filed for a patent, your patent is invalid.

That's how patents are supposed to work; inventions must be "non-obvious" to the point where no one else has ever created it nor described it before on the entire planet.

If google knows that someone else has created such things (as they must have after said visit), the only responsible thing to do is not file a patent, regardless of if they independently worked on it.
I think this one also makes sure that links you click inside the Google container get opened outside of it?
Ex-Autonomy CEO Indicted for Fraud Tied to HP Deal
Món ăn bài thuốc từ mộc nhĩ ngừa loãng xương và chống ung thư
You definitely can't talk someone into having life-changing experiences. In the space of two years I went through:

1) Wife cheating on me
2) Divorce after a year of attempting to make it work
3) A clinically diagnosed major depressive episode (mainly brought on by the wife stuff but also some unresolved personal issues)
4) Cancer diagnosis

These years were incredibly formative, despite happening at ~30 years of age. The years since have seen me take control of my own life in ways I would never have before. If I want something I find a way to make it work.

One thing that helps me now is I don't worry about things. There is typically always a way out of a shit situation if you're willing to work for it. I don't know your personal situation but I recommend trying to be grateful for what you've got, set a 5-year plan for what you work and start doing the things you need to do for that 5-year plan (even if they're difficult and don't pay off for a long time). Treat your future self as someone to whom you're going to give a great gift.
> The message should be, "you need to learn how to control yourself."

For someone with ADHD/ADD some combination of therapy, diagnosis & medication may enable them to learn how to manage their interactions with the world better (or "control themselves", if you prefer).

In most cases medication isn't a "magic pill" that fixes everything but it may bring a person to a place where they are able to effectively use the same self-management/organizational techniques used by people who do not have ADHD/ADD.

You're probably going to have a Bad Time if you try to run a marathon with a broken leg--regardless of how much self-control one has.
I had a similar experience, travelled a lot, many different jobs, changing relationships - but I see myself as a success, would not want to change that experience for anything. In my 40s now with kids and loving wife - still moving jobs and countries (but with my family this time) I couldn't be happier.

Yes, I had periods of desperations and self-doubts but I would have had those also had I stayed in the same place focussing on the "career ladder". I'm happy I following my urge to see the world and embrace chaotic life.

"Wasted live" is nothing but a question of perspective.

I don't have debt though - that part is indeed worrisome.
This is cool but I don't think I will be using it. I already use Searchonymous[1] to prevent Google from tracking my web searches while also browsing YouTube in a separate container where I'm not signed in.

I really on Google's sign-in mechanism for many websites and this would probably interfere with that.

[1]: https://addons.mozilla.org/en-US/firefox/addon/searchonymous...
Using unsigned indexes would be fine if the program automatically throws an error on wrapping. Otherwise, it’s an accident waiting to happen, since you have to code all of your arithmetic keeping in mind the fact that the numbers are trying to blow up in your face.

If x is unsigned, then you can’t rearrange an inequality like x >= 4 into x - 4 >= 0, since the first inequality is only true sometimes, whereas the second is true always. This looks obvious, but bury it a little way into some nontrivial index arithmetic and boom.

Another more aesthetic reason is that indices can represent offsets into a structure relative to some other index, and in this case you really need negative numbers.
i am so disappointed when i find out it is matrix the mathematics!
The intercept is typically pretty good reporting but is it not pretty obvious that this is a counter intel opp for data gathering? It allows them a massive digital footprint into the region under the guise of "search". The more american tech companies there the higher the potential for spy activities, this is geopolitics 101 and the fact that google shut out its Privacy and Sec. Teams fruther supports this narrative.
I've been using first party isolation ever since it was ported from Tor. It's excellent, but be aware that it breaks stuff, usually JavaScript, on about 5% of websites (anecdata). I find this to be well worth it, especially to find out which sites do the worst tracking.

I have a separate Firefox profile I use for rare occasions when I need to allow third party tracking in order to do something.
> not prosecuting Enron executives or countrywide loan officers

You picked two things the SEC went ballistic over [1][2].

[1] https://www.sec.gov/news/press/2004-94.htm

[2] https://www.sec.gov/news/press/2009/2009-129.htm
It's not just corporations, it's companies and individuals in general. It has happened to me a lot.

Ironically, making my stuff open source has cut down a lot on that. (Github leaves a clear provenance trail.)
Do you need to sign in blood, or is blue ink ok?
A proposal for a new RPKI validator: OpenBSD rpki-client(1)
Sorry for my bad English. Here is a better explanation:

In Bookkeeper, one producer can fence the current active producer from appending to log. If majority of Bookkeeper nodes respond with OK to a FENCE request, then the current producer can not append to the log. This helps implementing master-slave database replication quiet trivial. Master keeps appending to log, and slaves keep reading from log. In case master fails, one of the slaves sends a FENCE request to Bookkeeper nodes which reliably blocks current Mal-functioning master from appending to db log.

However in Kafka, this isn't a native operation. Any client can push to a topic. There is no easy way to safely do this.

I was looking forward to see how Twitter team actually handled this specific use case.
Yes because duplicate labels are not allowed within the scope of a single record (you can specify which one overrides the other, but perhaps we also need a convenient rename syntax). This point was that different records can happily contain the same field names. The situation is the same as SQL.
Perhaps a company shouldn’t be able to have such a broad reach across so many different mediums.
Zalando Research Releases NLP “Flair”
...Or, you can use "Firefox Multi-Account containers" by Mozilla. [0]

This is what I use. I have everything that I log into google for in one container, social media in a second, and everything else is nicely sand-boxed away from those horrors.

[0] https://addons.mozilla.org/en-US/firefox/addon/multi-account...
Metafilter has had it for, oh, looks like almost 13 years:

https://metatalk.metafilter.com/11174/Im-proposing-a-small-c...
I work for a FAANG and not a single post on there for the last 3+ years has any basis in reality for my company.
> [a] patent [keeps thhe project alive] too

> perfect for a 20 year exclusivity period

So for 20 years, if I wish to create and sell a book with transistors I have to license the idea from google (that is if they're even willing to give me a license)?

And somehow having to go through that legal loophole will keep the art of creating LED books alive? You seriously believe that?

Does the patent have complex details which would take longer than 20 years for someone to independently discover about creating LED books? If so, people do save time by waiting 20 years and then reading the patent, but that seems extremely unlikely.
Wikipedia is struggling hard against misinformation, POV-pushing and edit wars on almost every controversial topic - the big ones being politics(American, Eastern European, Israel/Palestine) and medicine(gmos, pseudoscience healing, etc)

Here is a list of active sanctions by ArbCom - https://en.wikipedia.org/wiki/Wikipedia:Arbitration/Active_s...

These are places where the fighting is so common, admins are allowed to ban on a hair trigger. This doesn't really lead to "high quality" - instead it leads to massive gamesmanship as people try to smear each other and get the "other side" banned so they can freely edit the topics to their content. Just click through some of the cases to see the issues leading to them(beware, this is an endless black hole of drama).
Maybe Not (Rich Hickey at Clojure Conj)
And it's not just small, dying languages. Typical Czech parent will push their kid to learn English and German everyday.
you understand why you where downvoted right? (fyi: not my doing)
How to Stop Losing Sales Leads Through the Cracks
How a cable bill of $90.34 will cost me $212,602
BP and Shell Back VAKT Blockchain Platform in Sign of Confidence
How would you know if you're being "independent" or if you're just being a crack pot?
You don't need everyone to wear it, perhaps someone designated as a scout.
And all of your DNS traffic since it's not over TLS
> I skimmed documentation of Python after people told me it was fundamentally similar to Lisp. My conclusion is that that is not so. `read', `eval', and `print' are all missing in Python.

I believe he may be mistaken about this :D

Then again, he's a stickler for definitions. He may have some very specific idea in mind about these functions that the `input`, `eval` and `print` functions somehow don't satisfy
>If we're technically minded? I'm mad that I dont see more hacktivists.

If you're skilled enough to be a hacktivist that can contribute significantly than you're also skilled enough to find well-paying work and you won't become bitter.
Quoting from a book on information risk[0] I'm reading:

"... we have to remember how this form of loss [reputation damage] typically materializes for a commercial company - reduced market share, reduced stock price (if publicly traded), increased cost of capital, and increased cost of acquiring and retaining employees."

Iff we want Google to change, we should figure out a way to translate moral outrage into threatening some of the things mentioned in the quote.

--

[0] -- Measuring and Managing Information Risk: A FAIR Approach 1st Edition, p. 138.
"While I go work with Slack for a couple years..."

Can't be encouraging for Slack, couple of years. But, that's the deal now, people leave tech jobs every 1-5 years for something better or start their own company.
This has a lot of potential. I would love to be able to type quicksort and automatically see a good implementation of it. What is shown right now is not good enough, but the idea is there. Great job! I also tried ray tracing, and timsort, but got no results.
Multitask machine learning tutorial: theory and code examples
Google+ had a couple floors and even a cafe that you couldn't access unless you were on the team

And how did that work out, isolating themselves from everyone who could tell them it was a bad idea? I wonder if all of Google’s cancelled projects are developed in echo chambers, it would explain alot.
They produce a lot of things that are super useful for avoiding edge cases. Consider Google fonts, for instance.
We need a container for the container extension
Cmon, all DNS queries go via VPN tunnel.
Useful. Please keep going!
You'd run away too if you could, if you knew what was good for you.
That’s a false equivalency.
I expected a deep rundown of the glop and what it would take for it to be all you need.
> It still blows my mind [...] the typical response is along the lines of, "but what would you use it for?" [...] When is it not useful to see the data your code is operating on?

Status Quo? (the status quo being... print statements?)

Another easy example of a long available better model that is still niche/ignored: pipelines in PowerShell [1] are clearly superior in many fronts, but people prefer keep parsing plain text with regular expressions rather than learn a new shell language.

1: https://docs.microsoft.com/en-us/powershell/scripting/gettin...
Sorry Friedmans approval of Augusto Pinochet is well documented.
Microsoft never claimed to be an honest company.
Why would preventing reselling of airline tickets promote security?
You said it, at least it's the only source you referred to.
It would be great to have a few pre-selected example queries immediately clickable, to see some examples. That would help showcase why this is cool and what you can do with it. And maybe why it's better than other search tools (i.e. built-in github one).
What is happy future? Is it the same for you aa for others? Should we still group ourselves to one/more big groups, or should we maybe focus on individuals more, and let people group if they want to do so?
Dang, it's incredible that google didn't fire the "inventors" listed on the patent. This is blatant stealing.
> Facebook cannot be trusted to fix Facebook.

It's okay, that game is already lost. The headline is "Sheryl Sandberg..." We've moved on from Facebook being the object of the scandal to Sheryl Sandberg. I'm sorry it worked out this way, but as you point out yourself, she lied, which is really very super quite bad.

Seriously though, Facebook is bad for reasons that have very little to do with bickering with George Soros or lies and more to do with its actual effect on human relationships and identity. As a person who doesn't care about a lot of things, I can't find it in my heart to get upset about Sheryl Sandberg telling lies. I don't find the moralizing over it to be genuine, given all of the things happening in the world, and even given Facebook's effect on culture-at-large, Sheryl Sandberg lying (which I don't even 100% believe) is so low on the list.

Let me bring Hitler in as an example. And I'm not going to compare you to Hitler. No, I am going to compare Sheryl Sandberg to Hitler, but I am writing in her favor (kind of), so I feel like this is fair to do and not in the spirit of whatever that internet law about bringing up Hitler is.

Let's say Hitler led Nazi Germany to systematically exterminate millions of people (he did). Now, let's say he lied about it. People said, "Hey Hitler, are you killing millions of people?" And he said, "No, I am absolutely not doing that." Time passes and, one day, we come to find out Adolf Hitler did, in fact, lead Nazi Germany to kill millions of people. Imagine waking up in 1944, visiting Hacker News, reading some headlines, and spitting out your coffee because, come to find out, Hitler lied and also btw he killed a few million people. And for weeks, headline after headline, Hitler lied, Hitler is a liar.

All I am saying is, can we get some content from NYT on how Facebook is genuinely bad that doesn't have to do with their PR lies? Because I don't care about what their PR is doing or saying. I also don't care if Sandberg's career is ruined, I just don't see how any of this is relevant to anyone's interests other than something like Two Minutes Hate.
Do you have a plan to add Pascal/Delphi language support?
The new subtitle "The programming language that empowers everyone to become a systems programmer" is a perfect example of that.

Any C programmer can see it's factually false, but it could definitely suggest to a C-level exec that they'll have an easier time hiring in the future if they use this language.
Not in any supporting this, but likely what happened was:

a. some googlers met Leah for casual/interview talk

b. Leah describes her ideas in detail

c. Said Googlers steal her idea and patent it thinking 2 years is long time

d. Leah comes to know and Google is caught with hand in cookie jar

This is very Google should have practiced the do no evil. Instead they tried to salvage the situation.
I second this book. Whilst I'd heard some of the tips before, having it all in one place really helped me apply a considered approach to dealing with an oft angry toddler. Best of luck!
I worked for a medium-sized community that did this in 2009, I think. At the time, I don't remember it being novel.
I'm pretty sure all companies do similar.
Do you truly believe that a VPN provider with access to all of your traffic has no idea who you are? If so, you either have truly impressive opsec or are not considering just how much can be gained from traffic analysis.

Leaving aside the giant DNS question, there's SNI to consider as well as the VPN provider knowing your source IP and times of access. Then, because you're on hn, consider what the graph of little-used services you (probably) use says about you. Work VPN/chat/webmail servers? Admin interfaces for side projects you work on? And of course good old fashioned typos in your shell.
what?

today's planes can fly in any direction?
I honestly can't look at the page for more than a few seconds without feeling very nauseous. The stark color changes everywhere make it hard to scan the page for relevant information. It feels way too distracting. I really like Guile's front page. It's very easy on the eyes and yet provides a lot of useful information: https://www.gnu.org/software/guile/
Employee Stock Options on Ethereum (2017)
Halide! That's the one I was thinking of: https://www.youtube.com/watch?v=3uiEyEKji0M

I'd love to find out if this could be a more generally-applicable technique, but it's fascinating regardless.
It's very interesting that she is launching the PandaPatents site using her story as the impetus to help people navigate patent law. I haven't had time to look at it, but it sounds like an interesting idea.
True, but I didn't see that she identified herself, or her gender, in the article. So what's a commenter to do? That's an honest question. Mangle to use "they"? Use some genderless pronoun that'll piss off x% of readers?
This is all true! Entering into a graduate program without being fully aware of what you’re embarking on and what you’re getting out of it is a bad idea. But I would argue this generalizes beyond just grad school.

Some people enjoy scholarship and research. There are places that support this. To generalize only slightly unfairly, most of industry is not conducive to this kind of personal goal. Pipe dream it may be, but we still have artists and musicians.
When I submitted my webextension-based extension, there was an automatic review followed by a human review. But obviously it's unclear what the quality of that review was and I'm not sure whether any update triggers another round of reviews.
Those apartment buildings are paying the same property taxes as everyone else.

That I'd what property taxes are for. To pay for stuff like this.
Most people think he is a kook.

I wonder what they will think once we're all on the Chinese-style "social credit" system--if we're even allowed to have our own thoughts by then?

Oh, I'm sorry Mr. Six-Pack, but your insulin refill has been declined.

Why?!

Our records indicate that you ordered chicken for lunch yesterday, and chose fried instead of baked. I'm so sorry. Have a nice day!
Poe's law. Fact is a lot of the political propaganda in the media (including movies) is used by the State to manufacture consent to use violence... usually as State intervention to liberate people and to recruit soldiers to protect freedom and train them so that they become good at violence. For instance see this, https://www.reddit.com/r/ABoringDystopia/comments/9ztk4l/can...

Regardless the political imagination of individuals as to what is right or wrong has very little impact on their ability to actually do much and hurt many people as individuals or even as political fringe groups, as the control mechanisms and technology to disrupt such individuals and groups is highly effective. However, when those groups become large movements perhaps they could possibly lead to some sort of uncontrollable and undesirable violence. Does that mean we should be weary of fiction writers promoting such themes, yes we should, if we're a country like China.

It seems there is a movement to control all forms of speech these days as it's all starting to be considered dangerous... so you don't even have fiction as a refuge to express your revolution.
...And are trivially demasked for your VPN provider's ISP by traffic analysis (DNS requests are pretty obvious when transiting a VPN, then wait for the VPN provider to forward the packet).
I found the citation, from the introduction to The Caves of Steel.

"Campbell had often said that a science-fiction mystery story was a contradiction in terms; that advances in technology could be used to get detectives out of their difficulties unfairly, and that the readers would therefore be cheated.

I sat down to write a story that would be a classic mystery and that would not cheat the reader—and yet would be a true science-fiction story. The result was The Caves of Steel. It appeared in Galaxy as a three-part serial in the October, November, and December 1953 issues, and in 1954, it was published by Doubleday as my eleventh book.

There was no question but that The Caves of Steel was my most successful book to date. It sold better than any of my earlier books; it elicited nicer letters from readers; and (best proof of all) Doubleday smiled at me with greater warmth than ever before. Until that point, they wanted outlines and chapters from me before handing me contracts, but after that I got my contracts on my mere statement that I was going to write another book."