skysight-inc/HackerNews huggingface dataset:
Again only tax that should exist is wealth tax. Otherwise you can create as many taxes out of thin air as many words one can think. This complexity has real cost to entrepreneurship and thus GDP. Simple progressive ONE wealth tax can account for all matters indirectly. Funny for country founded because of taxes to have dozens on dozens of taxes, an entertainment tax? Really?

If you live in SF and make 90k you're taxed the same if you made same amount in North Dakota somewhere. Make sense??? One is touching upper class status wise and other is one less paycheck away from being homeless.

Right now we have income, capital, sales, bunch of business taxes, ... Each state City county has its own rate. Whenever it comes to taxes we seem to accept everything, it's taboo subject to talk negatively about any aspect of it despite there being real inefficiencies and better alternatives
Is it possible to load an instance of a native library per interpreter? Give each one its own memory space?
Or E-bikes, even more efficient and safe than motorcycles.
What of Microsoft news?
> compared to a well written app that updates the DOM directly only when needed (which I find is easy to accomplish in most apps).

> Can't speak to the svelte approach due to inexperience with it

Heya! I'm been using Svelte for the last week for a new project - knowing React has the lion's share of community right now, but feeling like Svelte is where things are going to be.

Regarding: "compared to a well written app that updates the DOM directly only when needed" - exactly! Svelte actually does this for you. Given the following Svelte code:

age = 7;

That just updated anything bound to 'age' in the DOM. No set() or setState() or whatever. Or for an array:

favoriteFoods.push('peaches');
favoriteFoods = favoriteFoods;

That just updated the DOM for anything bound to 'favoriteFoods'.

The whole point of Svelte is that it takes your input JS, and builds the well written app as output!

It's very easy to pick up and I like it a lot.

https://svelte.dev/
I also wouldn't just rinse it with water.

And what of the fecal aggregate?
Meanwhile I cringe every time I see people say "No" while ignoring the issues people like me point out.
Excellent, I'll set him up and see how he gets on. Thank you.

Edit: I just installed and signed up myself, this looks perfect. Thanks again
Use a small hose to wash off the stuff. Use soap, a hand, and water to wash off anything remaining.
Full list of occupations ranked by fatal injuries per 100k workers. The referenced article isn't that useful because it doesn't provide any numbers to do an absolute comparison.

Fatal injuries per
Rank Job 100k workers
==== =============================== =================
1. Fishers 100.0
2. Logging workers 87.3
3. Aircraft pilots 51.3
4. Roofers 45.2
5. Refuse material collectors 34.9
6. Steel workers 33.3
7. Truck drivers 26.9
8. Farmers, ranchers 24.0
9. Groundskeeping workers 21.0
10. Electrical power-line installers 18.6
11. Misc agricultural workers 17.7
12. Construction workers 17.4
13. Helpers, construction trades 17.3
14. Maintenance and repair workers 16.6
15. Grounds maintenance workers 15.9
16. Construction laborers 14.3
17. Mechanics 13.1
18. Police 12.9
19. Construction equipment operators 11.8
20. Mining machine operators 11.7
21. Taxi drivers 10.5
22. Athletes 9.5
23. Painters 8.9
24. Firefighters 8.9
25. Electricians 8.4
Citation please! This is FUD otherwise.
> 100% Linux, no compromises

Not exactly. When the decision to go back to Windows was announced, they were even still running Windows 2000 on some machines. [1]

The initial reason for overhauling their infrastructure was certainly due to the proliferation of outdated software, but the consultancy they hired to evaluate the situation made the more conservative recommendation to update everything to the latest version and let each department choose which operating system to use. (Since they were de facto already doing that, just without a reasonable process.)

That this turned into "100 % Windows, no compromises" was probably due to Microsoft politics, i.e. someone convinced the mayor that Linux was the cause of their infrastructure issues rather than bad infrastructure management.

I bet they still have the same problems, except now they also have a few machines running outdated versions of their homegrown LiMux distribution.

[1] https://news.ycombinator.com/item?id=13643182
There are definitely several options, but I would recommend Pandoc to compile an epub from LaTeX source — off the top of my head.

