skysight-inc/HackerNews huggingface dataset:
When reading about APL recently, arcfide - the chap working on a GPU compiler - has expressed that he likes APL's terse code because you can throw it away and rewrite it without too much trouble. His compiler is around 750 lines of code after 6 years of development, but[1]:

"If you look at the GitHub contributions that I've made, I've made 2967 of about 3000 commits to the compiler source over that time frame. In that time I've added roughly 4,062,847 lines of code to the code base, and deleted roughly 3,753,677 line of code. [..] It means that for every one of those 750 lines, I've had to examine, rework, and reject around 5400 lines of code."

Yet a 750 loc codebase sounds like someone with very little experience and a few days or a long weekend.

I'm not saying only the trivial "some languages are denser than others", but also that it would be interesting to compare projects in total lines of code written including all commit history, and that it would be interesting to compare people's experiences and project designs in terms of "how many times something got implemented in several ways before settling on a final version", or "writing once and the design got set in concrete because it was too big to bother changing", how many prototypes that work differently were explored before deciding - and what that does to people's skills, and to project designs.

I'm guessing thousands of lines of F# would make you more skilled than the same thousands of lines of C#, even moreso if the F# was higher-abstraction than the C#, would you agree?

[1] - https://www.sacrideo.us/smaller-code-better-code/
Penn Jillette fasts 23 hours a day to maintain his 100lb weight loss
Monitoring at HelloFresh Part 1: Architecture
Starcraft Bladder problems (or rather, news): At a SCHNAIL’s pace
Firefox used to allow this by using a "bulk bookmark" feature. Apparently this no longer works in my spiffy new "upgraded" firefox. Not only does my work not matter; the very tools I use don't care to remain stable enough to maintain my workflow.

I think the only viable option seems to be working on disconnected machines. Any data I need can be copied "by sneaker-nat" (copy to device / carry device to new machine / copy from device) for those too young to know of the idea.
Seems to be a lot of words for what we know already: knobs and switches good, touchscreen bad.
Deploying apps on multiple Kubernetes clusters with Helm
Cats, Rats, A.I., Oh My [video]
Still trying to recreate an os from scratch in a basement ?
I generally agree with that opinion, but in this case I believe communication tool feature sets are not the right setting to enforce organisational culture. You would end up with a highly opinionated piece of software, which would imply that one size fits all, when it comes to org culture.

Slack et al. (and email for that matter), can be used in a myriad of different ways to suit different types of organisations, which I strongly believe is a good thing.

We probably do need software to help us all with org culture, but I don't think comms is the right place to implement that.
Slack also has other problems that have been totally ignored and neglected for years. One of them is accessibility. The app is impossible to work with without a mouse. They say it is "keyboard driven" and they keep adding features that ignore keyboard completely. Have you ever tried to jump to a thread without using the mouse? Or copy a link to the last message? Or share it? Or ask Slack to remind about it? Or snooze all notifications? They could at least put them in the main menu. People with disabilities who rely on things being in the menu, they can't do any those things. Can you imagine having to hire someone and they'd be like: "Ah sorry, I have to tell you something. I cannot use Slack app. I hope that's not a deal breaker". I wouldn't be surprised if someone sues SlackHQ for being discriminatory.
>two relatively used languages

Relative to what? Haskell and OCaml are important languages for PLT but not in the context of "production", or as I understood "production" to mean: shipping products with features. To call them anything but niche players in this context is not accurate in my opinion.
How to set up a serious Kubernetes terminal
Take a look at https://github.com/well-typed/optics.

It's like lens, but with the design goal of being easier to use and producing better error messages.
The TTL chip computer was fun. The hardest part was fixing bugs in the wire-wrapping. You could have a wire buried 3 wraps deep that needed to be changed... oh, wait. You probably don't know about wire-wrapping. The memory wire-wrap was symmetric and pretty but the CPU/ALU was a nightmare.
I don't know if you caught that. But for me, "they pled guilty!" is meaningless. People are coerced into that all the time. So speaking generally, to those who think saying that is shorthand for winning an argument, it's quite silly.
I'll accept the correction regarding Saint-Laurent-des-Eaux, thank you.

