skysight-inc/HackerNews huggingface dataset:
Haven't there been many innovators and scientists who come from the most unlikely walks of life, and die penniless? Did Einstein, for instance, not have to divide his time between work at the patent office and groundbreaking research?
That's not really true about natural sciences, there isn't a lot of confusion about causation in chemistry for example.
If I swapped statements in most languages the result would also be incorrect. So why are you making a big deal as if order doesn't matter?
IANAD but I know the fallopian tube doesn't connect to the ovaries but instead opens into the abdomen. An already ectopic embryo could continue up the tube until it exits into the abdomen. That sounds crazy which is probably why it's so rare.
Also, during ovulation, a fringe called the fimbra is deployed to essentially sweep the egg into the tube.
Not to speak for or against Marx's law of value,

>The fact that labor theory of value is nonsense is easily established by observing "value" created by someone digging a hole and filling it in - any number of times, so as to put in arbitrarily large amount of labor

Is rubbish. In fact, if you read less than the first chapter of Capital Vol. 1, Marx specifically rebuts this argument on the third page, in which he restricts himself to 'socially useful' labour performed at the rate necessary to complete it. Not even anti-Marxists use this argument any more because it simply doesn't hold for Marx's theory, nor even Smith and Ricardo's. Mises himself doesn't use this argument.
Diablo: Immortal is coming to mobile
CAN CRYPTOCURRENCY HELP SAVE THE WORLD?

I have an idea. What about a cryptocurrency that is generated by proving you planted a tree, or other type of carbon sink? Maybe some viral MLM scheme?

I originally wanted to make a cryptocurrency that encourages good, a “pay it forward” cryptocurrency. But I have come to realize that ultimately the priority is undoing the pollution and deforestation and desertification.

If we can harness the power of viral mechanics and of greed but make a system that rewards only REDUCING the CO2 and other pollution, then this system would actually make a very significant impact motivating large groups of people, including those organized into corporations and other organizations, to take action.

Maybe put carbon credits on a blockchain, for a start. But I would want reforestation, curbing other types of pollution, etc. to generate currency too.

https://u.today/ibm-launches-carbon-credit-cryptocurrency-on...

We have markets for crypto to trade vs fiat. The problem is, who will really prove that you did the good, and why can’t they just collude to issue more money? They would need something bigger to lose...

If you have some desire to do this, please contact me at greg and the domain is qbix.com
I have thought about this issue deeply and my answer is religious as I am a religious person.

I have found that feelings of needing to be successful (and dissatisfaction) often follow reading about the rich and famous. It goes like this...I lay in bed on a Saturday morning reading about other’s success on my phone then minutes later wonder what I am doing with my life. The connection now seems obvious.

I’ve concluded for me success is not about pursuing wealth but obeying Jesus’s teachings.

My advice to you is enjoy the fact you are currently rich. Find a better philosophy to build your life on or you will become richer but not necessarily any happier.
> It's not like you stumble over UB in your daily work in C/C++...

I don't know. I often help colleagues out with things like preprocessor nonsense and violations of the One Definition Rule.

A lot of it has to do with difficult build and packaging tools. Actually standardizing a module system will be an important step in the right direction.
A happy disposition and consistently shipping, no matter if the project is small or large. Technical competence and developer due diligence is implied.
That explanation sounds good but I couldn't find much on the doctor=doctrine link. This says the word comes from medieval Latin "docere" which simply means to teach. Doctrine shares the same root word as doctor, but that root word is simply the notion of teaching and doesn't have inherently religious overtones.

https://www.etymonline.com/word/Doctor
> This is why if you're currently writing C or C++, please, please look into Rust.

But please, please also look into its platform support table[1], too. If you're the slightest bit opposed to the Windows/macOS/Linux hegemony, you may want to reconsider Rust.

[1] https://forge.rust-lang.org/platform-support.html
I don't really understand what the difference between "stock" and STO is? Other than Hype.
Never take an MBA unless your employer is paying for your night classes.
Several people here say "this doesn't scale" but I'd be curious to find out:

- The 'scale' at which they think a framework like this doesn't work (number of users, devs etc).

- The scale of the projects they work on.

Who even says a framework needs to be adopted by tech giants or work at 'scale' to have any credibility?

A utility-based approach has been adopted at the last 2 companies I've worked for and it's been very effective, often when working with very complex designs on medium-sized sites (that serve less than 100k users/month).

Some of my previous colleagues and I work on https://github.com/friendsthatcode/flavourcss, which was inspired but some of the ideas behind Tailwind and our own work.
> The premise of languages like C and C++ is that the airgap between the language's abstract execution and memory model and the hardware's is thin to non-existent.

Which is not really the case for processors from the last 20+ years.

