skysight-inc/HackerNews huggingface dataset:
I have a 65% where I map the escape key to tilde and caps lock to escape. It has been a comfortable setup alongside VS Code.
Hi Alchemists, I wrote a new book [0] about:

- Elixir clusters with libcluster

- Kubernetes clusters

- Deploying Elixir clusters to AWS, Azure, and GCP

This is the third Elixir book I have written and the hardest one to write so far. I would love to hear what you think about it.

You can get a FREE chapter here [1]. You can also get my previous free books here [2] and here [3].

[0] https://store.miguelcoba.com/l/advancedtopics

[1] https://miguelcoba.com/deploying-elixir-advanced-topics-samp...

[2] https://store.miguelcoba.com/l/deployingelixir

[3] https://store.miguelcoba.com/l/100elixirtips
I wonder if he still feels as strongly about basic income. That seems to me like something that would just increase inflation and not solve any problems, while at the same time cutting funding for other programs designed to help people in more specific ways. Like, I understand the aim, to enrich people and give them free time. Everyone deserves that. But that doesn't work if your new found money is worth less and you still need to work two jobs to get by. The markets, aka people, will continue reassessing the value of things regardless of your requests for them to stop.

Looks like he hasn't said anything about it since.

https://www.google.com/search?q=basic+income+site%3Ahttps%3A...
I see where you come from, but a timezone database presents several challenging design problems to date and time libraries (I have written some popular date & time library in the past).

One of such problems is to keep the database up to date, which is nothing but trivial. I'm very confident that the OS-level time zone data is the only database you can be reasonably sure that it's likely up to date, and different OSes expose (sometimes accidentally) different bits of data. Any other solutions are not very automated and tend to drift, I've seen systems where pytz or Java's TZUpdater neglected for a while. I hoped TZDIST [1] to be a thing, but it is not widespread enough, to say the least.

In this sense PEP 615 is not exactly the solution but a stopgap; it essentially admits that we can't exactly solve this problem, but we can at least include the existing half-solution into the batteries.

[1] https://www.rfc-editor.org/rfc/rfc7808.html
For a very specific definition of “success.”
That was awesome, but they skipped over the crucial part I'm most interested in: how the heck did they rewrite and reroute the incompatible system calls and libc functions? That's probably the hardest task of it all.

How would you go about it in the first place?

