skysight-inc/HackerNews huggingface dataset:
Isn't such perspective limited?

My parents are 67 and 65 years old; I would say say that daily brisk walking is possibly much more suitable for them (their body) in comparison to weightlifting -- irrespective of your personal definition of "exercise". And I'm damn sure their heart rate easily exceeds 100+ if that's the main variable to control.
I would think the measurement tool (pv) could be a significant part of the overhead.

EDIT: the post I'm replying to has changed in the interim. It was previously talking about overhead.
As I understand it, the types of analysis they want to do actually aren't super amenable to indexing because they may include wildcards in the middle of the search string (e.g. `WHERE text ILIKE 'div.button % .login'`. You can make a btree index on the `text` column, but queries with the above `WHERE` clause won't use the index.

To index those effectively, you'd need to create a trigram index in Postgres, which takes up a TON of space. Because 90%+ of rows won't satisfy any of the predicates defined by the customer, it's probably unnecessary to trigram index every row.

Out of interest, malisper, how much space do you think you save by using partial indices?

edit: removed a statement I couldn't support about taking unnecessary CPU
That last part has me a little worried, as I am under the impression that the economic actors who will most likely be able to make these techniques blossom to their fullest extent are unlikely to be even remotely interested in people's well being. Facebook is perhaps the best example of this hypothetical trend. I do hope it is confirmation bias on my end and that the reality is less grim than it appears.
good job! you have accurately copied the top comment from the link you just clicked on.
Great article! Thanks for taking the time to write it up.

What sort of performance impact do these indexes have on writes? I'm guessing PostgreSQL has to look at evaluate each index predicate for the inserted data to see if the index needs to have an entry added.
In which society is it easiest to get rich? Contrary to common belief, it is not countries like the US or the UK that create the highest number of rich people per capita, but Nordic social democracies like Norway and Sweden. Counter intuitive as it may sound, high taxes, generous welfare states and strong unions makes a better environment for the people who wants to earn huge amounts of money, than free markets, low taxes, and minimal government intervention.
Waymo retires its cute self-driving car in favor of minivans
I find your lack of heuristics disturbing.
iOS11 Vision.framework Text Detection
Customer logs into a web portal and pastes some hash generated by his/her instance. Then downloads a generated license key for offline use. Alternatively, a license manager installed on-premises that dispatches licenses locally based on a master license key.

PS. Internet connection is frequently not available for enterprise software.
Lost ecosystem found buried in mud of southern California coastal waters
> in terms of cost, risks, environmental impact and power output, hydro is hard to beat if it's an option.

The death tolls tell a different story.

You aren't alone in this belief, but I've never really understood it. Banqiao dam bursts and kills 170,000 people: hydro is fine, we should do more. Chernobyl melts down and kills 30: nuclear power is inherently unsafe!

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

https://en.wikipedia.org/wiki/Nuclear_and_radiation_accident...
note that button#login, button is useless there
It's possible that he or she wrote both comments, or someone from Reddit copied the comment from HN.
He means the front sight and rear sight.
Thanks for posting. I'm in the nuclear industry and would like to try to address some of these issues if you don't mind.

1. Uranium in seawater is replenished by erosion through streams at a rate faster than we could ever burn it. It is effectively totally sustainable and even renewable on a 4+ billion year time frame, even without breeder reactors. But really, breeder reactors will become a thing when uranium gets expensive enough to warrant them. The reactors that were attempted so far just weren't needed because it turned out we had way more uranium that we originally thought.

2. With passive cooling systems, even seismically active regions can be powered by nuclear. Also, there are exciting possibilities for offshore nuclear, floating 10km out to sea where tsunami wavelengths are huge. Cooling is guaranteed and huge shipyards can do the construction. I agree that it's clear from Fukushima that designs requiring active cooling are no good in such places.

3. There are teams of nuclear engineers and other reactor designers in San Francisco right now at the American Nuclear Society meeting whose goal is to reduce the price of nuclear so that corporations can make a profit from them without compromising safety. I believe it can be done.

