skysight-inc/HackerNews huggingface dataset:
I've been primarily a professional Clojure developer for several years, that's how I earn my living, and thus I have used the language in many contexts. In the beginning I was in love with it, in hindsight at least part of this love was the thrill of doing something new. But my appreciation for that style of programming has gradually declined over the last 5 years.

FP is great for many little things you might have to do. But for larger architectural considerations, I still find notable advantages to creating custom classes that have their own public API, private internal implementation, and that manage their state internally. In the absence of this, you have lots of functions that are basically sitting alone with their pure inputs and outputs, and to manage state requires more effort, not less, in a lot of situations. Each of these functions has to receive the thing they are acting on, and a separate group of functions manages the actual mutation, acting as "controllers" between these more pure functions and the actual stored state. The result is a less elegant program structure sometimes.

FP enthusiasts like to say that "it's better for many functions to operate on common data structures than it is to have many custom data structures with their own functions." The problem in my experience is that often, these pure functions are only serving one purpose geared for a particular data layout, and thus they might as well be coupled to it; the lack of a backbone in larger FP architectures can be frustrating. In Clojure, you have maps, and all maps behave the same. Great. But not all maps are actually the same. Each map ultimately has its own structure, and these functions that operate on a particular map are really operating on a particular structure a lot of the time. So you end up with increased verbosity and more difficult-to-follow code structure than if you just combined the data and its functions in one place: a class. The record-protocol idea attempts to alleviate this, but I don't feel it really gets to the heart of the issue.

I think OO and FP each solve problems in equally meaningful ways and different tasks are better suited to one or the other. I particularly like languages that don't force you into a particular model. Java and Clojure are quite opinionated (in opposite ways) and thus often inflexible for certain tasks. My favorite language for blending these techniques has become C++ but I don't get to use it as much. It offers true FP-style programming with constructs like std::function. I wish Java had gone as far as C++11 did; the Java lambdas and the requirement that they can only be type defined using a static interface is not really helping to adopt the paradigm.
Well, the web still isn't up to the UI ease of programming of the operating system it was started on (NeXTSTEP). With all the standards and work, you would think a VB6 or Interface Builder could actually be built for the web.
Lots of thoughts. This is a very common situation.

If you're much younger than this other developer both professionally and biologically, then just fall in line, to be frank. Do your best. Try to help them out. Always be learning. Eventually maybe they'll move on, or you'll find a better opportunity. But don't under any circumstances badmouth anyone, or try to undermine anyone, or get into an it's-me-or-them situation, these things will only set you back.

I think if you are in the position of asking your manager for permission to refactor or rewrite or whatever, the problem has been framed incorrectly. Managers are for helping people work together, and helping them understand what is important to the rest of the company, and helping the rest of the company understand what you are doing, and helping you understand how to succeed at the company, and... many other things along those lines. They're not for telling you what buttons you're allowed to push on your computer.

Your high level goal should not be to own the code, but rather the problem that the code solves. Then you are in charge of deciding whether to refactor the existing code, or make a fresh start, or something in between. But you have to make the right decision. As a professional, you take responsibility for doing the right thing given the context in which you operate -- the state of the business and the people working around you and of course the existing systems in place. As a professional, you are trustworthy and trusted. You write code when it is appropriate, solving the most important problem at hand in an efficient and maintainable fashion. You account for both short term and long term priorities when making decisions. You communicate thoroughly. You don't make big mistakes, and you own your small mistakes and fix them as soon as possible.

In your career decisions, you should think strategically and follow a path that leads where you want to go. Will this role help you become a mature professional? Do you have mentors to learn from? Will you have a balance of maintenance and greenfield development? Do you see people working there who have healthy levels of autonomy/mastery/purpose?

So overall, just keep your chin up and do your best.

But damn how do they not have tests.
> Or sometimes not.

No, shaders are always done by the 3d card =)
If you're going to bring up North Korea, you might as well bring up the long, long list of corrupt dictators the US supported or even brought into power. Batista in Cuba, the Shah of Iran, Carlos Castillo Armas of Guatamala, Saddam Hussein, and the Taliban are just the ones I can think of on the top of my head.
I wonder if there might be unique military applications. I’m thinking recon satellites launched on short notice to be able to observe a target that’s trying to hide. Launch site flexibility also means you can launch from a location that would let you recover the payload after only one orbit, like the Shuttle could do.
Agreed. At least we have this as a start: https://blog.archive.org/2017/04/16/early-macintosh-emulatio...
Deciding what star level to accept should not be the rating-reader's problem.

The reviewers need to have their own ratings statistically analyzed, so that their median rating is adjusted to 3 stars out of five for the purposes of averaging across multiple reviewers.

If you only rate things as 5 stars, you have no dynamic range. I want your reviews to all be 3 stars in the average I see.

