skysight-inc/HackerNews huggingface dataset:
I went part time (60%) for about a year and a half at Red Hat. For context: I'm pretty senior (architect for the Gluster project), had been there a while, and the clear alternative was that I'd quit. I only mention that because I think I wouldn't have been able to pull it off otherwise.

First off, my boss at the time made a very wise suggestion to start with a month completely off. Not even checking email. My first thought was that it was to affect my own behavior, but the most important part was to change other people's habits. They couldn't count on me to drive anything, resolve anything, fix anything, for that month. They were forced to learn how to fill all those gaps themselves, so when I came back part time I wasn't immediately deluged with a full-time level of demands/requests (or worse because of the backlog). Great idea.

For the first year, it went pretty well. I don't feel like I benefited so much from the reduced hours as the increased flexibility. I could work when I wanted, fitting work around my domestic responsibilities or the ebb and flow of my own energy levels, instead of having to fit everything else around work. It's amazing what a difference that makes. Also, I could take a three- or four-day weekend whenever I wanted, without having to take any PTO. I'd just front-load the week before and back-load the week after to make it fit. Very nice.

Over time, I did start to work more than my nominal part-time hours - as I'd already expected. Mostly that's because I was feeling recovered from the burnout that had triggered the whole process. So eventually I talked to my (by then different) boss and went back to full time. Then the cycle kind of began again and now I'm not there, but that's kind of another story. It really did help, and I highly recommend that anyone who has been running flat out for 15+ years (for me it was over 20) try part time to see if it suits them.
Why you should visit Toronto
I really wish people would stop spreading the meme that decoding JSON in Elm is "hard". Yes, Haskell allows you to automatically decode/encode datatypes, but this only works in the simplest of cases. For example, if your backend returns a JSON object with snake-cased fields, but your model has camel-cased fields, `instance ToJSON Person` won't work; you'll have to write a custom decoder. The automatic decoders/encoders in Haskell only work if the shape of your JSON perfectly matches your record definition.

Writing decoders in Elm is not hard. It's manual. It's explicit. It forces you to specify what should happen if the JSON object has missing fields, incorrect types, or is otherwise malformed. There's a slight learning curve and it can be time consuming at first, but it guarantees that your application won't blow up at runtime because of some bad data. Because of this, JSON decoding is frankly one of my favorite parts about Elm.

Typescript, on the other hand, offers no such guarantee. If you write a function that takes an Int and you accidentally pass it a String from a JSON response, your app will blow up and there's the nothing the compiler can do to help you. Personally, I'd rather write JSON decoders than have my app blow up because of a silly mistake.
Khronos Announces the Vulkan Portability Initiative
It feels like you can go an entire career without switching databases. And if you still have most of the original dev team, the cost of rewrites are probably not as high as they're made out to be (by telling everyone to plan for switching databases at some undefined point in the future)

Loose coupling has a lot of other advantages but this seems to have become the biggest selling point for a loosely-coupled data layer.
I happen to be in Bangalore right now and literally no one uses addresses. Everything is landmark based.
Yep. I forgot to mention that. The irony of remembering users' cookie consent in a cookie.
Russian thief in law
For people interested in Prolog-like DB systems:

https://github.com/agentm/project-m36

> Unlike most database management systems (DBMS), Project:M36 is opinionated software which adheres strictly to the mathematics of the relational algebra. The purpose of this adherence is to prove that software which implements mathematically-sound design principles reaps benefits in the form of code clarity, consistency, performance, and future-proofing.
Ask HN: How to maintain focus during long, critical-thinking intensive, tasks
Hi HN,

