skysight-inc/HackerNews huggingface dataset:
> It would be nice for git to have some kind of "commit of commits" which allows a hierarchical representation of commits. Ie. the "Add new printscreen feature" could have as subcommits "Create print renderer" and "Hook up print UI".

These are usually called feature branches.

> "Added function xyz()" or "Adjusted constant FOO to 27" or "Made lots of changes in file a.c,, b.c and c.c".

These are very poor commit messages that don't add anything of value; any diff viewer will tell you the same immediately, so you might as well leave it blank.

> Commiting frequently also has a substantial cost of needing to think of a commit message.

In larger, private feature branches I'll use loads of "asdf" commits that I will later squash together. These are my "ok, so far so good" points to make figuring out where I broke something easier.
But why? The results would be a lot more useful if they include a single-process multi-threaded setup in the benchmark.
How buyers balance cash vs. debt to secure high micro-SaaS returns
Over here (in Belgium and The Netherlands at least) so many neighborhoods have signs promoting local WhatsApp groups, complete with the logo [0]. Often to 'prevent crime'. Local municipalities install and pay for them. It is so awkward to see.

[0] https://cdn.nieuws.nl/media/sites/305/2016/05/14195316/Borde...
In a lot of instances you get penalized for large messages. Email marketing is a tough business.
Mark, thank you for your generosity with your books.

I wish you could also share with us your process of writing books. You are a prolific writer, how do you do it?
But you're not referring to someone with the wrong pronoun, but using a gender neutral one.
They tried to do this about 20 years ago with "synthespians". The idea was that you create a digital persona and have it play in several, unrelated between them, films, as if they were real actors.

It was tried in the movie "final fantasy" with the synthespian "Aki Ross", who was the lead character. But it did not go anywhere.
Eight priorities for calculating the social cost of carbon
> "They've essentially done an attention economy land grab and the state exists to regulate such disruptive practices in order to preserve certain public goods"

The state doesn't exist to protect an industry from competitors, even ones that are "disruptive".
Creator here: I didn't expected this to be linked here.

Feel free to asked any questions about the project and I try to answer them.
Me being a meathead thought this was about lifting weights.
The funny thing is: they are now forced to highlight the differences between business and "private" chats, especially that business chat contents are _not_ private.
> Robinhood gave privileged information regarding the details of securities to various capital groups, who directly benefitted.

No it didn't, because it didn't have privileged information about the securities. Just because it's a broker doesn't mean it has privileged information about the securities it brokers. Brokers do not typically have privileged information about the securities they broker. To have privileged information, Robinhood would need to be an insider to those securities. Which it isn't.

I don't know what else to tell you - your understanding of the conditions required to meet the SEC's definition of insider trading is simply incorrect. You need to revisit the specific definitions of "insider" and its impact on confidentiality and fiduciary duty.
Not at all, but I am opposed to a generally available technology that enables ordinary people to create DeepFakes of pornography with photos of friends, family, co-workers, anyone they can acquire a photograph. I am opposed to such a system because I know how it will be abused and cause misery for hundreds of millions of unexpecting women.
It is worth reading what the epidemologists advising Western governments actually think. Many of them are arguing for social distancing and border closures to continue until the entire world is vaccinated, regardless of how many people are vaccinated within your own country. That is expected to take probably until 2026, so the OP's worries about five years are founded. Some outliers among those advisors are even arguing for social distancing for the rest of the 2020s, or (because they want to take the opportunity to end flu transmission as well) in perpetuity.
A warning saying that X amount would go to Y. X2 would go to Y2 might have prevented this.
I am unhappy with your mis-representation of my post. I'm not asking beyond a clear "rhetorical question" used to emphasize the incredulity of the situation, quite the opposite: I am pointing out that the points, as described, are equivalent. That's not a contentious issue here.

Obviously different points could be raised and argued - as per other posts in this thread. However the specific points on which the court decision was based do match the relationship between cities and (regular) taxi drivers. If UK was a nation of laws, this ruling would also change the relationship between cities and taxi drivers.

But we know that won't happen - because public entities get an extra leeway with laws.
Well, no matter how fast a single server is, it can't keep getting faster.

You might shoot yourself in the foot by optimizing only for single servers because eventually you'll need horizontal scaling and it's better to think about it in the beginning of your architecture.
Huh, I thought your first example was much more poetic. The vaguely run-on sentence does a much better job of evoking what's happening in the scene.
The relevant blog post, that the article doesn't link to:

https://blog.whatsapp.com/more-information-about-our-update

Goes into slightly more detail then the article, and also takes obvious jabs at Telegram and Signal.
https://support.signal.org/hc/en-us/articles/360007061452-Do...

