skysight-inc/HackerNews huggingface dataset:
> I find libraries that help developers save a few lines of code here and there not worth changing a programming paradigm. By far the biggest boost comes from reuse-in-the-large. I fully agree that languages with such higher-order constructs allow writing more reusable code than classical imperative languages. But "more", in this case, does not translate to big savings and does not justify a change of paradigm. We are deep in diminishing returns territory there, even if pure FP had no disadvantages.

I find being able to reduce code in the small yields exponential returns in the large. If one can reduce the size of plain code by say 10%, making functions and classes shorter and easier to comprehend, then that takes some of them below the threshold where they need to be split up, and unlocks further opportunities to see and factor out commonality, reducing code size and class counts further. That might take you below the threshold for needing to separate a layer in the larger component, and that in turn allows more reuse; that might take a component below the threshold of needing splitting up, and that might take the project below the threshold where it needs multiple developers or multiple teams involved.

You don't have to change paradigm. I can understand (though I don't agree with) wanting more operational features in a language. But I can't understand being so hostile to these conservative but useful features.

> But those higher-order constructs do not require a pure language, and could be added to Java/Kotlin once there are no bigger-impact improvements to be made, and if it's judged that their meager contribution justifies adding complexity to the language. Not every added utility automatically translates to "we should do it." Its cost must be weighed as well.

Costs should indeed be weighed, but HKT has one of the strongest cases in terms of power-to-weight: it's a very cautious extension of the type system that doesn't really make the language any more complex, since it just means permitting type parameters to be used in ways that concrete types are already allowed to be used. And virtually every application can benefit; I use traverse virtually every day. Features like language-level null or delegation have a much higher risk (they change more of the rules of the language, a reader has to be aware of them even if they aren't using them directly and when they're not necessarily visible in a function signature) and are less broadly applicable.

> Quite the opposite. Ordinary imperative code (i.e., blocking threads) is programming with continuations. Continuations are the core abstraction of imperative languages, just as partial functions are the core abstraction of pure-functional ones, and all the core constructs in those languages -- loops, exceptions -- are built to work with them.

Threads, loops and exceptions are notorious sources of bugs and incomprehensible code. To the extent that they're the core of imperative programming, imperative programming is a bad thing.
Some ballistic missiles deploy counter measures. So it can become difficult to know what object is dangerous or not.
I would call that creative quoting.
I'm not sure if it's possible to access the character given the key code (the docs you linked implies it's not), but when we're interested in physical keys, I'd much rather use that nonetheless.

A good way to illustrate the controls could maybe be with an image? The keys on the image could say WASD for all I care, as long as I'm able to see the position of them, which is what matters.

There are similar issues for other things than games. Quite a few programs have `Ctrl + /` or similar as a keyboard shortcut, which is easy on an american keyboard, but on a Swedish one there's no dedicated key for slash (it's `Shift + 7`). The same goes for most symbols except A-Z (I use Swedish QWERTY), they are in other locations and with other modifiers.

Best, of course, is when you can get the character based on the physical key. One example of this is Visual Studio Code, where the shortcut for toggling the console is `Ctrl + Ö`, and presented as such. I assume they defined the shortcut by the physical key (the one to the right of `L` in this case) and presented it by its character.
Important content from the post:

The Beginner’s course is joining the ever growing Egghead.io “Community Resources.” I’m totally amazed by Egghead and all the free stuff they sponsor. Thank you Egghead!!

The Advanced course is free for now and will eventually be used to fund Egghead’s community resources by converting to pro content. And now’s the best time to get a pro account. Egghead very rarely does sales, but it’s running one right now! For a limited time, you can get an Egghead subscription for 30% off. See egghead.io/gifts for more information.
Progressive Web Apps in Latam
I try to avoid any formatting beyond ascii. It just makes life harder when people are trying to cut and paste.
> Isn't focusing on existing utils more like a lack of imagination and OCD on optimizing a thing beyond any further value?

OpenSSL is a classic counter-example. Interestingly, there are two different approaches actually happening to fix OpenSSL:

- Taking the existing C code base, throwing a lot away and cleaning up the rest, e.g. LibreSSL (developed by the OpenBSD people)

- Taking the TLS spec and rewriting the library from scratch in a safe languange, e.g. ocaml-tls.
Rust's first compilers were written with OCaml.

We don't provide bootstrapping from C because no C-based toolchain has ever existed. However, it may in the future; see my link upthread.
I'm a big fan of the "executive summary" approach. Give a one or two sentence overview, followed by the details if anyones interested.

