skysight-inc/HackerNews huggingface dataset:
Sell shovels during a gold rush, just like I did for mobile apps a decade ago.

That turns into open source contributions in packages that affect far more than EVM.

And some truly lucrative knowledge and utility. Except people want to debate utility whereas nobody batted an eye at mobile even though people only use like 5 of the hundreds of apps they have. (People made fun of apps getting big checks but it was all in fun, or congratulated individuals developers making 5-6 figures from app stores, but mention a dapp on a blockchain and everyone looses their minds)
In Go, it is a single code path. Contexts can be canceled and they also come with propagating timeouts. The timeouts simply trigger a cancellation, so the only code path is handling cancellation.

There's nothing complicated about it, so there's no reason your code can't implement timeouts and cancellation the same way: timeouts are a cancellation triggered autonomously after some time passes.
The private company that sells me electricity has to charge all sorts of fees that are mandated by the various levels of government that regulate the market. These are not taxes but admin fees, riders and right-of-ways, each dutifuly detailed as a line item. Is this not exacxtly what Apple does to anyone who wants to reach a big market?
> Pure black is the correct color for text. Ink and paper manufacturers go to great lengths to make inks and papers with the darkest blacks and brightest whites, and there's no reason text on screen should be any different.

Is this your opinion or is this widely accepted as fact? I've read countless design suggestions to reduce contrast and avoid using pure black or white on an LED display. I'm curious whether there's research that supports either side.
No, banks do not have a magic wand that creates money out of thin air
We have these in Tennessee at some state parks. As a colorblind person, I don't really know what I'm missing out on so I'm very much looking forward to trying them out when the leaves change this Fall!
Blockchain addresses the fundamental societal concern of trust. It addresses accountability and transparency, removes middlemen, and maybe down the road will provide a currency use case. Yes, it can act as currency but that is the use case with the worst odds.

When it comes to currency, your coffee is not the target right now. Getting rid of entrenched monopolistic behavior is the best first step: wire transfer fees, Western Union, transfers that take days to process, objectionable government-defined illegality, banks freezing your funds, etc.
https://en.wikipedia.org/wiki/Resource_Monitor
Hate speech is very common in Indian social media.

Also, This is not just a problem with Facebook India, Even Twitter India's heads have very close ties to India's ruling party.
Novel Photocatalyst Can Perform Solar-Driven Conversion of CO2 into Fuel
Incredibly frustrating the benchmarks not linking to the actual frameworks - searching for "lithium web framework" gives me some PHP framework...

Edit: Comment lower down suggests: https://github.com/matt-42/lithium is the correct one.
I'm just a perpetual amateur in C and I've never heard of this. TIL. Thanks.
Well it seems like it is; the article's biggest demonstration of its rule is its blue text. (And it practically breaks it with a large patch of 2% brightness in the author's photo, which of course looks good.)
Not all the money goes to the home owner. Typically some goes to the bank for the mortgage, some to the buyers agent, some to the seller's agent, some to taxes/fees, and so on. The escrow/title company calculates all of this and ensures everyone gets their money.
More and more people are giving up on self driving car tech. If it can't cope with American grid systems, it is going to flounder on more complex street layouts.

See, Steve Wozniak has given up on autonomous vehicles: https://www.extremetech.com/extreme/300927-steve-wozniak-no-...

See also, the magic roundabout in Swindon, UK: https://en.m.wikipedia.org/wiki/Magic_Roundabout_(Swindon) - I'd love to see a self driving car deal with this.

Still, as a philosophical question it has a fairly clear answer. Generally we go for decision-makers as those who are responsible for decisions made. There's a clear line between the vehicles and the manufacturers. The only way I could see it being construed as the drivers responsibility is if people are given control of the risk profile of the vehicle or if they eg install a custom unit to do the driving. Both seem insanely reckless, although I suppose that has never stopped such developments from taking place before..
> It would be if that point was made anywhere in the article. Thankfully, it's not.

The article literally says: "When you put pure black next to a set of meticulously picked colors, the black overpowers everything else. It stands out because it’s not natural."

Pretty sure that's exactly the point I'm describing. The author literally uses the words "not natural".

And my point is that the author's worries about pure black are irrelevant because #000 isn't pure black either. It's already just dark gray on any real screen, so there's no need to avoid it.
For monitors, http://www.lagom.nl/lcd-test/ is helpful for making adjustments without external calibration tools.

For books, paper isn't the brightest white; it's only copy/printer paper that got in to a ‘horsepower race’ for brightness.
Yeah I just wanted to highlight it, as I've see far too much code passing INFINITE to WaitForSingleObject or similar.