"Signal periodically sends truncated cryptographically hashed phone numbers for contact discovery. Names are never transmitted, and the information is not stored on the servers. The server responds with the contacts that are Signal users and then immediately discards this information. Your phone now knows which of your contacts is a Signal user and notifies you if your contact just started using Signal. "
No you should not.

UUIDs are not always a good solution.

If you order things by id (often useful for pagination, since incrementing ids are usually ordered by creation date) uuid are of no help.

You would need to sort by created_at and this would require an additional index.

No to speak of pagination by id ranges or whatever is used sometimes.

UUIDs are mpossible to remember and thus somewhat cumbersome to use too.

The weird id mixed up with index problem from the article is something which never happened to me ever in over 10 years of web development.

I stay away from PHP as much as possible so that may be the reason ;)
But design and coding are different steps, best kept separate. When you are designing, I agree with you, the expected usage is very important. But in the design step the particular language mechanism for dealing with conditions does not matter. Once you get a specification to program to, all input conditions can be treated as equal. That is, unless you need to optimize heavily by biasing your execution path for a certain percentage of input cases (which should be clearly described in the specification).
I wonder if these second hand would do well for cheap compute horsepower.
Not the first time someone has suggested that. here, ill right like a moron so you know imz a realboi
I think snarfy is expressing incredulity that meteorology doesn't already account for these types of emmissions. Analogously, suppose the headline had read

> Water flows downhill. Scientists want to know why.

"But gravity makes everything flow downhill, right? What makes water especially worthy of investigation." Surely this is a reasonable reaction.
I address only intellectual dishonesty. Misinformation and ignorance has gone on far too long and I'm going to do my part in making its distribution a little bit more annoying for its messengers.

P.S. How will you be paying The Conversation for the content you stole from them a few comments ago?
Do you still have Whatsapp installed?

I have seen family and friends _add_ Signal but few actually _removing_ Whatsapp from their phone. Which is not a success.
> The fact is government Covid updates quite clearly are covered by the law

They aren't.

> It's hardly reasonable to accuse facebook of not knowing what they are doing

No, it's reasonable. This has backfired badly for Facebook. They've weakened their bargaining position.
Would you put the Erlang/Elixir error handling in the "catch Throwable" camp?

Because in this case, the error handling is done in a different process altogether (supervisor).
The judges are definitely human, but their biases are very strongly those of the judicial system, not those of the executive. They're all well-off lawyers, and mostly privately educated, white, and male - so there is an 'establishment' tinge to their viewpoints (though individual judges vary widely). But as far as politics goes, the predominant view is that justice is (and judges are) important, not that the government should have any particular influence.

For a small example, there was a recent case where an MP of the governing party (Charlie Elphicke) was convicted of sexual assault. As part of the sentencing process, defendants can submit character references ("He's a hugely charitable, reliable, all round good person and this offence is entirely out of character", that kind of thing) and several Conservative MPs sent them on his behalf, but asked for them to be kept confidential (presumably to avoid political damage at the upcoming election).

The judiciary were having none of it. The trial judge released the letters anyway, and the Lord Chief Justice (head of the criminal courts) rebuked the MPs for trying to influence the decision of a judge.[0] And this for something (character references) which are pretty mundane.

They really do not like bowing to political whims.

[0]: https://www.doughtystreet.co.uk/news/character-references-cr...
Yep, it’s super arbitrary. Super bad legislation and introduces huge sovereign risk. There will be companies who choose not to do business here or not to do business with our companies when the Government has shown they’ll happily target random successful foreign companies to be extorted by local failing industries...

And this is just one in a whole string of bad tech legislation (like the one that the Government can force you to secretly break your app’s encryption for any users they want to surveil, without them requiring a warrant!)
It's done via hashes which is why it might need some time that contacts on your phone are recognized that they are on Signal.

Afaik, Signal servers have no information who your contacts are.
Yeah, I know who they are. I also know the immense size and power of the pornography industry and the immense efforts it requires to get stockholders and investors to ethically deny hundreds of millions in potential revenues.
Don't use a raw integer as the ID type. Use different types for different IDs: UserId, OrganizationId, etc.

It's a common bug to get different ID types mixed up, and a gigantic offset will do nothing to help you with that.
Agreed. I've found propogating an error across multiple services to be a much harder problem than handling it with return values/exceptions in a monolith.
The thing is, rolling blackouts aren't a big deal. In an extreme event like these storms, having a power grid that can survive some loss in capacity with rolling blackouts is the goal. What happened in Texas was a complete failure of the entire gird over huge swaths of land leading to millions of people being without power for multiple days. Most people don’t need generators or powerwalls for a once a decade risk of some rolling blackouts. Most communities don’t need more expensive, less efficient micro power grids for the occasional rolling blackout.

