skysight-inc/HackerNews huggingface dataset:
The Adult industry has always been pretty hot on emerging tech, whilst a shitty move from Paypal, Im sure that they might move to something a little less standard.
I'm afraid I don't really follow what you've written here.

Rate limits are meaningless if people can just use multiple accounts to get around them. If you keep doing that, we're going to have to ban at least one of your accounts—but more likely all of them. After several years of trying to persuade you to use HN as intended, I'm beginning to lose patience.
The Eiffel Tower was built as a monument for the World Fair of Paris in 1889. It was supposed to be dismantled 20 years later, and what saved it is that it had been used for telecommunications. Seeing it as an ad for Eiffel's company is kind of a stretch.
Greenhouse Gas Camera
>I refactored the code from untested and untestable, to testable with 40% test coverage.

This tells me you think "coverage" is a good metric, which also tells me you're you're not covering a whole lot of cases (edge or not) where the "untested code" functioned as it should.

You're asking to replace something which has potentially some known issues, with something that has a potentially unlimited amount of unknown issues.

And the more experienced person at your job refused? What a tyrant!
You say this, but that's not what drives volume. Most crypto volume is on exchanges, not on the chain, and that's due to speculation.
Depends. In complicated code with lots of dependencies, I've always found it easier to understand functions that are written as:

function do_task(a, b, c) {
d = subtask1(a, b);
e = subtask2(b, c, d);
f = subtask3(a, d);
}

instead of one long function. Of course, this only makes sense if the subtasks are indeed different conceptual steps in the computation.

As an example, I remember writing finite elements code that was structured something like this:

function solve_fem_problem(problem_description) {
basis_functions = generate_basisfunctions(basisfunctions_type.b_spline);
quadrature_rule = generate_quadrature(quadrature_type.gaussian_quadrature);
A = assemble_matrix(problem_description.differential_equation, basis_functions, quadrature_rule);
b = assemble_righthandside(problem_description.differential_equation, basis_functions, quadrature_rule);
apply_boundary_conditions(problem_description.boundary_conditions, A, b);
solution = linsolve(A, b);
}

which I think is very pleasing to read, and preferable to a single huge function. This also makes it easy to use another linear solver, for example. On the other hand, the functions that are called inside solve_fem_problem are probably larger.

Note: During work, I haven't actually encountered a lot of code that is structured in this way.
Here's the an important piece of real-world statistics for you, which I've read about in research papers and personally verified in large-scale systems:

For every 1 complaint or help desk call you receive, there are between 100 and 1,000 users that experience the same issue but didn't bother to complain or call.

Production testing is literally 0.1% to 1% as effective as actual testing.
It means that it has been sent to the Bitcoin network to be mined in the next block.
I was in Houston recently and was surprised to seen an Oyo-branded hotel, as I hadn't realized they'd expanded beyond being an aggregator.

What do you know? 100% of Yelp reviews are 1-star: https://www.yelp.com/biz/oyo-hotel-houston-galleria-west-hou...

To be honest that actually makes them worse than WeWork at some level. WeWork may have an awful business model but at least its brand is (generally) known for consistent quality. [1]

[1] https://twitter.com/jasonlk/status/1161659165619523584
I've been with my bank for 15+ years. One time I sent a payment of several hundred £s to a friend who's paid my share of a holiday when booking.

In the description I put "fun times". I had a call from my bank asking me to explain the payment the next day. I've never been called before nor since that.

It certainly feels like they're a bit touchy about certain references.
Well, you see, the ordering of the eigenvalues doesn't really matter. What, that's not obvious to you from the statement?
> it hasn't been updated in 10+ years

HN is regularly being updated and improved. The ability to vouch for dead comments wasn’t here 10 years ago. Undoing accidental downvotes wasn’t possible. Moderation was much less active back then too, and it shows, detaching comment threads/moderating titles have been two great additions keeping the quality of discussion high even though this place has hundred times the amount of active users as ten years ago (I’m guessing)
Cutting-edge academic research news for innovators and investors
> allow calls to be ▶expanded inline in the source view,