As my career has progressed and I have been given larger and more complex software engineering assignments, I am finding that my ability to focus seems to diminish in proportion to the complexity/longevity of the task at hand. How do you all achieve prolonged periods of focus throughout the day? I am especially curious what those who are in a startup, in-office, environment would say as these tend to be very "personal" (i.e. I can't lock myself in an office).

Thank you!
I've always found that Dell ships rock solid H/W, but does a piss poor job of systems integration. The best way to get "OSX Level" reliability that I've found is to clean-install Windows, or remove all their shitty Dell applications and tools. Their track-pad 'helper' tool is particularly quite terrible. Windows 10 too is its own beast. I disable all that update shit because like you I don't want any unplanned reboots. Its ridiculous that you have to do all this shit, but you will be rewarded in the end. I regularly get 40-50 days of up-time before manually rebooting for updates. YMMV !
Crafting Interpreters – New Chapter: Functions
> Shouldn't we be able to come up with technical solutions to that problem?

The issue is that the companies do not have the originals to fingerprint since they are held hostage by media companies... :/ Maybe there is a way to fingerprint using pirated music or youtube audio?

As for youtube, it was filled with pirated content and was getting sued to oblivion until Google saved them.
Do Diebold machines still cost 3k a pop[1]? You can get 3 high-end scanners at that price. And generally more than one Diebold would be deployed per location right?

Let's say the scanner costs $500 and there are 9999 locations. That's 50M of investment per party that can be re-used. It's a lot of money but it's an order of magnitude less than their campaign cost[2]

[1]: https://www.wired.com/2008/04/the-cost-of-e-v/

[2]: https://www.opensecrets.org/overview/
Maybe a wrong way to view this, but Google does ~1,200B searches per year, market cap of ~650B.

Assuming giphy does an average of 2 searches / user / day, that's ~150B searches per year. Put another way, 1/8 of Google search volume.

I think it's reasonable to believe the average Giphy search can eventually monetize at > 1% of the average Google search query.

Especially if Gif searches sometimes have intent.
Great discussion indeed. I was thinking along the same lines, the comparison may be meaningless, but “false” is not a good answer either, even though a Boolean is either true or false by definition and NotABool would be even more crazy. What a rabbit hole.
The most recent presidential election suggests otherwise.
The point is that one law means that the age restriction is a standard clause in most website's TOS, while another law makes it a felony for minors to access website because of that standard term of service.

The combination of the two laws is what makes it different from violating the TOS due to a clause being inserted at the site owner's own volition.
Yeah! It's also hard to distinguish programmatically when this is a good response: New York, New York, is expected, while Hong Kong, Hong Kong makes a lot less sense.
OSX will happily use 3840x2160. Are you sure your limitation is not somewhere else? Maybe you ran out of available crts on the graphics card, or the display cable has it's limits, or whatever.

That said, the 4K support in Fedora is nice. The only problem is with Qt4, Gtk2 and other apps using legacy toolkits.
"However, said Mr Dewes, it was "trivial" - meaning easy - "

BBC has really gone downhill.
Stored Procedures, any use of the RDBMS SQL extensions (eg: BETWEEN)
This is exactly it. I can't speak for Golang, but why Elm wins is its simplicity.

You can go through the tutorial and know the language in two days. Seriously if you ever want a weekend project, try learning elm.

Even if you don't want to use it, but just to be exposed to the ideas.

You csn be writing productive code in a week. If anyone tell you Haskell (or Purescript) is less than months to be productive is not being honest about what production level productivity entails. You can learn the fundamentals in less time, but the prized significantly more complex abstractions makes ramping up significantly slower. And this is coming from someone who likes haskell and is enjoying learning the language.

As someone who has used a lot of languages over the years, I really do say spend a weekend trying it out. The language has great ideas and a great philosophy.

https://www.elm-tutorial.org/en/
Guess, FB Research's DrQA is very close to what your idea is. https://github.com/facebookresearch/DrQA
Since when has any of this been rational? People want digital because they think it's better or more accurate.
I really hope that AMD gets better deep learning support so it will push NVIDIA's pricing structure down. Also, AMD's processor lineup looks very appealing compared to Intel (which has had more pressure on their solutions also. (moved from dupe thread).
Elixir School is great, as well as elixir's hexdocs.
FB did over a $5/year on a monthly active user in 2016. But they (and Google) are much better positioned at selling ads than a funny gifs engine ever could be.
I'm always surprised that reading source code is such a rare occurrence or suggestion in this world. If you consider yourself even in the vicinity of "advanced", I think you're capable of learning great stuff by looking at anything on github. Something big, but well organized. Lo-dash, Node, Mocha, etc.

Of course you won't understand everything on first read. But you will learn really good things if you know how to look at something confusing and identify what it is you don't understand; then you can go find didactic materials to fill in the gaps.

This is an amazing way to learn. You get to see how some of the most used, or cutting-edge tools are implemented (for free!). You learn about the tools themselves and thus gain expertise in them. And, you gain the meta-skill of working in unfamiliar territory, which I think is a fundamental key to being considered "advanced".
https://img.purch.com/radeon-rx-vega/o/aHR0cDovL21lZGlhLmJlc...

So basically $700 dollar card is worse then 1080. You can buy 1080TI for around ~$900 which would completely destroy this AMD "beast".

Not sure where the hype comes from, or am I missing something?
So, what's the actual TDP in these cards? Last reports were conflicting about it.
We really are deep in the realm of Philosophy.
So you are shocked that a company that has shown little inclination for subtlety and discretion did something that lacked sensitivity?
Vote me down, but Amazon.de increased prices by 30% due to Ethereum miners demand to > $1050.
It seems like Imgur was profitable from Day 1, but the early days were profitable through donations!

https://www.neowin.net/news/from-rags-to-riches-the-story-of...

Quote: "Imgur has always been profitable right from the very beginning and the only time I ever had to spend money on it was for the initial domain name because as soon as I released it, people liked it so much that they were donating and so Imgur survived for the first six months just purely on donations."
What I don't understand is why there aren't open online magazines/blogs for this kind of stuff. I.e. a blog with well-defined subject where there is some minor editorial oversight to filter out garbage, but where anyone can submit an article. This strikes the perfect balance between individual blog and a publishing platform. It can have features specific to the subject. The quality will be better. I've run a website like this with a bunch of people in the mid-00s and it was great. It had a real consistent community, and there wasn't a split between "staff" and "readers" which creates so many problems for more traditional online magazines.

The whole Web 2.0 movement vilified editor, but I think this was a great disservice to the Web. I'd love to have a website like I described above for programming stuff. It would allow me to concentrate on content, rather than maintenance of my own website and constant self-promotion.
Indeed. Not very long ago, the BBC ran a story entitled "Why are elections in the UK held on Thursdays?":

http://www.bbc.co.uk/news/av/uk-england-hampshire-39795769/w...
Is this a fact about the U.S. legal system, or about legal systems in general? (This isn't a rhetorical question - I'd actually be interested to hear an answer from someone who has knowledge of multiple legal systems.)
Ask HN: PhD or a job for recent 50-something grad
Successful entrepreneur, self-taught, currently in an earn-out that will last another 3-4 years. Decided to go back to school and get a Bachelors in CompSci/Data Science from a well-known university and will graduate in May. Took grad level courses and TA'ed which I enjoyed.

Do I continue on for a PhD in Machine Learning (specifically RL) or go back and get a job?

Door #3: do independent research during this period and then decide, but then I wouldn't be part of a face-to-face community which I find very satisfying.

Objectives:
1) Maintain healthy work/life/exercise balance
2) Make a significant contribution to this new field.
3) Set up good runway for the remaining 10-15 years of my career.

