skysight-inc/HackerNews huggingface dataset:
Shunting-yard has an incredible validation problem. It works until you hit errors in the expression, and you need to output meaningful error messages. Even LL(1) reacts more gracefully to errors. I think that this is the main reason why Dijkstra's shunting-yard is not used in any serious scripting engine or compiler.
Recruiter talked me into doing web scraping for their new data division over linkedin.

I've just got laid off from a very big company where I did web-crawling and general data management/delivery and I wanted out from this particular niche, but got a decent remote offer with laid back work hours.
At first I thought I'll regroup my mind for a more serious job but I kinda fancy low work load and a small team.
The unintended mistakes in speaking/writing in another language is like a fingerprint of what country you originate from. I used to play a lot on old roleplaying servers and started noticing things that certain nationalities do with words. I'm from Sweden and could pick out germans pretty consistently.

Germany has a funny kids program that plays a sample in german and a foreign language while showing videoclips. You are supposed to guess what language it is. Pretty fun to get a feel for the sound-picture of a language :-)
Are you sure the author/producer of that song was a native english speaker?

> Today, Karl "Max" Martin [Sandberg] (https://en.wikipedia.org/wiki/Max_Martin) is only the tip of the iceberg when it comes to Swedish producers. The likes of Klas Åhlund (Kylie Minogue, Robyn, Madonna), Shellback (Usher, One Direction, Taylor Swift, Icona Pop) and Martin Terefe (Westlife, James Blunt, KT Tunstall) have regularly produced international chart-topping hits in the last few years. Swedes have also recently conquered the world of J-pop and K-pop.

The Swedish Pop Machine is a very very real thing.
Fast Multiplication with Slow Additions
Trust me, you haven't seen anything at all.
Android is a lot closer to being open source then the Apple IP system. Also, Google just lost that one with the European Union.
> Aggressive stupidity is the way forward.

Probably the most concise and accurate summary of the situation I've read. (Particularly as someone in the UK who's doesn't want to leave!)
Normally, in science, reproducibility is an important qualifier. If an experiment cannot be reproduced its significance to science is low. https://en.wikipedia.org/wiki/Reproducibility

People can come up with all kinds of personal reasons to qualify or disqualify an experiment that can never be reproduced, but these reasons are often not scientific and not related to the merits of the experiment.
perldoc begins with examples by convention. No need to /EXA

See e.g. https://metacpan.org/pod/release/PHRED/Archive-Zip-1.62/lib/...
You probably shouldn't. I'm in a similar situation and although back home there are all these fancy cafes, relaxed and familiar environments and great people, the significant differences become apparent only in crisis.

When it comes to police, ambulance or just having safe food, safe streets and competent government, there's a sea of difference, although it's easy for me to sit at a Hard Rock Cafe back home and think that this place is amazing.

The situation in Kerala right now illustrates this well.
The study you are citing is about "interventions aimed at reducing sitting time at work".

It is not about the health benefits of reducing time spent sitting, but about the effectiveness of methods of reducing the time spent sitting.

So the study you cited does not support your assertion about health effects:

> There is a Cochrane review [1] on the health effects of reducing time spent sitting at work

If you have studies that does invalidate the health benefits of standing vs sitting I am very interested to read them and find out more.
The EU and US massively restricting / taxing Chinese solar has its upsides. This might be quite the leapfrog and actually getting solar into countries with lots of sun is quite a meta-efficieny effect. I wonder though how a country like Vietnam can get it's grid in order to cope with a lot more natural energy.
First, there are plenty of example where other animals do grasp these concepts very well.

Second, as I have shown earlier humans already do "prosecute" animals for such behaviour. So why would argue that "absurd hubris" should be applied in these cases?

Third, my point was not to start "prosecuting" other animals, but that humans do not follow their own standards.
It wouldn't be a specific title or a company, but a certain type.

Workplaces should be a brotherhood of pain. Where people unite for a common cause, that matters more than their families, their salaries, their own individual lives. Very few companies are this, especially larger ones.

There shouldn't be any team-building exercises - the activity of uniting a team towards a common cause should be team-building enough. People of different personalities may mix, but put their differences aside for the cause.

Everyone contributes what they can, and takes what they need. Those who have contributed more are respected more.

Hierarchy wouldn't matter. No talk of seniority. Organization charts are still important, as distribution of responsibilities. But someone at the bottom of the chart, or in another department should be able to casually talk to someone else at the side of the chart.

There isn't some big shot manager out there who does nothing but has that position due to seniority. There isn't this notion of passing around blame. KPIs may or may not be there, but they are properly engineered. People sincerely care for others, let them take care of their well-being. It's recognized that some people simply cannot contribute as much because they're fighting their own battles outside work. Things like sick leave and vacation leave are not rigid.
The insidious bit about patents licensed to device makers or big content generators is the consumer never sees a bill. The devices or professionally produced content cost more to cover the fee, but the users never see it. There never is a choice to pay or choose an alternative. How would they know to care?
5 Biggest Things to Consider Before Your Makeup Trial
We have research publishing requirements in academia these days, which puts quantity over quality of research. I think we should swap those with required replication studies of published results.
Spotify should work in a browser, and they follow your every move [1]. HERE Maps is a proprietary alternative to Google Maps (you won't need Google then though). OSMAnd might work great for you.

[1] https://news.ycombinator.com/item?id=17681289
Further, why not just use vim templates as the way to create the base man boilerplate and just customize. So issue 'vi mygrep.man' and quickly edit.
ECDSA vs. RSA
I stumbled about that part of the article as well, and wonder about it.

"rarely making mistakes" is not enough, though. You can learn English as a second language and be better in the GRE than most others, including native speakers. But:

- Can you sing a few common lullabies? Or cite children's rhymes?

- Do you know the name of Mickey Mouse's dog? (There's the apocryphal story about how this was used as a shibboleth to out Russian spies that had infiltrated the US). Talking of shibboleths, think about how the American spy in "Inglourious Basterds" was outed (and shot) because he signalled "3" by hand in the wrong convention.

- There are probably many more things, like names for household items ("Scheuermittel" = "abrasive detergent") or trees, that you don't know.

It would be interesting to find research on this: Distinguishing native speakers from (excellent) non-native speakers.

I'm inclined to agree with the author's point that you only ever speak one language, if you just take "speak" to be sufficiently comprehensive.
I was searching for pictures of the scientists and found this medium series that has them, in case anyone else is thinking about using them as inspirational pictures for their office:

https://medium.com/thecodex/martyrs-for-botany-part-2-48bce2...
What tooling is absent?
International (Human Powered) Submarine Races
You can do that!
Check out the section below the button.
Interestingly the cash price is around $1800/30 day supply. Absolute insanity.
i think use python3 multiprocess and async is better for product.
Portugal and Spain signed a similar agreement.
Fakernews: Builds a Markov chain using HN post titles and generates fake posts
Whereas I thought it was like the blackjack metaphor you might use at a bar for “give me another drink”—the singer wants another “hit” of her ex-lover, as if they were a drug, because her loneliness is “killing her” like withdrawal. In fact I thought it was a thinly veiled song about drugs, framed as about love.
Clojure is Lisp. In any case it's not just having one or two features from Lisp, every language has that, it's about the combination of those features.
>> In my view, understanding the flow of money in the health care system will be impossible until the system is wholly owned by the government.

To judge the correctness of your statement, just look at what has happened to other industries that the US Federal Government controls: costs rise, service times increase, quality suffers, accountability disappears, etc.
Those are all valid points, but not relevant to infix vs prefix notation.

I don't know about C#, but parsing C++ is complex because you need a symbol table to do it.

D doesn't need a symbol table to parse, but it does require arbitrary lookahead. It still isn't hard to parse, and the parser fits in one file:

https://github.com/dlang/dmd/blob/master/src/dmd/parse.d
Nabokov's mastery of English is incredibly impressive. It pays to read the annotated versions of his classics, because it's nearly impossible to catch all the allusions and word plays he employs.

I still wonder whether he could be caught out (as a non-native speaker) by something as simple as lullabies or so.
What are the top benefits to the programmer to this alternative notation? Generally readability issues don't come from the visual burden of separating keywords, names and data.
Can't speak for everyone else downvoting the above, but after seeing a chiropractor for an hour a week for 12 weeks, getting poked, prodded, pressed and acupunctured each session for up to an hour, I felt significantly better.

A couple of years later, I saw a licensed massage therapist who after looking at my back for a minute, diagnosed exactly what had been wrong with me previously (my spine had become somewhat crooked, almost S shaped) and that it was visible that I'd had successful treatment to correct it.
Not sure why the downvotes - I think it's pretty relevant to view statements in terms of previous positions taken. I'm a big supporter of Mozilla and Firefox is the only browser I use, but another point would be the promotion of the closed ecosystem of Pocket.
New tech hub set for launch in Nigeria's Katsina State
I also never had any confusion about that lyric—just figured “another baby” meant “another person to call ‘baby’” (i.e. a lover) and chalked it up to poetic license.
In every one of those cases the context makes the meaning clear.

Nobody uses the phrasing "Hey Dick" for the insult. That would be either "Hey, you dick", or "Hey" followed by a long pause and then "Dick".

"Git" -- as a name for the software -- is unobjectionable because it's obviously not calling anyone a git. The term "git" by itself isn't offensive.

All very different from saying that someone tooted, or referring to their toots.

Even if it's "Richard tooted about politics" the thing is that the only prexisting use of the verb "tooted" that applies to a person is the bodily function, so that association is always going to come up -- and remember also that for Mastodon to grow it has to bring in new people who are not familiar with it or its terminology, and first impressions are important.
Hey Flash. Just saw your messages to this and was curious to know if you also hire remote. Really interested. Email is at my profile. Thanks!
Out of my own personal curiosity. How does the protection for people over 40 work?
Ask HN: Tmpfs on /run type tmpfs error
I'm asking in both contexts: technically and stylistically.

Can my application/daemon keep a pidfile in /var/run/xyz?

A pidfile is always generated in "/var/run/xyz". After a restart, the xyz folder is deleted.

What can you do about it? The /run folder is included as "tmpfs on /run type tmpfs".

What would be a good way to deal with this one?

A cronjob?
I have to work with Python on Windows and believe me, concurrency is not just fine in Python when you can't use fork().
Can someone kindly explain this to me? I feel bad asking, but, I honestly don't understand the abstract =(
I love the ASCII arty Clippy for tool tips!
Slot Streamers come under Attack
Fun fact: Car dealerships are actually considered financial institutions under FinCEN regulations. Depending on the cost of the car/cash amount, they may need your SSN for reporting purposes.
Edge-Side-Includes with Cloudflare Workers
It's not Android but HN readers might be interested in a FLOSS alternative; Ubuntu Touch. Despite being dropped by Canonical it's still going strong and is well worth a look.

https://ubports.com/
Yeah. Recently switched some Blender Python algorithms I wrote to Swift/Metal, and the speedup was somewhere between 1000 and 1000000 depending on the algorithm.
>I had a similar experience in primary school in Spain (though punishment was never phisical).

Same in Italy, though I never recall any actual punishment (not physical nor on paper) was ever administered on the base of these - let's say "opinionated" - reports.

The blackboard was divided in two columns by a vertical chalk line, on the left one would write at the top "good" and on the right "bad".

It was mostly a game (I believe it was intentional to just keep us kids busy while the teacher was briefly away) and a way for the kids to exercise in knowing the names of all the kids and reading and writing them, the "name taker" would start writing all the kids names and surnames on the "good" side.

Then he/she would write among the bad ones someone (for whatever reason), who would try to convince the "name taker" to delete his/her name and re-write it on the "good" side.

After a few minutes the blackboard was full of deletions/rewrites on both sides.

The teacher already knew anyway which one were the "good" and which one were the "bad" ones and at the most made a verbal reprimand (of two types) to the kids that were on the "bad" column finally:

1) "I knew you were going to ...., why don't you stop it for a change" (to the ones re-known as troublemakers)