EDIT: ah, their coffsyrup tool (https://github.com/taviso/123elf/blob/main/coffsyrup.c) with help from objdump (it's more powerful that I gave it credit for) does the relocation and patching. I would have loved to read more into that part of the process.
> I suspect that they are more concerned with aesthetics, which are arguably worse with a split keyboard.

Undoubtedly many must be - although I personally really like the ability to take my keyboard easily with me in a bag, like working on a smaller keyboard to reduce finger travel, like how my mouse can be close to my keyboard and I can work in a small space, and I'm lucky enough to not really experience strain, so a 60% keyboard is perfect for me.

Also, although this is aesthetic related, I don't really want to be the person with a keyboard that looks too crazy in the office. I don't need it to look awesome, but I also don't want it to look outwardly-weird (this also means no crazy flashing RGB!).

Took a bit of time to get used to a 60%, but now I have finished the learning curve it would be really difficult to go back (muscle memory is both a blessing and a curse!).
Please help!! , there is something fundamental I don't know how to achieve:
Let's say you have a word.
You want to compress it by making the smallest possible hash/UUID while being conflict free.
Let's say we wanna compress the word "eating". I propose the following scheme:
eating become: 1abc
But it doesn't mean 1abc, let me explain:
Here the 1 would be a char indicating a Metadata, this Metadata would denote a specific alphabet, such as Egyptian hieroglyphs.
1abc
abc are the actual hash and a here denote the first letter of the hieroglyph alphabet.
So first question: how to generate minimal hashes that leverage UTF8 symbols for reducing length.
Also UTF8 non-base symbols weight 3-4 bytes which is not great and this is perfectly avoidable!! What a shame this concept is not widespread..
My goal is to have a string encoding that allow 255 distinct "ASCII tables", dynamically switched via the first letter encoding which table it refer to. Therefore any character in my encoding stay in one byte. The only limit is that therefore not all hieroglyphs can be encoded, only the 255 firsts but I don't care! I don't want to encode Egyptian, I want to generate maximally small hashes/UUID for normal text by going far beyond the standard alphabet symbols.
How to achieve this?? This musy have already been done!

(note ideally you could specify more that one character for language selection, which would massively increase the encoding compression but jjst one would be a good start!)
Plz help

TL;DR
ASCII char encoding can only represent 255 1 byte characters
My proposed scheme enable to have N * 255 * 255 1 byte characters. With a constant cost per string of 1 byte. This seems revolutionary.
Been using anydesk religiously for the last 2 years and the increasing ads starting with chrome banners and more recently the "pro" use, I started using rustdesk.

This is really great.

I dare say the performance is "better" than anydesk, nothing objective or I could measure. Maybe its me wishing it be as prevalent and more than anydesk/tw
Good, he did not have enough imagination to become a mathematician.

[Upon hearing that one of his students had dropped out to study poetry]

- David Hilbert
Poker is not a card game, it is a people game played with cards.
The notion that any non-boolean type has a "false value" is strange to me. There's some convenience in it, certainly, but I don't see it making sense on a more basic level.
Come on, take it easy. I thought that could be helpful. This comment also links to a related, recent story that probably caused this one and that's probably what is most important in this comment. It has been upvoted several times and the person you respond to tells you they found it helpful too. You can't really argue with this. In the past I also linked to comments or stories I've not posted myself and I thought relevant to the context so it's not just me seeking for validation or something. I just like linking connected stuff. I can understand full well how one could find my comment a bit cringy. But please reconsider because what's actually happening is probably not what you think it is. But if you don't, it's fine, I don't really mind. I attempted something, found out that some people liked it (which encourages me to do it again), some don't (which encourages me to be careful not to send the wrong signals - thanks for your feedback), in the end that's expected.

Your comment about Reddit, in addition to be outside HN's guidelines, is however totally wrong. I don't frequently browse Reddit, I don't have any account there, that cannot be some Reddit infiltration so I suggest you to consider another analysis. Of this thread of course, but of HN in general.
Interesting. During the summer between college and grad school, I worked in a public park in St. Louis and one day we had to paint a crosswalk. The older guys, who had high school degrees (if that) tasked me with figuring out the distance between stripes, which proved surprisingly complicated. The stripes needed to be evenly spaced and uniform in size.

Lacking a calculator (no mobile phones in those days) and armed only with a tape measure, a pencil and a piece of paper, I thus managed to chalk out evenly spaced stripes which they proceeded to paint more or less as described in the article. I came away with renewed respect for people who did this type of work.

It also drove home just how important the maths are even in manual labor. Nothing good can come of dumbing down math education in secondary schools.
Interestingly, I decoded it as:

"I'm not so sure that would be reliable. Well, I guess that was pretty reliable."
> I am deeply aware of the fact that I personally would not be where I am if I weren't born incredibly lucky.

It's a pity that Sam's comment above was missing from the original post, and was added after this discussion on HN. It should have been point #1.
That's completely irrelevant to the question of whether it's a good value for the money.
I would argue that any old 256/512MB first gen Pi would suffice, and those are easily found second hand. Not everything involving a Pi requires an 8GB Pi 4 model. Most things involving a Pi don't even require a Pi.
Your comment is confusingly written. I have no idea what you’re talking about, or what sentences you are referring to.

Also, you’ll collect a lot more downvotes now that you’re obnoxiously talking about your downvotes.
That’s not the point of view the author is advocating though. It’s not that they think CS is not practical enough.

To me, what they’re saying is that CS has a point of view that is so narrow and constructed from such a limited perspective that it’s actually harmful to society as a whole.

i.e. CS is removed from science as a whole, not by virtue of being too theoretical but as a result of being applied, but in a very skewed fashion. CS practitioners have a lot of power in society and ethical norms are lacking, so this has consequences.
Recommending a book on Marketing Science at the end is what really annoyed me the most about this.
I tend to be labeled a pessimist. When covid came, I was not surprised. If anything, I was surprised that it was not more deadly. At the same time (March 2020), I expected that Covid would lead to supply chain disruptions, nationalizatoin of industry and international conflict.

The way I see it, the period from 1945 to 2020 was the exception, not the norm. Apart from that period (in the Western World), humans have been facing more difficult times than 2020-2022 through most of history. Still we have surivived, and at times, prospered.

In the future, we may face disasters (climate change, pandemics, wars) that are hundreds of times worse than covid. Still none of those (except possibly nuclear war at some point) are likely to be the end of humanity, or even set us back so much that we are completely unable to record history. (A big nuclear war today would perhaps be a setback for human knowledge of history comparable to the loss of the librariy in Alexandria)

There are still existential threats. One may be if we build millions of new nukes and use them all at once. Others could be technological (AI, nanotech), yet other could come from space (asteroids, aliens).

But for humanity to be wiped out by pandemics or climate change seems highly unlikely.
Well this[0] is certainly interesting to see just after reading OPs thread.

[0] https://twitter.com/elonmusk/status/1527748229470646272
So where would you draw the line?

If a group of people created a perpetual motion machine community, would they deserver some funding? How can you prove that they are not going to discover new physics that allow energy generation from nothing?
Ask HN: What’s is the most practical, non toy, programmable robot for under 10k?
Are there any? Something that can be made to do practical things. Can be DIY.
Russia is an authoritarian state lead by one man and his inner circle. This man has very high public support. In particular, Russian population supports imperial ideology.

That is no contradiction. Authoritarians can have public support while at the same time severely oppressing opposition or anyone who dares to voice something else.

Also, opposition to Putin does not imply opposition to annexation of Ukrainian lands or turning Ukrainians into Russians by force. Opposition to Putin does not imply pro-democracy reform either.

> It is rational to hate Russians in general

Hate is a feeling. But accusations of Russophobia are all about support for sanctions or Ukraine in war. And are deployed whenever someone points out Russia as is now is threat to not just Ukraine, but to all countries in former eastern block.

All those are rational. So, if that matter average Russians look really down on Ukrainians too, are happy to use slurs against them and act offended it other formerly occupied countries are not "thankful".

----------

If anything, Russia was enabled rather then opposed for years. It was treated as something special, more worthy then other countries around it.
I’m sorry but it’s the way we make love.
There is money in making people afraid.
Thats what he goes on to say in a kind if way
Even though quite cheap in most places, water is not necessarily free in Sweden - at least not according to the bill I receive every month...

(I believe if you knock on someone's door and ask for water you can't say no to that person - if within reason - and there are usually lots of public/free places to get water to drink)
Who cares what random people know? People using math know what ∑ means.
The Discoveries of Continuation [pdf]
You might be surprised how efficient in practice it can be. Often, new software can be a net negative on productivity.

Emacs is the most productive environment (for me) and it is half a century old.
You mis-spelled reddit.com. Don’t worry, plenty of upvotes for this kind of thing over there.
The Official TOP1000 Usenet Servers Page
> Which country is this? I would love to have commute as part of work in my country.

Usually countries with laws about commuting being part of the daily wage are more about people who work across different locations rather than their fixed daily commute (i.e. you have a single fixed 'location' where you work, and then if you travel to another location then you are paid for that travel, for instance a salesperson that travels 4 hours each way to give a 2-hour presentation cannot be argued to have only worked 2 hours from a minimum-wage perspective, however if they are travelling to their usual office, even if that is 2 hours away, this would not need to be paid).

Paid daily commutes aren't a part of any countries laws I am aware of, as otherwise you would need to pay people differently depending on where they were living and rasies lots of practical considerations (What if I hire someone who is working next to the office and they move 2 hours away? Am I forced to pay them 50% extra or let them only work a 4 hour day? Presumably I can't fire/make them redundant just for moving home, as I'm assuming this is in a country with good workers-rights anwyay!), but I may be wrong and there may be a country which does do this!
Competitive is different. You can play an attrition team, where every opponent switch hurt him, or a clone+relay team (my favorite) where you stack attack buffs then use relay to transfer them to your hard hitter. You can play a mix of those, or just good pokemons with tight strategy (the equivalent of Jund zoo basically if you're a MTG player)

Unless you talk about pokemon TCG, and in this case, 8 don't know.
Not just software. All knowledge (computer science, mathematics, physics, biology, etc.) is used by humans.

To what end? That is not a scientific question.

To steal the sentiment from a meme.

Scientist: what is philosophy good for?

Philosopher: I don’t know. What is science good for?

Scientist: Well science has broad application in…

Philosopher: aaaand you are doing philosophy *drops mic*
None of those are destroying our civilizations, in fact we are better off now than 10 years ago on all those issues.
Evil Apple, they don't approve of running Linux so... oh wait
Apple are not alone in moving towards closer integration.

I have a Dell XPS 13 Dev Edition 9370 and tried to replace the Killer brand wifi unit that’s about 80% reliable waking from sleep.

Turns out wifi is soldered in on that edition forward.

I think the same is true for RAM, although it came with 16Gb, which is the mac its processor supports.

Anyone else remember the days of socketed chips that would work themselves loose due to heat?

Putting everything into a single chip is a pain to upgrade but it does mean there’s less chance of things going wrong.
Having watched a famous Steve Jobs speech I have decided success is not being a billionaire. It is doing stuff you love. Just aim for that. That might be in a corporate job or you might need to start a business.
Just because I'm not scared of death doesn't mean I don't see any reason to live. I enjoy life and living. I would pursue treatments but there is eventually a limit past which I would not bother
How Addictive Internet Apps Tap into Our Brains’ Reward Pathways
quite likely undisturbed by any human until now. It would be huge surprise if we don't find a host of flora and fauna hitherto unknown to science.
Totally disagree. Mathematics is not a science at all because there is no any possible experiments in the Math fields.

And remember what David Hilbert has told about one of his students who decided to go into arts instead of keep learning Math with him. He told "he did not have enough imagination to become a mathematician".
This seems like teaching your kids gambling and greed.
Reusing datetime.timezone would not make sense. datetime.timezone represents fixed UTC offsets, while ZoneInfo objects represent IANA timezones (which generally don't have a fixed offset).
You could argue the other way around. Crypto is creating market incentives to develop more powerful GPUs (for less $$$), which can make other applications possible. It's tricky to control market forces...

(not that I'm a fan of crypto)
Two notes from someone who has been using many keyboards for many years now:

* ABS vs PBT keycaps: I disagree with the author. PBT is not obviously better. I prefer ABS keycaps, because most PBT keycaps have an aggressive texture, which is unpleasant to my fingers. Mind you, it's something I notice after days/weeks of constant use, not after a minute or two.

* Switches: as I discovered, even the "same" type of switch might have a different feel to it. As an example, Kailh brown switches come in opaque and clear varieties and have a different feel. I really prefer the opaque ones.
Mathematically most people can’t be as successful as the say top 0.01% even if they all tried their
ass off and followed every famous rich person essay to the letter. There is a lot of people not trying sure, but alot that are. Check out the next burnout Tell HN.
I can comfortably get on board with your analysis that there is an argument to be made but this author fails to make it.
And heads up is a different game than cash game or tournament. I don't think the author post really apply to HU games.
When Russia bombed Syrian hospitals ... invaded Chehenia and other countries ... had assasins murder people living EU, likely caused explosion in Czechs (2014), likely shut down plane, supported dictators around the world ...

Common, Ukrainian invasion did not happened out of blue. And I don't even mention Russia actively trying to influence politics of ther countries to the worst.
I dont have that kb, you could keep that top left key mapped to tilde and move escape somewhere else. I put escape on the caps lock as its used a lot for vim/emacsevil.

Caps lock is used a lot less so could be candidate for adding in to a layer.
Not great news for the people worrying the Twitter purchase would distract him from tackling EVs and space with his full attention.
Apple Shipped Me a 79-Pound iPhone Repair Kit to Fix a 1.1-Ounce Battery
I would start with http://www.keyboard-layout-editor.com/ to generate a layout that you want. Then there are a few tools [0] to take that layout and generate a plate based off that layout. You can then either 3d print, or laser cut it yourself, or send it off a shop to do it for you.

I don't know PCB design, so I think handwiring is the best bet for a first build. QMK has a handwire [1] guide, and I also use them for the microcontroller software.

Though for the build I'm working on now, I wanted a few extra features that would be hard to do purely handwiring (per-key RGB LED and hotswap), so I use a PCB designed to hold a single key [2]. It allows me to do custom layouts without learning PCB design, but it is a lot more work than handwiring. You would still have to build the matrix yourself like a handwire.

[0] https://kbplate.ai03.com/

[1] https://docs.qmk.fm/#/hand_wire?id=hand-wiring-guide

[2] https://deskthority.net/viewtopic.php?f=7&t=11420&start=
I played a lot of chess and a bit of poker as a kid and got a lot more out of the chess. Maybe I just didn't put enough into the poker but I think I sort of never really got what was going on with ranges and frequencies and sort of just 'played my hand'. Chess really stretched and "if this than that" muscle very deeply in a way I think actually benefited me. I dont think any amount of playing poker without a coach would have led me to any important understanding. Games of randomness are deeper than deterministic games, but I think it's also easy to play them for a long time without even noticing how you could improve.
What is confusing you about my comment?

People who understand computer science also understand exactly what I am talking about. Because I explicitly said what I am talking about: undecidability.

It is scientifically undecidable what a man; or a woman is.
That is a question for the liberal arts and broader society.

https://en.wikipedia.org/wiki/Undecidable_problem
I think that the only way for me to achieve material security is to impress a bunch of tin-eared monkeys.

And the only way to impress a bunch of tin-eared monkeys is to either produce a hill of bananas or to spend too much of my precious time working in a banana factory.

Both seem bad.
> there is no any possible experiments in the Math fields.

https://en.wikipedia.org/wiki/Experimental_mathematics

Worth googling too, a wide range of things come up:

https://www.google.com/search?q=experimental+mathematics
A few days ago there was a story here at HN about a chrome plugin that fixes exactly those problems by making the fonts show as black and thus restoring a useful contrast.

I can’t remember the name (it was just two letters, like ‘SD’ or such) and I forgot to bookmark it as well…

Update: Found the thread
https://news.ycombinator.com/item?id=31444913
The problem with this is that all modern hunter-gatherer societies are under extreme pressure due to the theft of their lands and resources. This is particularly true in the context of the anecdotes given in the linked article, even if its characterization of today's !Kung or aboriginal peoples in Australia as being in a state of "almost constant tribal warfare" is bizarre (to put it kindly and assume good faith).

There is also an idealogical appeal by the likes of Pinker to the idea that nation states are the only structures that can prevent us from a return to a kind of endemic violence amongst hunter-gatherers. This thought has historically been exploited by those who would steal their lands, and do it "for their own good".

You might call it "doing a Chagnon" - precipitate violence, use that to characterize a people as warlike, then use that as a pretext to take even more resources.

Of course it's possible to find a hunter-gatherer society which is more violent than a particular modern nation state. It's also trivial to find an inverse example. When you look at what evidence we do have, you see that hunter-gatherers are no more or less violent than the rest of us, and when violence does flare it happens for the very same reasons it happens anywhere else.