skysight-inc/HackerNews huggingface dataset:
Live in West Norway. 60 degrees north. Atrocious climate. 245 rainy days each year, and on average 8.5 feet (yes) of rainfall. Average time of direct sunlight per month November-February inclusive is 45 hours. Per month.

Starting in mid-October and ending early March, I make sure to stand in direct sunlight, with the light hitting my face, for at least 10 minutes on all the days when weather permits. This entails unscheduled breaks from work, as such periods might only last a few minutes. Often combined with a walk outside. (There will often be weeks when the sun is not visible at all).

In fact, I took such a break while writing this comment, as it's the only sunlight I'm likely to see today. It was attenuated by clouds, but was very pleasant during the ~4 minutes it lasted. Had to stand up from my office chair, as otherwise neighboring houses would occlude it. I swear I'm not making this up, or even overstating the regularity with which it happens. I consider myself prone to seasonal depression, but maybe it's just the climate.

On days when I don't get my dose of sunlight, I use a daylight lamp that I sit in front of for at least 20 minutes. Often as much as an hour.

This alleviates the worst winter depression. When I feel it coming on, I feel markedly more awake after getting some more light. Also make sure to take care of myself and listen to my needs, more so than usual. Enough sleep, enough relaxation, enough socialization, enough solidude. Have been doing this routine for about a decade, and it works well.
France decarbonized (up to 90% ish) their electricity generation in the span of 10 years, back in 1985. Unfortunately they've been sabotaging their nuclear power plants for years now, in favor of renewable energy.
Yes this is a perfectly normal approach that I’m sure everybody popular will want to use
GS pay isn't that competitive
Oh man, that is _exactly_ what I was after. I also love your storage setup! Thank you for sharing, I've added a bookmark to this post to my big Notion doc about garage projects. Very cool.
I've spent a lot of time reading through these codebases and found that reading very useful.

- https://codemirror.net
- https://prosemirror.net
- https://xi-editor.io
That would be enough if the two named other explanations and bumblebees having rudimentary feelings would make up all of the explanation space. I have doubts about that.
> It is better to have an official instance just like you have official websites. It means that accounts on this instance are official, that you can take their words as official statement.

The EU could verify official accounts on their instance.

> Having one big instance for every EU citizen is just political centralisation and is not a lot better than the economical one done by Twitter.

It would be an alternative. People would of course remain free to choose other instances.
The essence of Reed-Solomon coding
This isn't a situation where the choices are: 3 lines of IDE-Insert-Boilerplate, or Exceptions. I think Go could add syntax to keep its relatively unique form of error handling, while reducing code noise. The guard proposal is fine, but I'd prefer to see something like:

func MyFunc() error {
r := db.Get("12345") guard "error Get(12345)"
}