2) "I am surprised you did ...., you won't go far by doing this" (to the ones re-known as being tranquil)
“Great” also doesn’t help in this case, since in Hiberno-English (at least to my American ear) it sounds emphatic, not descriptive—that is, “shite” = “shitty stuff”, “great shite” = “extremely shitty stuff”.
> “Waterloo! / I couldn’t escape if I wanted to.” You wouldn’t think foreigners would be able to come up with that.

Wow, condescending much?
How is that a different risk than every other project that ever existed - even those led by internal teams?
Tense calm on Brazil-Venezuelan border after anti-immigrant riot
It's nice to see serverless platforms adding support for headless Chrome. But there's still one problem with AWS Lambda / Cloud Functions / Zeit Now - the run time is limited to a few minutes. If you want to run any longer job, e.g. a web crawler, you need to either spin up the instances yourself or use platform like Apify, which allows running arbitrary-long jobs, provides pre-built Docker images for headless Chrome or XVFB, and provides SDK to simplify state persistence, access to proxies etc.

For example, a simple actor to convert HTML to PDF looks like this:

https://www.apify.com/jancurn/url-to-pdf

More info:

https://www.apify.com/docs/actor

https://www.apify.com/docs/sdk/apify-runtime-js/latest

https://www.apify.com/library?type=acts