It is less expensive to weatherize the grid so it can remain mostly functional in extreme events than to have tens of millions of households buy and maintain generators so they don’t freeze to death because the actual power grid was not properly built and maintained.
I find the executives legal arguments on motion 2 "not readily believable"

The EGM could suspend various bits and appoint the two proposed directors pending an election for example.

Its telling the executive has not actually quoted or explained its reasoning.

Maybe I should get Ivan to propose me as a board member :-)
Serious answer: this is still very much in flux. We're not at the point where you'd get audible gasps from using these terms, but in certain audiences you'll get some raised eyebrows.

If you believe that having "black=bad, white=good" connotations built into our jargon is harmful in some way, then yes, you should strive to use alternate terms.

If you don't think that's harmful, and you're forceful in defending "black=bad, white=good" as being too established and too inconvenient to change, that's when you're likely to get pushback.

Personally I've been trying to use "deny-list" and "allow-list" (with partial success – changing your jargon is hard). They feel a bit clunky, but I suspect that clunkiness will fade with time.
Why this kind of article always seem both borderline and true ? It is surprising as it opposes « reality » to « conventional wisdom ».

And ads are annoying.
I've made this mistake in the past, but I don't any more. The difference is that rather than closing my feedback loop over the code/architecture itself (so the cycle of working is start feature => code => look at code => code, which obviously never leads to starting new features), I close the loop over the experience (becoming start feature => code => use/test the feature => start new feature). This way your focus is on the product and your working cycle involves incrementally adding features, not navel-gazing at your code. So basically, bring yourself out of the code and actually try the product whenever a feature is done; context-switch from coder to user.
People have been raising the alarm about governmenral big brotherism for aeons .. and we willingly accept 24/7 surveillance by big tech.

The internet was by far the worst infringement on freedon humanity ever created. The worst part is we all submit to this willingly, without so much as raising a fist in defense.
no it's not, that's not how lightning works
It's done with meta tags in the HTML:

https://developers.google.com/search/reference/robots_meta_t...
Do you have a source for that? Because your claims don’t match the proposed WhatsApp privacy policy changes this refers to.

You can read a summary of the proposed changes here: https://www.google.com/amp/s/arstechnica.com/tech-policy/202...

Contrary to the public perception, Facebook isn’t in the business of selling data to other companies. The proposed changes don’t change that situation.

A privacy policy isn’t going to stop the state from legally accessing data they’re legally entitled to.

This is what I was trying to say with my comment above: The public perception of what these companies are doing has diverged from what they’re actually doing, and it’s making everyone so jaded that they’ve stopped paying attention to the details.
Ok new EGM and replace the lot
GitHub Repositories to Learn Programming
Lol people didn't even want to pay that much, it wouldn't ask for that dollar/pound until you'd used it for a year, and most people would ignore the message when it came up

Usually it'd just keep working anyways
So does eclipse. The author seems unaware of similar solutions that have existed forever...
+1 for Dapper. It does have some limited "magic" query building features, but only for straightforward CRUD operations that don't involve joins. And that's a Good Thing (TM).
Tools to Enhance Security for FinTech Apps
Thanks for explaining so clearly your view. I'm totally biased towards programming practices that make execution paths 100% explicit and local. Yet it is interesting to understand the other point of view (and somewhat liberating, to be honest).
Interview: Flipidea offers analytical information about business failures
The benefits described here are achieved by ANY abstracted estimation system. Ask people to estimate in units of difficulty, complexity, cups of coffee, whatever. Keep those units consistent relative to each other (a 4 cup task looks roughly twice as big as a 2 cup task, in advance). Track the relationship between units and hour/days over several sprints, and your average automatically factors in all the external things like team collisions, illness, developer downtime, refactoring, bugfixes, release process, etc. The research shows that the law of large numbers makes this MUCH more accurate than pure time estimation. (time estimation is extremely difficult to get correct more than about 35% of the time; averages of consistent units are correct enough to run a casino budget).

The scrum people will tell you to call this unit "story points", but it doesn't matter what you call it, as long as it's based on something connected to task duration. Difficulty, complexity, risk, whatever.

Note that if you're tracking the conversion rate between developer estimated hours and real hours, you're already doing this. But you'll get an increased accuracy by using units that are explicitly not time-related, just because of quirks in how human brains think about time.
> But we won't get there if we make things worse now.

I have seen this claimed a lot, but is it really true? In some countries the authorities ended restrictions (or ostensibly maintained restrictions but stopped enforcement of them) because the population simply wasn't observing them. In those cases just "giving up" really worked in terms of the majority of people being able to get back to normal socializing.
Fixing the PG schema would have saved me about 2/3 of the space. (from a small test run) Good, but not enough to move the needle.