If I understand what you mean, Visual Studio Code allows this. I guess Visual Studio does as well.

The implementation feels a little clumsy to me, but hey, I'm the guy who thinks Netbeans and Eclipse where the best IDEs I've used, so I guess a bunch of you guys will think the solution is perfect.
It doesn't have to treat "self" as a special keyword - it just has to desugar "foo.bar(x, y)" into "bar(foo, x, y)". There are some other languages that do that - e.g. in F#, you write:

member this.foo(x, y) = ...

Again, "this" is just an identifier here, and doesn't have any special meaning.

It's more elegant firstly because it follow use, and secondly because it means that "def foo(x)" has the same meaning both inside and outside of a class declaration - it's just a function, and there's nothing special about its first argument. As it is, we need stuff like @staticmethod and @classmethod. It's especially annoying when you have class attributes that happen to reference a function, because conversion from functions to methods is a runtime thing - so you have to remember to wrap those in staticmethod() as well.
> There aren't a lot of alternatives to the current trend of shipping shit fast and furious.

Sure there are, especially in enterprise, where IE is still a thing.

There aren't good alternatives, but...
You don't want to test code. Coverage is mostly useless.

You want to test functionalities: setup end-to-end tests. It will be hard, it will take time and it often is a solo endeavor for the first months. But when tested functionalities stop breaking for no reasons even when you refactor a lot of code, when "the project for which a dev put tests" starts being "the project we are confident to push to prod without breaking things" you should get some traction.

And once you think all your functionalities are tested you can measure code coverage: what is not covered should be dead code you can remove.
Related from 2011: https://news.ycombinator.com/item?id=2932157
it really feels like a sophisticated bad joke to me but i'm curious: any real world example ?
Bitcoin would be great for this in theory, but the problem is that customers will not pay you in Bitcoin. People want their porn and they want it now, that's why they're paying. If you don't make it practically seamless for a layman to pay you for your porn, they're either pirating it or looking elsewhere. Sure, a few people might pay, but you're looking at probably a 50-75% revenue loss, best case.
Ah that would have been ideal in a slightly smaller size.
in the past i recommended lastpass to people who are just getting started but now I recommend bitwarden instead unless someone needs password sharing. the UI is a lot simpler for a first timer to pick up.

the reason I don't use bitwarden myself anymore is because I started using syncthing and it seemed like a waste that I wasn't using it to sync my passwords as well. so I'm using keepass now. its not as pretty but the autotype feature is great and it means I need one less browser extension that I need installed
Having two ways to do the same thing is against The Zen of Python.
do you have some names for those others prop trading firms ?
>Lots of people had access to computers at that time.

More or less unfettered access during middle school in the late 60s?:
https://www.cnbc.com/2018/05/24/bill-gates-got-what-he-neede...

"Lots" isn't a scientific term but I still don't think it fits here. He was probably one of a few people at the time to have a few years of in-depth experience before leaving high school.

I'd call it a "myth of omission". It's technically true but the missing details are very, very important to the whole picture. That doesn't mean he didn't work hard or have a knack for it though.
ELI(Bach of Comp Sci) went very well
Apart from the purchased apps, switching is nowadays a no brainier. Android has come so far that in a couple of hours, tops, anyone can switch. It even imports your data from iOS. PS former Apple loyal customer here.
According to [1] a 1 meter USB cable can have a resistance of 286 milliohms, for a voltage drop of 0.8v over a meter (taking the resistance of four contacts and two lengths of cable into account).

So if you have a '3A 5V' power supply without a captive cable, you can still get 4.1v at the useful end of the USB cable.

The official RPi chargers include a captive cable, presumably to stop users substituting such standard USB cables.