I once worked with a senior engineer who would write incredibly long, detailed emails to the point that his manager would ask, how do you have time to write these and not complete this (underspecified, unrealistic) task? He ended up getting PIP'ed and fired. I counseled him many times to keep his emails to 4-5 sentences tops. He just couldn't do it.
Show HN: Oh, My Coins – Database of Wasted Crypto Assets
C has a large advantage: you can write a compiler in machine language (not assembly, raw machine language) in a week. Not a good compiler: it will produce horrid, unoptimized code. You just need enough to build a good C compiler. From there you can build a c++ compiler, which in turn can build the C++ compiler you want.

Every time you add a new language feature you increase them time to write your bootstrapping compiler. Garbage collection means you will spend a few more months building a garbage collector. (remember we are writing in machine language so most of the abstractions you are used to dealing with - even in assembly - are missing. Thus complexity is growing exponentially)
Or, putting everything on the line is rare. Where the biggest failure may be going all-in on a project too soon and having to get a job once you realize the mistake. Where once you have a certain size and level of success, losing it takes effort.
Far too simple of an analogy. First there is competition between miners so there's never going to be a single source, plus there are millions mined already in the pool. Also, bitcoins are currently divisible to 8 decimal places but that can be changed as soon as it's needed.

It's quite possible in 20 years that 0.000000000001 of a bitcoin will make the average house payment and by then, we'll have friendly names for all the decimal places.
Oliver Rochford CSOonline: 3 Common Cybersecurity Maturity Failings
We had external trainer here some weeks ago and at one point he mentioned(boasted) that he had inbox of 4000+ unread emails. On the last session he wrote his email on the board and said that we can just contact him for further questions and of course no one wrote it down.
Good question, that's my oversight, got that sorted now.
Bodily autonomy is irrelevant here. As a sane adult patient you're always free to decline treatment. You're also welcome to ask your providers for any data they can legally release. But in reality most providers simply don't have the data you're looking for and have no incentive to give it to you even if they did have it. Then if you need care what are you going to do?

You have hit upon the core problem though. Outside of a few limited areas where we have clear evidence-based medicine guidelines there is no reliable quantifiable standard for measuring provider quality.
What would you add to create-react-app?
We've already established management doesn't care, otherwise we wouldn't have these massive data breaches (practically) every other week and IoT devices with zero security and open access to the world.

At a company I worked at 10+ years ago the IT Dept had a generic VPN username/password that they gave out like candy to use if you needed to VPN in and your account was in the process of being setup. It wasn't like this practice was a secret either. I don't know why it took more than a few minutes (?) to setup VPN access.
We build https://github.com/seatgeek/docker-build-cacher using Haskell to improve the cache reuse across docker builds when using multi-stage dockefiles.

Haskell's amazing ability to write parsers in it made the task a breeze.
Chicago, IL | Trunk Club | ONSITE | Full-time

We're building the future of retail, enabled through technology. Talk to us if you're interested in creating lightweight single-responsibility backend applications in Ruby, building advanced React front-ends, leveraging graph databases and machine learning, and creating amazing user experiences for users both internal and external. Our platform powers everything from the customer experience (online and in-store) to our sales and relationship tools to our financial and merchandising capabilities - there is a lot going on!

We're currently hiring for the below roles (US only):

Software Development Engineer in Test: boards.greenhouse.io/trunkclub/jobs/88244

Engineering Manager: https://boards.greenhouse.io/trunkclub/jobs/155114

Software Engineer: https://boards.greenhouse.io/trunkclub/jobs/4492

Senior Software Engineer: boards.greenhouse.io/trunkclub/jobs/44918

Software Engineer-iOS: https://boards.greenhouse.io/trunkclub/jobs/99598

Android Developer: https://boards.greenhouse.io/trunkclub/jobs/914435

Data Engineer: https://boards.greenhouse.io/trunkclub/jobs/686196

Senior Data Engineer: https://boards.greenhouse.io/trunkclub/jobs/774428

Please check out our website to learn more: https://www.trunkclub.com/careers.
The most "fun" subcategory of "how do I write a test for this?" that I've seen is when something in your software triggers a bug in somebody else's product, and "somebody else" is both too big and important to return your calls and too relied-upon for the bug to go unaddressed (e.g. the Oracles and Ciscos of the world). So you have little recourse beyond screwing around with your code until the user stops seeing the bug.
Why would it matter ?

