skysight-inc/HackerNews huggingface dataset:
Why We Sleep by Matthew Walker: Summary and Notes
here's the pdf: https://news.ycombinator.com/item?id=15621846
I always think the carbon offset offering for flights are only for peace of mind. I still have this mental note to look into it. I suspect prices include Value added Tax (around 20% in Europe) and a margin for the airline company. So not much left for a third party. And then I wonder how that is invested as well...
We are building a solution with social.network, it's not fully completed yet but please keep an eye on it towards the end of the year.
Be careful.

If you have "infinite" prices in your mind (e.g. a Mac is always better than a Dell) a rational Apple is going to soak you for all your are worth and try to get you go into debt too.
Chris, I am a bit over my head usually with P=NP, since it's not my area and I have to warp it before it is.

One question I would have on your comment is: What kind of proof or counterexample for P ?= NP would in fact influence our study of hash functions? This is a subjective question of course, but essentially I am wondering what approach to P ?= NP might introduce new mathematics that indeed would have something to say about hash functions.
An eye for an eye isn’t really relevant. If a country is manipulating its markets, and denying another country access to them, then the country that is denied fair access is putting its own economy at risk. A US business cannot be expected to fairly compete with a Chinese business, and trade barriers are a perfectly reasonable response to that.

Regarding the US intelligence apparatus. It’s a threat to the liberty of US citizens. But it’s not a threat to US national security.
How about the carbon footprint of [insert arbitrary company]'s users while using their services?

It is totally nonsense and doesn't help at all.

Forgiving my own displeasure at google-everything, I think I can at least appreciate that they might not be all evil all the time – perhaps they could even influence people in a positive way?

Also excuse the related tangent and cherry picking, I am not condoning most of China's behaviour, but being big and bad doesn't necessarily mean that they cannot produce positive effects. [0]

[0]https://www.wsj.com/ad/article/chinaenergy-powerhouse
Intel are supporting SYCL in a big way. They are implementing SYCL in the open source LLVM project, the project is called DPC++. Argonne National Labs are also using SYCL to program the exascale supercomputer (Aurora) they are building. Whilst it's not the best solution for everyone there is certainly industry support for it.

https://software.intel.com/content/www/us/en/develop/tools/o...
https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedG...
https://www.alcf.anl.gov/support-center/training-assets/road...
That’s not really how it goes though. We’re using it to make our numbers pretty so we meet the EU and Paris agreements, but it doesn’t actually make us a renewable country, and once the goals are met, political focus will go elsewhere.

It could be worse, sure, but that’s not an excuse for not doing better.
I'm from Florida, and I think this is a good idea. Giving our hurricanes names helps cement them in the collective conscious of the region, and it definitely helps with awareness during early schooling.

I don't think having names for hurricanes ever desensitized me to them. The main driver for desensitization is time. It's either been so long since the last catastrophic hurricane that you're underestimating how bad they can get, or you've seen so many Cat <=3 hurricanes that you literally don't consider them a threat (a classic mistake, since they can gain strength so quickly).
Not OP, but I routinely call a specific HTTP API for millions of entities or pull down entire Kafka topics - all in JSON format. For various reasons those are the canonical sources of data and/or the most performant, so I end up ripping through GBs and GBs of JSON when troubleshooting/reporting on things.
I really wanted to read this book after so many recommendations, but after repeated tries both reading and listening to it on Audible just found it too boring. So I'm quite grateful I now stumbled upon these notes that gave me the gist of what I now agree is a very important book.
Does your country have unofficial repairs? I can't imagine destroying a car just because of failed engine. In my country I would spend around $1k to repair engine if it's still possible and around few thousands dollars to buy used engine and replace it. Actually I would repair it myself for a few hundreds of dollars, but if someone does not want to spend time, those are the options.
Trying to make a play on "Cracking the coding interview". Didn't work
> By: grant sanderson

I know instantly this one is going to be incredible
The article is very short but IMO its main argument is that it is very difficult to send a spacecraft into the sun:

Cutting to the chase, it requires approximately 55 times more energy to get to the Sun (from the Earth) than it takes to get to Mars!
Attacking SIEM with Fake Logs
If you are still in Germany you should report them to Verbraucherzentrale.
I can't answer for the OP, but "because we can" is a valid enough reason (pun unintended) for me.

IMO, an individual dev making a fast useful tool should always be welcomed as a feat of worthy hacking.
> Although imperfect, still far better standard of Living than other countries/regiions.

You should say thank you to Capitalism for that. That is the only reason why you have better standard of living in these countries compared to other countries which have some mix of capitalism/gangster capitalism and socialism/communism. But what you are advocating will take these countries to the drain. It is impossible to fund universal, free health care and food for everyone. No way you can achieve it. It is folly.
That's exactly it, it's the "boy crying wolf" issue and everyone will just shrug. I found them starting to give "regular" storms already overly dramatic, or that they have started to hand out "yellow", "orange" weather alerts. Those are just not actionable for me as an average regular citizen. Mind you they probably mean that measures are being put in place for others though.
You normally get a rebuilt engine as a replacement, not a new one. So, it’s normally not that expensive.
I was anoyed by Apple Music ads as well. To a point where I really started to hate them for that. I do not want a monthly subscription for a streaming service, I do prefer to buy what I want and thats it. After half a year of tapping "No thanks" it suddenly stopped. I am guessing they actually know that some of their customers hate the idea of music subscription. I havent seena Apple Music pop up since many moons.
And who doesn't want that these days?..
It's not some random private citizen. This person is basically committing fraud. One that's had negative, real world consequences. These people are not expressing an opinion, they're disseminating dangerous, outright lies for the sole purpose of profiting off them.
My 7 Pro is a fantastic phone. My next phone will likely be OnePlus as well.
This story is in reaction to the Amazon TV ad campaign that just launched pledging that Amazon will be carbon-neutral by 2040 and they're "not sure how we'll get there, but we will."

Obviously two tech companies with drastically different carbon footprints, considering Google doesn't own a global multimodal logistics fleet.
This sounds interesting, is there a good place I can read more?
A Brief Understanding of HTTP
Or Apple made a specific complaint.
In other words, using a fence to offload stolen goods.
I agree that the article should have gone into the details, but I take issue with how you immediately dismiss this as “content marketing” and “junk”. This is a genuinely lovely blog, worthy of more attention than it gets.
Poll: Ban ¯\_(ツ)_/¯ on HN?
Most emojis are strongly discouraged on HN, whether ASCII or Unicode. For some reason, "¯\_(ツ)_/¯" seems to be tolerated in comments as an exception. Is this a good thing? Should it be banned? Or does no one else care?
Ban it, autokill comments that use it.
Ban it, users should flag it.
Ban it, users should downvote.
Allow it, it's a special exception.
Allow it, and encourage other emojis.
>Took it to an Apple store and was quoted £700 to fix it which is equivalent to almost half the cost of the laptop. For a single key. Absolute insanity.

I've had this happen to me, although I argued (successfully) that the keyboard was defective and I was trying to repair a stuck key (this was the previous butterfly mechanism) and they did a replacement under AppleCare.

The tech even told me that replacing keycaps on the butterfly keyboards is extremely challenging, and even they break the keys sometimes.
You shouldn't have to though. Apple Music can potentially be offered once, or advertised in the App Store/iTunes Store, but not in the default, local music player app.
Mediatek are in the lower end market, something Nvidia's culture doesn't like competing in. Qualcomm holds the key to Modem. Which means Nvidia competing with Qualcomm wont work that well. Not to mention they have already tried that with Icera and generally speaking Mobile Phone SoC are low margin business. ( Comparatively Speaking )
Did you try going via your consumer rights instead of their warranty?

