skysight-inc/HackerNews huggingface dataset:
Just pipe the script to a file so you can read it without having to copy-paste. :)

curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install..... > install.sh
Don't know Scala, but I'd assume that `+:` is prepend to list and `:+` is append to list.
Huh, interesting. It sounds like you and the Hammerspoon devs are on good terms, so it's not clear why this couldn't have been resolved in the Mjolnir project. Does this have anything to do with <http://sdegutis.github.io/2016-05-30/why-i-dont-side-program...? Did you actually prefer to have other people take over the project?
Is there a good reason for making day 42 (out of 84) the primary endpoint? Did they at least decide to do that before looking at the data?
touch typing - some folks don't learn to type quickly without looking

tmux - per project, persistent terminal

shell aliases - stop typing frequently used commands

GTD - some form of productivity process like Getting Things Done, including a prioritized TODO list

hot reload - don't accept slow development cycles

timeboxing - avoid rat holing a day or two away on a low value task

programmer notebook or wiki - document steps or arcane knowledge for the next time

hard coded - unblock yourself for missing data or dependencies

user testing on paper prototypes - save months of throw away code
I was a hold out for CRTs for many years; I had an old UNIX workstation CRT. I'd bought it for $25 from a computer garage sale because the company had switched to Windows desktops from the workstations, and these weren't plug-and-play with PC graphics cards. It was big and beautiful for the time, and remained beautiful for a while beyond when LCD monitors started coming along. But, eventually, LCD surpassed that (very nice, originally very expensive) professional CRT. My current 4k LCD display on my laptop is miles away from even the best CRTs. No flicker, no ghosting, and extremely precise color adjustment capability, make even mid-range LCDs a better looking display than the best CRTs of the past.

Factor in weight (that big old workstation monitor weighed something like 75 pounds, and I hurt my back bringing it down the stairs when I finally got rid of it) and LCD is a no-brainer improvement over CRT. I have no desire to go back to CRTs.
I like to challenge myself to write little things like this as shell-scripts, too. But I am surprised they didn't at least choose use Bash instead of Bourne shell.
Digital cameras have used LCDs with non-square pixels for years, but the problem is that with such an arrangement, you can't get sharp text (or any other fine horizontal/vertical line detail) without things looking blurry or unusually jagged vertically/horizontally. Photography is (mostly) fine because the content is largely smooth gradients.

The red and blue pixels can be used for sub-pixel anti-aliasing, which can improve percieved resolution and rendering accuracy further.

Subpixel AA just makes my eyes water and I feel dizzy after a few minutes, probably because there are no real edges to focus on. I'm probably in the minority, but not the only one who prefers pixel-sharp text.
Seatguru can tell you "the 777-200 config version 1 looks like this", but can't tell you "the flight you're booking will have that aircraft in that configuration". They can tell you that historically it often is that aircraft/configuration, but that's not actually enough to project forward into the future with full reliability.

And that's the hard part. It's even worse for the more common case of domestic flights, because those get swapped way more often than long-haul international.
What do you think the difference is between "performant" and "fast"?
Walk around and think.
The article is 8 years old. So she'd be only 56 years old now.