Indeed what is failed, and how is the procedure responsible for it and not care observance (ie orthopedic or even cardiac procedures that should be associated with a loss of weight/exercise or whatever, who's at fault if patient does not follow his diet ? Is it a failed procedure because of the pratician or because of the patient ?), or even simple patient physiology.

This question also makes me super angry because it really makes no sense whatsoever, and just comes from unreasonably suspicious patients who should probably just give up on using modern medicine if they can't trust a whole TEAM of doctors and caregivers.

Procedures themselves are not even the riskiest thing compared to anesthesia or even post op care (hello nosocomial infections). Also most procedures are not rocket science either, in my experience surgery is more like a makeshift job than anything.
Win10 just doesn't work well on 2GiB. Compressed pages are nice but not enough to prevent swapping. It also doesn't help that MS prevents you from running 32-bit on modern hardware to alleviate some of the memory pressure.

The solution is to install 32-bit Linux on it. Then it won't suck.
I agree. I think most of the technological advance that would require major physical (as opposed to virtual) changes won't be happening anytime soon.
Not trolling here: what do you mean by "not used for programming a computer"? I'm genuinely confused because I would think that all uses of a programming language qualify as programming a computer. Do you mean applications of Haskell to domains that are messier than compilers and other classic computer science problems?
> Your facts-based argument is that people in Detroit would move to Canada if the immigration policy was relaxed?

My facts based argument goes back to the original parent discussion that you joined, which is: the US is considerably more diverse than Canada and that that is due to very different immigration policies over time. I've overwhelmingly backed that up.

Would poor people have immigrated out of Detroit and into Canada as Detroit collapsed, seeking a drastically superior social safety net, free universal healthcare, etc.? Hell yes they obviously would have.

> You'll have to cite a source stating that the growth in those populations is from internal movement.

You can't actually believe the US has historically lacked for internal movement (in fact it's only very recently that that has been the case).

California's population in 1960 was 16 million. The US total hispanic population in 1960 was 6.x million. As recently as 1970, California's white population was nearly 80%. In 1970, 16 million of California's 20 million people were white - how did they get there? Millions of people moved to California from other states, famously, in the post WW2 era.

Las Vegas, which makes up a quarter of Nevada's population, is 44% white, 11% black and 7% asian today. How do you think those people all got there? The Las Vegas population figure was 8,422 in 1940.

I'm certain I don't need to cover Arizona (boomed internally similarly to Nevada), Texas and Florida. Florida has very famously seen vast internal US migration as older people flooded the state over decades.
Source of stats on CSGO finals?
No it doesn't average out at all due to persistent differences in patient populations across providers which can't be adequately controlled for using the available data.
>Performance in web apps is not a goalpost for everybody.

But in 2017 startup and companies are starting to understand how fast response times (on a website/web-app) are of critical importance for gaining a good user base.
This is really interesting because
"it can't solve your unhappiness"
"not having money will often cause unhappiness"

So by definition, having money will not solve your unhappiness caused by not having money :)
> I fail to see what advantage rewriting existing and proven tools with a new language would bring

I think code safety is not an issue here because the Posix tools (and Unix/Linux as a whole) have already proven their extreme reliability.

The only real advantage to rewrite the Posix tools is motivation. A rewrite in a modern language like Rust will likely keep maintainance longer alive than old C code that no one likes to maintain.

It's the same reason why a new display manager (Wayland) is wanted instead of X11. There is basically no technical reason to replace the X server which works very well to this day. However, there are not much people anymore who like to maintain the old X code, or to support new graphics cards in X.
> the current implementation might have used a clever trick to achieve faster execution (this cannot be evaluated with unit tests).

Sure it can. I worked on a project with a pubic API with many time sensitive routines and we most definitely had unit tests measuring performance. The test failed if the execution time exceeded the acceptable threshold.

> Alternately, it might have been implemented so as to share common functionality with a different piece of code by calling a common subroutine.

You can certainly write coherency tests to ensure that two methods are doing what's expected. They might not share the same subroutine any longer but you can throw an exception when their respective results no longer align and have comments on the test explaining the rationale. Honestly if you have this sort of subtle dependency and you don't have a unit test for it then you're just asking for trouble.
That’s just one facet, I don’t think that’s the only reason to keep it around. I think it’s irresponsible economics to encourage an economic behavior and then to uproot it abruptly. I think the knock on effects on the housing market and rental markets haven’t been appropriately priced in. I think there’s a lot of ways for this to go sideways and the payoff isn’t that great.

Couple that to the estate tax changes which are not an economic driver and help to curb wealth inequalities and I think it’s a raw deal.
An important difference: gold and diamonds have significant non-financial use. The majority of gold mined each year, for example, goes to jewelry and industrial use. And the track record for that demand runs back millennia.
Hahhahaha my procrastination could have finally paid off!
This is an oversimplification. You need to add goods and services to your hypothetical situation for it to make sense.

Say there is one hotel room and the alternative is sleeping on a park bench. The cost of the hotel room is 1 BTC. The price of Bitcoin is peggged to the perceived value of the room by the market.

The reason why currently the price of BTC is rising without goods being traded is speculation by investors that this will be possible in the future.