[1] https://www.westfloridacomponents.com/blog/compensate-cable-...
How would you describe OO languages which only have multimethods, then? Say, Dylan?
I'm not really excited about technology anymore. But I found this absolutely amazing. The people that made the jankey whale pop out of the floor and raised billions have nothing on this. I'm not joking about how cool I think this is.
That is assuming your whole Enterprise is only on macOS, which I think none of the Fortune 500 companies are.

If you have cross platform to support, and want the best experience ( or I should say equal experience ) than a decent third party Password Manager is the only way to go.

I would have thought Google would be interested in this market, but ever since the birth of Android, all the wanted is Chrome or Android Integration.
gmail is like that now.

It either loads in matter of minutes, or it displays last seen cached view... and loads in matter of minutes.
Yeah, because of course it is known that newspapers, radio and tv all disappeared after ww1 and then also after ww2.
http://archive.is/k2ZpX
German electricity and phone companies can definitely cut you off for not paying. Don't know about water, but I imagine it's similar.

What they can't do is deny you a contract in the first place. (Kontrahierungszwang – obligation to contract, concerns the local water company, the biggest local electricity provider and Deutsche Telekom)
> This seems like it's just color fixing using stereographic distance modeling and a known reference palette.

That simple, huh?
China completes Mars lander test for 2020 mission
Society as a whole suffers when our leading society members, particularly our children’s cultural leaders, act like ass hats.

There’s potentially a moral justification for rousing up mob justice if you are marginalized to the point of having no other way of making your voice heard, but Taylor Swift is literally the opposite of someone whose voice isn’t heard.

She should go fight it in court. Leave the teenage fan club out of it.
So what is to stop someone else who wants a slice of that 3 billion? We have AWS and Keepass (though it is GPL) for anyone to quickly implement there own competitor, or the already-huge userbases of Google, Apple, and Mozilla's implementations. With such a low barrier to entry, won't it become a commodity? And aren't we moving away from passwords as a whole?
For those unaware of local geography, South San Francisco is not southern San Francisco but is a distinct city in a separate county (San Mateo County).
Why some people are so obsessed with what other people do with literally their genitals, alone by themselves, is something I will never understand.
I had issues finding a case that supported my PoE hat with passive cooling. My solution was the following: https://m.imgur.com/a/Cr38Abz

I wrote about it here: https://www.reddit.com/r/raspberry_pi/comments/cefzwu/carbon...

I get great thermals. Currently I put it in the official case (with drilled holes) and get about 25 over ambient with USB turned off and a conservative CPU governor.
So many years ago I was involved in an issue with a BTS (a cellular radio base station) for a telecoms equipment manufacurer. The software was written in C, and had a message parsing architecture between processes, with fixed length queues, which discarded messages when they overloaded.