Images are not problematic at all on an e-reader. Here’s an example of how an illustration looks like on my old Kindle:

https://i.imgur.com/zfqbnOO.jpg

Tables and such are also usually just raster images embedded in the epub’s XML:

https://i.imgur.com/SHYUrNL.jpg

https://i.imgur.com/u0tZ2TO.jpg

…and so are code blocks, usually displayed in a monospaced but condensed font and converted to raster image as well to avoid wrapping:

https://i.imgur.com/d7ly8GH.jpg

https://i.imgur.com/g0lIPpj.jpg

Long story short: Images are not an issue, and there’s a way to ensure code blocks will look good by converting them to images. That would indeed require some work, but maybe there's a tool to automate that?

Edit: All examples are from UNIX and Linux System Administration Handbook by Garth Snyder et al., Addison-Wesley Professional; 5th edition (2017)
I think that is self contradictory.
Apple CEO Tim Cook to the class of 2019: ‘My generation has failed you’
> I keep finding I need to repeat myself

Communicating with people is hard, especially when you only really want to repeat yourself and not try to understand what anyone else is saying. I get your point - fork is slow. Now what do you think my point was? Please don't bother repeating yourself again.
I hear the tale of "soon native Web Components" for years and still none in sight yet.

As far as I remember there are some attempts from Chrome and Mozilla but not sure I saw a real cross-platform spec out, so I stopped tracking the news around it really.

Can you provide some references maybe?
> what does a total lack of free will mean for the criminal justice system