Disclaimer: I'm a co-founder of Apify
He then talked about its discovery and follow-on in a TEDx talk https://www.youtube.com/watch?v=wmFi1xhz9OQ
home grown solar panel manufacture?
Concurrency and parallelism are two different things. Python is fine for concurrency.
> deal with serialization and communication

I thought a lot about this problem, for over 2 years, and came up with zproc

https://github.com/pycampers/zproc

Basically,

> It lets you do message passing parallelism without the effort of tedious wiring.

You'll be doing message passing without ever dealing with sockets!

Also, Shared memory parallelism is hard to get right irregardless of which language you use. I would recommend strongly against it, unless you're writing some really really really niche thing where message passing is a bottleneck (it isn't most of the time)
15 Best Help Desk Software Systems for Your Business
> It is not a good idea to use the backslash as the trigger key since it is the traditional line continuation and escape character on UNIX.

Well it is also the default key binding for VIM's leader key and placed on the home row on US keyboards which makes it really accessible.

What is not shown in the demo screencast is that leader detects whether the cursor is inside a quoted string and in that case doesn't present a menu but tells the shell to insert a literal backspace at the current cursor position.

For continuing lines on an interactive shell the user would have to press Ctrl+V followed by a backslash to insert a literal backslash. In my experience this is rarely necessary in an interactive terminal so the extra utility gained by having leader on the home row outweighs the extra key press necessary for continuing a line.