> In this case, the UB is due to the compiler's ability to reorder statements. This is such a fundamental optimization that I can't imagine you're really suggesting that a language without this optimization capability is a "problem." Rearranging instructions is critical for pretty much any superscalar processor (which all the major ones are), and I hate to imagine the hell I'd be in if I had to figure out the optimal load/store ordering myself.

UB is not necessary for that though. E.g. define that integer division by zero leads to the process receiving a terminal signal. That could be implemented just as efficiently (trapping on division by zero free at the hardware level in modern processors, the C standard gives broad freedom for signals to be received asynchronously so instructions could still be reordered), but would close the door to silent memory corruption and arbitrary code execution: unless the programmer has explicitly defined how the signal is handled, their program is noisily terminated.
The same mechanism that ensures that the local coffee shop isn’t charging so much that the owner has a second house in Bermuda — if you raise prices that much you won’t be competitive.

Obviously in an particular case, who knows? But in general I think the expectation is that the market will decide.
Dr. Link Check
Fascinating, especially on the heels of the Herpes-Alzheimer connection discussed the other day. https://news.ycombinator.com/item?id=18265115
Cemeteries are landfills, and can contain all sorts of pollutants
If it works, the climate will stop changing? "When I use a word," Humpty Dumpty said in rather a scornful one, "it means just what I choose it to mean -- neither more nor less."
Show HN: Automating My Apartment Door Buzzer
The city is empowered to make the change. The court are empowered to overturn it as an unconditional restrictions on our liberty. Specificially the fourth amendment
The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things .
Alice: Hey Bob, want to try my nifty new function?

Bob: Sure, Alice, what does it do?

Alice: It takes an object and it returns an object.

Bob: But what does it actually do?

Alice: I told you. It takes an object and it returns an object.

Bob: But what does it do with the object? What's it for? Why should I use it?

Alice: Hey, I just gave you the full documentation for my function. You have everything you need. Now go use it.

Bob: Um, no thanks. I like to know more about what I'm getting myself in to.
1. backup
2. encrypt disk
3. 2fa everywhere
2. anticipate to lose your computer at any time.
So, what happens when you have multiple Hari Seldons, each with a different set of ideas?
Some [0] have claimed that the Pythagoreans didn't consider 1 and 2 to be numbers, proper. This helps explain why.

[0] http://www.math.tamu.edu/~dallen/history/pythag/pythag.html
> The investment you have to make to really master the language is huge

What's the payoff?
> Have you published any prolog code that demonstrates this? What domains are you working in?

Yes, and functional language interpreter, specifically Joy[1]. I implemented a Joy interpreter in Python[2] and had just implemented type inference[3] and begun working towards a compiler when a paper went by here on HN about using Prolog to write compilers[4].

That initiated what I'm calling a "conversion experience" where I dug into Prolog and had the aforementioned epiphany.

The crux came when, after reimplementing the Joy interpreter in just four lines of Prolog, I reimplemented the type inferencer and discovered that it was identical to the interpreter. [5]

Two pages of Prolog code replaced about ten pages of Python code, and the resulting interpreter is more powerful and flexible than the previous implementation.

> Programming is so diverse that I’m skeptical it applies to everyone, at least without further justification.

There are a few non-Prolog-shaped domains, I'll grant you, but they are rare. I coined a new personal rule to the effect of "Use Prolog unless you absolutely can't." YMMV

[1] https://en.wikipedia.org/wiki/Joy_(programming_language) http://www.kevinalbrecht.com/code/joy-mirror/joy.html

[2] http://joypy.osdn.io/

[3] http://joypy.osdn.io/notebooks/Types.html

[4] "Logic Programming and Compiler Writing" Warren 1980
https://www.researchgate.net/publication/220280364_Logic_Pro...
https://news.ycombinator.com/item?id=17674859

[5] https://osdn.net/projects/joypy/scm/hg/Joypy/blobs/tip/thun/... This is the published prolog code you asked for, compare to the Python implementation. https://osdn.net/projects/joypy/scm/hg/Joypy/tree/tip/joy/
Must it be guesswork? Most of us have devices (computers and mobile phones) that could very easily be used to register demand for various products and to show what's available. In what way precisely does Walmart work to understand what people want which a planned economy could not possibly?
Ask HN: What's the best document parsing tool/SDK that you've heard of?
I am looking to parse various documents (docx,ppt,pdf,pst etc), extract metadata, text etc for search. I'm looking into Apache Tika - but my gut tells me a native windows tool may be better long term. Can anyone refer to tools/SDK they've used or heard to be successful ?
The 1% has always had a different track to get their children into the best schools and careers. College admissions are tougher now because there are more people going to college but there aren't any new top universities.
An old lisper would have used '(Hello World) over "Hello World".
We are dealing with symbols mostly, not strings.
To add to this, in the US the Fair Labor Standards Act governs topics like minimum wage and overtime, and it provides a number of exemption criteria [1] for managerial, professional, creative, and computer employees. Most employers take advantage of these exemptions for qualifying jobs, and classify these jobs as 'exempt' from FLSA rules about wages and overtime. Therefore, most US professionals, managers, and computer programmers are not paid according to hours worked [2], but given a fixed salary, and their job description avoids mentioning an expectation about hours worked.