Completely anecdotal I know, but I had a Apple Pencil fail on me outside of warranty. On the phone they refused to fix or replace it. Once I mentioned my consumer rights (which cover 6 years in Ireland https://www.apple.com/ie/legal/statutory-warranty/ - I'm sure it's similar in Germany) they put me through to a separate phone line and sent me out a new pencil.
Okay, I guess we just need to wait for geological samples to be sure then ^^;
Diary of a Data Engineer
Oculus Quest 2 Tutorial Leak
If someone didn't subscribe the first few times you ask, just stop asking. The 100th popup isn't going to change their mind.
Throw them away or donate them for free.

If they are allowed to sell them and profit from the sale then they have a perverse incentive to take more things.

Its like those tiny towns in rural USA who are funded by bullshit traffic violations on people driving through.
Let’s Hold on to the Throwaway Society
> Whenever I see someone wearing them I make a point of locking eyes, then smirking.

Some people on hacker news are so cringy... I promise you they don't even know why you're smirking, just think you're either autistic or an asshole. The answer is likely both so I guess they aren't wrong.
Supreme Court ruled this year that that's not so, you can't be a faithless elector.

https://www.npr.org/2020/07/06/885168480/supreme-court-rules...
> Though there was hardly anything that I didn't already know, I liked the movie very much for its presentation […]

This is exactly the same impression I had after watching the movie. There was little new information in this movie for me, other than the interviews with leading developers that now has turned on their own creation. That was quite powerful to watch.

> As for the cultural impact of the movie, I don't think it's going to be much.

The cynical part of me agrees with you. The hopeful part of me is encouraged by the fact that this movie communicates rather technical and boring information in a very human way, and that it shows how algorithm manipulates you, not some random folks that was targeted by Cambridge Analytica. This was much more relatable and personal than during the news coverage on how Facebook and Twitter was (ab)used during the last election, and that gives me hope.

The discussion has largely been relevant to political animals, nerds and idealistic people so far, and this movie feels like the first real brake out of that sphere and into the popular culture.
I wonder if you can dispute the initial payment with your bank or file a case in small claims court. This should be a straightforward case given that they sold you a defective product with a problem that both you and the support staff reproduced and documented and are not willing to honor the warranty.
The Photographer Peeking at Your Phone
I wouldn't agree that that is their raison d’être – their, or their competitors, existence is by now as fundamental as public infrastructure.
I guess the price is low because no-one is buying offsets. You'd expect the cheapest ways to offset emissions to be sold first.
>I've read many critiques of Hancock's work and there are always arguments and evidence left over that critics don't address.

It is much easier to generate nonsense than to debunk it. That is why we have the notion of "burden of proof". If someone overwhelmingly writes pseudo-scientific BS, the correct course of action is to dismiss all their writings as potential cognito-hazards - it is certainly not to read them "with an open mind". You know what we call people who let known bullshit artists tinker with their brain? Gullible.
What is the 'key' in this context?
In the common case, yes, agreed. But again, it depends on how it's done. A lot can be done to increase efficiency and filter the smoke properly. I'm no expert but my understanding is that the technology in this area is well-established. Coal can be burned cleanly, and it's even economic to do so since more energy is extracted per unit fuel.

The main reason for refurbishing coal plants for other fuels or shutting them down entirely is that coal is terrible regarding CO2 footprint.
iFixit sells the screen for $599 if you want to repair it yourself.

PowerBook Medic will replace the screen on a 15" Retina Pro for $449 USD. I'm sure smaller shops would do it even cheaper.
How do you figure? The screen costs Apple roughly $200. So they don't have to hire skilled technicians, they replace the whole top of the laptop, so some backlight, cover, wiring, case...still well under $500.

The actual reason is they don't want Macbook components floating around on the grey market, so they make the pricing for significant repairs impossible to justify.
Yes! Additionally, these keyboards can record directly to your computer via MIDI. This facilitates online lessons and YouTube recordings to show family, and also opens a whole world of electronic music production.

I think a big breakthrough will be the mass availability of smaller (e.g. 15/16) size keyboards with professional actions. Right now, a large amount of jazz and advanced classical literature is literally out of reach for people whose hands are not at least the male average – and this includes most women [0]. This can be extremely discouraging for the aspiring pianist [1].

[0]: http://smallpianokeyboards.org/hand-span-data-recent-austral...
[1]: http://smallpianokeyboards.org/competition-results/
I agree with your points.

If things go the way they've been going over the past 4 yrs, I suspect that the US will end up ruling by force more and more. I also suspect that China will be allowed to carve out a sphere of strong influence in South-East Asia; this fact in turn will likely lead to a re-militarization of Japan.

These are all really unfortunate developments and I hope that history will prove me wrong.
Oh interesting, thanks, I just assumed! The version I make is totally inauthentic then, having both curry leaves and pakore..! Still, tastes good * shrugs*.
Would you mind sharing how much this usually costs you a month?

The EC2 is easy to figure out, but the network traffic I have a harder time with
The Responsible Application Audit – A 7-Part Checklist
> While I've been enraged for a long time about these platforms, the big gap here is that there is no good answer to the question, "what are the better alternatives?"

This assumes we want something to replace these platforms. I for one want no social media. I admit I can't prove they are damaging no matter the implementation but I challenge anybody to prove the contrary.
This is an interesting topic and has many analogies.

If you gave mathematicians some general exam and have all universities participate, I would also not expect top universities to score the most. However, if you asked instead what the money value is of their research, then MIT, Oxford, et al. would score highly.

I don't want to extrapolate on the economist.com article, and whether it's true or not, but rather just illustrate that this happens in other contexts.

Another example is salaries. Are the best programmers in the areas that pay the most? I think no, but the ones whose work make the most money for their employers probably are. A case in point is the alpine Emacs coder that featured in a comment a few days ago, Thierry.

The main issue is that if you focus on the money part, then you focus on ideas that have settled. Many small places or small universities are still at the distillation step and the distillate tends to move to where the money is. I use this argument as one of the main arguments for fundamental research, and also for why it has cognitive dissonance with earning potential.
I had that issue with my 2015 12" MacBook Retina.

I ended up buying a broken keyboard from eBay for $80 and picked the keys off that I wanted, then re-sold it on eBay for $60.

(this was before they announced the keyboard replacement program)
Yeah. Can you imagine trying to do a web search for ‘q’?
Counter-anecdote: I have spilled liquid on MBPs more recently (latest is 2019 MBP with touch bar) and didn’t need to bring them in for repair as they kept working after having been thoroughly dried.

Seeing reports about old laptops breaking from the same, I suppose the upside is that they are becoming less fragile.
Unfortunately, going by Louis Rossmann's latest video, the right to repair means nothing if you don't have access to the parts you need to fix Apple products. And of late, Apple have been preventing their suppliers from selling parts to third parties.
Because so few people are interested in offsets right now, there's a huge amount of "low-hanging fruit" options for cheap things humanity can do to offset carbon emissions. For example, look at some of the projects here: https://www.goldstandard.org/take-action/offset-your-emissio...

Many of them just involve getting very poor people access to clean water (so they don't have to burn hydrocarbons to boil the water) or cleaner-burning cooking gases. Prices are as low as 10-15 USD per tonne of CO2.

If we ever make a serious attempt to decarbonize the entire economy, we will run out of cheap/easy options and be forced to make harder, more expensive tradeoffs.
> not sure how we'll get there, but we will.

This reminds me of Bezos’s announcement that Amazon would be making deliveries by drone by 2018.
The retina screen is a technology from 2010.. A quick search show 500$. Sorry but this is wrong.

About the car, it also totally wrong. A new engine don't cost more that the car. Insurance will put the car off for other reason. Flooded car mean almost everythings is broken not only the engine.

Repair don't cost more than new, is also about how many hours should be charged.

BTW, Apple sucks, I don't know why people still buy their crap and then complain afterward. It's always a loop in HN. Complain X from Apple => still buying Apple product.
Allegedly it has been sorted, before this deal was announced. No idea how.
And if that state can’t, for one of a hundred reasons, respond appropriately, the effects are not limited to that state.

For the pandemic, people traveling into, out of, or through the state will spread it to surrounding states (Florida is one great example of how a state not responding appropriately has broader impacts on the nation).

For wildfires, fire knows no state boundaries, and smoke is even more promiscuous in its spread.
Mirrors for all leaked videos - https://reddit.com/r/OculusQuest/comments/isghxe/_/g57tto7/?...
My experience is completely different. I had an iPad Pro with 'ghost touch' problems, a bit difficult to replicate because sometimes it wouldn't show any issue for hours, and sometimes it would have the issue constantly. It was outside the standard warranty but inside the 2 year warranty you get by EU law.

I phoned AppleCare, they made me jump to all the standard hoops (factory reset, etc) to ensure it's not a software issue. Problem persisted so they scheduled a pick-up. Next day, UPS picked up the iPad, it arrived at the service center the day after and the status went to diagnosed and replacement shipped within the hour. Had the replacement iPad in my hands the next day.
I think they're the best on the market but I'm not dumb enough to through "objectively" in my comment as an intensifier...

Oh, and I bought them to go with my android phone because they are that good...
At this point it’s as if Apple is begging to be regulated. Absolutely disgraceful. To be clear my issue is not with the price of the repair but with the lack of alternatives due to Apple’s replacement part policy. I’m pretty sure if the EU were to regulate them they’d still enforce their customer hostile policies onTo their other markets.
>Apple uses a lot of customer hostile behaviors nowadays

Nowadays? Apple has been doing anti-consumer behavior for multiple decades. I remember only allowing purchased itunes music being exported in their specific format.

You'd have to burn them to a CD and rip it back to a useable format.

This isn't new, any educated consumer is well aware of how Apple plays.
CenturyLink Transforms, Rebrands as Lumen
The one on a keyboard you type letters with, not the one you open houses with.
If you go to the settings app and find "Music" there, you will find a toggle "Display Apple Music" - perhaps that will help.

I agree they are annoying.
They sold all of the ARM shares in mid 90s to prevent themselves from going bankruptcy.

Not to mention starting a JV has nothing to do with perpetual IP access. You will still have to pay for it.
Well, I had only skimmed the page

But I am using xoshiro in my projects, because I thought xor was simpler than multiplication.
The signal coming from typical radiation detector is analog pulse train which you have to somehow convert into useful binary data. Simply sampling this analog value at some regular interval will create samples that are hugely biased to small number of values (and distribution between these values has more to do with measurement uncertainty than with the supposedly random phenomena you are trying to measure) so you need some kind of processing step to get useful random numbers. Typical radiation based TRNG works by comparing the analog value from the sensor against some kind of threshold (usually in analog hardware) and producing stream of digital samples from that which is then either directly passed through von Neumann whitening algorithm or converted into stream of pulse times from which only few low-order bits are taken and whitened (in fact, the end result is mostly same as whitening the bit stream directly, but timing the pulse lengths is slightly more efficient). One can argue that "quantum TRNG" based on semi-transparent mirror produces unbiased output, but that is not true in practice because of manufacturing (the mirror will not be perfectly semi-transaparent) and implementation (producing and measuring single photons is hard) constraints.

The point is that you are going to do some kind of whitening anyway and you then have essentially three choices:

1) design something which requires only von Neuman-style whitening where there still are arbitrary parameter choices hidden in the hardware

2) Design some non-trivial, but still simple entropy-extraction/whitening algorithm (ie. take 16b sample and discard top 10 and bottom one bit).

3) just take the measurement results and pass it through some kind of CSPRNG or sponge function.

Third variant is what makes most sense for most applications because mostly you either don't care about the randomness that much or you want to use it for cryptographic purposes. And if you want to do cryptography then philosophical arguments about the cryptography-based whitening not being "truly random" do not make sense, because your application itself is based on belief that the crypto primitives used are "random enough".
An “Evolution” in Gaming: Wessel Stoop on His Game, the Sapling