skysight-inc/HackerNews huggingface dataset:
Here's my dotfiles repository [1], which is used to sync my little scripts and config files between my different systems (Mac/Linux). I first heard about it here [2].

[1] https://github.com/benwinding/dotfiles

[2] https://zachholman.com/2010/08/dotfiles-are-meant-to-be-fork...
Also, the glorious invention known as the banana box helps. Planning a move? Start collecting banana boxes from supermarkets (they put them out for customers to take for free, because it saves them having to tear them up and fill their paper waste bin with it — don't forget the cardboard inserts for the 'gap' in the bottom of the box). For most books these have a much better shape than ordinary moving boxes, and they are sturdy enough (unlike the former).

Free, easy to lift, easy to stack, and it saves the books from damage.

Second-hand booksellers who visit bookfairs swear by these boxes.
Sorry in advance, to be the goyim and ask: Do you have doubts in this privileged model of thinking, or you enjoy the power and then intellectualize the outcome.

Because we as the stupid ones can "hurt ourselves" and we need the "wisdom" of historically proven "chosen" people with higher IQ, moral ground and knowledge.

Right?
Communication overhead kinda disappears when all the communication stays inside your own head :)
One of the great things I've come to appreciate about books in the age of digital media is that their physicality gives them a permanence. It's not just the pleasure of reading something on paper... it's that the ideas or stories committed to books are of a naturally higher quality (argue or not) because the writers knew they would be permanent; because six months had passed, and endless edits and revisions; because the authors are dead or hiding.

If form can give rise to function, and I believe that it can, then this post and all the forums and blogs in the world serve a purpose totally at odds with the purpose of physical books. So.. I envy your library and hope you'll keep adding to it, and pass on your reverence of it.
Because second order can also be immediate, it just may not be a direct intention of the action.
If you think that every email has to be a formal masterpiece that will be graded you are over thinking it. That type of work generally belongs in a document in G-Suite, confluence, git, etc. Notifications that it exists or needs review may go out via automated or manual email.

If you think that most conversations should be instant messages, you are likely being quite inconsiderate of other people’s time. Likewise, many will not read chat messages that meet some definition of old.

Email tends to have better filters, tagging, sorting, and search to allow the recipient to never miss what is important to the recipient using criteria chosen by the recipient. When I return from vacation I’m sure to read everything sent by my boss and those things related to my area of focus. The rest is likely to go unread unless I’m mentioned in the original or it is brought to my attention.

Collaboration through G-Suite and similar has thankfully ended most passing around of an attachment for review. A similar thing has happened by for code reviews with tools like GitHub and gerrit. Notifications via email from those tools is helpful.

If you are lucky enough to work somewhere that has a culture of plaintext email, in-line replies, proper trimming of cruft from replies, and thread friendly clients, email can be a joy to use. If you work somewhere with Exchange and Outlook, email feels more like a necessary evil.
I hope your son is doing okay!

But I don’t think your generalization is correct - just because computers can in theory indeed react way faster than humans, they are just a black-box algorithm that may very well just break abruptly due to a plastic bag in the wind, vs not stopping at all for a child. Humans are simply much much much better at reading the environment, understanding it based on their internal model of reality and reacting aptly.

If anything, the “correct” decision would be to back any car with auto-breaking, as that is a sufficiently well-constrained problem for computers, and that can save countless lives enhancing human capabilities. And this feature is available in even lower end Modern cars nowadays

But FSD is a scam that may very well take lives.
> > The 2nd order effect may be in 5s time

> how is that not long term thinking?

What does "long term" mean to you ... 5s (i.e. 5 seconds) is pretty short term to me.
Okay it's 2022 and you still don't want to run nepomunk, a holistic semantic filesystem approach never happened and you're stuck with a million files in your Download folder, home folder etc.

So I use this script to give me a nice work environment, based on each day.

Every time you open bash, it'll drop you into today's directory. (~/work/year/month/day/)

When I think about stuff it's like.. oh yeah I worked on that last week, last year, etc - the folder structure makes this a lot easier, and you can just write 'notes' or 'meeting-with-joe' and you know the ref date.