This is the equivalent that it costs $10 a night to stay in the hotel room but in 2 days time it will cost 1 BTC. If BTC is trading at $5 USD then it will be a good deal to buy BTC today as long as I have enough money that I’m not homeless in the interim.
I'd agree that they are clearly getting the short end of the stick for now, but I have to wonder... if the flower children grew up to give us Iraq and Trump, what kind of monsters will our Starbucks guzzling Warby Parkers transform into?

Or maybe I'm being too pessimistic? Perhaps a little adversity will make them turn out better...
Depends on what you consider "programming".

http://sentenai.com is a modern data historian replacement targeted at data science use-cases. Data science involves programming, so do we consider that using Haskell for something other than programming? If so, I think it disqualifies a broad range of software like database systems from being considered as "applications not used for programming a computer".
Their entire government is an cobbling together of western political ideas.
This entire thing is based around the premise that BTC is freely exchangeable for real currency. The amount currently exchanged is microscopic compared to the market value of BTC.

Here's old school BTC:

https://en.wikipedia.org/wiki/Shell_money
Open a powesupply before your next reply.
1.

the question is not how scarce Bitcoin is
the question is how abundant are fools

2. Your example is flawed, Bitcoin isn't an isolated ecosystem, it parasitizing on a global economy. HODLers even use USD as a Unit-of-Account, when bragging about paper gains.
Expecting moral decency from companies should still be allowed even under capitalism.
I think it is important for us to think more on the resources, for programs we write consume, when: they are compiling, they are executing and when they are just "dormant" on persistent memory. Experience and history shows that the bigger the program is, the more resources it needs to function, the more bugs it has, which consequently makes it more difficult to debug and prone to failure.
There is little I dislike more than generational labels.

It's lazy and reductionist thinking that allows people to arbitrarily draw lines in whatever way they feel will best push their narrative.

Quick, 1981/1982[1] Millennial or X?

[1] Those born in 1981/1982 graduated in 2000
it will be interesting to see how they determine the settlement price

my prediction: huge amounts of bogus trades every day to manipulate it
The Winklevoss twins are now Bitcoin billionaires
They can message between native applications (e.g. the AV software) and Chrome. They can also inject scripts into every page (something AV software loves doing for some reason).

If Chrome has a security hole that the AV vendors know about then they can fix it at source. This is a lot more robust than opening a giant hole in Chrome's sandbox in order to insert its own code inside.
If processes and algorithms hold such tight grip on any new code created, just employ the same processes and algorithms to create the code itself:) Humans just seem obsolete there.
This is exactly how MPs offices have always worked, staff
open and respond to letters with little oversight. Now they
do the same with email.

This isn't just the email password, nor is it just the password to the "letters from the public" email. The original offense was "downloading porn on a work computer", indicating that this is the core network account, AD or LDAP. And that means that it's granting access to everything, every email and every file. These interns don't need access to every email she sends to another MP. These interns don't need access to the drafts of upcoming legislation. These interns don't need to know what kind of cat pictures she likes. What do you want to bet that the whole "Using personal email for official communications" fiasco over here started when someone said "I need an email that the interns can't read and they won't give me two user accounts"?
It was described as trying to hit a bullet with another bullet, but in this case both of them are super fast ones. Complications I can think of:

1) ever seen a missile being fired and flowing? It isn't a smooth movement, rather wobbling in +- target direction. I presume this is due to turbulence in the air and resulting corrections by guiding software. Double the issue due to target and pursuer facing random turbulence on their own

2) some SCUDs have some sort of simple 'randomizer' in their flight for exactly these reasons - to confuse simpler defense (ie boat-based gatlink types which fires dumb explosive projectiles) - the target is still in aim, but there are random movements around axis of movement

3) sensors are/were not perfect, non-ideal conditions (clouds, night, cold, humidity, dust), bugs in software etc
The issue here is still culture. What's an IP, and why isn't this alert going to IT instead of me? 2FA can be added to multiple devices still allowing delegation. People will throw a password into anything that prompts them.

I always think about people who say that verification keys in emails is the route to go[0] to stop phishing/fraud attempts. It's a technological method that ensures the message is sent from a specific source, but that doesn't mean that the user will always verify the key.

We've had the technology to stop most commonplace security issues for a while. We've almost always been lacking in culture.

[0]: https://news.ycombinator.com/item?id=14219272
millennials ruins the millennial blaming!
OP probably means not for compilers.
>I am a C coder, and I cannot wait to have my code on the web, decimating inferior languages like JavaScript.

Not only you but many, many programmers out there in other languages, wishing for more performance, or for a higher level of abstraction. I will brace myself for the amazing applications that will be built now for the web.
Then you go to the full Beaglebone Black.

https://beagleboard.org/black

Folks, this is a family of boards with the same CPU but different capabilities. Just because there's no PHY on the smaller board doesn't mean the SoC doesn't support it.