4. The Finns are about done with their deep geologic repository [1] and it's looking great. We definitely know how to dispose of nuclear waste. It's just a matter of political will and outreach. The tradeoff you have to keep in mind is that you can get all your primary energy for literally your entire life while personally producing 2 soda cans of nuclear waste. Compare that to fossil fuel (2 million times more waste) or to the vast energy harvesting resources for wind and solar (concrete bases, fiberglass, steel, silicon, glass, semiconductor processing, etc.) and you see that nuclear is extremely low footprint and that's its magic.

I sympathize with your concerns and am working to mitigate them. Biggest hurdle in my mind is standardizing designs. I dream of coordinating an open source reactor design effort some day.

[1] https://en.wikipedia.org/wiki/Onkalo_spent_nuclear_fuel_repo...
Particularly interesting story, because it explains the sudden ban on laptop batteries from certain Middle East countries a few months ago. Apparently Israel had penetrated the ISIS bombmakers, who were able to conceal bombs in laptop batteries.

This revelation, assuming it is true, should be of special interest to HN, where there was a debate about the cause and merits of the ban.

Also, apparently, this is one of the things Trump told the Russian minister in their celebrated meeting recently.
Notice how reprocessing or fast breeders solve problems 1 and 4. As for 3 the US has never had an release of radioactivity to the environment from a nuclear reactor aboard a ship or submarine in several thousand years of operation time.
Path to a free self-taught education in Computer Science
Speaking of bureaucracy, one thing that shouldn't be left out is that as a non-EU citizen you will also have to deal with the Ausländerbehörde for your visa. There you will have to deal with bureaucrats that refuse to speak anything besides german and the rather complicated process of acquiring a visa or specifically an Arbeitserlaubnis that allows you to earn money. My wife had to go through it as an employee and I've helped colleagues with visiting scientist visas. I've heard from others that a freelancer visa comes with a whole array of different requirements that can be hard to meet, but maybe someone else knows more about it. While visas here in general are doable and probably a lot less complicated than a US Greencard / Visa, it is something you should check out beforehand.
> In C++, if you try to call obj->method() where `method` is not defined on the object, it won't throw an exception: it simply won't compile.

I read the page, I liked it. It shows a try/catch is how it'd be done.

> In Java, the "class cast exception" is a somewhat different concept. Even if both classes support the same method, you can't cast between them if they don't have a superclass-subclass relationship.

I find that fascinating. But still, another case where it's more a rule and intricacy of the language.

This is the latest C++17 draft (2017-03-21) http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n465....

So here's why I go on about it being an intricacy of the language: The amount of casting / type rules and so on in C++, for instance, is mind-boggling.

> The core difference is "late binding" -- in languages like Smalltalk, the mapping from names to methods is evaluated at runtime

Which is interesting. And cool.

Isn't that similar to, an extent, virtual functions / vtable'd methods in C++?

But how does this wrap into C++ not handling an aspect of OOP? In your words. Even though I feel #doesNotUnderstand is a sugar and not necessarily a whole OOP concept, I think it can handled via an event system and try/catches.
Not what your asking for but these are stories from the same event in Russian: https://whatisnuclear.com/chernobyl/memories_ru.html
RUSSIA ACCUSES BILL GATES OF INFECTING CONGOLESE VILLAGERS WITH EBOLA
Panasonic Automotive | SMT ( Surface Mount Technology ) Engineer | Monterrey, Mexico; Reynosa, Mexico | On Site (Relo covered)

Panasonic Automotive | SMT ( Surface Mount Technology ) Manager | Monterrey, Mexico; Reynosa, Mexico | On Site (Relo covered)

Panasonic Automotive | Operations Manager | Monterrey, Mexico; Reynosa, Mexico | On Site (Relo covered)

Panasonic Automotive | SMT ( Surface Mount Technology ) Technician | Monterrey, Mexico; Reynosa, Mexico | On Site (Relo covered)

Due to product growth Panasonic Automotive is expanding it's productions lines (and SMT lines) from Reynosa > Monterrey. ~15 roles available immediately.