And yeah, not having another way of cancelling is not nice, but sadly not entirely uncommon.
I would be curious if anyone knows his cancer family history. The guidelines I've seen recommend screening at age 50 or 10 years before a the age at which a first degree relative was diagnosed (whichever is sooner).
You'd have a really interesting conversation with an artist or designer if you asked, "What is the correct color for text?" instead of uh, just saying that the answer is whatever your computer draws as RGB #000.

That's part of what this article gives you, why it's talking about art school and not technology. Miscommunication - incommensurability of how to see the world really - is the pitfall when engineers are tasked with creating a subjective thing and asked to try to do something simultaneously functional, familiar and original.

Just put yourself in this guys shoes. Just like you are excited to share Linux display color control commands, this guy is excited to share a new way of thinking about black and dark shades that instantly expands your vocabulary - both for creating new things and understanding the decisions of others.

Anyway, the negativity of others in this thread, it's ironic because that's exactly the point of the article, really, that the pedantry gets in the way of being creative - or at the very least, seeing things originally.

I work with an artist daily. I appreciate and value his opinions that there should be no pure black in the creative product we make together. It elevates what we make above all our competitors. It's an extremely insightful perspective.
Why can't you still use the app store with it's curation and filtering, and 30% tax if you want, while others skip it and pay 30% less or the money goes to the developer?
I learned a lot of basic Linux through the same shell provider back in the day!
Automotive grade is consumer grade. There's standards for some things but they're standards of convenience so that an engineer from GM can call up Bosch and just reference a standard rather than spec it out in detail. Some safety critical things and the overall performance of some systems have standards that need to be met per law but there is no special "automotive grade" for pretty much anything that goes into a car.
I'm not entirely sure I'm understanding the terminology you're using.

Are you talking about OAuth2 tokens (i.e. https://tools.ietf.org/html/rfc6819#section-5.2.2.3), or are you talking about browser cookies?

In both cases, rotation strikes me as being of limited (though nonzero) value. While rotation (and invalidation of the previous token) can be used to prevent long-lived concurrent use of cloned tokens, there's a good chance an attacker can ensure that they are the ones who get the "new" token.

As a result, the user--the legitimate OAuth client or browser--would be left with the now-invalidated token, and will be logged out. The most likely result of which--depending on application design choices--is that the user simply logs in again! You now have two sessions, one of which is solely owned by an attacker, and one of which is solely owned by a user!

(There are cases where this is still valuable: if you enforce "only one session globally" per user, for example, or if you use the presentation of an "invalidated" token as indicative of theft. But both are application design choices that will commonly be inappropriate.)

At the extreme, of course, if your threat model is local malware, UXSS, etc, an attacker can just do a "person in the browser" attack, in which no token copying happens.

I'm not sure why I'm bothering to write all of this. Call it free consulting? ;)

My point is really that the threat model needs to be clearly stated and, for some threat models (including some which are featured in case studies on your website), this approach may be largely ineffective.
I’ve been meaning to look Arango for some side projects to learn some NoSQL. Having the primary NoSQL types in one db makes that a bit easier when writing the code, though OrientDB can fit that bill as well. From my limited experience their AQL syntax is pretty good and easy to grok, and the documentation is also good for diving in and understanding the models/features. The concept of Foxx API’s someone can quickly spin up is interesting, though I’m not sure I’d use it myself. I also quite like their WebUI console, and having everything packaged up in the official arangodb[2] container image makes it simple to get up and running.

They have some performance benchmarks on their site from 2018[0] that at the time showed it to be reasonably competitive with the competition. I’ll leave that up to actual DBAs to qualify though, I’m not really that knowledgeable in databases. The benchmark is also open-source[1].

[0] https://www.arangodb.com/2018/02/nosql-performance-benchmark...

[1] https://github.com/weinberger/nosql-tests

[2] https://hub.docker.com/_/arangodb/
My sleep history has been all over the map and at times I've also gone for the sleep aids. I've tried all of the meds you've listed and none have been particularly effective when I've really needed them.