> I met M. seven years after she’d been discharged from the rehabilitation hospital. She is forty-eight now. She lives in a three-room apartment, with a crucifix and a bust of Jesus on the wall and the low yellow light of table lamps strung with beads over their shades. Stacked in a wicker basket next to her coffee table were Rick Warren’s “The Purpose Driven Life,” People, and the latest issue of Neurology Now, a magazine for patients. Together, they summed up her struggles, for she is still fighting the meaninglessness, the isolation, and the physiology of her predicament.
They don't guarantee a job, just an interview.
I remember a professor at Stanford for an early CS class (I'm pretty sure it was Jerry Cain) mentioning COBOL programming and drawing a graph with salary vs time for a given language that manages to be adopted widely. First when the language is rare there's a great ascent up, then as more people gain knowledge the rates drop to some minimum as the knowledge supply broadens. Then as the language shifts into a legacy context the graph ramps up again. If I remember right he claimed the ramp exceeded the initial peak in the earliest days of the language. I forget what the context was but I think it started out with a question about what languages paid the most. I think I recall him quoting a $300/hr figure for COBOL because it's so old school and the knowledgeable population so small. Then come to think of it I think he said the rates essentially drop to zero when the language is all but abandoned and transitions to modern equivalents have befallen.
I like how each function is contained in an individual plugin file. I can install (create a local script) which plugins I want without needing to install them all. Even if you do not want to install any of the code, it shows you the command line needed in OS X.

The volume plugin has a more fine-grained control for adjusting the volume. The keyboard based function keys will increase/decrease the volume by 6/7. Now I can increase by smaller increments. Excellent.
Flightcar (the airport car parking/rental option) is shutting down
At ARM’s Length
Most toughest entrance exams in the world (Acceptance rate and difficulty)
pepsi is really obvious though, it hs an aftertaste, and coke does not, along with being sweeter
That is from the abstract. From the paper:

We asked how much of the Earth’s land surface is already “biotically compromised” (exceeds the boundaries of 10% loss of abundance or 20% loss of species).

This measure (10% abundance or 20% species) is used throughout the full paper and the 23-page supplementary material.

The general area of quantitative biodiversity study is in its infancy. It is not as well-developed as other study areas within Earth system science. For example, there are no universally-agreed-upon variables that must be monitored, like temperature, sea level, etc., that exist for other areas. So biodiversity-related measurements tend to be side-effects of other measurements for other purposes. For instance, habitat loss could be indirectly measured by classifiers run on satellite-produced ground imagery.

Here's some information on NASA's biodiversity research program: http://cce.nasa.gov/cce/biodiversity.htm
This is awesome! Like you mentioned towards the end, I've been stewing on the idea of a React Native <-> React bridge for a while now too, but haven't had the time to thoroughly dig into the code of other custom renderers to find the right way of doing it. I'm confident that a combination of https://github.com/web-perf/react-worker-dom and https://github.com/alinz/react-native-webview-bridge would get most of the way there.
Thank you for shedding more light on the not-so-clear world of making a react renderer.
It's not a good comparison because there's much more range in instrument quality than cable quality.

"Audiophile speaker cables" carry the stigma that they do because the luxury versions aren't better than the "minimum viable product" versions in appreciable ways. Instruments, violins included, see a massive range in quality between the things you would consider functional violins and very well-made violins.

The complaint about audiophile speaker cables is that they don't produce a difference in result that even trained sound engineers would be able to reliably identify. Whereas any reasonably experienced violinist or even any reasonably experienced musician would be able to tell you about the difference between a bad and a good violin by listening to them. The differences between the best violins might be hard to identify, but there's still a substantial range of quality levels.
The people responsible for the economy are not the same people responsible for regulations.

Did you ever think one of the reasons for the problems could be big companies acting unethically?
Social Media Explained (For those new customers who need help )
Swift Playgrounds looks great but I'm surprised no one has mentioned the frustration that Apple is shipping something on iPad that other developers have been banned from making since iPad shipped

From the Swift Playground website:

> Send your code to a friend’s iPad using Mail, Messages, or AirDrop

No other apps are allowed to do this because of the iOS Terms of Service restrictions
They're operators that cons an element on to a list. They're both defined on the List class, but differ in associativity because they start/end in a colon.

"a +: l" calls the +: method on l with a as its argument and returns a list with a added to the start, "l :+ b" calls the :+ method on l with b as its argument and returns a list with b added to the end. "a +: l :+ b" (parsed as "(a +: l) :+ b") therefore returns a copy of l with a added to the start and b added to the end.

This is user definable, you can make operators whichever way you like (and start them with : if you want them to be right associative).

It's very flexible and you do sort of get used to libraries using it, but I'm not entirely sure that getting used to something always means it's good.

(TBH though, I use the ternary operator constantly and think nothing of it.)
Well all of Expensify's managers are 10X managers, so if the employee doesn't like them the employee must be the problem.

Q.E.D.
Sorry to hear of your experience, but wanted to say for others that autoimmune diseases and the associated medications are complex beasts and ymmv...

I have been on a TNF-a inhibitor for over a year and the results thus far have been literally life changing - for the better. I haven't been this healthy or had this much energy since before adulthood.
You'd be correct.

But they're just method calls, both defined on the class of l. It is a little weird.
A new edition of our free C++ compiler
No idea why you're getting down votes, this is 100% accurate.
I'll also add it's not always obviously wrong when it's setup.

For example, of course only QA people can use "Testing passed" transition. Of course there should be x, y, z fields filled out to be able to create the ticket. Well we're at it, let's make sure only the product manager can close a ticket with 'wontfix', and only the release manager can change a fixversion.

This is a really common problem with any workflow tool, where well-intentioned control points get in the way of actually Getting Things Done, both from the perspective of not thinking through all the complex scenarios (what? I have to fill out 5 fields before I can close this as a duplicate??) and from not trusting your employees (don't worry, a jr. dev is not going to re-assign a fix version even though they can -- or at least, they won't do it twice).
After nearly a year of panicking about going from 7 to 10 and breaking all my tools, I finally did it a few days ago. Everything worked, nothing broke.
My apologies, even I was confused at the terminology. Social Democracy vs Democratic Socialism.

https://en.wikipedia.org/wiki/Social_democracy <-- The Nordic model. This what I would argue for, and when people say they want to emulate the Nordic model, this is what they mean. It's 100% a market economy, no one is advocating for a socialist planned economy.

Regarding economic powerhouses, do we really need to make that the goal? Quality of life and sustainability should be the primary goal, not corporate growth and profits.
Dont read too much into it. This is EU seeing its economy and consumers exposed and looking for better deal.
Edit: I meant Social Democracy, not Democratic Socialism.

https://en.wikipedia.org/wiki/Social_democracy
Agreed. In the worst case scenario, you could be consulting to a small startup, yourself. Just be sure to improve yourself during that downtime so that you don't come back into the search rusty.
By rotating the grid 45 degrees, the OP mitigates the problem with fine horizontal / vertical line detail.
I found lots of analog companies Googling for it but no references to Michelin being in the business. So, yeah, I'd be interested in a link about it and/or the story.
It's funny what most of us consider "a lot of money". An uber driver yesterday mentioned overhearing two organ replacement surgeons talking at his gym in Palo Alto. One said, "man, the pay sucks. It's only $13,000,000 a year :-(". And the other one responded "sheesh, come work for us and we could at least get you up to $19,000,000 a year." Kind of puts things in perspective...
Reminds me yet again why I prefer to live west of Yellowstone :-)
The pay is not even close to competitive. I've been through the interview process and they wouldn't budge on what would be a 40% cut for me. Very disappointing considering how amazing everything else is. I felt a bit insulted, considering their inflexible rate was several thousand dollars lower than my first dev job.
The End of Privacy (FindFace and Moscow CCTV)
I must admit I initially thought the idea of this app was a bit silly, but after giving it a try yesterday I believe it is some of the best software developed by Apple in recent years.

I ended up working through about half of the first Learn to Code module and had a great time even as an experienced programmer. Hopefully those new to coding will also find it to be an enjoyable experience.
Eh.. what? Cloud9 is the reinvention of the wheel. That's the point you missed. With far fewer features, it just happens to be packaged together nicely to suit a particular purpose.

Cloud 9 is one of many. In 3 years you won't remember the name.
> Researchers at the University of Manchester, in England, have gone a step beyond mirrors and fashioned an immersive virtual-reality system for treating patients with phantom-limb pain. Detectors transpose movement of real limbs into a virtual world where patients feel they are actually moving, stretching, even playing a ballgame. So far, five patients have tried the system, and they have all experienced a reduction in pain.

Could be a pretty killer future VR/EEG (or are they using physical motion sensors configured to the "good" side of the body?) app.
The issue I have with tests, is that I feel like I'm just implementing my algorithm a second time, in a different wording (language/domain), hoping that this will catch some unknown bug(s).

If a test suite covers all aspects of an implementation, it's basically a second implementation, and then the question becomes whether the time spent writing this test code would actually have been better spent looking over the actual code that defines your algorithm. If we can't detect errors in code by reading it, I don't think tests will help us much.

Furthermore: if our algorithms require a second "test implementation", shouldn't we also write a test for the test, to confirm that the written test actually tests correctly? What good is a broken test? If you've built a plywood door, and a machine for testing that door, wouldn't it be useful to have a machine that tests that your testing machine actually tests the door properly?

All jokes aside, I really enjoy automated, high-level tests, which mimic actual user behaviour. I think this is different because we're no longer implementing an algorithm a second time around (as a test), but rather encoding user behaviour (of the algorithm) into an algorithm (new code).
Have they opened it up? When I tried looking into it last year the application made it seem like it was only open to fairly large companies.
You can't, of course, see the additional colors that would be enabled by looking at his picture of the gamut, because your current monitor can't produce them :-)
Light and the eye (2015)
There will probably never be desalination cheap enough for irrigation, and non-agricultural uses don't add up to enough to make desalination nescessary.
This seems like the corporate version of arguing over who dumped who in a relationship.
Classic view is better for nested threads:
http://thread.gmane.org/gmane.comp.security.oss.general/1994...
Getting to the interview has always been the hard part for me. I'm curious about this - I'd imagine you can really up your interview rate if you fit the resume to the job posting, including all of the things you've never actually done that are in the description. If there's a more honest way, I'd be open to it.

