skysight-inc/HackerNews huggingface dataset:
Hey everyone - you know the feeling when you have a great idea for a project or an analysis: you're buzzing, you're excited! But then you realize how hard it is to get the data you need and this just completely stalls all progress.

Well we've been there. We've personally spent countless hours writing scrapers to collect the data we need to make our side projects happen. We know very well how hard this is and how quickly it can dampen momentum for great ideas.

Because of this davidlee1435 and I wanted to create a service where we take on the responsibility of collecting the data for you so you can focus on building the product or doing your analysis. Send us what you need, we'll see if we can help!
Oh fun another style discussion! :-)

My own taste is for a "book style": write the code like you see in good books. I agree with most of this guide, although I'm pretty loose and case-by-case in practice. I've gradually added rubocop to lots of my projects, but then I wind up disabling tons of the rules.

I'm sad all the Ruby guides I've seen ban "and" and "or". I don't find them to be such an issue, and they are nicer to type & read. For one thing you can say `foo or raise "msg"` but need parens to say `foo || raise("msg")`. On team projects I sigh and go along with it, but it is a shame.

Speaking of "book style": I have a bunch of Python books with atrocious style, e.g. no spaces between operators or even between function arguments. How can anyone read that? I even see this from high-quality publishers like O'Reilly. What is going on with the Python world? Are their thumbs tired from all that indentation, so they leave out spaces everywhere else? ;-)

I really want to write a SQL style guide. There seems to be almost no consensus. My own formatting is idiosyncratic and not super principled, but I feel it is the most readable and expresses structure the best. It looks like this:

SELECT a, b
FROM t1
LEFT OUTER JOIN t2
ON t2.t1_id = t1.id
WHERE t2.c = 'foo';

(EDIT: Sorry, t2.c = 'foo' is a pretty dumb thing to do in an outer join. :-)

Other people like to do one or more of these things:

SELECT a
, b
FROM t1
LEFT OUTER JOIN t2 ON t2.t1_id = t1.id
WHERE t2.c = 'foo';

In other words:

- lead with the comma in SELECT.

- ragged left edge but line up all the single spaces in a column.

- indent the joins.

Anyway sorry for the rambling. :-) There is some observation that committees spend 90% of their time on trivial details and hardly discuss any of the important stuff, and style is no exception. But who doesn't like giving their opinion? :-)
> because it's a logical impossibility.

Really? Why don't you share your theorem?

We know that the existence of God can be found logically, because Gödel wrote a formal proof.

> The arrogance is simply astounding.

Indeed, I'm impressed by your self-awareness.
Of course there is. What else would you call a company store in a remote logging camp? When the market is small, a monopoly can be small.
I can't read the article due to a paywall and I'm sure folks will move money around ... but I'm not sure anything else happens.

Companies had no problems paying the price of tech transfer and etc in China, hard to imagine "China light" in Hong Knong would make an impact now.
Also (shameless self-promotion) python-flint! http://fredrikj.net/python-flint/
The issue I have with this interview style is that there’s no data to suggest that this results in selecting for engineers that can do the job best. Furthermore, it tends to leave rather little time for the candidate to ask many questions to the interviewers about things that may matter more such as “what does your code review process look like?” and “how are tests done?” Far too many times I’ve gone through these kinds of interviews and wound up in a horrendous codebase anyway, so fat good hiring for all these people that can do programming puzzles alright in an interview has done for an end result. The better indicator I’ve seen for that is a matter of culture and testing for that is really hard either direction.

I’m pretty happy with how my company does it now. A code sample on a fairly simple problem designed to determine how their pull requests would look as well as how much direction they need. On-site is a series of design discussions with algorithmic questions about data structures to use and the tools / services that make sense. Primarily meant to hire senior engineers rather than juniors, but that’s our objective now.
AppImage runs on Red Hat and on Ubuntu, and it is independent from both, so much more universal. Also, the smallest and the fastest according to the article.
Partially self-inflicted since a normal JS project will redownload the same packages over and over again, hundreds of times throughout their existence.
I walked into my local bank branch last week and couldn't find a withdrawal slip. One of my vendors only accepts cash or check. I haven't used paper checks in years and the ATM only dispenses $20's: I hate carrying a thick stack of bills.

All the slips had been removed from their usual place so I walked up to a teller to explain the situation. He said, "oh, we implemented a new paperless system." And then pulled out a withdrawal slip and filled it out for me.

Me: "soooo, your new paperless system is paperless only for me I guess?"

Him: "yeah, I guess they figured we needed something to keep us busy."

So yeah, I can totally believe that management's perception is completely disconnected from reality.
Debian also has a repository model which allows the packages to be served by a static file server, because the dependency resolution is entirely client-side. Npm doesn't.
This is only true for values calculated at compile time. Once the result is stored in a variable it is converted to a fixed-size representation. All runtime calculations and results are fixed size.
> Saying "I don't know" like this in an interview scenario is nearly impossible for most candidates and only serves to humiliate rather than prove their abilities.