Generic Job Description: http://bit.ly/SMTMex
+ competitive benefits
+ career advancement opportunities
+ industry training

Interested? Email me:
JesseyJean [at] gmail [dot] com
>internal / client side recruiter - NOT agency<
But doesn't this make the typical use case (just a few "yes"s needed) slower, since first it has to fill a buffer?

I would write() the buffer each time it gets enlarged, in order to improve startup speed.

Also: The reddit program has a bug if the size of the buffer is not a multiple of the input text size.

And it's increasing the buffer by incrementing one at a time, instead of copying the buffer to itself, reducing the number of loops needed (at cost of slightly more complicated math).
Chisel Quick Tutorial – 1st RISC-V Bootcamp
I meant to say irrelevant, edit does not work any longer.
they are using pv in the original GNU 'yes' measurement too?
> What sort of performance impact do these indexes have on writes? I'm guessing PostgreSQL has to look at evaluate each index predicate for the inserted data to see if the index needs to have an entry added.

When we first deployed partial indexes as our primary indexing strategy, we did notice significantly higher CPU. At the time our assumption was that evaluating the partial index predicates was the cause of the high CPU. I later wound up investigating the high CPU use and found the time wasn't spent on evaluating the partial index predicates, but on actually parsing them! I recently wrote up another blog post on how I found this out: https://blog.heapanalytics.com/basic-performance-analysis-sa...
Questions from our team:

- Are you commenting with the output of show on the planfile to get human-readable version?

- Line by line commenting on comments?

- Do you have state-splits? Do you run plan on each individually for every PR?
ABBY.io – the story of a failed side project
Measurements are really noisy, but I seem to get significantly better numbers than that when I use fsplice() on a pre-generated few pages of file data instead.
The second part is impossible, the HN comment is timestamped afterwards.
Popular WordPress Dribble Portfolio Plugin
In many countries (e.g. Poland) non-competes are only legal if you pay X% (e.g. in Poland it is 25%) of salary for as long as you signed non-compete after your employment ends.

This is still not ideal. The best is to ban non-competes or make them even more expensive.

From economical perspective for ecosystem, non-competes are bad. They reduce the competition and may force some talented person to be underutilized below potential. Plus open whole class of abuse. "Our flipping burger strategy is so unique that you couldn't do it elsewhere"

https://www.nytimes.com/2014/10/15/upshot/when-the-guy-makin...
> It's possible that he or she wrote both comments,

Highly unlikely, as the comment posted on HN by fuckemem reads as a non-sequitur

> or someone from Reddit copied the comment from HN.

Highly unlikely, as the comment posted on Reddit was posted over 1 hour ago while the comment on HN by fuckemem was posted 8 minutes ago.
The Reddit comment predates the HN comment (Reddit: "an hour ago"; HN: "8 minutes ago"). Same author is a possibility.
If a system gives you two options for storing a date (using 2-digit or 4-digit years), how many dates do you need to store and use in calculations before you end up saving space by creating a new data type and all of the supporting operations to make the storage of the date itself more efficient? In recent years, it's more common to make this type of decision because something else is causing an issue, otherwise we rarely consider the space required for a date (and many languages no longer have a separate type for dates).
My manager wrote a blog post explaining partial indexes and some of the advantages of them: https://blog.heapanalytics.com/speeding-up-postgresql-querie...
I'm an M&A advisor and my wife has been a PE investor for 10+ years. If your expected payout is $1M+, we might be able to help negotiate (our fee is low digit %'s). My value proposition is simple -> I'll get you more money than you would be able to do on your own and I only succeed if you do. My contact info is in my profile if you're interested.
I don't see how that would fix kernel overhead. I guess of you have something heavy in the background that might slow it down though.
I downloaded this when this post came up and have been using it steady. It's good. Reliable, does a job that needs doing, has a few bells and whistles.

Definitely still early stage, but that will pass.

I have showed it to a couple people I work with and they have started using it too.
India gets GitHub competitor
For CI systems like Travis, people add it to the cached directories, and it's shared between runs. I know Travis, Circle and AppVeyor all have some way to cache data between runs – nominally for dependencies, but .hypothesis works too.