I'm only now getting to the point where interview = offer is no longer true, but it's been for executive level positions where I don't know that they realize I'm on the early end of 30 until they see me. Still, if I could get that interview percentage up, that'd help my odds.
Slash would play them both equally badly, and sound like a weasel being strangled in both cases.
Sufficiently advanced shittiness is indistinguishable from malice.
You get jobs by being unique.
Their original Show HN: https://news.ycombinator.com/item?id=5401470
Mattermark Daily – Thursday, July 14th, 2016
Im still looking for data myself on reliability over time. I recall one OS for IBM mainframes bragging about its reliability because it ran six months or so without a reboot. I was think, "Wow... some good numbers there..."
Doing anything in life makes you a better programmer.
The last time I tried to compile an executable using all the afl fuzzer magic-compile-time stuff, I gave up, so I have the impression that CPU time isn't the bottleneck here.
There is! RFC 7710[1] specifies a DHCP option/RA extension that encodes the URL of the captive portal, s.t. when, e.g. DHCP completes, the connecting machine immediately knows what the captive portal URL is, and doesn't have to get MitM'd to know it.

[1]: https://tools.ietf.org/html/rfc7710
Do you ever look at reality and wonder what version it's running? That's where all this is going...and the second it does, those Pokemon we're all chasing become de facto reality.
Many dead as truck hits crowd in Nice, France
Who decides what an SF rate is though? SF rates are highly variable, like in any other city.
Was it due to your location? I read they base salary offer on applicant's location... something I am feeling very undemocratic lol... I was idealist thinking I could get paid as per my skills, talent, effort, contribution etc... hell with my location, I could be in India , then in Indonesia and next year working from Mars :-)
> What people fail to understand is that the Swedish model of social democratic capitalism isn't antagonistic to large corporations; it's a model where state and corporations form a symbiotic relationship. This at the expense of SMBs and the civil society.