Syntactically really strange, but point being: if a function returns (any, ..., error); 'guard' is a keyword which eats the last 'error', optionally prefixes it with the string in that last keyword argument (standard golang error wrapping: "error Get(12345): {err.Error()}", and bubbles it up (along with zero or default values for the other arguments). It would also be nice, for more complex use-cases, if that last argument could be a mapping function as well, like:

func MyFunc() CustomError {
r := db.Get("12345") guard func(err error) CustomError {
return CustomError{baseErr: err, code: 500}
}
}

Though, I'd gladly settle to not have that, as it goes a little beyond the extreme syntactic simplicity I expect out of go.
> the greenpeacer of the late 90's can legitimately claim credit

They were swiming against the tide - today they are swiming with a pretty rapidly moving current.

> wind farms and renewables would not be there if there was no pressure from extremists

Wind farms and renewables that exist today because someone in June 2022 glued their hand to a road. They are the product of research and development and planning under corporations and governments 3/4/5 leaders ago. In the context of the UK - 2014 for consent to build Hornsea which started delivering power in 2020. With each successful phase they keep asking to build more, it is the success of the project that had them proposing part 2 and now in 2022 part 3. The person glued to the pavement can claim Hornsea 3 is their doing but personally I dont think they are moving the needle at all.

If you could build a wind farm, and sell off 50% of the interest in the project for what it cost to build - you would be planning the next one as well.

https://www.offshorewind.biz/2022/03/28/orsted-divesting-hal...

https://en.wikipedia.org/wiki/Hornsea_Wind_Farm
Up here in Lithuania we “store” excess power in grid and then pay a little for transmission when getting it back. Dunno exactly, but selling might be better since power is cheaper at night (but given current events - more expensive in winter).
M = L + (R - L)/2

looks fairly simple to me. note this works of any ordering of R and L if the data type is signed.
With a buffer, it's probably pretty easy to guess the baud rate. Similar to encoding guessers for strings or the CSV.sniffer in Python standard library.

https://github.com/chardet/chardet

https://docs.python.org/3/library/csv.html#csv.Sniffer
PayPal has been doing a number of thoughtless things in this area recently. They are determined that my devices are “trusted”, despite the owner of those devices not trusting them at all. They are continually trying to persuade me to stop using my passwords and such. I mean it’s only direct access to withdraw funds from my bank account, why would that need to be secure, amirite? Mystifying.
Have you ever looked at how X.509 certificate signatures are calculated? It’s wild, but it’s also observably secure. The quadruple HMAC looks… weird, but it seems like something you could just code and test in a few minutes and then forget about.
Saline nasal spray helps a lot.
Guess it depends on how you define "simplest"?

x / 2 + y / 2 + ((x & 1) + (y & 1)) / 2
Like this app!
Was everyone stupid back then?
they instead push narratives that increase emotions

Isn’t this the default mode of operation for the media? Are there any countries (Nordic?) where most of the media isn’t corrupt, fear mongering, clickbaity etc?
Now it’s even 7. Interesting to watch how they’re gaming this
If you wait until you are actually being invaded to start preparing for it, you're gonna have a bad time. It takes about 6-9 months to properly train a new soldier, so you need to start planning for a cadre of soldiers well in advance of any actual invasion.

Honestly, even waiting until the first rumblings of a possible invasion seems to start preparing contingency plans is too late, because once the rumbling start, people will complain that anything that visibly attempts to resist it is "too provocative."
I'm aware (plus the fact that the algorithm is correct in Python). It's very unlikely that this is an argument I can win.

I'm taking a pragmatic perspective: like it or not, people are going to skim the article and copy & paste the pseudocode.

Given that the pseudocode is buggy in the vast majority of programming languages and the user isn't informed about this in the pseudocode, it's going to lead to unnecessary bugs.
I don’t think the ancients were altogether different from us when it comes to protecting trade secrets. Innovations of military or economic value were kept secret to preserve an advantage, and they still are today.

I also don’t think there’s a slam dunk answer to whether innovation is spurred more by the profit motive inherent in the proprietary approach, or by the widespread enablement of the high-openness approach.
I am tired of hearing banalities about remote working
Maybe I phrased that wrong: I don't use "a lot" of my time in absolute terms on social media (an hour a week maybe), but I value my time so if I spend it somewhere I want it to count.

And no worries, I am more productive than most people would find normal, but thanks for your "productive" comment.
Yes. Definitely do heed all of the warnings regarding SIDS/suffocation. Beyond that, excessive paranoia is unnecessary!
All for the low cost of killing those that were already dependant on alcohol.
I personally use it for a thinking tool... as opposed to document creating at this point. So I store notes and ideas. Process ideas. I don't author final documents.

Currently there is no way to add multiple lines to a row. I "think" I would rather solve this problem by adding multiple row types (maybe heading vrs notes) and then use some sort of filtering. That's still on todo list.
There are loads of smart and interesting people on Twitter. I don’t deny that. I have just grown tired of microblogging in general, and Twitter in particular. The overall signal:noise ratio is just too low, IMHO.
For one school year (~2011) I worked in food services at a public school district. I don't have kids, so this was my first chance to see _future generations_ attending class. What single observation shocked me the most? Walking the halls of K-6 school, I saw *every desk* has a water bottle of some sort.

_When I was a kid_ we had a fountain in the hallway. How do they manage all of the bathroom break requests? And, when I was in elementary school, you didn't really _want_ to use the school toilet. Ewww. Gross.
I recently took off the big velvet curtains we had put over all the windows in the summer. What a huge change in my mood! We had created ourselves a cave we were living in as we pursued energy efficiency. Now I’m seeing the importance of natural light and windows in a house. To be honest our energy usage was exactly the same as last year for this month, when we didn’t have the curtains. I suspect a lot of free and nice heat comes in through the windows in the daytime. What spurred the change was a google photo memory from a year ago and I saw how different the house was with the beautiful old windows shining light through.

There is light during the day in winter it just doesn’t last as long, so important to get what you can. I may explore building some led lights for when the sun goes down. UFO lights on Amazon are quite inexpensive now and very efficient. Heat they generate indoors in winter works to heat the house as well and depending on your gas prices might not be that bad compared to your gas furnace or could even be cheaper so it is like free strong lighting.

https://www.pickhvac.com/calculator/heating-annual-cost/

A good calculator here. A reminder that LED lighting is ~100% efficient just like an electric space heater, as all heat generated is trapped in and heats your house. Of course things like heat pumps can reach over 100% efficiency (up to 300%!).
IMO fission is already plenty for our current/near-term energy needs.

We should definitely continue the pace on fusion but it's not strictly necessary. We should prioritize deploying proven technology ASAP.
Unit one - returns a useful test for each type of error condition that can occur (N). Test that, for each type of error condition that can occur. One test for each error condition.

Unit two - calls unit one - test that, if unit one returns an error, it is treated appropriately. One test, covers all error conditions because they're all returned the same way from Unit one.

Unit three - same idea as unit one

If you were to test the behavior of unit one _through_ units 2 and 3, you'd need 2*N tests. If you were to test the behavior of unit one separately, you'd need N+2 tests.

You're missing the point that you don't need to test "the exact same scenarios for the combination of units", because the partitions of <inputs to outputs> is not the same as the partitions for <outputs>. And for each unit, you only need to test how it handles the partitions of <outputs> for the items, it calls; not that of <inputs to outputs>.
Ev battery recycling would be a huge win (metal recovery). Non carbon based fuel cell tech would also be useful to minimize co2 and maximize range. Stable lane keeping technology in all weather would be a win outside of desert states. Trustable, little to no lane hunting. This would make long distance driving safer.
Being born in a mostly authoritarian country and living through a war that broke it apart into several authoritarian-leaning ones, I've long ago learned to be suspicious of any entity that has the word "homeland" in its name.
That depends on the instance owner and the moderator team they have.
I am passionate about interdisciplinary research on complexity, economics, and global change. I like building strange models and exploring human futures. Also sometimes I publish the results for keeping my scientific status.
ah yes, copy 'n pasting (or the ML equivalant) is truly learning.

You can learn from code by just looking at it, working with it (i.e. transforming it into a truly derivative/creative work) there's little value to be had in having some automated program spit out chunks of code (ripped from their original context) that you don't fully understand or without the tool never could have conceived.

Also looking at some publicly available code (to learn) still respects the license, co-pilot possibly doesn't.
A pessimistic view is that if housing prices do crash, even more of the houses will get snapped up by institutional investors. Unfortunately, this seems likely to me.
Why do countries exist? To protect the interests of the citizens. Water is an important issue
I just saw a great interview of Robert Parker that touched on some of this. Highly recommend the "Decouple" podcast: https://www.youtube.com/watch?v=b4mGbTiRC8U
Genius decision making well done France
This is China in a nutshell. They don't give a fuck about what's happening around them. Unless it Harms their economic interest. Other than that they do not have any compassion for safety, environment etc. It might change in the future, but with this crazy regime I doubt people ever gonna care about it.
> A class specified by the keyword class, is a user defined type that contains both data members and member functions...

http://www.cs.fsu.edu/~cop3014p/lectures/ch8/index.html
What's hilarious is what you're actually saying (and don't realize it). I didn’t mention gender, you did. GP didn’t either.
> finding the phone number of a PayPal board member, or cloning it

You don’t need to clone it, you just change the SMSC registration to reroute delivery to the screen of your choice. If you have access, it’s trivially simple to do, but I believe it’s harder to buy your way into access these days because of some high profile news articles about the method in the past.
The US and Russia didn't do this. Both space programs either used upper stages to boost into orbit or were small enough to burn up on reentry. The Long March 5B has a giant rocket 20 metric ton that is too big to burn up and falls to Earth in an uncontrolled fashion.
Ugh, an embedded player with no volume control.
I don't see how sleeping at the office would ever help anything lol. If anything the commute back home would give someone the time to decompress and passively pick at the problem while maintaining their usual schedules. A change to one's regular schedule and putting them under more stress is a recipe to disaster as the code generated from that period is probably going to be qualitatively worse than the code they could have generated after a good night's sleep.
I've often hoped the US would do this as well. Postal addresses are dependent on having a physical address—home, apartment, etc. Would love if people could habe a digital address that were not dependent on paying rent but citizenship.
Thanks for the link! I'll put it on the list of other stuff to check out. I don't write Python at work, but it's probably something I should familiarize myself with a little more since it's pretty popular in the Home Automation communities.
I cannot suggest enough that everyone should get a high lux light. I'm in the north midwest of the US, where there's little sun, it's cold which makes being outside much more difficult, and even when I am it's cloudy.

Last year was another fall when I could feel myself getting more and more tired and lack of energy and I couldn't figure out why. Christmas came around and my mom got our family high lux lights and literally the first time I tried it I could feel a difference. The tiredness was zapped away instantly. You can feel your body's reaction to the lux.

Pretty much whenever I'm sitting at a desk I have it on. The one I have has the ability to change the intensity, so sometimes I move it down from the max if I can feel overly bright. I plan on getting another one soon to have on the other side of my desk.

I don't have a brand to suggest, but doing test searches shows there are many different kinds. Thinking about price, they're so beneficial that from the benefits I get from it, I'd legit pay over $1k for one. Life in the dark cold winter is so much better. I hope everyone reading this gives one a try at least.
That guy writing the article is the same climate change denier who fronted the campaign that allowed the US to fail so miserably at recycling while other countries succeeded.

A possibly phyrric victory since, as he points out, he hates Greenpeace USA's fallback position even more than he hates recycling, but that's a noose he created for his own neck. He told people recycling was impossible, Americans believed him, and now Greenpeace USA is successfully using that belief to leverage even greater moves to limit the use of single use plastics.

You can now see places like Reason.com, that share his politics, desperately switiching to supporting recycling plastic, when the alternative is bans:

These Environmentalists Want To Ban Single-Use Plastics Because Recycling Them 'Will Never Work'

And yet infinitely recyclable plastics are on the horizon.

https://reason.com/2022/05/31/environmentalists-ban-single-u...

Oh, I wonder how they got the idea it would never work?

https://reason.com/category/energy-environment/recycling/
Huh. Around here, liquor stores stayed open as essential, because severe alcohol withdrawal sends alcoholics to the ICU.
AIUI bump key method (the other one it is vulnerable to) requires about no skill.
There were a bunch of 'incidents'.

https://www.piratewires.com/p/birdwatch?utm_source=post-emai...

> All we know for sure is last week there were notable embarrassing contextualizations of right-wing propaganda, and no notable embarrassing contextualizations of left-wing propaganda. Now, there are many examples.
Galois field instructions on 2021 CPUs
> Here's the thing. You said a "jackdaw is a crow."
Nobody says (well, I’m sure somebody does, but anyway…) that everybody is affected by SAD equally or at all. Your data point is just as relevant as single datapoints tend to be.
My purchase was back in Feb 2020, maybe prices have gone through the roof? I was mistaken above, that quote was one I didn't end up going with, the one I did buy from was "Shanghai Common Metal Products Co., Ltd.", landed it was $523.52, that was 56m of 2040 and 11m of 2020 for a landed cost of $1 per 128mm length aggregate. Largely they charge by weight, and they cut my pieces to a variety of lengths, that order was 16 different lengths.
These guys have been getting donated like 5-20k per months for a over a decade.
For the same reason not every US citizen is entitled to a .gov address?
Sabotaging? In what way is a drop in river water levels during a summer drought and maintenance issues a kind of sabotage?
Messier 77 is a large whirlpool galaxy in appearance with a likely supermassive black hole nucleus

https://www.nasa.gov/feature/goddard/2017/messier-77
Thanks. I agree the way that programmer text editor handles snippets is nice. I think this is a pretty good and clear UI already.

For autocorrect I'm talking about corrections that are less predictable such as spelling or grammar errors. They can be very useful because they mean fixes happen without any extra work, and mean you don't see lots of red spelling errors in your document... but it's also a case where computer is doing automatic work that sometimes might be wrong. So needs good way to indicate that correction has happened and easy way to revert.
It is worth mentioning that EU also funds the open source development required to enable translation engine in Mastodon:

https://github.com/mastodon/mastodon/pull/19218

"This project was funded through the NGI0 Discovery Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 825322."

I think it is a much better investment in the future of federated social networking, than trying to get control of it by setting up a centralized instance for EU-citizens, as someone else suggests in the comments.
I believe the idea was that the commuters were going to jobs that destroyed the planet. I can only assume that philosophically they were ok with people taking public transport to work, but they disapproved of the jobs they were going to.
It just collapses the circles. It would be much better to just hide the inner circle and paint an outer circle with the same color of the skin.
There is a lot we don't understand in nature. Maybe the humble bumble bee has deep philosophical thought about it's own existence and requires escapism through play.
There is a viral video of bees opening a soda bottle.

It also could be that those wooden balls just had the right odor, gustatoric or sensoric properties to be very interesting to them. What can they do besides cling to it and move around with it anyway?
Colored wood, that hasn't been sufficiently cleaned and maybe touched by unprotected hands in an otherwise dull environment, could be a wealth of information to them, that triggers various routines. Maybe it is behavior to explore, while leaving again a chemical trail, that makes the object more interesting for other bees that follow. The observations based on the age or gender of the bees could have a lot to do with previous interactions the object had.

Ants may run into a death spiral, when their chemical path closes in a loop. Insects are sophisticated sensors, that communicated chemically and based on simple algorithms to great success.

So there could be just algorithmic behavior behind this.

We are indeed still far of from bumble bee football, but with the right chemical trails, who knows what could be possible.
Maimi - where people go to get maimed :)
I'd put the blame on languages that don't allow exceptions, and whose return value in case of errors belong to the same domain as the solution.

I've coded binary searches and sorts tons of times in C++, and yet none was succeptible to this bug. Why? Because, whenever you're talking indices, you should ALWAYS use unsigned int. Since an array can't have negative indices, if you use unsigned ints the problem is solved by design. And, if the element is not found, you throw an exception.

Instead, in C you don't have exceptions, and you have to figure out creative ways for returning errors. errno-like statics work badly with concurrency. And doing something like int search(..., int* err), and setting err inside of your functions, feels cumbersome.

So what does everyone do? Return a positive int if the index is found, or -1 otherwise.

In other words, we artificially extend the domain of the solution just to include the error. We force into the signed integer domain something that was always supposed to be unsigned.

This is the most common cause for most of the integer overflows problems out there.
On mobile, this site is broken too. Text doesn't wrap and scrolling seems to be disabled.