For your bashrc:

alias t='source /path/to/today'

t

Now every day you'll know what you worked on yesterday!

# this is where you'll get dropped by default.

calvin@bison:~/work/2022/07/10$

calvin@bison:~/work/2022/07/10$ ls
WardsPerlSimulator.pl

calvin@bison:~/work/2022/07/10$ cd ..; ls;
01 02 04 05 06 07 08 09 10
calvin@bison:~/work/2022/07$ cd ..; ls
01 02 03 04 05 06 07
calvin@bison:~/work/2022$ cd ..; ls
2021 2022

additionally you'll get a shortcut, you can type 't' as a bash fn, or go to ~/t/ which is symlinked and updated everytime you run today (which is everytime you open bash or hit 't'. this is useful if you want to have Firefox/Slack/whatever always save something in your 'today' folder.

https://git.ceux.org/today.git/
I have no idea. Are combination squares popular outside of the US? :)
It's also a perfect way to enter the hacking scene
Depends entirely on where you go to work. I've only ever worked in decent (actually fantastic) dev shops. Of course, pay was still not amazing, but it was full of smart and motivated people.
Umberto Eco remarks somewhere that when he finally decides that he should read a book from his library it seems as if he already knew it. In my words: You get to know the unread books in your personal library a little over time by occasionally browsing through them, looking up a quotation, refering to their table of contents or index when researching a topic, paying more attention when they or their authors are mentioned in another text, ...
> If you have a specific comment that discusses the objections to the e-ink patent encumbrance concept, please link them or make them again here.

You seem to be intentionally engaging in a circular argument. The parent post said "after present patents expire". So please answer a simple question. Which specific patents are you referring to? Are you going to google and give a random list of eink patents? I hope you can see why I think that's a counterproductive response.

I stand by what I wrote earlier.

I'll repeat it again.
"
Which specific patents are you referring to? If you can't answer that question without googling "eink patents", then like many others who've made this claim on HN you're not in the industry and don't actually know anything about electrophoretic chemistry and don't realize what the real obstacles are. See my comment history for details.
"

It is the equivalent of saying IBM is blocking progress in the software industry because of IBM patents.

I hope it is clear how ridiculous that claim is. That's why I asked the simple question to which I still haven't gotten an answer.
I'm a hiring manager (for design roles but still relevant I think). I get a significant number of people who are just outright unqualified, for example when looking for a Design Lead recently, I got applicants from people who were secretaries and had zero design experience. I easily say no to at least 50% at the CV screen stage and drop a good chunk more at the portfolio review.
You can move wherever you want. But on a forum where people frequently talk about the harm humans do, I think advising people to move to an area that exists basically for people who are just struggling to start their adult life seems like a bad move.

Moving somewhere because you like the scenery, the food, whatever is fine. Moving there because there’s a college while you’re 15 years out of college is just strange.
Backwards compatibility over security, reminds me of a certain, popular OS.

They could enforce it for all applications signed after a certain date and/or mark the unsafe method as deprecated. This would still not prevent downgrade attacks for a while, but at least offer a path forward.
I have gone in that direction a couple weeks ago and so far I hate it. I have to constantly fight unrealistic expectations vs. what's actually possible. Both sides are angry (developers because of unclear requirements, management because of slow progress). I'm frustrated because I'm in the middle of this bullshit, I constantly have to pacify both sides.
Also, I've come to realise that while I enjoy developing products, I'm really sick of collaborating with other developers.
I fantasize about just going back to Delphi and solo developing something for the Winstore.
I've pair-programmed a lot this year, and some of my colleagues tend to like the "Co-authored-by: ..." message because they like that due attribution is given regardless of who was in control of the keyboard.

I eventually got tired of writing that manually, so I wrote a small

git co-commit --thor ...

that works just like 'git commit', except it adds another line to the commit message template.

Placing it in e.g. ~/bin/git-co-commit and having ~/bin in your $PATH will enable it as a git sub-command.