Thanks!
Tour the Latest Features of the CSS Grid Inspector, July 2017
Sick of SoundCloud? Anchor offers podcast transfer with free hosting
That's probably because most people see drug markets as a completely replaceable service. Silk Road down? Use AlphaBay. AlphaBay down? Use something else. It's so profitable to run these markets that the odds of someone developing a newer, better version are guaranteed.
That may make the task more difficult, but still, even when I search gifs from very well know series like the Simpsons and I get a bunch of random Simpsons gifs (therefore I assume they got rights for short Simpsons clips) but none is remotely similar to the one I'm looking for. Then I go to google images and there it is among the first results.

Edit: It may have improved a bit lately, but it would be much, much better if they did OCR of text in gifs, and use the context of where the gifs are found (esp. page title) for additional search terms.
I'm finding Acer rigs with GTX 1070, 8GB RAM. I'll probably get one of those, thanks.
My experience with a similar (fully maxed out 9560, but no touch display). Since updating the drivers, the killer card has been working without fail, though it was a little frustrating to deal with a brand new laptop that constantly blue screened and failed to connect to wireless when my 10year old macbook sitting at the same desk was fine. Reddit has a good guide for setting it up, though some of these are now out-of-date.
https://www.reddit.com/r/Dell/comments/5unlmb/got_my_brand_n...
That's basically what LinkedIn is arguing here. They have explicitly send hiQ a cease-and-desist letter.
The redirection can come anywhere on the line, so watch out for those spaces
I'm improving my JS skills by learning how to read and understand the source code of mithril.js.org (I'm doing write ups at: https://gist.github.com/CarlMungazi).

