skysight-inc/HackerNews huggingface dataset:
This is silly. Different domains have different needs. If you think of arrays as pointer + offset calculation, and your only for loop has an explicit index increment in it, then starting at 0 is natural. If you are a systems programmer then a language targeting you should accommodate that.

If you are anyone who doesn't want to care (too much) about how things are implemented, then it's a lot less error prone to mark the 1st element of an array a[1]. Having taught and written fairly complex scientific code in both 0 and 1 indexed languages, there really is no good reason to do anything else.

for a in array[3:6]

Should iterate over the third to sixth element of the array.
My late 2011 Macbook Pro is what I am using to reply to this comment. I can even do some light gaming on this still if I so choose. Plenty fast for anything web(including streaming video), coding and certainly email. I actually cannot bring myself to buy anything new because the mild bump I might get will hardly be worth what I have to pay to get that bump.

The difference with desktop operating systems are that applications almost always work for many, many releases. This does not seem to be the case with iOS.
Google just lost a top percentile developer over their open floor plan. Literally irreplaceable. But they saved a few dollars on space. That is being penny wise and pound foolish, particularly for a company like Google who is not capital constrained.

(He may not have quit directly because of the open office plan, but given that it's one of the few complaints he makes, it obviously is a factor.)
There was a story on HN at one point about laptops that would immediately go dark when placed on top of another laptop.

The magnet in the lid of the bottom laptop would put the top laptop to sleep.
0 is the first number.
1 is the first number 1 unit from 0.
A third of this population is underaged for hacking and another third will not be educated above primary school. It seems like a much smaller pool of "hackers" when you consider that this is a land where a large percentage of adults are undereucated farmers and workers are living off of agriculture, textile and menial labour. Where the general consensus is to spend a large sum of your money on government sponsored games of chance, or if you are on the more religious side, go and spend it on magic items and blessings. At any given time you will probably get 30-50 highly skilled hackers (self-taught out of pure chance) and rotation will be high due to getting a large number of opportunities to live a better life abroad.
Alternatively the object can expose a __reversed__ method, which is why reversed(range(10)) is a "range_iterator object" rather than a "reversed object".
> He's got 1, and 2 down, [...] He can say the numbers 1 to 10

That's extremely amazing for a kid that is exactly one years old, rather than, say, 1.x years old for high values of x.
Making WiFi Fast
Ask HN: Why doesn't a Browser Dev-Tools comparison chart exist?
Having exclusively dabbled with Firefox till now, and as a developer just getting started - I felt the need to get a Chromium-based browser to ensure cross-browser compatibility of my project.

To do this, I was faced with the obvious choice -

* Google Chrome

* Brave

* MS Edge

* Opera and

* Vivaldi

To me, it was obvious that all the re-skinned browsers would essentially have the same tools under the hood, but then a friend suggested google actually adds a few bells and whistles to Chrome which would be absent in my other options.

Having spent almost half a day trying to find with a proper comparison chart, I turn to HN for advice.
Changing Stability in U.S. Employment Relationships: A Tale of Two Tails
related, a deepmind-paper i found fascinanting:

https://arxiv.org/pdf/1901.08162v1.pdf
The original iPad. Per Wikipedia, it had full software support for 2 years, 5 months. Which was by far the shortest support lifespan of any iPad.
In the 1980s, when everybody was trying to do AI with some flavor of predicate calculus, he extended that to probabilistic predicate calculus. That helped. But it didn't lead to common sense reasoning. The field is so stuck that few people are even trying.

Working on common sense, defined as predicting what happens next from observations of the current state, is a classic AI problem on which little progress has been made. I used to remark that most of life is avoiding big mistakes in the next 30 seconds. If you can't do that, life will go very badly. Solving that problem is "common sense". It's not an abstraction.

The other classic problem where the field is stuck is robotic manipulation in unstructured situations. McCarthy once thought, in the 1960s, that it was a summer project to do that.
He wanted a robot to assemble a Heathkit TV set kit. No way. (The TV set kit was actually purchased, sat around for years, and finally somebody assembled it and put it in a student lounge at Stanford.) 50 years later, unstructured manipulation still works very badly. Watch the DARPA Humanoid Challenge or the DARPA Manipulation Challenge videos from a few years ago.

Great PhD thesis topics for really good people. High-risk; you'll probably fail. Succeed, even partially, and you have a good career ahead.
The U.S. has swung over to corporatism and is currently aiming towards fascism.

https://www.lexico.com/en/definition/capitalism

https://www.lexico.com/en/definition/corporatism

https://www.lexico.com/en/definition/fascism
For a private office and minimal meetings, I'd probably never interview for another job again.
Dijkstra makes, I think, a stronger argument, particularly given that in languages like C, (-2) % 3 == -2 rather than 1 as it should.
> Why do you advise against veganism?

There's too much propaganda surrounding it, a lot of which is misinformation. People do the diet, end up feeling terrible, then feel bad for "doing it wrong". It's not a sustainable diet on its own, you have to do supplements and then it's not even clear that all these supplements actually work. Vegan diets aren't all alike of course and nutritional deficiency can be symptomless for the longest time.

> Going plant-based was easily one of the more effective ways of becoming healthy for me.

What does "healthy" mean? Some number? Do you actually feel good? Do you have good sleep, good digestion? Do have energy all day or do you "crash and burn" with blood sugar spikes? How's your skin? How's your weight? How's your insulin?

> It lowered my cholesterol levels and I think that it was instrumental in lowering my overall cardiovascular risk.

Perhaps, but the link between cholesterol levels and CV risk isn't as strong as you might think.

On the other hand, insulin resistance is strongly linked to many diseases, and grains/sugar are big factors here - many vegans have too much of that. Plants on the other hand aren't very nutritious and many people have trouble digesting them.

> From people I have met who do keto they usually increase their meat consumption and usually that includes things like bacon and deli meats which the largest casual link to increased cancer

I would advise against eating any processed meat. Keto isn't about meat, it's about switching carbs for fat so you stay in ketosis. Most meat is rather lean, it's easy to get way too much protein in the diet by focusing on the meat.

I'm not doing it anymore because it's quite restrictive, but I did feel good on it, definitely makes the fasting easier too.
In the feed reader section of the article, he mentions an RSS reader, Feediary, which is already dead only months after he wrote about it: https://feediary.com/posts/2019-09-02-goodbye/

Since the demise of Google Reader, I've never found an RSS reader I'm entirely happy with. I hope someone does more to update the concept, perhaps with additional support for the Fediverse to fully use the features of projects like WriteFreely https://writefreely.org/
I wonder if this will curtail the effort to implement TensorFlow in Swift, turtles all the way down?

That would be a shame. Python ecosystem with TensorFlow, PyTorch, mxnet, etc. has been good for rapid progress but I think we need something better to break out of just using deep learning. This needs a hackable infrastructure. I personally don't have the skill to hack the C++ TensorFlow core.

I think a new ecosystem based on Swift, TensorFlow, and future tools and platforms makes some good sense.

An alternative would be a similar hackable infrastructure based around the Julia language, which is also very good.
Wish I had seen that a few (more than a few) months ago before doing the same thing with the same result ahah
I remember you from livejournal's times. It's pretty impressive path from blog to golang. Good luck on your new journeys!
Looks interesting but honestly I had trouble keeping my attention focused enough to read through the intro page.

A little CSS (max-width: 700px; margin: 0 auto;) on the body would go very far.
+1 from me for only using an email address. I was using commento: https://commento.io/ which is quite small and can be imported via one line of java script.

However having comments encourages people to leave low-effort responses like "good article, thanks". Email-only provides a kind of filter for low-effort replies.
> but not a good reason to pollute the global namespace

What does that even mean though? In what way is the global namespace being "polluted"? Adding more TLDs doesn't affect the existing ones. It's not adding scale problems that DNS can't handle. This seems to be a subjective concern; some people don't like that there are more valid TLDs now than there used to be. That's not pollution though.

> Squatting should be made illegal/against terms and actually prosecuted/applied.

Be very careful about asking for increased enforcement. It's a great way for the authorities to abuse their newfound power. Most people involved in this field do not remotely want more of this.

Also, domains are gonna have to cost $100s/year to fund all of this increased enforcement. How do you even define squatting? How do you prosecute it? This isn't remotely workable.

> Registering domains by 100s or even 100'000s you should not get discounts - you should get unaffordable price hikes.

How? TLD registries typically no longer even know the identity of the registrants. This would leave enforcement up to the registrars. How does a registrar solve the problem of people using multiple accounts to register domains? How do you solve the global problem that there are thousands of accredited registrars, and that people could register domains through many different ones? Without massive centralization, this is not a remotely workable solution, and massive centralization would be a "cure" much worse than the disease.

> On ccTLDs maybe people could get a few free domains

Free, or even low cost, domains are guaranteed to lead to abuse. Also, how do you individually allocate free domains to people?
Add (2017) to the title, please.

Previously: https://hn.algolia.com/?q=john+deere
Can’t a deal be done for google to give it to you instead of killing it?
The Woman Shaking Up the Diamond Industry
The concern is real but ultimately it does not matter. Fact of the matter is, arguments like this have been used to justify racism for a long time.

"They are Savage so they need our religion. They are savages so they need to put in the fields to work. They are savages so they don't need education. They are savages so their art should be displayed in our museum not theirs."
When OCR goes wrong: man settles discrimination lawsuit, bank won't cash check
> regardless of my leadership clout - standups are a requirement for our teams

You are not a leader; you are an enforcer.
That industry seems like a dumpster fire. I once saw an assessment that includes a regular firewall scan. Apparently everyone locks down their firewall, triggers the scan, re-opens their firewall.

I guess as long as everyone's getting paid...
> it made me physically ill thinking that people are upset or conflicted about which ship to jump to next to get the highest possible TC.

I really think that this says more about you than about the people who post there. And again, you're using the word upset but nothing in the original post indicates that anyone there is upset - it's just natural for people to look to improve their situation regardless of their current level.
It's not just a fad, the trend is going deeper in that direction -- hotseating for frictionless collaboration!
https://danshumway.com

RSS: https://danshumway.com/rss.xml [0]

Video Content: https://peertube.danshumway.com

I use very similar tech stacks for https://loop-thesis.com and https://distilledjs.com. I should probably get around to setting up a Mastadon instance as well, but I'm not completely sure I want one yet.

----

[0]: I realize that some people would prefer full RSS feeds, but I just haven't had time to add one, and because the site has no tracking or JS requirements it's just not my highest priority right now.
the Wii came after X360, not too early.
Meanwhile, I'm successfully rewriting your code
You are right I've never tried out wav2letter on a large amount of data.

Cool project! I'll try out your models.
GitHub Trending Repo in Dart
>Evernote seems to have a fading presence on the landscape

My understanding is that they're throwing their presence away? Maybe they pivoted to enterprise, I don't know, but for at least a couple years all I've heard about them was people talking about what to use instead.
A disappointingly large number of comments on this article are by people who inexplicably offer weaker arguments than Dijkstra's.
> Its no wonder young people are skeptical of capitalism - it seems to literally be eating the goose. Not even the goose that laid the golden egg - just the goose, in hopes there might be a golden egg inside.

I love this comment.
IIUC, SpotMicro seems to be a project that already has this part sorted out: https://youtube.com/results?search_query=spotmicro
Nah 5% is shit (but also the average). I've been lucky to have been involved in some very profitable restaurants with margins more like 20%...

When you set out to do a business plan, you should be looking at differentiation. Not producing a commodity with slim margins...
The way I understand it is that there is not really an edge. Spacetime itself is expanding, the best analogy I've heard is consider a spherical balloon that is being inflated. We exist as two dimensional beings on that balloon. No matter where you put two dots on that balloon, they will move further apart.

You could also draw a circle on the surface of that balloon which represents the furthest points that we can reach if we traveled at the speed of light. Nothing outside that circle would be observable to us, so it could be argued that it doesn't exist.
BTW this also works:

python3 -c 'print(range(10)[::-1])'
range(9, -1, -1)
But it doesn't preclude the possibility that monkeys are, in general, better
Hah, I had a SATA cable jammed into one of my GPU fans. I cursed Sapphire for building such a poor card that failed out of the box.
This is at the root of my stink with standups - I've been on many teams where each individual is working on some part of the system and has essentially no overlap on a daily or even weekly basis, yet here we are all meeting because cargo cult development practices says we should. So it's irrelevant to me what Jane is working on anymore than it is to her what I'm working on. The naysayers will say that that's the whole point of us meeting, because there might be some esoteric overlap that will only come to light due to our over-communication, but for my money there are other ways to solve that without a lengthy daily meeting.
It’s freemium, which I don’t feel is “completely” free.
> You can simply intercept the communication here and have all the miners on a pool actually mine for your replacement pool, and nobody will ever catch on until its far too late.

Depending on what you consider fat too late, doesn't the pool verify the solutions, and provide OOB statistics, where people would notice over time that they get 0 credits?
Since Ubuntu is Linux, I assumed that it could be changed. But that it comes configured that way by default seems like a poor choice to me.
The Social Media Trap
True. For me, I freed up space by nuking old snapshots, when I ran into this on btrfs.
The Switch's design is a pretty big innovation, and has been wildly successful despite all of the many, many hurdles in both the hardware and software implications of its various modes.
for what it is worth: a few days ago I installed the latest Swift and TensorFlow in Swift on both my little MacBook and my Linux laptop (1070 GPU, i7, fast laptop).

I had to manually set LD_LOAD_PATH on macOS, but then everything worked on macOS and Linux.
Research questionnaire about codebase structures
What are the steps to become a cool vendor first and to be listed in the Magic Quadrant?
I hear you, I did a way too long sting that was 24/7/365 on call, couldn’t fly more than 2 hours away. Super unhealthy over a period of a few years.

I try to remind myself of the reality is you’d likely be way more effective with time off away. Not to be morose, if you went away work would replace you within a week or a month.

What helped for me was learning to take one honest minute per hours, one hour per day, and one day per week. And build from there. Find the things that get you in touch with yourself and make them non negotiable.
This is typically built into a language as “x.unshift(y)”
I've given up with trying to find The One True Note Taking Tool, so have ended up writing my own thing that I tinker with now and again to tune it to exactly what I need.

It's essentially a simple web server that sits on top of a bunch of markdown files.

The frontend renders the markdown using markdown-it and supports KaTeX for simple inline mathy things, along with the extended markdown stuff like tables etc. I've even made it so that you can drag and drop files (including images) into the edit box and it will upload them to the server and render the correct markdown syntax so they can be rendered when you look at the note.

Alongside the files, the data is also stored in a SQLite database file with some metadata, and I'm using the Full Text Search (FTS5) engine to support search which seems to work ok.

If the database gets corrupted it can just be rebuilt, it's really just there to augment the notes. If I stop developing it or want to move on, the notes are there as text files.

It works well enough in a mobile browser, although admittedly a bit rubbish if you need offline access.

Works well enough for me. I might open source it one day but I think I'd need to clean up the code a bit first :)

EDIT: the core of the tool was mostly inspired by this article https://golang.org/doc/articles/wiki/
https://pomb.us/
Most pages take 10+ seconds to load for us and we are using Atlassian's hosting.
I like gatsby.js hosted on netlify. Netlify provides a limited set of backend and lands support.
It is a JAM stack app (JavaScript/APIs/Markup)

It does have graphQL which can get a little tricky, but the constantly rebuilding dev environment and GitHub hook driven deployments make running a site a breeze.
At the end of the day they are both great and they both suck depending on context. I use 0 based when programming and 1 based pretty much everywhere else.

And in both cases I always run into an issue where I think, "This would be so much easier if we just started at [the other index]".
So who you propose runs the auction then, and who keeps the proceeds?

As for everything else you're proposing, I'm not sure I understand how it'd work. How do you "stop ripping off individuals who want to buy one domain"? If .web launches tomorrow and a thousand people want clothing.web, how do you allocate it without holding an auction? If you do a lottery, how do you know that each entrant is a bona fide person and not a ticket box stuffer? I'm not seeing workable solutions being proposed here.

On the domains you were talking about, there was an auction when the TLD launched, and those names just weren't taken during said auction. Plenty of others were.
Noted terribly executed ideas such as wildly successful Dual Screen portables and the dockable/portable current best selling console in the USA.
CBP officers seize $900G in counterfeit bills from Chinese shipping container
Marvel has over 30 original audiobooks
Banning the person would be an even more extreme form of censorship, it is abusive. It is like banning the Palestinians from travel, they have to get a visa to go anywhere because of Israel.
Gold's intrinsic value is obviously nowhere near its value on the market. Bitcoin does have some intrinsic value too as an international payments system, which like gold clearly is not the only driver of the price. Furthermore I don't see how you can compare the rarity of gold versus bitcoins. What makes one "more rare" or "less rare" than the other? Are we comparing grams to bits, or what?

> If a tiny, tiny fraction of holders of bitcoin liquidated to cash, it would be worth close to nothing overnight.

Being opposed to Bitcoin because you think it's too volatile is a totally different argument than "its value isn't defined intrinsically".
Do you have any articles about how to reached down?
I wish there was a method for printing QR codes or URLs on paper that would be the reverse of scanning a QR code. This would make it easy to write complex URLs in your paper diary/techo/commonplace book/notebook.
I have fond memories of RT, but it seems like it has largely been forgotten. It was very simple. One of the best things about it was that it could largely be used via email. The web interface was very fast and efficient compared to JIRA. One major downside: Its search feature was not great, so I would usually search in my mail client.
D has a similar ggplot package: https://code.dlang.org/packages/ggplotd
« Exclusion of the lower bound forces for a subsequence starting at the smallest natural number the lower bound as mentioned into the realm of the unnatural numbers »

There's a parallel argument for being inclusive in the upper bound: it lets you specify a range which is the entire size of your integer type.

I can see that that might seem like a poor trade for losing the ability to represent an empty range starting at zero, but it seems a shame he didn't mention that this is the tradeoff you're making.
> Ruby

And before, Perl:

https://perldoc.perl.org/perlop.html#Range-Operators

I like ranges in Perl.
Show HN: CSS-in-JS (styled) library, just hit it's size in stars. Under 1k
Just think if this level of marketing, lobbying, and energy was channeled into something like a national fiber broadband utility available to everyone.

"But," you may ask, "why would industry groups ever push something like that? Such a thing would cost loads of money and put market dominance at risk!"

And then maybe you start to wonder why they're in such a rush to fight for the subsidies, investment, and contracts for "more wireless, but faster and more G's!"
Show HN: GitHub MermaidJS SVG Diagram Generator
Working at a table with my small team (4-6 people) in a small office was my favorite working environment. Any discussions are likely at least somewhat relevant to everyone. Interruptions are not constant. Quiet environment. Yet still helps enable knowledge transfer among team members.
My eternal frustration in this space is that my employer has strict firewalls, web filtering and data-loss prevention software, and remote access is over Citrix with no copy-paste.
Consequently, if I build a knowledge base, it is stuck inside the firewall.
Equally, if I build it outside, I can't use it at work.
The term you're probably looking for is "video essay."
Surprises Regarding “In-Place” Editing of Files (2011)
> I'm pretty sure Apple isn't making gigantic bank off battery upgrades.

Agreed. Considering that getting an iPhone battery replaced directly by Apple costs about $49-$69 overall (as others have mentioned in the thread already), they almost definitely are not making bank off it.
Indie social VR project adds detailed face tracking with latency under 100 ms