I've never had a use for this before, and I don't think I'll need it much beyond this team, but this was my first git sub-command that wasn't trivially solvable by existing command parameters (that I know of).

https://gist.github.com/sshine/d5a2986a6fc377b440bc8aa096037...
That's like asking if accurate right angles are popular vs necessary in various trades :)
> that their physicality gives them a permanence.

For me it's rather it gives them presence rather than permanence. A book on a shelf is filling a space. It's visible. It's available for anyone to have a look. A book on an eink device is hidden. It's invisible. It's barely accessible. You could have thousands of books on an ebook reader and nobody would know it, because they can't see any of it.
You have to define 'better'. If an entity can process their OODA loop faster than competing entities, they will have an advantage.

I agree with you that people who are quick to talk in meetings can sometimes incorrectly come across as smarter, but I caution you to completely discount speed.
autoload -U add-zsh-hook

add-zsh-hook chpwd source_env

source_env() {
if [[ -f .env && -r .env ]]; then
source .env
fi
}
And is available in a low-end suzuki at the fraction of the price.

I am all for computer-assisted breaking, but I hate the mislabeling of tesla’s featureset as FSD, as that’s just a scam.
All cities are predominantly democrat mayors, so if it's the same fraction of "dangerous" cities, then it suggests the mayor isnt the source of the issue.
Obama said he was going to do something about this, but unfortunately it wasn't what people hoped:

https://www.washingtonpost.com/news/wonk/wp/2014/09/08/civil...
It is long term thinking. But long term thinking is not necessarily 2nd order thinking. It's basically good long term thinking, where you don't just come up with a plan that addresses a problem, but you also enumerate all the secondary effects, and the effects of those effects, etc. Any good long term thinking would do that, but it's not always clear if people really have thought it through.

If someone says ban ICE vehicles so that we might have better air quality and reduced rate of climate change, have they taken into account what the economic, cultural and political ramifications of such legislation would be? They might have, someone might have, but definitely not everyone has. Who had "Texas secedes from the USA" on their list of possible outcomes of their long term plan for addressing climate change?
In my day job, I encounter a lot of suggested solutions from my team and colleagues that will not succeed for various reasons.

Just because we will not discover those failures until after the implementation in a couple of weeks does not make my better solutions "long term thinking".

Long term thinking is "will this solution that will work perfectly fine right now, still be the right solution in 2023"
Having just packed, I can tell you books were great - not that they account for 80% of my stuff, but in similar Pareto-ish fashion they were very easy to slide into boxes and make a big visible impact on packing process.

It's all the fiddly little things that take time (do I even need that) or things that need to be well protected - glasses etc. And things that you frequently use and deliberate over whether you need again before the move.
Typosquatting Campaign Targeting Python’s Top Packages Used to DDoS CS1.6 Server
This typosquatting attack is targeting Python’s top packages such as idna, flask, docutils and more with over 500 million monthly downloads combined.
> If you are depressed then see a psychiatrist.

I'm not sure I'd agree with this advice. If the mental problems OP has originate from his circumstances, a psychiatrist is unlikely to be able to help him. But psychiatrists are usually in no hurry to admit that, so the experience is usually even more frustrating and demeaning than skipping the whole shebang.

Yes I am speaking from experience.
I work with someone who has a bookshelf behind them containing books ordered by spine colour, making a spectrum. It’s very pretty, but I highly doubt she’s read any of them.
What's the 'digital' equivalent of this and do we digital-only readers, of which there are dozens, have a way of experiencing this?

I have no physical books, but lots of ebooks. I sometimes like to open up Calibre and stare at the unread ones and pick what to read next. When there's nothing unread in Calibre I'll go to Goodreads (want to read list).
Another similar book is "Economics in One Lesson" by Henry Hazlitt [1]:

> From this aspect, therefore, the whole of economics can be reduced to a single lesson, and that lesson can be reduced to a single sentence. The art of economics consists in looking not merely at the immediate hut at the longer effects of any act or policy; it consists in tracing the consequences of that policy not merely for one group but for all groups.