Another optimization could be to change the aggregation function such that reviewers that rated well the same things I rate well, and who rate poorly the same things I rate poorly, and those reviewers I explicitly mark as having helpful reviews, would be weighted more heavily in the number I see. That would effectively filter out bots that rate their brand as 5 stars and competitors as 1 star, because that pattern is so dissimilar from normal consumer behavior. The bots see cheap white-label crap as 5-star because the recommendations of their fellow ratings-gaming spam-bots dominate their own aggregate rating. If you rate a microwave oven as 1-star because it shipped in 3 days rather than 2, I don't really want your reviews polluting my averages. If you rate a cheap-ass USB cable as 5-stars because it "works good i had no problems", I don't want your reviews polluting my averages. If you rate a USB charger as 1-star because it "Violates USB 3.0 spec and will probably burn your house down; I am an electrical engineer and here's how I figured that out..." then you're danged right I want that reviewer's reviews to have more weight.

I don't see how a system like that would be any more complex than Google's ranking algorithms for search. If they can discover the most useful sites and weed out SEO gaming attempts by analysis of links and traffic, so too could Amazon put an actually useful rating value on the products it ships, and so too could Uber show you what drivers and riders are really like.
YC Summer 2018 Batch Stats
>Google didn't have to open source Kubernetes.

They open sourced it for pragmatic reason. In some sense, kubernetes is an open source cloud infra, and in this way it prevents AWS from monopolizing the market.
Reminded me of the reaction to this paper in Medicine https://doi.org/10.2337/diacare.17.2.152

It's just rudimentary integration approximation to a mathematics undergraduate but to those in Medicine unfamiliar with it, it was an achievement.
If it's a new private highway, then the operators should, sure. Other than that it doesn't really matter, as Congress probably budgeted for the border crossing when it decided to build the highway and connect it to the neighboring country's highway/road.
> Then there was the fact that it was tumbling and wasn't emitting anything

There is a range of the radio spectrum we can't really practically measure: the very, very low frequencies. Consider a nanohertz signal. Period of each sine wave: 31 years. You might also need an antenna the size of the solar system to grab anything.
Thanks! I actually have these already, I didn't even think they could be automated though. What do you use as the transmitter (I'm assuming you don't have a robot arm pressing the button on the remote ;))?
Are you trying to suggest that men are not allowed to ask for divorce? Or that children don't care about aging parents? Or that women die sooner then men at 50 and male husbands care about dying women?
The most irksome reason that got left off this list is that some types of high value items simply never make it to store shelves.

Instead of sharing good deals with the community, they put these items up on eBay for the highest bidder.

Sure, it's their right to decide how they want to do things, but it's a bit deceptive since they try to get people to donate on the premise that you are giving back to your community. Yeah, you are giving, but very indirectly, and your best items may never be seen by anyone in your community.

Taking away the best nuggets leaves the store inventories mediocre at best, yet they still ride on the perception that you can find treasures there. You still can, but they've made it much less likely.
I chatted to a guy who worked for one of those. Apparently either wealthy or very hard up customers were not profitable - the wealthy pay to quickly, the hard up not at all. What they wanted were people on the borderline that could pay back eventually having run up some interest.
Related: The New Yorker just a few weeks ago published a great profile[0] of the Virgin Galactic pilots, including a lot of detail about Burt Rutan, Scaled Composites, and WhiteKnightTwo.

[0] https://www.newyorker.com/magazine/2018/08/20/virgin-galacti...
I really wanted to love this project, but it had all sorts of odd problems with finding devices reliably. Had another weird issue where the "delay" had to be hacked in the config to recognize dimming properly.

I tried out HomeSeer and it has worked flawlessly. The downside is it is written in VB Script, yes you read that right so its nearly impossible to extend with your own plugins.

I really wish this project worked as reliably as HomeSeer so I can actually contribute and extend it. Maybe thats changed in the last year ?
I saw a review and it said that the ML-1 is still far away from "good".

Better than the Hololens, yes, but still too blurry most of the time.
Agreed with everything you said. Japanese pronunciation is easy to hit in the right ballpark because Japanese uses a near-subset of sounds found in English and other common languages. But refining your Japanese pronunciation takes effort and is not something to shrug off. Anyway, here are some examples where I think English-speaking Japanese learners butcher their pronunciation:

* し is [ɕi] (tongue fronter), not [ʃi] (tongue rearer).

* ふ is [ɸɯ] (mouth more open), not [fɯ] (teeth touching lips).

* お is [o] (monophthong), not [ou] (diphthong).

* え is [ɛ], not [eɪ]. (e.g. さけ)

* つ is [tsɯ], not [sɯ]. (e.g. つなみ)