Queries on the PG setup here are back to the bad old days of being limited by bulk disk performance.
In France, I've slowly started returning to nighttime walks and runs, and I haven't been hassled by any police yet. I guess I'll gladly take the fine if some cop is on a power-trip one night. Some désobéissance civile is healthy :)

Though you're right grocery shopping is a pain.
TBL sold out a while ago, with DRM/EME only a recent example. Also not sure anything he says on this matter can be unbiased when both Facebook and Google pay membership fees to the W3C.
Creator here: That's a problem of all new languages. There is not much in terms of libraries, tools or documentation. I started Phel last year and published a first version recently. I have a few plans to build some good tooling around Phel but that takes times.
By the time a startup can pay you serious base cash compensation, I don’t think it’s likely they could also pay you serious equity compensation as an individual contributor. There’s no lottery ticket there, just trade offs. A lottery ticket is usually huge payoff or nothing. $500k or less, even a million or less doesn’t really sound like a lottery ticket (not to downplay how life changing that payoff could be).

Philosophically the lottery ticket scenario is your own startup or early startup employee, where your rationalization is >$10 mil or bust. Either certified “seriously rich” anywhere in the world or you just wasted your time. That’s a asymmetric payoff of a lottery ticket
Could Facebook simply say "We will only allow links from sites that do not charge"? If someone tries to post a new article from News Corp, Facebook displays a message suggesting alternative links from "free" news sources.

The differentiation from free or paid could be a variable in the HTML code of the news source. If you want to allow links, specify cost=free.
> Reality is no one cares about privacy

Not so. I know several non-technical people who heard about the changes and made the switch to Signal. (Or rather, primarily Signal, but WhatsApp where necessary.) It's not just us HackerNews readers.

I don't expect WhatsApp to be a deserted wasteland any time soon, but it's not the case that no one cares.

> there isn’t a dollar amount attached to it like with security

There isn't really a bright line between the two. Privacy has significant overlap with the C of the CIA triad of cybersecurity.

> I could t even convince my own family to ditch WhatsApp.

That's unfortunate, but not universal.
"... the average price people are willing to pay to get access to whatsapp [because the value Facebook provides with its growing networks of sites still isn't adequate enough because Facebook isn't actually an innovative company; and people don't trust or like Facebook enough to pay for the value that privacy, trust, and genuine support would allow for]"
Build a sustainable business around your Open Source Project
Or they can be hired in their country for a foreign company for a ridiculously high salary for the country. Anyway good engineers won't be outsourced for a company that keeps 70% of what the customer actually pays for long.

A friend of mine lives in Bolivia, and literally tripled his salary (actually a bit more than triple) just by doing this.
Of course not everyone voted for this. Even in reliably red or blue states there are a lot of voters who vote against whoever won. By its very size Texas has a lot of democrats in it, just not nearly as many as it has republicans.

That being said, Greg Abbott beat his democratic opponent by 13.3 points, which is a lot. He won in 2014 by 20.4 points, which is even more. And while I personally doubt that this specific issue was a campaign point, it’s hard to deny that minimal regulation and a general attitude against interdependence weren’t major campaign planks. Does anyone doubt what Abbott’s position on power regulation or connecting to the federal grid would be? Are any of his voters under the impression that Abbott would regulate power more? Certainly not.

Does that mean Texans deserve this on a moral basis? No, of course not. But a majority of their voters continually voted for leaders that have led them to this place. It’s kind of hard to know what to do for them when they keep voting for people who seem to care more about vacations and Fox News hits than actually serving their constituents.
The problem is that phone numbers are a small space for brute force, and depending on how much they truncate, this could be very close to uploading one's address book.
it has the same issues. You can always discard errors with `catch unreachable` for example.
> how does this compare to other industries in the city?

Tech firms underperform massively on this metric compared to other local industries (law, accounting, general Fortune 500s like Home Depot/Delta/UPS).

That said, tech firms in Atlanta in general have more African Americans than do similar firms in e.g. Austin or SV.

If I'm African American, Atlanta is a better place for me to get hired and promoted in tech than other tech hubs. My suspicion is that the fact that managers live in Atlanta normalizes for them the notion that African Americans can excel at white-collar work, so biases that exist everywhere are somewhat reduced here.
Nothing is stopping them from building their own aggregation sites and disallowing Google/Facebook to index their sites.
They are literally giving their content to Google and then demand they get paid. (Technically Google is taking the content via indexing, but I'm sure they can figure out a way to stop that)
Just FWIW this isn't at all how British unions work. Closed shops are illegal and workers are selected by the employer, not by the union. Seniority might come into play if a workplace with a union recognition agreement wants to implement redundancies, but even then the old 'last in, first out' principle is rarely used because employers would normally rather shed their expensive older workers.