There were various problems (the subject of a number of war-stories, which I won't repeat now) - but basically anything that wasn't using a properly designed state machine could die horribly when messages started getting discarded.

So we did some work around the fundamental design of the queue handling mechanism. We came up with a software modification which would improve the efficiency of the queues handling, which would stop the queues overloading (which we saw happening occasionally at peak loads on the biggest BTSs).

We could measure various aspects of the queue handling performance, and use queuing theory to prove that the performance would be better at very high loads.

We had a test rig and we could test the relative performance of the new software vs the old software at normal loads.

What we didn't have, was a test rig which could run at the highest loads, so we couldn't test the behaviour of the new algorithms at very high loads.

So the improvements were binned. The existing software was known to fail (badly) at extreme loads. The new software could be tested at reasonable loads, and mathematically be shown to improve matters at very high loads, but because it couldn't be tested, the process said that it must not be deployed!
AWS, GCP, Alibaba, now Azure. Why does Salesforce want to run on all of them?
What is your opinion of using a peltier element + possibly a heatsink but without a fan?
That’s interesting, I thought no one does that yet. Can you please link to this feature? (Can’t figure out what keywords to search)
Finance in general is plagued of this too: most money movements are non-productive asset transfers (investing, buying/selling of businesses, ...; as opposed to salaries and individual end-user purchases). But you will always be able to pinpoint the baseline of bitcoin to its most useful feature: people avoiding the criminal monetary policies of their corrupted governments.
>SoftBank Group, directly and through its Vision Fund, is heavily invested in both.

This is the worst case scenario. Every company that Softbank tries to unload becomes a liability because of the association.

On the topic of the actual business, I think there's a really basic question people need to ask themselves when they look at these business models: In 10 years time does the industry you're in look different?

Because that seems to be the fundamental problem here, Oyo's business model is basically that in 10 years time nothing about Hotels will have changed. Well what does that mean? It means we know how much the end company will be worth because it'll just be some multiple of a basket of other similar companies that exist today. So here's the question: Why are they claiming to be more valuable than InterContinental Hotels Group whilst having 1/75th of the revenue?

Now onto the financial engineering - overvaluing your company, borrowing using shares as collateral and then investing that money back into the company. That is a feedback loop, if you can't pay back the loan the shares are worthless and so these loans are entirely unsecured. If that's happening at scale, that is exactly the sort of behaviour that will cause a bubble and it will burst. Someone really should do some proper reporting on that - find out how common it is and particularly if it extends outside of Softbank.
I'm not sure why, but my RPI4 become broken 4 times in a row. I returned it 3 times, but finally I gave up. Every time it eventually stopped to boot up and there was solid green and red LED light.
There was original raspberry PI case, modified to mount Noctua 5V fan, with additional holes to allow air circulation. There was original power supply.
It was only connected with ethernet, this fan through GPIO and HDD drive through USB.

Now I have HP T620, can be bought cheaply, it's definitely bigger than RPI4, but finally it just works.
I searched, and this is the closest thing (https://github.com/pandas-dev/pandas/issues/11503) but it is not the issue I experienced.

I'm not sure how to submit a bug report, to be honest.
(143) قتل المسلمين في سريلانكا
Niall Ferguson has written an entire book on how Network Science/Graph theory concepts can be applied to historical events - The Square and the Tower. So it's not all bad. More like people are just waking up to possibilities.
An unfortunate number of services now ask people to use them only via Chrome. In my environment, I tell them to get over themselves, and we use Firefox. But a lot of services specifically state an expectation of using Chrome. It really is the new IE6.
So. We can't consider the Pi to be passively cooled for normal usage anymore ?
A company cannot really have a religious believe.
Go into each training session with a goal. To set a goal, think about what you need to train right now.
Find another job. Chances are all of management, VC's, board, everyone is in on it.
That’s true. This could be Swift’s first steps in revealing sexism’s impact on her career.

If that’s the case though, alluding to it as part of an IP rights battle seems an odd way to go about it. One would think that 2019 is the most receptive time in history for figures like Taylor Swift to come forward with explicit allegations of sexism.
Horses for courses I guess.

My little finger is much shorter than the rest but moving it a few mm to the left is easier than a large jump to the bottom of the keyboard for me.

For example, I use tmux a lot with ctrl-a.

A small movement of the hand left, jumping my little finger onto control (caps) and using my ring finger on A works really well for me.

Btw the first thing I do on getting a new mac is map the right alt key (or enter key back in the day) to control.

I hate having to press both keys with one hand for Ctrl key combos (ctrl-a being the only exception).
Taiwan bans Huawei phones over wording
Pointing people only at end-to-end testing seems poor advice. There is value in a mix of all sorts of testing. I agree that testing functionality blows counting coverage by the line out of the water. But since a lot of code that implements algorithms, string manipulation, etc. can be tested just fine with unit tests, and since end-to-end tests are expensive, easily more brittle, require a lot more dependencies, it would be better to have a healthy mix of different types of tests.
What confidence do you get out of serial numbers and existence of registry if there’s an entity that can freely print few more trillions?

Mtgox was a private enterprise that was managed by incompetent/malicious individuals, why does this always come up in bitcoin discussions? Mtgox is an example why you need to care about owning your money. People who lost money in mtgox didn’t own those money, they gave them away for a promise to have them returned.
> Can you give an example of unavoidable political problem that people manager unavoidably has to handle?

- Two of your reports want to work on the same project, perhaps because it will look good. There's only enough work for one of them

- The team fails to meet an objective. This needs to be addressed, somehow

> Political problems in that case would be implicitly handled by company culture

Someone(s) still need to make the decisions that align with the culture. Those people are making political decisions, they just have values that help guide the decisions.
This explains contribution of github in enabling software collaboration. Just change that to education material and it would explain the why
https://youtu.be/w3jLJU7DT5E
Thanks for mentioning it. I think on of the problems of fb (out of many) is the centralization, which Mastodon solves in a beautiful way without making it too technically challenging for the average user to get started.

I like very much the idea behind this new social network, but once again giving all my data to a centralized system is a deal breaker for me.
We really should have the age of adulthood redefined to be 25.
That's all well and good until one of the chargers grabs you scooter to take it and charge it. Now your scooter has been recharged and placed on a random street corner.
You are the embodiment of one of my favorite words. Sprezzatura "a certain nonchalance, so as to conceal all art and make whatever one does or says appear to be without effort and almost without any thought about it" and also more briefly "studied carelessness".

https://en.wikipedia.org/wiki/Sprezzatura
Title needs fixing, but I think the real issue is that even in the hearts of the most loving TDD users, writing the tests in their entirety first is not how they actually operate, so it's already stuck with that false stigma out the gate.

It's too... dogmatic about how you're supposed to approach problems. I don't think in a way that's conducive to "tests first" because I rarely know what the full implementation of a feature or bugfix will look like before I've gotten working code up and running.

Once I've done the first "rough draft" pass, only then do I have a firm grasp on what the second pass/refactoring will look like, and at that point I can begin to think in terms of tests "first" (pre-refactoring, at least).

But I don't think that way, either. I guess TDD really matters most as a way of forcing a final product that looks like the tests were written first. If we're interested in outcomes over dogma, making sure the code output looks right is the real outcome, and I do think it's a valuable tool for that.

All of that is still completely backwards from what's on the tin, however.
I always recommend Firefox ESR to corporate clients that use our web-based product. Long-term stability, automatic security updates, and a yearly, well-documented release cycle that allows their IT department to test the upcoming ESR release and upgrade with confidence, while we get the benefit of a modern web browser to target.
Elizabeth Warren Accuses Facebook of Corruption
What annoyed me with that answer is they didn't explain why they needed the color chart at all. I would assume it's for training some model, which would lead to this method not working without the chart out of the box for example in muddy waters.
"self" is not a keyword in Python, just a convention.

Any function inside a class declaration becomes an instance method, with its first argument becoming the explicit receiver. You have to use @staticmethod to prevent that (or @classmethod to get the class as the first argument, instead of the instance).

Furthermore, this behavior is not parse-time, but runtime. The "def" statement that defines a function produces a plain function object, regardless of whether it's inside a class or not. Once the class finishes defining, the function is still a function - which is why C.f gives you a plain instance that can be called by passing "self" explicitly as an argument.

However, Python allows objects to provide special behavior for themselves whenever they're retrieved via a member of some class - that is, when you write something like x.y, after y is retrieved from x, it gets the opportunity to peek at x, and substitute itself with something else. Function objects in Python (here I mean specifically the type of objects created with "def" and "lambda", not just any callable) use this feature to convert themselves to bound methods. So, when you say x.f, after retrieving f, f itself is asked if it wants to substitute something else in its place - and it returns a new callable object m, such that m(y) calls f(x, y). That's what makes x.f(y) work.