* Anything with the Japanese r. The alveolar flap does exist in American English, though it's not consciously recognized as a distinct sound. Japanese sounds funny but still intelligible when the native [ɾ] is replaced with [ɹ] (English R) or [ʁ] (French R).

* Anything with small y (e.g. kya, nyo, myu) should have a quick [ʲ] sound, not a long [i] sound. e.g. きょうと is [kʲoːto], not [kiouto].

* Vowels are never reduced; きもの is [kimono], not [kəmounou].

* But the appropriate times to suppress vowels entirely. e.g. です, ～ます, して.

* The concept of doubled consonants, not grasping it.

* The concept of long vowels, not grasping it.

* Stress is often on the first syllable, not the second.

* Intonation is flatter than in English.

* How to use high/low/rising/falling tones correctly on particles.

* A natural and even pacing of syllables, not the choppy speech that foreigners seem to exhibit.
The converse of this is that the first bit of velocity you save pays off handsomely. Every multiple of the exhaust velocity that you save nets you a factor of e savings in mass ratio. Additionally, getting out of the soup of the lower atmosphere improves the average efficiency of your engine. Again, this is a bigger deal, relatively speaking, when you’re saving the first bit of velocity off the top, as you’re multiplying on a larger launch vehicle.
> often never

did you mean sometimes always ?

> making every one else worse off.

do you mean all of the few people who's job you helped automate ?

> automate people

you are automating computers. People are already automatic.
Turns out Haskell is great for “building something useful” though.

At least that’s been my experience in my years of writing professional, money-making software in it.
> The architecture doesn't tell you anything: it is you who decide how to split.

I don't really agree. The major difference between SOA and Microservice is the guiding principals, such as the bounded context.

> As I see it, the outcome you see here is not "microservices!", it is just "doing a better job".

Maybe so.
just a joke poking fun at listicle's. like https://www.buzzfeed.com/rsultan/11-baby-animals-who-fell-as...
I'm looking for something like this: https://www.amazon.com/RockBirds-Required-Function-Control-A...

Except, doesn't require a custom android/ios app. I do want wireless protocol, but once the switch is networked, I want to be able to control it without some middle-man app that is phoning home outside of my network.
Xiaomi Gateway + Xiaomi temperature sensor (it records temp and humidity). They have a bunch of other stuff like lights, switches, window/door sensors etc.
Easiest way is to use Mi Home app, but you can also use Homebridge to have data in Apple Home (if you are a fan of that), or Home Assistant.
Some pets are arguably "home entertainment robots" (gerbils, hamsters, goldfish... cats, if you ignore their mouse-chasing benefits)
I think you missed the point of mine. Doesn't matter.

A lot of people made a lot of politicized fuss about the Damore thing, but the simple fact is that his document contained offensive generalizations about women and if I was a woman I would not want to work with him. He's free to say whatever he wants; as I said before, though, this is a fine justification for termination.

A lot of people from all sides of the spectrum made it a political issue, because of course they did. The left said Google didn't act quickly or harshly enough and the right acted like Damore's right to speak freely was being taken from him. I'm not one of those people and I'm not interested in discussing the issue in terms of 'ideologies'. Ultimately, as I've said before, what he did does not have to be viewed through a political lens for it to be a legitimate justification for termination.

edit: I said "if I was a woman I would not want to work with him." Actually I would not want to work with him regardless.
I've been running Home Assistant for a while in Docker on my home NAS server. It runs great, is reliable, very scriptable, and so easy my wife can use it! I run it on my LAN without needing any additional online services and I VPN when away from home if I want to check anything out.
Intel Responds to Complaints About Microcode Benchmarking Ban
I started pulling out my beard hairs as a replacement to cheek biting, which was a replacement to nail biting... Now I try to make sure I just keep a pack of gum on me.
> look at what the millions of folks who already have basic income do with their time. Volunteering is pretty high on the list.

I would actually be interested in seeing some numbers on that question. Do you know of any sources? Who are the millions of folks you're thinking of?
Does this mean you effectively get it "free" in terms of CPU cycles, and can use the CPU for all 16ms (60fps) of each frame to do game logic, without worrying about render time?
For desktops, i would say it was the 2nd gen of the core i series(2xxx, like the 2500k). For laptops, definitely the original retina macbook pro in 2012.

I'm still using that machine, i try out new stuff every few months. I still don't see the point. I load it down pretty heavily all the time and it still kicks right through it just like it did when i took it out of the box.

If it breaks, i'll just buy another similar one. They're not much over $500 now and it's an amazing amount of computer for that price even in 2018(19?). My only regret is not maxing out the ram and storage really, but that's on me.