I don't think anyone who seriously follows US politics or economics fails to understand that. Bernie Sanders is not pushing to get rid of the free market.

I would love to know more about what you mean when you say it comes "at the expense of SMBs and the civil society"?

From my perspective, here in Germany, having a small business is a bit easier because you do not have to cover health insurance for yourself (your health insurance scales with your income so it will always be affordable) or any of your employees. Of course, the stronger rights of the worker can bite you since it is very difficult to actually fire someone. I know a lot of people who are self employed contractors (filling some small niche), not even making that much money, but still having excellent health care and a high quality of life. That type of thing is much harder in the US since there is no safety net to fall back on and you will be crushed by health care costs.
Hello, from under my (lua? )rock! I still use Mjolnir. I kinda liked the separate modules approach...
I'd also consider WebP. FLIF is great but compression time is much slower than WebP for similar results.
T-Mobile Grants Users Free PokemonGo Data for a Year
This kind of removes a lot of the draw about being remote - you'll get a pay cut if you move?!
This is basically giving Net Neutrality the finger.
Go Song – Fun and Poetic
When you reach a certain point in your career, you'll realize that you should be reading marketing books. You won't get a bigger salary by reading software books.
I can see the argument for terseness in source, particularly in domains where the terseness in code reflects well-understood shorthand in the actual problem space. But stuff like that makes me itch, to be honest.
If there is a link between increased driving fatalities and legalized marijuana, it will be statistically significant and visible. I don't see much point in comparing total fatalities with other drugs--the harm is often under different mechanisms in different contexts.
Super curious as to why you're getting downvotes... :/
If all you do is use a browser, the real answer isn't Linux, it's a Chromebook.