However the steam explosion(s) that blew apart the reactor assembly at Chernobyl did not melt the fuel rods there although of course there may have been some localized areas of melting. The melt that created the tons of corium was due to decay heat. It occurred many hours after the power excursion and explosion(s).
Do you know what else has no mercy? American drone pilots. If you can find a way to make money with something then it will happen. Terrorists are basically doing it recreationally, so they quickly run out of money and manpower and very rarely do they have much of an impact. Nowadays the average terrorist runs around with a knife and announces his attack way before he reaches the victim and often gets beaten by the victim instead.
I think a much more interesting comparison would be to ask an expert in each one of these languages to implement a "production" ready version of the project - so allowing popular, stable, community-accepted libraries to be used.

Then we'd see what truly idiomatic solutions to this look like.
That sound very... japanese?
More horeshit.
Not sure if you are lying, ignorant or just enjoy carrying water for the government, but is a FACT that you can go to jail for possessing or publishing classified material in Australia, journalist or not.[0]

[0]https://www.abc.net.au/news/2018-01-23/journalists-at-risk-o...

I should add that this has only been the case for 6 months, so the fact that the AFP is now raiding multiple journalists, not for any reason actually related to national security, but for stories which embarrassed the government like soldiers killing women and children in Iraq, is somewhat concerning.
Do you have any sources to back up a reduced tolerance for viewpoint diversity, or is it just that their Overton window has shifted away from yours?