[1] https://www.dol.gov/whd/overtime/fs17a_overview.htm [2] https://www.monster.com/career-advice/article/whats-the-diff...
We obviously don't share the same world view because "I don't know" isn't an option.
The only realistically feasible free mobile OS is Android actually. AOSP to be exact, with no Google Play Services.
How to Change the Price on EBay
Is this a regional thing? I've had interviewers inquire perplexedly from across the table as to why in the world someone with a mathematics degree was seeking a software development job.

Do employers in some parts really salivate over green math/phys grads with not so much as a github profile? Or do these anecdata leave off some key arc to the story where the grad does something substantial to bridge the gap between said major and software dev?
30 spies dead after Iran cracked CIA comms network
I'll just drop a link to Susskind's "Theoretical Minimum" course:

https://theoreticalminimum.com/courses
Not to excuse the brutalities of the Stalinist regime, but isn't our own economic growth built today on almost intolerable conditions in sweatshops, child labour and qualitatively bad ways of living life in various parts of the world and even closer to home?
Too fine a pun to let pass without remark.
Are the reverse 'for' loops quicker?
> Automation was always going to be involved sooner or later. This would just increase the rate of adoption.

The rate of adoption is actually something that matters. If you automate too early you lose money as a business.
Also, the minimum wage not only changes the rate of automation but also the things that are automated; namely work that was previously performed by low skilled workers.

> And as for work worth less than minimum, then yeah maybe it's not worth doing by a human anyway.

What a great insight. Tell the people without jobs that it's not worth for them to work at $14,99 and instead to rely on government handouts for the rest of their lives. For many people an entry level job at low pay was how they started their career.
I have lost count of the number of times I have checked out a large Java application which hits the 256 character MAX_PATH limit on Windows. Is a huge pain in the ass as checkout from git or whatever usually works fine but when you try and access the 40 deep folder tree Explorer will error on you.
Reddit’s new comment sorting system (2009)
Yeah, I usually submit about 10-15 corrections to Gutenberg per book I proof; generally they’re in good shape. The bigger problem with Gutenberg is that older books omit all accents, which is a huge problem for who series of books. I’ve been trying to produce Maurice Leblanc’s series of Arsène Lupin stories for Standard Ebooks and Gutenberg generally spells the titular protagonist’s name wrong.
This is not strictly true.

That’s like saying that in the US where factory farms are the norm, a new game causing people to buy as much veal as they can and throw it in the garbage has absolutely no responsibility for how many calves are raised in terrible conditions, because they COULD have been raised in good conditions, regardless of how many there are.

The fact is that human production capacity for energy is finite. The more pressure you put on this production capacity, the more it will cause companies to pop up and produce more energy. AS LONG AS the proportion of FOSSIL FUEL sources among these new companies will be high, you are indirectly contributing, via induced demand, towards more CO2 pollution. Yes if the world had moved to 99% sustainable energy then Bitcoin and Ethereum would not be contributing to the CO2 pollution problem in a meaningful way. But the current disitribution of energy production is relevant in assigning responsibility.

Just as if we all moved to fake lab grown veal, then maybe the game of throwing veal in the trash would not be harming animals in any meaningful way.
Previous discussions:

https://news.ycombinator.com/item?id=12691963

https://news.ycombinator.com/item?id=13684303
Sure! DCG (Definite Clause Grammar)[1] are similar to the OMeta PEG parsers[2] but more powerful and flexible.

Constraint logic programming, e.g. CLP(FD)[3] makes many kinds of problem easy to solve. I wrote what I call the "Boring Sudoku Solver"[4] It's so simple it's dull. It'll solve, validate, and generate Sudoku puzzles.

Interestingly, both of these are considered somewhat newfangled in the Prolog community (despite being ancient by, say, JS standards.)

[1] https://en.wikipedia.org/wiki/Definite_clause_grammar
http://www.amzi.com/manuals/amzi/pro/ref_dcg.htm
https://www.metalevel.at/prolog/dcg
http://www.pathwayslms.com/swipltuts/dcg/

[2] http://www.vpri.org/pdf/tr2007003_ometa.pdf