> Furthermore it is not a good idea to replace the command line with a menu since that limits what is possible in UNIX.

That is true. Leader is not _replacing_ the command line, the command line still works as usual, the only difference is that you can launch a menu by typing backslash to quickly run a command.
I don't know about Vietnam, but at least in many parts of India people are used to the grid being unreliable anyway.
Which OSM app are you using? I've started using "Maps" (the OSS variant of https://maps.me/, available on F-Droid) and it has pretty much replaced Google Maps for me. Performance is good enough for me, and offline maps are a killer feature.
I recently introduced a glassboard to my (home) office, and it makes me stand up regularly, so that's a possible alternative to a standing desk (which I don't like).
Cruise ship rescue: How to survive for 10 hours in the water
What could possibly go wrong?

Please tell me this is satire.

What about employees who aren’t comfortable with physical contact? What about employees who are already emotionally uncomfortable around specific other employees?

Cuddling isn’t something you do to build trust. It’s something you do with people whom you already fully trust in a way that should not be expected of co-workers.

Making this a required activity is at best a violation of personal boundaries and at worst a groping lawsuit waiting to happen.
If we're translating it word for word, they also say "Take me on" which makes sense in english, but not in Swedish.

EDIT: Maybe in Norwegian it does, at least they offer an explanation here https://genius.com/10492339
I think a lot of this complexity can be avoided by just writing single threaded python and using GNU parallel for running it on multiple cores. You can even trivially distribute the work across a cluster that way.
Ten Things to Keep in Mind for Data Security in Building Mobile Apps
I'd like this function except it would add a section to the existing man page. That way my knowledge and the canonical information would be in the same place.
Those who don't think the way you do are not "aggressively stupid", they just have other interests. That kind of dismissal doesn't help anybody.
Off topic, but my first thought was 'omg, a livejournal link. people still use that!?"
It's the As-A-Service model - the idea that software not only shouldn't be free, but also shouldn't even by run by the client. It's a pretty fundamental renegotiation of the terms of ownership.