I don't think this is true only in interviews though. I have worked with people who can't seem to admit they don't know something and they're difficult to work with.

It's completely fine if you can't do something. What's not fine is that you fail to communicate it to those around you and create false expectations.

That being the case, I think it's fair to score a candidate negatively if they aren't able to say they don't know something.
When I fly and go through the checklists, I call out the setting and touch the pertinent item ("Fuel Selector - BOTH"), and sometimes even flip it to the other position and back ("Alternate Static Air - [move to on, then back to] OFF").

Benefits:

* makes it more likely that I actually check, rather than just see what I expect to be the case

* co-pilot (or passengers!) can follow and verify what I'm doing

* for rarely used items (such as the alternate static air) it makes sure that I know where it is and don't have to fumble for it,

* I check how it "feels", so I could detect if something feels off (for example, throttle cables have occasionally broken loose from the control knob).

Several aircraft have come down just because crews "followed" the checklist, but didn't actually check.

* "After the aircraft was returned into service, the flight crew overlooked the pressurisation system state on three separate occasions: during the pre-flight procedure, the after-start check, and the after take-off check. During these checks, no one in the flight crew noticed the incorrect setting."

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

* "The flight engineer was found to have failed to open the slat system bleed air valves as required on the pre-flight checklist."

https://en.wikipedia.org/wiki/Lufthansa_Flight_540
> If you want a tolerant society, you need to be intolerant of intolerance.

But what's the limit of this process? The end state will continue to be intolerant of intolerance, because people will continue to think bad things.

All that means is that your "tolerance" has a clearly defined limit.

This comes up all the time. I pointed out the case with war. There's also crime. We respect the rights of others, so we don't steal, except when we fine criminals, we don't imprison, except for the prisons we have, we don't kill, except in self-defense and to execute.

No one ever describes those as "paradoxes" because they're not.

As to why people would describe this particular case as a paradox, I'm going to avoid getting into ideology.
I'm not going to claim that I have a better definition for justice, but aggregate opinion seems like an especially poor one. if the majority ethnic group in some country democratically votes to exterminate some minority group, is it just? I could more easily accept the claim that "justice" doesn't exist than that I would be forced to recognize positively that a genocide was just.
Stuff used to boot off of a floppy disk!
I made a comment on this thread[1] in 2014, and it was closed two days ago. I wondered why... guess this is why!

1: https://github.com/rubocop-hq/ruby-style-guide/issues/273
I was looking at it from the programmer's perspective. Specifically, from the perspective of someone who built something themselves and distributed it.

From what I can tell, the user's freedoms (assuming no changes) are pretty much the same. They can use the software without worry.
We distinguish between the land and the building/structure/asset built on it.

You could potentially own property on the land but not the land itself.
There are a few more open specification Geohash algorithms out there as well.

What's silly about W3W is that their entire "proprietary algorithm" is going to be the same as all of these, except with /usr/share/dict/words instead of A-Z0-9 as the alphabet.

The only reason they need Kubernetes clusters on AWS is to keep their word list secret, every open-spec code can run offline.
Instead of using a whole new package manager, couldn't people just use IPFS through npm?
More people die from wind power than die from nuclear. Solar uses vastly more land area than nuclear, a major problem for an island nation like Japan. The varying power output from sources like solar/wind make them infeasible for a full grid.
Spills happen all the time, and if they are not cleaned up promptly they create a liability for the store. People (old people especially) can be seriously injured or even killed by slipping on spills. That could cost a store millions of dollars in injury or wrongful death damages per incident.
Is IEEE currently the closest thing we have to a trade union?
It seems pretty likely they are going to use it to keep track of stock (the article notes that the manufacturer intends the robot to have this capability).
Memory Options and Tradeoffs: Rambus Fellow Walks Thru Options
> The deal is when you’re interviewing me we’re _not_ co-workers.