e.g. would they tolerate (even if they didn't fully agree with it) things on the extreme but opposite end of various political axis from you that you would consider beyond the pale, and vice versa?

From your perspective what seems like a narrowing of viewpoint diversity could seem like a blossoming to someone diametrically opposed to you, because each sees the subtler distinctions between factions in their own comfort zone.
Boeing seeking to reduce scope, duration of physical tests for new aircraft
Yeah, I've never understood the yearning for effectively plain text html. I remember recently a submission that had a "brutalist" styleguide.

I wonder how much of this is a reaction to the complex and volatile nature of frontend patterns, in a psychological sense.
I've been using https://tt-rss.org/ for many years now. I'm hosting the backend on a small VPS just for myself. The web client and the Android app are great and the whole stack is rock solid. Highly recommended if you want to read your feeds on multiple devices and keep them in sync.
Smaller code may also mean more entangled and more rigid design. But that is hard to tell from just the line count.
> reactive HTML or an ebook format

Genuine question but can you think of a website that uses reactive HTML properly and mind sharing it? I find that most websites seem to just put a maximum width on a page and call it a day.
Shyp is preparing for a comeback under new management
Ask HN: Do you have a side project to sell? Post it here
I remember about 5 years ago, we would occasionally get these really interesting threads on HN about websites/apps that people had made who were looking to sell them in the comments. Lets keep it going since I havent seen one in a while
All those things (except display of some street names) work for me offline on my Android phone, but only for driving directions. You have to save an offline map manually first, somewhere in the settings or sidebar.
> As final and obvious point: yes, I think I’m a worthy LBIP, go ahead and do that $10 thing at me,

> Google+

Haha, when was this written? Is this just him begging for money?

This is going to sound harsh, but has Eric Raymond done anything except whine about feminists in the last 20 years? I'm sure he's an interesting guy, but absolutely not a "load-bearing" anything.

The OpenSSL maintainers -- those are "load-bearing internet people"!
Origins of Cannabis Smoking
Using Siri at the Office
> Today such attacks are happening in front of our noses and these systems are still connected to the internet?

I've done my fair share of inspecting critical infrastructure in different countries and 9 out of 10 times the reason is: cost.

Got a bridge / tunnel / trafostation that needs monitoring / interaction? DSL only costs 20 a month, let's do it! VPN and 2FA? Costs & our employees are going to kill us since that is too complicated. Updates of the OS and that application that was tailor made by the maker's daughter in law 10 years ago? Too risky and costly.

TL;DR Never attribute to malice that which is adequately explained by stupidity.
I second this.

I’ve written tens of thousands of lines of Haskell, and I’ve never used lens. Also, putting it in the same category as text and vector doesn’t make sense — these are indeed unavoidable, and practically all my projects use them.
You shouldn't conflate those two, as they're very different things. TMS is currently undergoing lots of trials.

ECT does have significant negative side effects, but it does seem to help some people. You may be right that it wouldn't be approved as a new treatment today.
You, Sir, have impressed me like no single person doing work on the web has ever before.
3 minutes after your comment was posted there is no link to Google+. There is a link to patreon.
Personalize and pre-program your keyboard by Bokhary – Phrase Keyboard
It's laughable, but actually I've been in the exact situation to prevent a published app from running on Windows, because the app makes specific assumptions wrt shared read/write file access and locking semantics, composing file names, and spawning shell scripts as child processes. So I guess widepread use of is-windows comes from wanting a commonly understood pattern to block running on Windows, not having tested your app on Windows, etc. What's best practice to follow here?
The signature line is a Google+ link. I was making fun of it because Google+ is over now and that link goes to a shutdown page. (Hence "when was this written?")
Sensational work. Really. I don't have much more of a constructive comment to add, but sometimes I feel it's just necessary to say "well done". Brilliant.
> Adobe InDesign.

I've always seen ID as a graphical design tool and not as a manuscript authoring/publishing tool.

Sure, you can plop a bunch of text in there, but it seems to be that it is very structure-free when it comes to layout, whereas the stuff I mentioned is more line-oriented, and therefore more focused on text. Does it have things like footnote/reference tracking? Spell- and grammar-checking?
They could have made this a long time ago but the industry backed by giants like Goodyear, Dunlop, pirelli etc would lose out on their business model of replacement tyres so wouldn't push it. Similar thing happened to the electric car in the 90s California had quite a few, but the oil industry killed them off, watch the programme "who killed the electric car"
But only in the Google Maps app. Nowhere else.

If you have a GIS system, that is able to use Google Maps as the basemap, you still don't have the ability to save it for offline use. The APIs/libraries/license agreement with Google that these GIS systems use won't allow that.

Not that other providers (Bing, Here, etc) are any better. Your only way is to download OSM data/obtain local ortophoto and make your own tiles.
We can burn the waste and capture the carbon. We don't need new technology, it's purely economic - capturing carbon is still relatively expensive and carbon emissions are underpriced.

https://pubs.acs.org/doi/10.1021/acssuschemeng.7b03283
It also depends if one is using Java 12 or Java 1.4 programming style.
You can always run your own OSM tile server. That's what they recommend instead of relying on the official server, actually, if you have any non-trivial load.
Isn't QuarkXPress, like InDesign, more graphical design-focused and not so much manuscript authoring/publishing-focused?
An Explanation of Huffman Coding
Best Deal for Cancun All Inclusive Resorts
It's also a paradox to their oath. You come to an hospital to get better, not leave worse. Hiding this mislead people coming in. It's sensitive, I'm not advocating for information spreading panic but still.
Uh, why _would_ Slack replace email? Non-sequitur.
> I think the big big result from this study is: "Python: half the size !".

> This does not say that static typing should not be used but I think it shows unequivocally that there is a considerable extra development cost associated with static typing.

Are you saying that the bottleneck in software development is typing in text on a keyboard?

If so, I thoroughly disagree. In my experience, inputting text is a small factor in development cost, with the main cost being research (figuring out what to type in), and debugging (figuring out why something you typed in doesn’t work as you thought it would).
Is the chemo market sensitive to first-to-market effects ?
>We say the cause is a chemical imbalance

"We" don't say that; pharmaceutical sales reps say it.

https://journals.plos.org/plosmedicine/article?id=10.1371/jo...
Rational people are often confused by the war media's agitation for war. The reason for the confusion is they are lying to us. Whenever I'm confused by the war media, I conclude they must be trying to start another war. They're pressing this button too often, though. Compare the results in Syria to those in Libya...
> First of all, to give words to the obvious question here: what leads a group of people to flaunt their insanely unethical desire to profit from <insert antonym of freedom>? They are literally trumpeting the ability for their clients to forcibly copy data without the permission of the owner of the device in question. Is it just money? Is it that simple?

Probably.

I've met a lot of people who argue against the right to privacy. Most of those people are in positions where they profit from trampling people's privacy in some way: social media integrations, profiting from advertising, law enforcement/spying, or simply deprioritizing security. Lots of those folks are on Hacker News.
That sounds like a fairly rare workflow. I've heard of people using different browsers for different things but I don't think it's common.
Social Network for Movie/TV Show Buffs
The older folks wouldn't compare toy compilers in this pseudo-serious manner.

I find it annoying that any trivial topic is dealt with in a self-important, "mature" manner.
I am yet to see any Linux distribution certified for high integrity computing.

Usually Linux always runs in a VM sandbox on top of such OSes, like Green Hills INTEGRITY OS.
Really charming pictures
Rick Santorum Is Bringing Cryptocurrency to Catholicism
Sorry, but no.

Breeders, even if ethical, are part of the problem. Just because they try and reduce the chance of genetic defects by avoiding direct inbreeding, it's still a minor statistical manipulation.

> (and therefore the parents, grandparents behavioral traits)?

Behavioural traits (with very few exceptions) vary more widely in between individuals within a breed than from breed to breed.

I know people can get very defensive about their best friends, but purebreds will have genetic deficiencies. That's no reason to love your current pooch any less, but do give cross-breeds some consideration for your next member of the pack.

As silly as "labradoodle" sounds, these people have the right idea.
I know most of the initial applications of Spot are going to be industrial or law enforcement / military. But I'm sure these are gonna start showing up in commercial and even retail settings, probably sooner than many of us have truly considered.

It's kinda weird to think that maybe sometime in the next decade I'm gonna need to double take as I watch a Spot Mini just casually walk down a street carrying out some mundane task.
How a comment is received tells you a lot about the audience... Case in point: Your replies to my comments. It's a shame, really.
I would guess that NAND and NOR might better lend themselves to practical physical implementation.

Also: If you don't limit yourself to 2-input/1-output gates, there's loads more universal gates. Many 3-in/3-out reversible gates are universal [1]. I really have a soft spot for the Fredkin, it just seems so elegant.

[1] http://www.thefullwiki.org/Three-input_universal_logic_gate
National security is important, but so is whistleblowing, and the ability for journalists to protect their sources. There’s a trade off here between, and it’s worth looking at this from all angles to ensure that the AFP have the right intentions.
Ok, it seems like they only recognize subtractive notation. Nonetheless, numbers from L onward seem to work, so if you want that distinct "roman numeral" look, you could choose "King LXVII".
About three years ago I knocked up a quick BBC Basic program (RPCemu/RISCOS) to play around with some dithering algorithms; I ended up painting the results:

https://flashasm.wordpress.com/2015/11/04/more-incredibly-sl...
A lot of journals (including the one I am an editor at) would probably consider leaving the fangs of elsevier and co and go full open access publishing. However, there are a few obstacles to that, such as missing open and reliable editorial and publishing platforms, contacts to libraries, etc.

In my opinion providing these things and actively encouraging journals to make the jump to open access would be a huge service to academia. Also, I wouldn’t be surprised if one could find funding for such a venture.
Creating a Game Boy Emulator in Rust
"In every joke is the seed of truth"

Unless you're a professional, jokes mostly just reveal the things going on in your brain

If you have a soft spot for jokes about dumb women or dumb [race] or encouraging kids to harm themselves, well...
Type 2 diabetes is reversible. Avoiding oil, animal fats and sugar will show instant results.

For better results raw fruits and vegetables are great. I have seen diabetes reverse in my mother's case.

Edit:
The geniuses downvoting should explain the reason.
I have a XP virtual machine I use for maintaining an old software wrote in VB6 (less and less often). With an old Visual Studio on it.

Problem solved :-)
As in, there are a handful of large projects the languages are used for. For Haskell, Facebook's spam detection system, Sigma[1], comes to mind, along with some use by banks (Standard Chartered); then there's a bunch of smaller places using Haskell (Wire, a secure messaging app, like Signal; Galois, a US defense contractor doing software verification and related things) plus some open-source tools like pandoc.