On better days I see it as a last gasp by entrenched interests to re-establish the landlordism of old now that compilers are free.
I believe that since the Advent of zeromq, parallelism is possible in almost any language, including python.

My library lets you do parallelism in a unique way, where you do message passing parallelism without being explicit about it.

https://github.com/pycampers/zproc/
Reliable VPN + pirateproxy.
If they called you “mid level” straight out of boot camp what exactly is a “junior”? Could it have possible been yet another case of title inflation?

They also put a title of “lead developer” on business cards in 1996, straight out of college - I was the only developer - when this little small company was trying to seem bigger than it was when they were trying to get a government contract.
Grow without 'hacking'
From Patriot on that page, "Cannot accept an address in Maryland (MD)."
HN-dotted. Archive link: https://web.archive.org/web/20180818203109/https://codingqua...
I love python. But its seriously, incapable for doing non trivial concurrent tasks. Multiprocessing module doesnt count. I hope the python core-devs take some inspiration from golang for developing the right abstractions for concurrency.
In 1979, bridge designer warned of corrosion risk. 39 years later, it collapsed
In horrifying detail, women accuse US customs officers of invasive body searches
The Most Unreliable Technique in the World to Compute Pi (1998) [pdf]
Buy Object Storage Desktop Drive at 50% Off and Get the Explorer App Free
So they want to be ~20% carbon free in thirty years? That is not a very ambitious goal. Especially if you consider that they want to increase the amount of energy produced from coal from ~30% in 2015 to ~50% until 2030. [1]

[1] https://news.mongabay.com/2017/05/vietnam-makes-a-big-push-f...
The downside to Web MD might be that any charlatan may pretend to be a doctor.

When you've got the answers for common diseases from the doctor who gets them from an app, the doctor himself is a repleacable middleman and can be anybody with enough confidence, even if faked.
This is inaccurate, for threads see: https://common-lisp.net/project/bordeaux-threads/

For processes, ASDF comes with UIOP which contains portable code for multiprocessing (among other things).
It’s so frustrating as a web developer because you know that it doesn’t have to be this way. Friends that don’t work in web moan about how annoying the web, but you know that it doesn’t have to be annoying. It can be good.
Google Coach
You might want to compare the cost and service from VA to the private medical system. It’s not pretty for the private sector.
Does anybody actually think that developers build these kind of "features" without a huge amount of self-loathing? They _know_ it's going to ruin the experience but they have to do it because someone above them said so.

I also really hate how the article takes these obviously _good_ examples of dark patterns and makes web developers feel bad for being web developers, just because some web developers are made to employ these dark patterns.
"Awareness" brings you things like "Dwaine Pipe" :|

https://www.nwl.co.uk/your-home/learn-about-water/Dwaine-Pip...
Current and Future Bridge Health Monitoring Systems in Hong Kong (2004) [pdf]
Yeah that's what I got from the article.

> Currently solar power only accounts for 0.01 per cent of total power generation capacity in Vietnam, but the government plans to increase the ratio to 3.3 per cent by 2030 and 20 per cent by 2050.

This is not very impressive, they plan to add 3.3% solar in the next 12 years, I don't find that revolutionary at the moment.
Tragic and edifying story, only marred in my opinion by the "amusing" moniker hovering above it.