[3] https://en.wikipedia.org/wiki/Constraint_logic_programming http://pathwayslms.com/swipltuts/clpfd/clpfd.html https://www.metalevel.at/prolog/clpfd http://www.swi-prolog.org/man/clpfd.html

[4] https://swish.swi-prolog.org/p/Boring%20Sudoku.swinb
I want to believe that the secret purpose of Wesleyan-Methodist Magazine was to set up the reading machines of a future civilization for this pun.
What do you mean by "others can't"?
How circular is the circular economy?
It's about good interviewing and bad interviewing. I dream of a day when the skills tested are close to those needed for a role and a willingness to parrot "Leadership Principles" is seen as a red flag rather than a badge of merit.
You could get dedicated dialup lines with static IP's. Also, real hard core users, of which I knew several, had dedicated ISDN and 56k lines for much of the 90's. There were also people who self hosted off their university residential network. This was very, very common.
> I dont use @staticmethod, or find it useful. If I want a function, I use a function.

In principle, it makes sense to "bundle" functions that are strictly related to a class within the class itself (i.e. as static methods). Of course, the benefits viz. top-level functions are only noticeable if your codebase is big enough.
I think they want stories of overcoming adversity and how the leadership principles apply there. "Well let's see I was about to be stabbed and a good samaritan jumped in and helped me escape from the thugs. Let's see what's the don't get stabbed principle..."
I find it kind of ironic to see the WSJ essentially publish an ad for Facebook disguised as an article. Still, it is probably true to some extent.

Is Facebook just a fancy machine for auctioning off the electorate to the highest bidder? Should we think of as the means of modern slavery?
What exactly are you saying? Rust can be built with zero os/kernel dependencies at all. Case in point, people have written entire operating systems on bare metal in rust.
I mean people who claim full stack really aren't. It's a misnomer.
You can install Bromite (un-googled Chromium) WebView from f-droid repository https://www.bromite.org/fdroid
It cost a lot to set up a support group and they used to be limited to things that were fairly common (ie alcohol), because they had to be geograhically isolated.

When the cost curve shifted because the price of communication crashed as people got on the internet, and the internet then become everywhere and cheaper, the demand curve shifted in response: with the price to setup a support group now is limited to a few hours and a facebook connection, basic supply and demand would say that we should get many more, which is exactly what we got.

In consequence we also get support groups for minor issues, or support groups for issues that are not so common.

I consider both a good thing.

Unfortunately we also got support groups for bad things: pro-ana (and thinspo), and debatable things (suicide pacts).
Could you elaborate on that? It made sense to me, putting aside that it shouldn't in my ideal world.
We have a strange double standard in the West. We want our own companies to respect workers, the environment and all that good stuff. And then we undercut them by buying from countries that don’t give a stuff about any of that, because it’s cheap... because they don’t incur the costs of responsibility for workers or for the environment...
There's another alternative you might not have considered. Passive income. Write simple scripts and sell them on a marketplace like CodeCanyon, twitter clone, youtube clone etc the quality is so bad there (even 'quality checked' ones) you'll quickly get to the top.
The two programs ought to be formally equivalent, in the ideal Prolog model. Usually when you swap two lines in a programming language, the change in semantics is transparent: you've changed the order of operations. But here the change in semantics is implicit. You have to know details about the search algorithm being run under the hood and where those details diverge from the ideal Prolog model. In other words, it's a leaky abstraction over a complex and unreliable machine.
Was it the employee or the employer who reduced the employee’s hours? I interpreted it as the latter.
Exactly, you'd expect a site such as linked in would be better in this regard. It seems they harvest your contacts and send emails on your behalf nagging everyone you know to join linkedin. An absolute disgrace.
All OSs have silly legacy-based limitations. The problems caused by this compatibility feature were just never frequent enough to warrant attention. Nowadays Microsoft has less give-a-damn for user suffering than ever before, so I suspect that this bug will be in Windows right up until Microsoft finally stops pretending to care about the Desktop and abandons it.
I thought this was a good comment on that page:

> Before we get too excited: it could be an epiphenomenon. For example, misfolded Alpha Synuclein leads to poor gut motility and that causes appendicitis, which leads to appendectomy. All retrospective studies are contaminated by that possibility, which is why treatments can’t be based on them. However, retrospective studies lead to hypotheses that can be tested in trials. Perhaps not doing appendectomies in people without appendicitis because they are “at risk” for PD–thats a bit extreme.
The Kindle version of "A Game Of Thrones" (first book in the series) has "Dome" everywhere instead of "Dorne" (the name of the kingdom in the south). Apparently it was OCR'ed from the printed book.
He looks sort of overweight and unhealthy. That surprised me.