I know less about OCaml, but at least Jane Street is using it.

It's somewhat niche, but it's not like it's only used for hobby or toy applications.

[1] https://code.fb.com/security/fighting-spam-with-haskell/
No it's not.

I'd argue that nobody should help the police as they exist in many modern implementations, because the police as they exist now are often bad actors. But it's not hard to imagine a police force that's held to a higher standard such that they actually are trustworthy. The argument doesn't have to be "police shouldn't exist"--it could be "police should be better".
It's too bad Clojure was not considered. I think it would be the most concise codebase and the most easiest to reason about.
I haven't seen ae. I'll take a look. Fuzix has some decent software, too, including a stub curses, which may be useful. Thanks!

Re ZCPR2: licensing. It's got a no-commercial-use license encumbrance which ZCPR1 doesn't have.
I rather have it thus, than the opposite way.
Your message seems to say that countries must accept immigrants/refugees left and right otherwise they are some kind of dystopian nightmare. I disagree and I think disagreeing with that is a completely normal political stance. A country owes itself to its citizens--nothing more, nothing less.
ZCPR2 has a no-commercial-use license encumbrance, while ZCPR1 is genuinely public domain.
I am trying to validate one of my side project ideas: http://talkmovies.launchrock.com
Neither of the company wants to work with Beryllium. The reason being that its a incredibly limited resources (only one supplier) and the kinds of salts you would have to work with would have go threw a whole lot of analysis first. There is a talk by one of the people who worked on the original salt used in the reactor experiment you can find.