Not yet, but the purpose of the interview is to figure out whether we should be. (And I disagree that it is one sided; this whole topic is about an interviewee's evaluation of the process.)
I once told an interview I didn't know something and they told me that I should never say I don't know something and just try to make something up.

I don't really agree with him and just kept doing it though and things seems to be fine.. If anything I would say that interview was successful for both parties because we probably wouldn't get along and that is totally fine.
I remember being shocked after reading in the MS lawsuit that IE cost 100 million dollars to develop in like the 90s. What!?

I wonder how much Google has spent on Chrome..
I teach Physics and Math. As a student, I enjoyed the freedom to consult textbooks, learn about new computation methods and be able to use them later when needed without worrying about potential restrictions. And I want my students to enjoy the same freedom. In my first projects, I used the GPL license but have moved since to almost always using the MIT License or, sometimes and when appropriate, CC-0.

When I find some interesting looking project on github or elsewhere, I am always tempted to look at the code. However, if I notice that the code is licensed under GPL, I refrain to do so as I do not want to have to worry about finding some "cool trick" but not being able to use it later in my own code without fear of violating the license.

I do get why some people swear by the GPL license, and I respect their choice and commitment to what they see as the greater good. However, I see it as a barrier to those that simply desire to learn.
Either de-platforming "works" because it delays sectarian conflict

Suppression doesn't work. It just reveals that the bosses who have control have you out-grouped if you're not one of their "faithful."

delegitimizes discourse altogether and just accelerates it.

One can think of Free Speech in this way: The whole purpose of Free Speech is to enshrine discourse. If there is Free Speech, then we can always fall back on discourse and talk it out. This is why, "Free Speech doesn't mean freedom from consequences" is bankrupt. "Free Speech doesn't mean freedom from consequences," is just another way of saying, "Don't say that, or we will use force on you."

It's a disappointment to see nonsense like "milkshaking" and "Punch a Nazi." These are just dress rehearsals to more serious political violence. These are signs of people being radicalized to the point, where they are going to abandon discourse and resort to violent conflict.

I remember when teachers used to talk about how the democratic societies and the USA were better than places like the USSR: Instead of using force against dissidents, we had Free Speech. Now, society's conception of civics is devolving into, "There is a right way to think, and if you don't agree, we'll force you to!"
> I don't know about bank cards, but for the other two, here in the USA we've only recently started the wider adoption of "chip and pin". In the case of my credit card, I have it tied to my phone in such a way that (supposedly) my bank (or Visa?) checks that when I use my card, my phone is also nearby - if not, it flags for fraudulent usage. It doesn't require a pin (but most places read the chip); while my debit card does use the chip and pin (if I use it, which is rare for me nowadays).

Doesn't this mean your card issuer has 24/7 access to your cell location? That's extremely invasive.
Granted I specifically avoid shopping on weekends but I go to two grocery stores of a chain known for being value priced in a city known for being the opposite of upscale. I can't remember the last time I saw a spill or something on the floor that was actually worth avoiding, a green bean someone dropped, sure but nothing worthy of being called a "spill".
I played with the idea of "complex booleans", but it didn't work very well. The idea was, just as in a complex number you have a + i b, let a "boolean" be a + i b, where a and be are either true or false.

But the problem is, if you set true = 1 and false = 0, and then use multiplication for "and", then (true + i true) and (true + i true) = (1 + i) * (1 + i) = (1 + i + i - 1) = (0 + 2 i), which is not a valid answer. So this "logic" didn't have as many nice algebraic properties as boolean logic.
Presumably, if you really want short names, a local hosts like config with aliased names would do the job just fine. This has the added benefit that everyone can have their own aliases.
Haha, I usually say "I don't know" right away, I feel like I'd short circuit this test.
I just use a local credit union but it hasn't occurred to me to even bother filling out a withdrawal slip for a long long time.
"the whole point is to convince people to buy your product/service where, left alone, they wouldn't. " - your implication is cynical. Some of the time the reason you wouldn't is that you're ignorant of a better way. Certainly you don't want a better mousetrap if you don't know they exist. In that context, advertising and sales is just a way of getting the word out that something better is available.
"In a way, I feel like I should be a big enough person to be okay with this, but I'm not."

One of the distinctions I like to draw strongly is between "nice" and "good". They are not the same, and at times, are actively at odds with each other.

It is certainly nice to give away your software to everybody, unconditionally, and not be bothered if your code does happen to end up being a fundamental component of some multi-billion-dollar company that gives you nothing.

But I'm less convinced that's necessarily good. In a world where you must live under the assumption there are bad actors, I think it's OK to put into your license that they can't necessarily do that. It is good to prevent the exploitation of anybody, and that goodness extends to preventing the exploitation of yourself, even if you also clearly have direct personal interests of your own.

I don't think "being comfortable with being exploited" is a component of "being a big person".

On the other hand, we often bring to mind mental examples of software where we slaved away for years and years to bring some unique new product to the world, only for it to be stolen by the big bad corporation for no compensation. My verbiage above about "exploitation" probably brought that to the reader's mind as the topic of discussion. If that happens, yeah, it's bad. On the other hand, that's not really the dominant case for software. There's a lot of open source put out there that's just a few day's work, which is still plenty valuable at scale, but if someone took one of these little things and incorporated it into their product, it's not really that big a deal.

I have several such small little things and they're all BSD. If a big corporation did somehow walk off with one of them, I'd legitimately be flattered, because I know that while it may have saved them a bit of time, it certainly isn't a core component of their product and had they needed to implement something themselves it would have been a trivial fraction of their time. I know I can say I'd be flattered because to some small extent, this really has happened, and I really was flattered and appreciative, so I'm not just hypothesizing about my future emotional states. I'm well aware on all levels that my ~two weeks total effort on the project in question, which I mostly did for my own purposes and for which the open source effort was essentially a bonus, doesn't entitle me to significant compensation for a product whose size is measured in person-decades.
That's not really being against enforcement. It's having a tactical argument that sueing is not the best way to get enforcement. Given that they did lose the lawsuit, a big part of the Linus/GregKH argument seems vindicated.
I would wager it's a combination of factors:

1. In general, the north american diet is disgraceful.

2. Consumerism and brainwashing people into believing that they can only be happy when they achieve X, Y or Z, does nothing for people's emotional emptiness.

3. The constant barrage of shit news, most of which is largely irrelevant to most of our lives, most of the time.

4. The constant threat of automation and off-shoring meaning that people never feel secure about their income stream unless they specifically work in an industry where their ability to generate their income stream is unrelated to these constant threats.

5. Inflation of living costs escalating at a rate beyond inflation of income.

6. The polarization making people feel isolated from one another instead of connected. Nobody can talk about anything any more without fear of offending someone, being politically incorrect, being ostracized or vilified.

7. The reported growing financial disparity where the 2% have 98% of the wealth while the 98% share the other 2% and the constant message that it's only going to get harder to be able to cross that chasm.

8. Corporations subverting politics for their own profits instead of the good of the people.

The list goes on ad nauseum.

I firmly believe if the world stops behaving like assholes, learns to eat properly and talks to one another to a level that find connection instead of a divide. The depression is just going to get worse and worse until suicide becomes an epidemic.
Toxicwap Free Movie Download – Toxicwap.com
I dunno. In some aisles at Walmart, they make it really obvious that you're being recorded. The camera detects you and a ring of lights around it turns on. Greater theft deterrent, I guess.
Because I don't want to have to install the massive nodejs runtime just to glue things together.
Haskell has shell hash-bang scripting capabilities just like Python and Ruby do. See

https://stackoverflow.com/questions/8676331/how-to-run-a-has...
I guess an alternative is _always_ using e notation but don't bother moving the decimal, i.e effectively the same as the encoding but in base 10. That would be both simple and have small maximum string length.

Users probably wouldn't like it thought :P damn users.
Eliminating short names as a value hopefully will encourage more semantic names instead of cute words that are entirely non-descriptive.
> People should chose a software license the way they choose a screwdriver, not the way they chose a religion.

But your claim of what people should do is itself an ideological argument. Software creators have just as much right to choose their licenses for principled reasons as utilitarian ones. Heck, they could pick a license based on the number of contractions in the license text if they wanted. It's their software and their right to determine which reasons they care about most.
Walmart already does this in certain isles to deter theft
I'm sure you understand this already, but corporations can repackage and sell GPL code.

The main thing you're granting in choosing a permissive license is the right to deny others the right to enjoy future improvements to the code.

This is why in practice permissively licensed code is more successful in industry. Industries like to exercise the right to make proprietary improvements to open source code.
While they're monitoring spills for now, these robots are also designed for inventory. That's why they're as tall as the aisles.
It's mentioned in the article

Direct link to the company behind it:

https://www.badger-technologies.com/

It seems like the primary focus of this device is inventory + planogram management. That it can also scan for spills + messes seems like an afterthought.
In Seattle the police have stopped arresting for public defecation, as the city won't prosecute it anymore, as they don't wish to give the homeless a criminal record. The police don't arrest for using drugs in public, as the city won't prosecute if it's a small amount. The police won't arrest for minor trespassing, they'll just ask them to move along, as the city has stopped prosecuting homeless for small indiscretions, and just release them the same day. I recently had a homeless person trespassing near my home, using drugs openly, and the real tough part of this was he was manically cackling and yelling late at night, so that we couldn't sleep. We called the police, and they just told him to go do it somewhere else.

It's effectively legal to trespass, scream, and use drugs openly in Seattle.

Now, in addition to the above, if someone has illicit narcotics, the police won't arrest them.

This has become a situation where our police, who want to do their job, are being effectively restricted.
The list of designed obsolescences on the part of weapons manufacturers and war profiteers is too long to bear.

Every single weapon can be turned on its maker, somehow. Else, its not an effective weapon.
IIRC, Magnesium Oxide can be useful because it's poorly absorbed, making it a better osmotic laxative than chelated forms / free magnesium. I agree it shouldn't be advertised as benefiting anything other than that though.

Chelated magnesium is definitely better, I've also felt benefits from free magnesium (you can buy drink mixes w/ MgCO3 + Citric acid that fizz off CO2 when mixed).