You may want to look into Suvorexant (https://en.wikipedia.org/wiki/Suvorexant). It's the one drug that I've found to be extremely effective without causing any sort of hangover in the morning. It really felt like a miracle drug as compared to things like zolpidem and antihistamines. YMMV but I'd say it's worth looking into if you're really struggling.

I should also mention that I've found a combination of exercise, time in the sun, and proper sleep hygiene to be the only viable long-term solution. But I do believe that sleep aids can be a useful bridge towards developing a consistent sleep schedule.
Pork rinds and other keto diet guilty pleasures
>So in general I am not convinced by how the title and intro of the article put it. If we look at the article, the title is also actually different than here. It says "Very short [...]" not "short".

The "very" word was automatically stripped by hackernews. I'm guessing some system to tune down clickbait posts?

>By not using small functions, one gives away readability as well. Every function is a chance to give a name to some short program. Short functions can be looked at separately, if written well. Of course, if you modify a lot of global state in your short function then no one can help you any longer.

I disagree about readability - I think the empirical experiments show enough evidence about short functions not being more readable than long functions, that we can't take that as granted.

For reusability, you might be right, and maybe that's why short functions did seem to perform better when modifying existing functionality.

>Well, that happens usually, when the naming is off or difficult to remember or follow. That is why naming things is an incredibly important skill. The name of a function should, if possible, give a good picture (by convention if there is any) of what the function is doing. Do not tell me, that the 100 loc function can be described in a single verb. It is most likely doing much more than one thing.

Sure, but naming things well is also a difficult skill, which means not everyone can do it well. If we look at programming as a worldwide phenomenon, the vast majority of programming is done in English. However, the majority of programmers aren't native speakers, meaning they face an even steeper climb to become good at naming things. There will always be cases where programmers misname functions, or don't update the name when changing functionality, or typo, and I think the data here shows that things like that do happen.

>I would like to see the same research being done on a language like Haskell or Scheme, one language at a time.

I do agree that all the research focuses on mainstream languages, and the results might be different for functional languages. However, the point of this post is to look at science and there's simply no science there. There aren't any bug datasets focusing on functional languages either.

The point of this post is to gather what we know about function length and what we don't. I feel you've pointed at many of the areas we don't know much about - and maybe we'll get there one day. However, for now, we need to look at what we know and what kind of generalizations we can make from what we currently know.
A Cryptographic Analysis of the TLS 1.3 Handshake Protocol
Ha, and the other literal synonym for “difficult”?

Brain surgery!
Two things. First, most books aren't -- the paper is gray-ish and the black is matte so under lighting it's more like dark gray.

Second, the contrast is limited to ambient lighting. Whereas the white on computer screens is often far brighter than a sheet of white paper nearby, which is why avoiding extreme contrast is even more important.
I'll report this to the benchmark maintainers.
I came here to ask the same question, "Where is the page, with clickable links to the frameworks?".
For failure of legislation, judiciary, administration, media in India to protect minority, Facebook is not the primary actor. Indeed minorities failed to get support from top courts in India where habeas corpus (the most fundamental basic right of Freedom in Indian constitution) litigations are pending for over 1 year and constantly being postponed, and the topmost court is busy prosecuting a lawyer with urgency for a tweet. His main offence is to use public interest litigation to help minorities, question govt and courts and bring to the front the tyranny of majoritarian politics of suppression. He is in cross-hairs of the current govt, so it’s one another way to silence him from questioning govt or courts for decisions.

Agree that Facebook should act decisively to say no to things which incites violence and suppress the voice of minority.

The least it can do is to remove people immediately in the company who appear in slightest to promote or ignore hate and violent information on platform resulting in loss of life. Here Facebook is duty bound to act internally within its company to make sure it’s staff are responsible for their actions. I don’t see any of this indeed the whole Facebook team in India who did it are promoted based on research in WSJ and this article. Getting cozy with richest man closer to right wing is just to secure profits and market at the expense of principles.

Also right wing politics in India enjoys a substantial support, especially the Hitler style (reflected in many govt decisions). Facebook is just reflection of what’s in the society at present. Majority of the people are happy that a temple built will make India no. 1 in the world, talks and real actions on COVID-19 has become boring and not important as it inches towards no. 1 in the world for COVID-19 infections.
This thinking belies a very simplistic view of a very complex supply chain.

Brands like Nike often don't touch their products after they produce the design.

Manufacturing, distribution, shipping, warehousing, sales are all handled by a massive web of smaller entities with long term contracts. Most of these businesses use very very old tech, and will actively resist change.

Its a chicken or egg problem too, since having half of your products on a blockchain is pretty much worthless, it's an all-or-nothing problem which makes it that much more of a massive undertaking.

I've studied this pretty extensively and honestly don't think it'll ever happen. At least unless the current paradigm of supply changes massively.
It still isn't clear those will end up non-destructive in the long-term. biological processes surrounding physical brain health are far from fully understood, and it is possible there could be long-term maladaptive outcomes.
interesting timing...considering there’s a lot of scrutiny from whistleblowers and short sellers around scrap inventory on Tesla’s balance sheet and Tesla’s real relationship with this company.

will need to dig around but recall seeing a screenshot of either an analyst call or archived page that suggested someone let it slip this was a Tesla subsidiary and not a completely unrelated entity.
Mike Pence's staff need to fund the J.C.R. Lickliders in our time. Four more years! Four more years! Four more years!
The "trolley problem" is such nonsense in this context. As if a human driver in that situation isn't going to freeze up / knee-jerk-react / not even be paying attention at the moment.

These are split second decisions and people wheel out philosophical problems?
See, this is the main problem about buying new technology. The device is marketed as a graceful solution for all your "paper needs."

My principle need for a tablet has always been ebook consumption. The ebook readers on Linux I've seen all look like hot garbage. Sure, Calibre allows you to manage massive ebook collections. Now let me have a book experience that doesn't look like 1999.
You must have replied to the wrong comment.
I find matte screen protector to be quite a good option, since you don't have to sacrifice the robustness and aesthetics of thin frame glass screens.
Wow this is really interesting and a project I’d really like to work on. My grandmother passed away from colon cancer in her late 50s and as a presently 32 y/o I’m definitely thinking about getting a colonoscopy soon. I wonder if they could give me the raw video data to experiment with?
Uh why does that matter?
Medium is charging now? Isn't it all third party content offered to them for free? Or do the authors get to choose to charge at their discretion?
Yes they should and I think I could. This exploit was more of a fun challenge.

I support and agree to everything you are saying. I love the community response. I too loathe the bug bounty asymmetry in power between corporations and reporters, but it exists.. by design. How do you imagine a researcher can 'demand' more money in this situation? They can choose the amounts arbitrarily and there is nothing legal or ethical you can do about it.

I haven't seen any proposals for real solutions - how would you ask this? How do you decide the amount for each company? Solutions, which do not bypass ethics or laws. I hope that 'the market' will solve this eventually and I think I at least raised awareness.
Medium is garbage, and better options are available now, like SubStack. Here is example article:

https://bigtechnology.substack.com/p/the-brilliance-of-all-g...
Google Graveyard – Killed by Google
I don't see why I should care about the opinion of designers when they're the ones responsible for such anti-features as vanishing scrollbars and hamburger menus. RGB #000 isn't truly black, but it's always the best approximation of black available on a computer monitor.
All those mentioned pain points are also valid for Google Play store. If you want to keep your sanity just avoid being depended on those wallet gardens.
Most software expect an error of some sort (e.g. file not found, permissions) and do nothing with it except print it. This would be sane behavior with a NFS timeout. Let the user retry rather than hanging forever.

Consider a startup script that hangs forever. Better it fail than hang. Or ls hanging forever when instead the filesystem could fail the operation after 30s.
[citation needed].

In Austin (where I live) the summers are so hot that you go out before 10am, and then it’s too hot to go out again until the sun starts to set. I _absolutely_ go walking before work. My schedule does not seem uncommon either - at least 50% of the people in the high rise I live in do the same.
Dayorbit launches TS1, the smartest transfer switch in the market
Right I think the suggestion in that case would be to upgrade to an API that does support cancellation wherever possible. E.g. wait for multiple objects with the original argument and an additional cancel event.
> A `correct` model should be screaming to build public transport.

Haven't we just learned that being in close proximity to people in unclean settings is a big risk to public health? Public transit advocates are going to have to address and overcome that before anyone should listen to them.

And that's not even considering the massive decrease in commuting needs from distributed/WFH workforces.
Well exactly! And the people who would complain the loudest are the ones here saying they like Apple's curation, want the 30% Apple tax and if developers don't want to pay it can go elsewhere. Then the developers could say, if you want our content come and get it, otherwise stop your compaining, if there were enough of you without apple forcing it, we'd pay the tax to reach you.
https://levels.fyi disagrees. I can confirm the offers on there are real
> They can be when they try to live off of bug bounties alone.

I think that's the problem. You shouldn't be entirely dependent on bounty money, because sooner or later you will find a bug that is worth 10x or 1000x on the black market.

I have seen white hat bounty hunters go rouge in such situations and entirely blame it on the cheap ass companies that won't offer the "right" amount.

Nobody owns you anything, you are doing this mostly for fun. The bounty is just a bonus.
As another commenter pointed out, people don't really pick their circadian rhythms.

With that said, even if we forget about that, what's early is defined by what we consider late.

If you have a teenager who needs 9+ hours of sleep, and they cannot go to sleep before 11pm (because we allow people to be noisy until at least that late), then 7 is quite early, yes.
You can pair that with a welfare state to offset that as many countries are able to do
Only if they are CRTs or OLED screens, both a distant minority.

No need to yell.
The Importance of Making Open Source into Free Software
"1. It is hard to get ahead without cutting corners here and there."

One can think that it's true and be proud to not to do it.