Beryllium has excellent properties but unless you are building a breeder are not really that essential. The primary concern for the companies working on this right now is commercialization, not peak performance. They are fine with loses and inefficiency.

You have to prove to the regulator that these salts will not be outside of the reactor boundary that takes care of both the radiation and the toxic aspect.
>It seemed like every data structure was built on top of strings, and every statement was being run through eval().

That's the case, and that's the whole magic...
Wow this gave me a serious flashback to late 90's websites and all the links to other sites in a network.
I do live in Japan, and it is a big issue here
This is quite common in parts of the world that are just getting to a modicum of wealth. For example, I landed to the new Istanbul Airport a few days ago. Its main premise, the way it's pitched to the (largely indifferent) public, is that it's the largest airport in the world, one that is the size of Manhattan.

Meanwhile, I spent four hours coming into the actual city from there. It's dreadful.
In particular, this shows that it's not that it's not been measured. It's been measured and not found to be an incorrect explanation of what's happening.
The best practice is (or should be) to develop separate, optimized apps for each system you want to target, and to not build or offer a Windows version if you don't want to support Windows.

OR, since this is just an expression in a single line function, just write it yourself and don't include it as a dependency.
Audi has done a relatively good job of fighting the touch screen obsession. The 2018 Q5 I rented last year had no touch screen at all; it had a display, and it ran Android Auto, but you interacted through a jog wheel located in the centre console. After a few hours, using the screen was just muscle memory.

Additionally the screen itself is placed above the dash so it doesn't require looking down away from the road.
This is one of the coolest things I saw on the internet! Really amazing!
I don't think language use industry-wide is a good metric for how relevant compiler software is. It is entirely imaginable that a very serious compiler that proves the original point exist for a language with very rare industry use.
In its battle against free speech.

The latest spasm censorship was instigated by Carlos Maza, who defends the violence of antifa, thinks the widely documented persecution of Christians is a myth, and has a stated ideological commitment to deplatforming people he disagrees with.