According to our docs (http://hypothesis.readthedocs.io/en/latest/database.html?hig...), you can check the examples DB into a VCS and it handles merges, deletes, etc. I don't know anybody who actually does this, and I've never looked at the code for handling the examples database, so I have no idea how (well) this works.

If tests do throw up a particularly interesting and unusual example, we recommend explicitly adding it to the tests with an `@example` decorator, which causes us to retest that value every time. Easier to find on a code read, and won't be lost if the database goes away.

(Disclaimer: I'm a Hypothesis maintainer)
A long time ago I made a Windows (3.1/95) app that invisibly used a file share to send 'Post it' notes to peoples screens. It served a purpose for myself and my colleagues at the time as we were in an organisation that barely used email, and also had no IM facilities whatsoever.

I threw it online, by uploading it to several of those shareware app hosting sites that used to exist and hosted it on my own site as well. The app was fundamentally free, but if you wanted to use it legally in an organisation you had to by per-user licences.

To my utter surprise, cheques started arriving in the mail, some for 100's of user licences. Several were FTSE100 companies. It turned out that my app had a killer feature - when you sent a 'note' to someone else, it appeared on their screen almost immediately on top of what ever they were doing. Apparently traders loved this, so my apps was being used in several banks on their trading floors.

The whole thing was short lived, and the money I made was a short bubble. Less than a year later it all dried up, and NetNote[1] was consigned to history.

Back to point though, and why I'm replying - one of the large banks asked me to come in for meeting to discuss upgrades to the app - as they'd paid for 1000+ user licences I felt duty bound to attend the meeting. However, what they basically wanted was a complete overhaul of it and had a request list as long as my arm. As an indie developer I couldn't commit to that, so I didn't make any promises, and then completely failed to deliver on their requests.

Of course I regret that now.

--

[1] https://web.archive.org/web/20030323215705/http://www.jaruze...
Just out of curiosity, did you take into account, that about half of your gross salary goes into social/health care in germany?
I haven't read the book but conceptually it's not a new thing to gravitate towards as a founder quality. Before that they just called it perseverance. Personally I don't really see a difference between the two words, but some argue that grit is more macroscopic.
If you're not bound to any specific town you'll most likely find something within a month or two. If you're moving from outside of the EU though you and your employer might have to wait an additional 1 - 6 months for your work visa to go through, during which you're not allowed to earn money. The timeframe might be shorter in smaller towns than Berlin though ;)
Ask HN: Burnt out, can I take a sabatical?
Hello HN'ers,

I'm a mobile developer, with solid backend skills. I've been working since past 12 years and have never taken a break. I'm now feeling the classic burnout, and my health and productivity is tanking. All the spare time I've, goes into managing my kids chores, and working overtime fixing broken builds/ code issues at the startup I'm working at. I would love to take 3 months break, as I feel that's best in this situation.

I live in Berlin, DE and is it possible to take a sabbatical/break due to burnout? Will the JobCenter support such endeavor? Do German companies support sabbaticals and is there any legal provision that could help me here?

Any help is sincerely appreciated.

--

Best Regards/Veile Grüße
A Burnt Out Developer.
The Distinctive Elements of Mobile App Development
Mobile app development is an umbrella term for a number of procedures compiled together. From app development concept to the wireframing and to the designing of the application, every single phase has got its own importance.
You could make "yes" faster with the tee() syscall. Keep duplicating data from the same fdin (doesn't actually copy) and it becomes entirely zero-copy.
Very likely this: http://github.com/unbounce/babel-plugin-transform-flow-to-ge...

https://medium.com/@gabescholz/randomized-testing-in-javascr...
Rice U. scientists slash computations for ‘deep learning’
Hasn't this feature been out for like more than a year? Just saw an Elon tweet from last year talking about 250M miles logged on Autopilot... I feel like we would have heard about pedestrians/bikers being mowed down. I recall that the one death I have heard about, the car was not at fault.
Have you tried the Sleep Cycle app (https://www.sleepcycle.com/)? They support both iOS and Android.
Maybe the transcript is semi-automated and the background noise on Jess' mic impacted it as someone else pointed out. Great video nonetheless.
Trivia: the Pieter in the paper is the one of the Redis fame.
Distribution strategy by A16Z
With that malloc overhead, I expect GNU yes to be slower when only a few bytes are read from it.

So, what's the distribution of #bytes read for runs of 'yes'? If we know that, is GNU 'yes' really faster than the simpler BSD versions?

Also, assuming this exercise still is somewhat worhtwhile, could startup time be decreased by creating a static buffer with a few thousand copies of "y\n"? What effect does that have on the size of the binary? I suspect it wouldn't get up much given that you can lose dynamic linking information (that may mean having to make a direct syscall, too).
It looks like a kind of bot: https://news.ycombinator.com/threads?id=fuckemem
How do you game a metric which is actually "the performance of the company"? You can't without, umm, making the company perform better, which is the goal, no? It's only - as you asserted - "hard" because people try to wriggle around this truth to capture a bigger slice of the pie for themselves.
Ask HN: Should I quit my job to practice for whiteboard interviews?
I'm currently employed as a software developer and am paid reasonably well, but the work isn't challenging and I feel like I'm stagnating. I don't have a college degree and I don't think I could pass a whiteboard interview at a top company.

My eventual goal is to get hired at a top company, but I never seem to have enough time to put in significant study and practice. My job takes all my time.

I have enough saved to pay my bills for about 2 years. I'm considering quitting my job, dropping my income to $0/yr, and studying for whiteboard interviews full time for 6-12 months to get into a position at a top company.

Am I crazy to be considering this? I know the algorithms and whiteboard questions are something I can easily teach myself with time, but I have fears of failing to even get the interviews because of resume filters, and then finding myself in a position where I've been unemployed for a year and can't get re-hired, etc.

Anyone with a similar experience? I feel like this is a pivotal year for me. I don't want to stay a second-rate developer my whole life.
gemini just told me they support wa state on my new acct.
It's the smart thing to do - 4.3 billion is not that much.

I had some students that asked me if even a long would be enough to handle exponential growth, after all it's only twice as big. As a thought experiement I asked them to come up with a time to fill a 32 bit int completely. They came up with roughly a year. Then as a margin of error I said, let's assume you have 4.3 billion transactions every second instead. This volume can be sustained for 100 years, and we're still not in the danger zone yet.
Benchling (YC S12) is hiring engineers to build a platform for biotech research
Benchling builds software that powers life science research. Our customers include academia (MIT, Harvard, Stanford, UCSF, Berkeley, etc), biotech (startups to IPO), and large pharma - each improvement we make to our platform directly accelerates progress on cutting-edge CRISPR research, cancer therapeutics, synthetic biologics, and more.

We're looking for engineers who love building things and care about the impact on the future of research and, by extension, society. We've built: an IDE for DNA, a version of Google Docs for biology, and an API platform to power research automation. You'll build the next arc of our platform, as we expand into broader workflows, new science, and new ways of connecting machines and scientists with the Benchling platform.

To apply, email hn-jobs@benchling.com with the title "HN App: [Your Name]". Please include 1) your resume and 2) a short description of an achievement you're most proud of.
A 2 digit date typically used two guys, one for each digit. Cobol and all
Found a "UG (haftungsbeschränkt)". That way you don't need 20000 Euro in in hand.
Interesting to read this because as a kid I watched these rigs rise into the sky as they were built then floated out. They're building wind turbines in that shipyard now.
If you're ready to invest some time www.librarything.com allows you to catalog your books and then gives you recommendations.

Still I hope to see Kooba working to find other books to add to my reading list :)
I've used Z-order curves and related curves in Neuroevolution research. It allows conversion of an adjacency matrix to a spatial subtrate representation that preserves locality as it grows (Thus going from 1 dimension to 2 or 3). This technique is an alternative for HyperNEAT or ES-HyperNEAT and experiments demonstrate higher performance that ES-HyperNEAT on the modular retina task problem.