[1]: https://www.amazon.com/Economics-One-Lesson-Shortest-Underst...
Hrm.. that's really rough :\ I'm sorry to hear that you had some early setbacks, but I'm glad you're getting through now. Good luck with your research! The language learning space is stronger than ever with all of the GPT goings on. There was a YC-backed convo-bot startup [0] on the front page the other day, if that's any indicator. In any case, I hope to get to use some of your learning tools someday :)

[0]: https://www.ycombinator.com/companies/toko
Adtech will be devastated.
postman is incredible. Recently finished reading "Amusing ourselves to death"
Honestly, it looks like he isn't going about trying to work with the city very well. He also has videos on there of him lecturing public officials about how slow they are.

At the same time, he is trying to build a fusion generator, a science museum, an industrial space, and a few internet businesses that seem to need a secure facility. The planning commission probably has no idea what to do with him, and it doesn't sound like he is employing very many people from the local community. If I were on that city council, I would also be skeptical of the rich guy who bought a warehouse to play around but not actually run any serious business.
You proved sqrt(2) is irrational not sqrt(2)^sqrt(2)
The video was faked. Nothing for Musk to do. Maybe if he could find out who ordered it he could blacklist this guy and his company from buying anymore Teslas.
It's not Republican. In the last presidential election, the county voted 60% Democrat (Pine Bluffs is the largest city and county seat).
I searched just quick, and for ex. Getty does not allow to use pictures for ML.

Anyway, I think is pretty clear, usually it is not allowed, exept. user upload a picture to a platform and give all rights away because the platform say it in the EULA.
> until you have to move home.

True. But then you have to make the hard choices of what to keep, and it's better to do that on a regular basis to avoid being a book hoarder.
I dislike this framing because it frames thinking and planning ahead as next-level intelligence when it's patience and wisdom masquerading as smartness.

A better spin would be, "Stupid? Use this one weird trick (thinking, planning, and acting long-term) to outperform smart people every time!"
Nice stats. Pretty surprising how Java's doing better than JS in overall market share, and growth.
> Convenient way of discarding any evidence you don't like.

In a black box algorithm this is quite literally the case.

Even in just regular programming, you ain’t claiming that master is correct just because the previous relase’s CI pipeline is all green, do you?

Car tests are stable when they only test hardware - once software is in the picture, they are all invalid instantly.
https://news.ycombinator.com/item?id=32466203
If you are interested in gradually making a big career change, you could look into biotech. I’ve seen people start out as regular developers in small / mid-size biotech companies and then transition into other, more domain-specific roles. The pay is generally not as good, but (in my personal experience) there are more opportunities to steer your career towards the work you enjoy doing.
my autohotkey is super simple and mainly to be vimmy in things like native controls (ALT-K and ALT-J for things like drop downs) which means I almost never need to touch the arrow keys

<!k::Send {Up}
<!j::Send {Down}
Capslock::Esc
> expectation of some loss to spoilage already.

some is the key word here. You can bet that anyone who's managing a supermarket is optimizing to reduce this kind of loss.
When I find myself depressed about work,there are three questions that help me a lot:

Do I like what I'm doing? (solving problems, making software)

Do I like who I'm working with?

Do I like the company I'm working for?

If you answer yes to the first question, an no to either of the next two questions, time to make a change. If you feel like your work isn't valued, go to work for a small company or a startup where everything you do, every line of code, every time you take out the trash is valued.

> Nearing my 40s, so my profile is less appealing to employers, this field is very oriented to young people.

Not really true. Entry level is oriented to young people. Often, front-end is seen as entry-level (it should not, but it is) because junior devs come knowing the latest-greatest (and not much else). Senior developers tend to get a little prickly about learning the latest javascript libraries and css techniques. At my company, I have a great mid-career front end dev who is making the jump to full stack, and is fantastic at it because he's highly aware of the impact of back-end design decisions on front-end performance and front-end developer experience. Our APIs get better every day because of him.
I do this also, as a compromise. I still pre-learn routes to new locations and try to get as close as possible before resorting to gmaps directions.