It's what we use internally at work so it made sense for me to actually understand how it uses JS to tackle all the problems a framework is supposed to solve. I've only been doing it a short while but I've learnt a ton already.

I casually glanced at the source for Ember and React over the weekend and I could understand much better what was going on because I had a reference point based upon the source as opposed to just knowing the APIs.
Hey I'm a 4.2k player and a developer. I like your app's interface more than dotapicker.com. I noticed both had same suggestions for a given set of heroes. Is the source of data for both of these apps same?
In a perfect world I guess the media companies would work with technology companies and distribute some sort of fingerprint database such that if smaller fish obey the fingerprint database then they can be fairly sure of not being sued. One might even naively think that it would be in the interests of the large media companies to distribute such a thing because it would help avoid piracy.
There's a fun street in West Hartford: "Boulevard". Everyone abbreviates it to Blvd, of course. They didn't use it as a descriptor, it's the name.

https://www.google.com/maps/place/1500+Boulevard,+West+Hartf...
#[derive(Serialize, Deserialize)]

but yeah, same difference.
> IMO migrating between databases should always require a lot of rewriting. If it doesn't, you're most likely underutilizing the features provided by your database.

Very likely true. But when you get locked into Oracle and it makes it nearly impossible to move because of the features your relying on, has a big effect on shaping your perspective on this.

> The application I'm using this in has > 1 billion rows and we frequently re-compute the state of all our entities across the entire data set in batches after we make changes to our logic.

That is very impressive. Mind sharing the rate of change across all of those rows?

Also, I'm curious. Is this all that DB instance does? Or is it responsible for other data as well?
> OSX will happily use 3840x2160. Are you sure your limitation is not somewhere else?

Yes, it will use it, but it looks terrible. Even the native system UI isn't designed for it, let alone Cocoa-based third-party applications or third-party applications that don't use Cocoa.
You should start with reading Deep Work, by Cal Newport. And recognize that there is a limit to just how long you can concentrate deeply. Be conscious of diminishing returns.

http://calnewport.com/books/deep-work/
Not fully part time, but I went from 40 to 32 hours/week after my daughter was born to spend Mondays looking after the kids.

It's been great, I have one day per week when I'm the only parent and usually it means a combination of housework (meh, but has to be done) and fun quality time with the kids.

I was actually a contractor at the time, and I think I was relatively lucky the client was understanding about it. After I stopped contracting I took a perm position and I was their first employee not working 40 hours/week. Again they were great, and it worked out fine.

I'm now Scrum Master there which occasionally can be an issue when I'm not there on Mondays, as one of my responsibilities is removing impediments for the team. But overall it works pretty well. I do feel like there's not enough hours in the week, but the most important things get done.

I wouldn't have done it differently. I'm wondering how things will change and what I'll do once our youngest kids are all at school.
Risks of Artificial Intelligence
OpenGL 4.6 Released with Vulkan/SPIR-V Ingestion, Parallel Shader Compiles
Russia bans VPNs to stop users from looking at censored sites
Why Cyclic Dependencies Are Bad
"You likely mean Libertarians, as in the Libertarian party, not libertarians in general."