I've never felt this way until now, i used to wish i could justify a new machine every year or two and often would. I think i didn't keep a laptop for over a year and a half until i got this one... But now i just don't care. I don't own a single machine with a newer cpu than this one, and my desktop still does great too with a 3770 and a couple SSDs.
Extra weirdness with this turing-complete combinatory logic with only a single combinator [1,2]. Combinatory logic being like lambda-calculus but where are only allowed to use some predefined functions and function application (you can't create your own functions). Bonus: since iota/jot/zot only have 1 symbol + application, programs are binary trees (with the combinator in the leaves) which we can write in prefix order as "1" for leaf and "0<program><program>" for node. And now (modulo some io details) we have a cool language where any bitstring is a valid program.

[1] http://www.nyu.edu/projects/barker/Iota/zot.html
[2] https://en.wikipedia.org/wiki/Iota_and_Jot
I rarely compare body specs with others. Maybe there's a bunch of other stuff that are weird about me.

For all I know there's something wrong with my sense of touch or smell. I never smelled a flower and then proceeded to ask the person next to me "do this smells like X to you?"

Take cilantro as an example. For 5 to 15% if the population, it tastes just like soap. I am sure that a lot of people think that it tastes soapy for everyone else.
> “Every day our team takes great strides to enhance our site’s security and we certainly anticipate that this recent data breach is the last,” McBroom said.

Holy shit. They left an Amazon S3 bucket wide open, their admin site was wide open, and their API stream of contacts was wide open.

Their concept of secuity is non-existant and they think this will be the last breach?

I doubt you'd hear any competent IT director ever say they won't experience data breaches in the future.

The incompetency is mind boggling.
When the iPhone came out, it was pretty much identical to the already popular iPod Touch, but with a phone included. It was a very obvious next step for Apple to take, although I'm sure Apple had planned to launch the iPod Touch as an intermediate step to a phone.

The original iPod was not all that much different from other MP3 players at the time, it simply had great design (both from a UX and aesthetic perspective). Similarly, the iPod Touch or early iPhones were technologically not much more impressive than a Blackberry. Touchscreens were nothing new at the time. But I agree with you that the way you interacted with the device was a new paradigm. Sometimes little evolutions make a big difference, especially when they make something easier to use, which is probably the most important factor for mass adoption.
Yes, this is exactly what I'm looking for...a wifi switch with a documented REST API. I am in the US, but maybe I can get an adapter ;).
> You will not, and will not allow any third party to ... (v) publish or provide any Software benchmark or comparison test results.

https://perens.com/2018/08/22/new-intel-microcode-license-re...
Oh I didn't realize it was per week. You're right.
Magick's root hiding module fixes this, and you're probably running Magick anyways to re-enable Google Play certification.
I posted a similar comment and had the same feeling. I'm glad you noticed/pointed it out too!
I believe you want the esp8266 or esp32 microcontrollers with esphomelib:

https://www.home-assistant.io/blog/2018/06/05/esphomelib/

You can get esp8266 devices as cheap as about $1.30 on Ali express or you can get the super tricked out ones (mainly just for prototyping) from adafruit for about $9.99. They call theirs the Huzzah and it comes with stuff that you don’t have to solder on to most esps anyways. But a small cheap wireless sensor (3.3V) that can attach to any small sensor makes for some interesting automations.
Have you contracted an independent pen-testing company to assess your design and implementation?
As someone who also does side projects with 2 young kids, all I can say is you get used to optimising your free time. You might be working through a problem while you sterilise bottles or other chores so that once you're sat down in front of your code editor, you can hit the ground running.

A few tricks I've found:

* Don't commit stuff to memory. Write notes, eg use githubs issue tracker. So you spend less time retracing your steps

* Get used to working without spending half an hour restoring your environment. Whether that means you just Dev in a simple environment or use an IDE which supports workspaces, or you just sleep / hybenate your PC each night. Essentially you want to maximize your device time. To that end it also helps to rationalise your codes directory and class structure.

It's a bit like working on projects with larger teams, because you cannot guarantee how much you'll remember (nor even how awake and switched on) when you next get dev time you then have to treat each next session as if you're handing over a project

That all said, be flexible too. I break the above rules as often as I follow them. Sometimes I curse myself for it but sometimes it's just not practical to follow a process (time constraints or whatever).
That is not my recollection. I bought my girlfriend the first iPhone and had no desire to own one myself.
He meant centuries.
Not much? Most things can easily withstand a 5g delta.
Were you logging to the card? I'm using a flash drive rather than an SD card, but I've mounted /var/log and /var/run on a tmpfs, then re-mounted / as readonly, and it's been running like this for years.
reddit.com/r/politicaldiscussion always has measured and thoughtful threads.
The right thing to do is for the minimum wage to be the minimum wage, regardless of ability. In the event you can't make minimum wage, government safety nets kick in.