Using a map app as an app(vs for directions) doesnt have the same deteriorating effect on your spatial navigation, because you are still conceptionalising your position as moving

Our brains are wired to wayfind by landmarks and understanding our location relative to them.
Navigation mode in the app flips this on its head - your position is always center of the screen and the map context moves around you, so it is harder build that landmark association on a trip because you dont get a sense of how far you are through your journey relative to landmarks.
That is more to allow big box stores to advertise "price match" when they know no one else as the "exact same model"

See this Drill is DW345, we sell DW350, it is 5 better
Unfortunately, AT&T doesn't give my phone a v6 address.
https://github.com/learnbyexample/command_help/blob/master/c...

Command help, inspired by http://explainshell.com/ to extract help text from builtin commands and man pages. Here's an example:

$ ch ls -AXG
ls - list directory contents

-A, --almost-all
do not list implied . and ..

-X sort alphabetically by entry extension

-G, --no-group
in a long listing, don't print group names

---

https://github.com/learnbyexample/regexp-cut/blob/main/rcut is another - uses awk to provide cut like syntax for field extraction. After writing this, I found commands like `hck`, `tuc` written in Rust that solves most of the things I wanted.
How to Design an Abstract Strategy Board Game *Top Mechanisms*
So I suppose that end game is those patents getting bought by some big name semi manufacturer and quietly incorporated into future chips using different terminology... and then folks will smugly talk about what a terrible idea it all was.
> I never vouched for it's ability to avoid all possible objects

Well, that’s the lowest of the low requirement for any form of FSD, that my robot vacuum passes. Should I call Tesla that by buying some cheap chinese robot vacuum company, they could reuse their software stack?
Precisely maxing out the tolerance!
Caste is discrimination based on religion. The discriminator views the victim as being less deserving based on religious ideology. The religious ideology insists that a person born to a certain caste deserves it based on something they supposedly did in a past lifetime. It thus excuses the prejudicial behavior as a form of cosmic justice.
Yet another over-subscribed device to rewrite packets between you and your destination. Spontaneous connection failures due to port exhaustion or overly aggressive connection timers/recycling. Lack of public to private connectability due to absence of port mapping, or any way to influence the configuration of your carrier’s device.
It is very easy to say, retrospectively, in year 2022, that the decisions were horrible. You are talking about the language and decisions made in 1970s. The knowledge was different. The computers were different, their capability was different. Try running your Python on PDP-7, an 18-bit system! ASCII vs EBCDIC is a computer architecture issue and it's unfair to blame the language that it doesn't have automatic/transparent support for EBCDIC (stuff from 1960s, by the way!). Unicode simply didn't exist at that time. And so on and so forth.

On the contrary, I would say C aged really well for a language which was created to support an entire zoo of computers and operating systems. It is worth pointing out that the language has progressed a lot since then and you don't have to deal with many old headaches if you write C on a modern CPU architecture.
OpenBSD has pledge(4) and unveil(4) today.
Simple command line utility to display charging (or discharging) rate in watts on linux. You might have to modify battery_directory and the status/current_now/voltage_now names based on laptop brand, but Lenovo, Dell and Samsung seems to use this convention.

#!/usr/bin/python3

battery_directory = "/sys/class/power_supply/BAT1/"

with open(battery_directory + "status", "r") as f:
state = f.read().strip()

with open(battery_directory + "current_now", "r") as f:
current = int(f.read().strip())

with open(battery_directory + "voltage_now", "r") as f:
voltage = int(f.read().strip())

wattage = (voltage / 10**6) * (current / 10**6)
wattage_formatted = f"{'-' if state == 'Discharging' else ''}{wattage:.2f}W"

if state in ["Charging", "Discharging", "Not charging"]:
print(f"{state}: {wattage_formatted}")

Output:

Charging: 32.15W

Discharging: -5.15W
Show HN: Feedback on Snouters?
We are building a pet care services marketplace in India. Posting here to seek feedback on the product.