nothing, the goal of justice system is to prevent repetition of the crime, and it works the same whether the behavior was willful or not.
Yet Another Legolizer for Golang
Sounds good, just let me know what day we choose to all simultaneously switch to bikes.
For most Chinese, as long as they have their needs met, probably their system of government is fine. Some may know no better (historically the world wasn't democratic) and others might rationalize with "just don't insult the leaders /state and you're fine. Small price to pay"
Speaking only for myself:

Logical thinking is really easy for me. Also abstracting, pattern matching, "out-of-the-box" thinking.. Loyalty, honesty and helpfulness are also positive traits common among autistic people.

Having a unique worldview certainly is helpful in some situations. However it also makes other situations, especially pertaining to social interactions with strangers, rather challenging at times..
All taxes can be consolidated into one tax, Wealth tax! which can directly account for everything.
i.e. Live in NYC vs suburbs. Got 5 kids vs single.
No income, sales, federal, city, county, state, capital, property, SS... list goes on.
If you're rich you pay more if you're not you don't. How do you know how rich someone is? Total wealth. Federal government should ban any other taxes that state would want to implement
On charging infrastructure, here where I live in London, a lot of the light poles now have EV charging points. They are very subtle: just a blue LED, a small black charger cover and a small Siemens logo. Everything else is inside the preexisting pole (diameter about 4 inches).

I would never have thought of doing this. But once you've seen it, it's an obvious cheap, quick and non-intrusive solution.
total cost of ownership is already less. the problem is just that the sticker price is higher to buy the battery upfront.
Yes that's already happening right now. The premise of buying an expensive car is that you can sell it a few years later for a predictable price. Once that price collapses, things get ugly very quickly. Once new buyers suspect there is an issue there, they will be very reluctant.

So, the luxury car market will shift to full EV a lot sooner than 2038. IMHO that's happening right now and will largely have happened by 2025 already. It's the rest of the market that will take a bit longer. Not because of a lack of demand but a lack of supply: it will that long to build enough production capacity. And while capacity is limited, the high end of the market is more lucrative to use the capacity for. A Tesla model 3 with 20% margins selling for 40-60K is more interesting than say the equivalent of a Ford Pinto for 15K with 5% margins. The economics of that are different if you have enough capacity to do both of course but that is not the case yet. As long as battery production is a bottleneck, people will be looking to put them in high margin products rather than low margin products.
Nobody in the UK has a petrol pump in the front of their house, it didn't stop petrol cars taking off

I imagine people will charge at work, or supercharge for 20mins once a week
It is simply mind-boggling how much effort the JS community has put into working around the performance properties of a document layout engine to make it 'interactive' and 'responsive'.

With only 3 major rendering engines left standing, where is the concerted push to turn these document renders into general purpose, fast, desktop-quality rendering engines?

Back to Svelte vs. React vs. Reagent vs. Vue.JS vs. Angular vs. (insert framework-of-the-month-here)

One common theme seems to be: Run code to manipulate a tree-like data structure (DOM) efficiently.
This obviously needs to become: Submit data to the rendering engine to manipulate the tree-like structure.
(and in a way .innerHtml is doing that for a sub-tree, but is not suitable for general-purpose tree manipulation)
> Svelte, on the other hand, is pretty compilation-heavy. Personally, I'm less comfortable with that compared to React's runtime library approach.

Svelte compiles, React runs at runtime, that's true.

I've spent the last week (and weekend) doing the UI for a new project in Svelte. The compiler approach is pretty rad as it seems to catch more errors before I test them in browser.

You can download any project from the https://svelte.dev/ tutorial / online REPL and it'll have a rollup file, watching files, compiling them and telling about broken code.

vscode also has a plugin for Svelte components that shows pretty underlines while you work. The compiler approach means I see more warnings faster and save time.
EU has its own oversight that has, at least at some point in the past, been pretty much copying FAA word-for-word. Other countries obviously have their own, but also leaned on FAA for its influence. Yet another aspect of soft power of the US.
Not sure, ask the parent commenter. I was merely attempting a rebuttal to their remark.
One of Clinton's advisers (name escapes me) has written that from their basement the Serbian army was receiving instructions. When presented the evidence, China kinda shut up. maybe they didn't want to have their involvement be known or whatever.

I don't think US bombed it by mistake
Try setting up filters for home timeline, notifications, public timelines and conversations - that should protect you from those who like attack and accuse anyone because of literally any reason. I was targeted by some random teenage girl because of one word in my post - after quickly checking her profile I was sure it wasn't worth interacting with her.
This brought me to full stop:

> it’s worth a few hours of my time to prepare for an interview

So, how many interviews he did in one week? 1 or even 0.5? Today typical manager with 2-3 open positions performs no less than 3 interviews a week. I personally will not spend all my time learning some irrelevant languages or frameworks just to show off in front of random people passed through HR screening.
Why is aircraft pilots so high? I'm assuming it isn't just commercial airline pilots?
If you don't want to tip, maybe just don't tip then?
Cost cutting for Tesla might be a good idea but the cost of R&D and technologies are too high for them so it might be a small victory
(I just posted this in reply to a different comment. But it is more relevant here.)

On charging infrastructure, here where I live in London, a lot of the light poles now have EV charging points. They are very subtle: just a blue LED, a small black charger cover and a small Siemens logo. Everything else is inside the preexisting pole (diameter about 4 inches).

https://www.fleetnews.co.uk/news/car-industry-news/2018/08/2...

I would never have thought of doing this. But once you've seen it, it's an obvious cheap, quick and non-intrusive solution.
I seriously would have never thought that anybody would really consider using spaces in filenames. For me it's a sign to not work in such an environment, which might be the reason I rarely even see it. But sure if you want a script that is widely used you might want to handle that case as well.

In any case I don't say put in a Bash script and let it grow to ten million lines over 20 years.

My approach to bash scripts is this:

1. start with a bash script to understand a problem and see how a solution might be structured. PoC level is enough here.

2. When you know you solve the right problem and the customer is willing to make something bigger, then put ~80% of the code in a good programming language (Python is my personal favorite, but Ruby, Java, PHP, C#, C++, Lisp might also work). That happens about 3 months into a project.

3. If you start to hit bottlenecks and performance ceilings put the 30-50% that are relatively stable and most performance hungry into C/C++ code and really optimize the heck out of it. This should be done only with an aged project, like 2 years in, and very pessimistically, since highly optimal code usually is badly readable and badly maintainable. You certainly don't want to go into that code 6 years later and drastically change its API to your python code.

So a ten year project would have a thin layer of bash/docker at the top, a strong core of highly flexible code (of Python for me as well) in the middle, and a leg of high performance C code here and there.

I honestly have never seen a project that really needed the C-layer though. In modern IT world it seems most problems are old at least from a political/management point of view between 2 weeks and 3 months. So in fact, although I count myself as a Python coder, the last few years I've spent writing way more bash and docker related stuff, which then is either never touched again or directly thrown away after a few weeks, no matter if successful or not.

PS: Please don't use spaces in file names. Not just for scripts. It is also not clear for users where something ends, and they are even less used to putting string indicators around file names than you are about handling spaces with bash there.

And last but not least stuff like spaces in filenames, starting scripts with upper case letter etc, they might even be just a small annoyance. But you can be sure that skilled developers will put you 2 classes below their average when they see this, because it simply shows a lack of the right spirit.
What does Netlify bring to the table? Gitlab already has CI/CD.

https://docs.gitlab.com/ee/ci/

Deploy a Blog site with Gitlab pages and Cloudflare
https://blog.zenggyu.com/en/post/2019-02-08/deploying-a-blog...
IIUC, python's sub-interpreters won't have a `move`.

That might not be a bad idea because I am worried `move` will end up being problematic in ruby, but time will tell.
I'm surprised that this was built in a way where it's possible to throw a 500 error. This is a simple website. Why isn't it just a couple of static pages?

Here's something for your checklist: Make sure you use an appropriate technology for the problem you're solving.
> That's like 10 lines in Python and much easier to read and test.

It's a single command in bash, invoking a program far more efficient than anything you can put together in python. It is literally a tool written for this exact purpose. I think it is simply ridiculous to not use a pre-existing tool that frankly you cannot out-do with a scripting language.

Even if you are writing a python script, you should _still_ use find to search for files if there is _any_ complexity in the search requirements.
Dunno what to tell you. At a prompt, running vi and entering the following keys:

i a b c [right arrow] d e f

results in vi displaying the text:

ab

Note that the key f generates a bell as vi is no longer in insert/append mode.

If you're seeing different behavior I can only assume you've got wildly different terminal settings, you've configured vi and forgot about it, or have aliased vi to vim or some vi variant from ports.

Either way that lends credence to the idea that judging someone for being uncomfortable at a vi prompt is a bad way to interview candidates.
Files are cheap now and even a linux initrd file has a lot of files inside it

DOS had other files besides those, but they were hidden https://en.wikipedia.org/wiki/List_of_DOS_system_files

You could theoretically make a linux kernel will all the drivers you need linked + basic FS stored as a drive image so you would have fewer files on an image
It's just a phonetic loan (A-mei-rica) represented by a character with positive associations (they could also have chosen e.g. 没国 "without country", but that would've been impolite). Best not to read too much into it.

England is called the country of heroes, France the country of law, Germany the country of virtue... people rarely pay attention to the literal meaning.
> If I fight the battle to get centralized IT to install Python, I now have a guaranteed set of standard libraries as well. I'm never going to get permission to install anything other than default. Ever.

You could install packages with `pip install --user` to have them install under your home directory.
Psychopaths are actually supposed to be very good at reading other peoples' emotions. They just don't feel much empathy. Autism is associated with difficulties in reading emotions.
Xi'an Jiaotong-Liverpool University Brings Moodle Event to China for First Time
Mostly. The efficiency of a gasoline engine varies widely depending on rpm and power output. Hybrids keep the engine in it's most efficient operating range. It's also why hybrids produce about a fifth the pollution as straight gasoline engines.

I think hybrids can also make some trade offs losing power density and torque for higher efficiency.
1995 was the first time I used EDIT.EXE to write down a high level graphical thing (HTML) to be interpreted by a program (IE). I felt like god. Prior to that I only made pascal/asm shitty demos..
McNugget Number
That crime was several years later.
The real question: Why are you eating at McDonalds?
I don't understand you. Not competing products as in:

1. You don't want anyone to stop using pushover to convert to your product?

2. Your product is so good it is not even a competition?

3. You just want to dismiss any competitors in some vague way?
Petrol takes 5 minutes
Additionally vi is so configurable that one may be intimately familiar with their own vi configuration but really awkward with the stock (or interviewer's) configuration.
The calculator isn't global friendly :)

Here McNuggets arrives in the following packaging:
4, 5, 9, 12, 24
There are cheap plugin ones but they take all night
So, to summarize: vendor lock-in is a thing and the best way to get there is to create closed stuff that open source then has no chance to properly deal with. You can use this to strong-arm all kinds of entities to deal with you on your terms.

> The Linux community like to think that Microsoft is the "big evil"

I really don't think I speak for the Linux community but I do think that MS is still the big evil, just in slightly nicer packaging. Fantastic PR, crappy company.
Facebook coin reportedly underdevelopment in Switzerland
Direct manipulations of DOM are expensive. It is vastly more cheaper to create or update JS object than create or manipulate DOM node. So the claim that VirtualDom is always an overhead is not true. The diff algorithm can give a set of DOM operations that are less expensive than typical sequence of manual mutations. So virtual DOM can be faster if savings from less DOM operations are bigger than extra JS work.

Surely carefully crafted direct DOM mutations will be the fastest approach, but it typically leads to hard to maintain code.
Interesting, where do you hail from?
I think go did this well, they provide a very solid toolset that is nothing fancy but you can forget about it right away and start producing solutions.
I think it's more of a mindset thing and what you and your body is used to.
I really like your simple version to browse the manuscript and I agree it should be available at codex-atlanticus.it, but removing the design and interaction you loose a lot of information. Maybe to you this information is useless, but to a lot of others it is not.

This edition has some nice, creative solutions to hard information presentation problems.
Ask HN: What Is Your Awesome Code Example?
Hello,

I plan to relearn some C language in the future, so I'm looking for a small but high quality and completely (i.e. working program) example of awesome, clever code from high qualified programmers. If you know any, please provide a link to code repository.

It can be in another language too if you have any. Maybe I'll do an awesome-code-example list on GitHub :)
And it starts with expectations, which our government belittles us for having.
We could do a lot with 1993 and a modern stylesheet. I hope that's where we'll be in 2023...
Writing pong in C (time-lapse)
How can we possibly make the case for Western values credibly when so many people in high profile positions in Academia, Politics, and Media openly call for abolishing them?
I don't know that there are many computers out there which don't need isolated security domains. Users run javascript all the time, cloud servers obviously need security domains, regular bare metal servers generally run internet-facing applications such as web servers as unprivileged users in case they contain RCE bugs.
Wouldn't it be good to have Python 4.x next with all these workarounds cleaned up and with only one right pythonic way for parallel procesing? Surelly with a bit of backward compatibility sacrificed like 2 vs 3.
Historically, going abroad means wealth and status, marrying whites ("ocean people") too, those who return with immense wealth and fanfare reinforce this notion, and it just so happens that the transliteration of "me" was the Chinese word "mei".
My Problem with Scratch Maps
Many of us already have and the more people make this choice, the safer it becomes.
1.0 to 87.3 in one year? More realistic would be python 2->3 in 10 years or so and still too fast...
Flick Pool will earn millions – but sadly not to its game developer
Yarn is ok but I prefer npm
It's possible to write bash that handles spaces in filenames properly, but it's really hard to do it consistently. Unless you test it then you've probably got it wrong.

Most people don't test their bash on spaces. Look at the dismissive commenter above who just things "nah why would people use spaces in filenames?". Do you think he quotes everything properly? No chance.

CMake is also really bad about this. Although it is arguable slightly better because it uses semicolons as list delimiters instead of spaces, and semicolons in filenames are going to be very uncommon. I would expect there isn't a single CMake project out there that works if you build it in a path containing a semicolon though!
Not everyone who uses files is a developer. People should be able to name their files what they want. When the time comes that somebody runs a script on it, it should not do something wonky because they decided that "Spring Pictures" was a much better name than "spring_pictures".