Even the Libertarian Party (in the US) is not necessarily "far-right". Libertarianism in general almost always leans heavily left on social issues by definition of libertarianism, and the Libertarian Party line is no exception AFAICT.

This leaves the economic issues, and the full spectrum from anarcho-capitalists to socialist libertarians tends to identify with the Libertarian Party. Gary Johnson was/is somewhere in the middle-right, I'd guess.
> As soon as you have side-effects (an IO is a side-effect) you can through your assumptions about "strict conformation to definition" out of the window

You misunderstand what an IO action is. An IO action in Haskell is a value which describes a side effect. For example, an IO Int is a value that describes a side effect which, at runtime will produce a value of type Int inside the IO monad.

The difference is that the IO Int is a value, it’s a constant which describes how to perform something at runtime (also called promises in some languages). It’s like a callback function, which takes a value as an argument that will be available when it’s called (at runtime).
Chrome is still using an old version of GTK isn't it?

I have a load of problems with the virtual keyboard on my Tablet, I've had to work around it with a chrome extension that manually lets me pop the keyboard up.
The RX 64 is a $500 card.

If a $500 card is roughly the same as a 1080 (currently $550), I think that's fair.

The $700 liquid-cooled Vega should overclock better, but I have my doubts for its efficiency. Overclocking isn't very good for heat and noise and reliability.
>Instead, maybe a blog post or products portfolios would be way more useful

Of course. That's why the author advocates for linking to a specific repo with a readme.

>We do, and let me say that `git log` will absolutely not tell you the same info
>How you get there is way more interesting to me

I get a lot of value from the revision history. To me, that is how you get there. When I see something, and I say, "I wish it was more like..." and a few commits later it is, I know we jibe. Likewise, if it's good, and it's something really novel and clean and clever and I never would have thought of it, that's just gold.
FYI: Don't use the killer drivers, let windows install it's own driver.
Teaching code review in university courses using peer feedback
> If homosexuality, why not zoophilia?

Because animals are not able to give consent, nor are they capable of the thinking required to do so. Suggesting that homosexuality and zoophilia are two points on the same line is a very tired and inaccurate point to try to make.

> If marijuana, why not cocaine?

Actually a fair question. There's an interesting line of thought in legalising all drugs to bring them out into the open.
Europe's privacy laws.
I liked a lot of what Giphy was doing with TV show parsing and captioning, I feel like that could be a huge vector for sponcon, but this announcement about sponsored GIFs and ad sales sounds go generalized on its face that I'm not sure it will be fruitful.

Is BMW going to buy sponsored GIFs? Is McDonald's? Are major CPG companies going to buy sponsored GIFs? I think TV shows and major studios have a good use case for this, but even if the sales are constrained to suitable markets, and healthy, will those sales support a $600mm valuation, or even keep the lights on?

Ad sales work well when you control a platform with a lot of eyeball-share, and when you have strong profiling. I don't think Giphy will have much of either, and if they do, I think the they won't have all of those attributes available (i.e., giphy.com is hard to build facebook-level profiling on, but is easy to control ad units on, GIF keyboards/facebook/various integrations are high-eyeball, but someone else controls the profiling and you can't control the ad units etc).
Out of all major energy sources, nuclear is the safest
Why You Should Be Saving 15% or More of Your Income for Retirement
The type of data being discussed here (factual data about people) cannot be copyrighted - i.e. the fact John Doe is a Software Engineer for ACME Inc is not copyrightable.
> Ramdisks will go to swap.

Assuming that you have swap. I don't; I want my SSD to stay alive.
Do you hate unplanned interaction because it is unenjoyable for you? For most people, it's immensely pleasurable.
This sounds like the setup to an up-spiraling arms race with "dark scrapers". I'm guessing behind-the-scenes, LinkedIn figures they can out-spend the extralegal scrapers, and likely considers their efforts will deliver halo effects to the rest of Microsoft. It would be educational to hear how LinkedIn plans to take down bot-net-based scraping that uses deep learning to identify patterns that successfully mimic human users and bypass their bot detection; could possibly help other white hats who want to battle bots and general malware.