Which of course is Linux. But still.
The sentence to which I was responding ('your first sentence'): "If a supermarket did give favorable exposure to their generic brand products, the other companies could complain about that and it would be unfair."

Fairness is not the reason store-brand and generic products are near each other on the shelves. It's because you get more sales if you organise a store so it's easy for customers to find stuff.

"Yeah shelves are precious but that has nothing to do with what I said."

It does. You proposed one explanation why generic and branded products are next to each other (fairness). I proposed an alternative explanation (maximising the returns from limited shelf space).
The ideal would be to use hexagonal pixels for camera sensors, displays, and printer dither/halftone patterns, the same way human retinas arrange their cone cells. :-) Cf. https://scholar.google.com/scholar?q=hexagonal+image+process...

Since we have so much variety in screen shapes and resolutions today, most of the time we’re resampling images on the fly to rotate/scale them into their position on screen anyway, so the pixel data representing an image in a file isn’t getting directly sent to the same on-screen grid. Thus for most of what we display on screen, there’s no inherent need to stick to the same grid shape used for storage, and a hexagonal pixel grid would in practice look better for the same number of pixels (hexagonal grids are particularly good for representing curved shapes and reducing moiré artifacts). For that matter, there’s no inherent need to store square grids of pixels in our image formats; we could use hexagonal-pixel files and easily resample them for display on arbitrary display grids. The only thing stopping us is technical fluency with rectangular grids, and cultural/historical inertia.

(Think of the iPhone 6+, where software can’t even address the native screen pixels, and literally everything gets rendered to one size grid and then resampled for a different display grid.)

Beyond that, people really need to stop using the extremely misleading CIE 1931 (x, y) chromaticity diagram when comparing color gamuts. The CIE 1976 (u', v') UCS diagram is much more uniform, and just as easy to plot (it’s just a simple linear transformation of the (x, y) diagram). We’ve known the problems with the (x, y) diagram for >50 years now, there’s really no excuse for its continuing ubiquity.

For making diagrams of pixel grids, it would also be better to show less intensely colored RGB pixels, so that the G’ pixel doesn’t so look obviously less intense.
Role into interviews with +2 Int
The Inner Game of Tennis

Think And Grow Rich - I based my cover letter off of some of the concepts in this book and it has worked remarkably well.