skysight-inc/HackerNews huggingface dataset:
Code::Stats is a free service I've been writing (with a few contributors) on my free time for the past couple of years, just had a bigger 2.0 release this July. The backend is written in Elixir with a PostgreSQL database, using the Phoenix Framework. On the frontend is RE:DOM, Chart.js (looking for alternatives), and SCSS.

The point of the service is that it integrates into your editor and sends typing amounts (e.g. "C++ 50 XP") to the service so you can see which languages you have written code in (and you get to level up). The service and all the editor plugins are open source and most of the repos can be found in our GitLab [1].

I'll be happy to answer any questions you might have. :) In general I've had a lot of fun working with Elixir, though I'm far from a pro.

The inspiration for C::S was a service called Codeivate that disappeared at the time I started working on this and never came back. There is also WakaTime[2] which I haven't used myself, but I believe it is more professional oriented (whereas C::S is more "for fun" in my eyes), and it tracks time instead of points, so it's worth checking out as well I think.

[1] https://gitlab.com/code-stats

[2] https://wakatime.com/
Am I right in assuming that your libertarianism leans left? Could you explain your libertarian ideals in a little more detail for someone curious?
That’s true. I had lost sight of that... well, I wish more places would support a Yubikey!
Coding is about thinking. It's difficult. Cooking is about repetition. It's much easier.
I would safely assume the government does collect all ticket purchase data in real time.
> Third, how FBI ever knew of him buying a ticket? US is not East Germany where all ticket sales are wired to STASI in real time.

The TSA has exactly this system in place.

> This is supported by the fact that he was detained "minutes before boarding." Probably, it was only the fact of him passing the border control that was visible to FBI, the moment they saw it, they came with a rushed arrest warrant.

Or they were waiting for incontrovertible evidence of attempted flight from the country.
I think Jim Sterling mentioned once that the only genres studios care about now are Candy Crush clones and COD clones. Although now it may be Clash of Clans and MOBAs. I don't know.

It's hyperbole but it also seems to be true enough - only a few bandwagon genres seem to get published nowadays. If you happen to like strategy games or action platformers or bullet hell or metroidvania or anything but whatever's hot this year, well, you're SOL outside of indie development and the occasional "spiritual successor."
Couldn't agree more. When I work on my own software with very nice and clean design most bugs (which are quite rare) are almost always very superficial and simple. The most I ever need to do is to hit the bug in the debugger and look at the stack trace and the bug is obvious.

That being said that has been really bad for my debugging skills which have atrophied tremendously. At work where the code bases are complicated messes I find myself not being able to debug something as well as I should.
Depends on the metric. They'll almost always fail in terms of market share precisely because they don't optimize for market share. They win by other metrics.
The 500-year-old fight to save the Faroese language
Yeah and that was password bruteforcing attack.
can you cite any non-trivial examples where people writing papers include machine-checked proofs , in fields of study unrelated to the study of machine-checked proofs?
Mi phones come with a Lite mode -- aimed at senior users.

https://c.mi.com/thread-263484-1-0.html
European Stocks Fall as U.S., China Trade Tensions Intensify
I just realised how absolutely fine I would be to read articles in that manner.
I don't see why you'd need to minimize communication overhead when maximizing collaborative output is already stated as an explicit goal. I'd think the only reason to minimize the former is to make it easier to maximize the latter, in which case the former would be redundant. A rude interpretation is that the dual goals are there for the self-serving reason that you maybe don't like to talk to people.
I just wrote a simple proxy myself that takes an OIDC authenticated user and forwards the request to backend servers if their session is valid. It only took me two days to get this proxy functionality up and running, but of course the main application itself was handling all of the authentication, authorisation and session stuff already.

It's good to know there's an option to do this in the future for projects that don't have all that groundwork done already, if this is easy to set up – at least initally – without having to include all the parts of the ecosystem.
Guards sound like supervisors. Starters are juniors. Finishers are senior.
yeah, that was really impressive attack on github page of Gentoo.
New Spectre 1.1 and Spectre 1.2 CPU Flaws Disclosed
I’m curious why Imba must be a compile-to-JavaScript language rather than a Babel transform along the lines of JSX.

This detail matters because it’s much easier and lower risk for a team to add a Babel preset than to learn a new language.
Came to nothing in market terms, if you prefer.
This pertains only to C and C++ but the problem with printf type debugging is it might throw you off. Consider:

int* foo = ....
...
*foo = 123;
printf("killroy was here");

Now that code could actually print "killroy was here" but also crash on the pointer dereference. When this happens a naive developer will be thinking that the foo ptr access can't be the problem.
Show HN: Karma.link – Translates Solidity ABI to and from JSON On-The-fly
Hi HN, we're the team behind karma.link.
We love Ethereum and think it's a great technology.
However, integrating conventional applications with smart contracts is hard.
This is why we created karma.link, a small RPC server for applications that bridges this gap.
We aim to demystify the technology and enable companies to take advantage of it in everyday business.
It's still VERY early stages but we've taken the leap and open sourced our MVP.
Any and all feedback, here or as Github-issue is much appreciated.
If you want to show your support, go ahead and give our repo a star.
Thank you.
I think the better engineers use the MC68000 in their designs and had nothing to do with this nonsense. I started reading TFA and stopped as soon as I realized it was about a crummy abstraction that should never have happened.
To avoid this problem in the future, I would recommend registering a domain name and attaching an email address. I have switched to a different email provider three times in the last ten years without changing my email address.
Yes, writing it down.
Show HN: Kyber Swap – Instant and secure token swaps
Comically, what you're doing is called the Chinese robber fallacy: https://rationalconspiracy.com/2015/03/08/the-chinese-robber...

Also just an absurdly small sample of "one news story" and "something I heard secondhand."
It happened because of those stupid security researchers who made that password so easy.
I agree on good practices, but often TDD is wasted time. Not on larger systems, but on small systems with limited functionality where you build using principles like SOLID so you always know where the flaw is, even without the test.

We used to write an awful lot of tests on everything. When we stopped we increased productivity by almost 60% at almost no cost.

As I said, we still work with TDD, but we only do it when it makes sense.
Translation: China is going to own Kenya, soon. They're doing this on purpose.
SQLite with a Fine-Toothed Comb (2016)
Following your argument, Apple could be a very smart criminal organization that doesn't get caught.

Should we investigate further on Apple to make sure?

Edit : by the way, that guy could have been blackmailed. Someone may have said "If you don't do it, we will harm your family". We shouldn't be judging someone without investigating all the elements, especially when an individual takes the risk of facing a gigantic organization. It should rings bells to everyone.
I often wonder how much time people invest in the following before going off on their own:

1. Finding similar open source projects to what they want to exist

2. Digging into the project to see how close it is to what they want

3. Attempting to contribute to bend it to fit their needs

How much of these "really similar project" situations are "I want the project to be mine for marketing / brand / control reasons" vs "I didn't know this existed already"
Specifically, they take issue with the government creating demand for surveillance technology. Nothing unusual for a public policy organization that has Cato's perspective.
NCCIH's List of Natural Product Libraries
Your Raise Is Now Based on Next Year’s Performance
Opera Adds Ethereum Support to Its Mobile Browser
> I feel people arguing for anarchism (and I like anarchism in theory) typically do not seem to appreciate just how violent most of human history has been before highly centralized state and justice systems.

Just how violent was it? This seems a difficult assertion to make. The modern state arose at some point in the 15th century; I don't recall the Renaissance being that much more peaceful than Medieval times in Europe.
Exactly, but I would argue that which of these environments you operate in isn't always under your or even your company's control, so debugging skills are indispensable for the overwhelming majority of engineers.

For example, I spend 50% of my time debugging another company's code, 20% of my time debugging my company's legacy code, 20% of my time refactoring/implementing unit tests (I'm sure like most engineers here, I consider those inseparable and essentially one activity), around 9% on new feature implementation written to the same standards as that refactored code, and maybe 1% of my time debugging code that is up to standard.

The 50% is the real killer because I have absolutely no control over the codebase that forms the bulk of it. It's produced by another company that's the primary contractor on the project and we just have to make our one small component work within the larger application. So it's not even like debugging a typical third-party dependency, in that we can't replace it with a different dependency and (due to terrible architecture) our code is riddled with hidden dependencies on their shitty, poorly documented code.

My point being: debugging skills are a core competency for most engineers because it's rare to have complete control over the code you interact with, and even rarer to have it all up to acceptable standards. Even in the best of environments, we all spend time debugging issues arising from third-party dependencies, whether it's an issue with the IDE, compiler, language design, server configuration, or literally any of the million things that can break your system unexpectedly on any given day.
I think this hits close enough to home for everyone that we can together declare the idea of AI predicting anything as extremely stupid.
Interesting, in Swedish we have two (main) words too. The most common word, avundsjuk, even though it has sjuk in it (meaning sick or ill), doesn't necessarily have to be negative. E.g. "I'm so avundsjuk on your vacation to the Bahamas but I hope you have a nice trip." Missunnsam (sounds related to Missgunst) OTOH means that you refuse to let someone enjoy the object of envy. "I guess you must do some pretty heavy tax-evasion in order to afford that trip to the Bahamas."
It depends of your believes. You can't prove that always being honest is not smart.
I'm not terrible at French and still struggle sometimes to discern the word breaks. Malapropisms in my native English can arise from that too. Learning a new language it can be v. hard to distinguish word breaks - our brain fills them in when we know a language, which is why it's hard to imagine that people might not agree that "dog" is separate.

Try saying "Hangdogears". Is it "hangdog ears" is it "hang dog ears" is it "hang dogears".

(hangdog = guilty visage; dogears = folded page corners)

Try it on someone else and see how they interpret it.
I'm guessing another way of saying "ducks in a row"?

https://idioms.thefreedictionary.com/have+ducks+in+a+row
Ducks in a row.
Go is a language that's easy to use, but a challenge for beginners to use well, especially if you try to force [insert another language] constructs into it.

I see programmers that are new to Go often struggle with trying to apply their object-oriented mindset into a language that's not object-oriented and run into trouble, complain about the language, and call it rubbish. Or, focus on the lack of generics and other part of the language they don't like (e.g. slice manipulation).

Go is certainly far from perfect but after spending the better part of 7 years with it, it's usually the first tool I reach for.
Depending on the capabilities of a debugger, developers might have test failures drop them into an interactive debugger that allows reloads/re-execution of code units.

Debuggers can be I instrumented to do a lot of dev-only logging for you.

I do write tests and assertions, but if those fail, I am dropped into a debugger (if prog is executed interactively), I can immediately inspect the state of my program and more often than not fix the problem on the fly.
Under what conditions should financial support from people who share an organization's thesis disqualify what that organization has to say on an issue?
Nice article by a non-techie. Although I am still a fan of Google (I worked there as a contractor and have fond memories of the experience), I have taken a middle of the road approach to Google.

I still use: Google Play Movies and Music, Google Cloud Platform, Google Photos, and Google Drive. Notice the common thread: things I pay for and that don't impact (too much) my privacy. I am a very happy customer of these services.

What I avoid: Gmail, Google web site analytics, and search.

I rely on Fastmail (with their calendar and notes) in my day to day work.
You should register your own domain name and using a hosting provider with email. Switching emails is a hassle, and it's so much easier to just be able to keep the same domain name forever.
> That's a weird argument. No one said it's sufficient, but "stealing" data certainly helps.

IF the employee wasn't aware that he/she was stealing, maybe he was being told internally what he/she was doing was OK. Maybe someone suggested him to do so, only then to be accused after.

Anyways, the ability for an individual to transfer so much knowledge should remind you the MP3 and p2p era. The patents and secrecy of big corporations makes NO SENSE in a world where communication is instant and easy. Not better than China censorship.
As far as I know, nobody at FBI have permission to read an arbitrary PNR, they can only obtain an order to get data from CBP for a specific person through a court order.
How are you using it with Keybase.io?
Sumologic also has a 500mb/day free tier. I pay for Sumo and really like it.
# Sorry, we are experiencing extremely highload now.
# We are working on the problem and how to get it fixed soon.
# Please come back in several hours or try some other queries

Would be cool to get offline functionality...
Multithreading isn't Rust's only performance benefit. Another is being able to write single-threaded code in a way that'd be too risky to do without the borrow checker making sure it's OK. (I.e. in C++ one would write something a bit slower but easier to reason about.) A cool upcoming single-threaded performance boost in Rust is std::simd, which provides portable (non-ISA-specific LLVM abstraction) SIMD that you can augment with ISA-specific operations where needed. Firefox doesn't use it yet, but Firefox already uses the older (to be obsoleted by std::simd) simd crate that provides the same thing a little differently.
For travelling to a clown convention.
What does it mean to have a "language that can scale"?
30 healthcare leaders under 40 using technology to shape the future of medicine
I don't suggest anything, I'm only saying we trust way too much CNN and journalists in general who reinforce our initial believes.
Google is nice yes but you find different styled results and those results are normed and you know what to expect.
> One thing developers spend a lot of time on is completely absent from both of these lists: debugging!

The other thing that is absent from both list: Actually writing code.

(@Gitlab: Code isn't created with branching tools.)
In my opinion, This is just free PR for XMotors. Either they deliberately planned it and this guy has nothing or they took the chance and hoped to get away with it. Either way it is win-win for them.
Show HN: Chrome extension for tracking real-time price of Litecoin
'I don't like the stress of dying': the game for people who don't want to fight
The Guide to Creating a Chatbot for Your Business
Especially in sections 2 and 3. Including examples would greatly increase their usefulness and I wonder why the authors don't do that.
This is just a very good pitch for an Airbnb for horses
Cases like this (where government is the "consumer" for the technology) make me think surveillance tech could be the law enforcement version of military spending on defense contractors.
This would make a great undergraduate computer science class. I particularly like where author is somewhat forced by circumstances to fashion their own bespoke tooling. Rapid prototyping of minimal tools is a very real-world developer skillset.
> The website had and ARM logo and a copyright note:

I can copy paste that in 5 minutes to any website I own.

> Had it been a "false flag" operation to smear ARM itself most likely the company would have made public statements to state that they don't own the website.

Maybe it doesn't worth worrying about a scam that only 10 nerds on internet care about
When your definition of addiction is based on how often you do it, you end up with everyone being addicted to breathing.
Employers will do almost anything to find workers except pay them more
But what stops you from copying the private key before it gets removed? Or running a client that just pretends to remove the private key?

Half the point of a blockchain is that once data is out there it can't be removed. You can't leverage that to force the removal of something.
Department of Commerce Report on the Botnet Threat – Schneier on Security
The output seems to be optimized for people with dark background color on the xterm.

Is there a possibility to have a different color scheme?
Same in Swedish, there's one word for "You have it, and I also want it" (avundsjuka), and one word for "You have it, but I don't want you to have it" (missunnsamhet).
Alas, the same problem has been known to happen with debugger-provided breakpoints and tracepoints.

That's why GCC advertises -O0 as «make debugging produce the expected results» (which in practice will avoid the problem in your example too).

There are lots of other ways to cause yourself trouble using printf to debug, of course (eg clobbering errno).
Don't get me wrong I would pay... But there is no attempt to make money from this.
They are publicly funded. The difference is profits go to the executives and shareholders rather than the common worker who's paying for these tech companies.
Absolutely! I love it so much, and I have more and more fun every year.

Well, to be fair, I didn't just "fall into" this profession since I was a kid, I started coding at around 20, when I knew that was what I wanted to do.

Although, if I could start over, I'd love to start much earlier(when I was 10-15 years old), and I'd learn fundamentals of math and CS properly, and I'd spend a lot more time on AI/ML, so I'd be much better at this than I am now.

Now I'm 27, and I really want to catch up on proper math/science of it all.

Also I need to mention that I don't consider myself a "programmer", I'm a startup founder and my goal is to build successful SaaS tools. That's way more interesting and exciting, I get to think of ideas, design products, do full-stack dev, marketing, make all decisions on my own, etc. If I'd just be working as a programmer for someone else, it would probably feel less exciting.
Time spent on assertions is visible, but still lost, unless they actually fire.

Depending on how you work, debugging is simply finding out why your tests fail (without you expecting that in the first place).
What was it that Parrot couldn't do that Perl 6 needed?

We often have efforts to make one VM that can support everything and they have usually failed in the past. I wonder why it failed this time?
Surely you own a multi-million company so you know what you are talking about.

Money isn't everything, especially when you have plenty of it
Because make is built with the assumption that you can launch a process (cc) with minimal startup overhead. That doesn't work for javac for example.
Alphabet Learning
I'm deeply skeptical of any attempt to sort fact from fiction that is imposed on a user base rather than utilized by choice. Such a thing gives way too much power to the people who make decisions about what qualifies as "true"
Eventually we will reach the limits of what we can do in the West. How to we influence the actions of developing countries around the world?

For example, 25% of ocean pollution comes from just 10 rivers (all in Asia or Africa)

https://www.scientificamerican.com/article/stemming-the-plas...

Probably the simplest thing is to limit population growth with extensive contraception and female education campaigns in the developing world, replacing food aid.
It’s actually necrotizing enterocolitis, and there is a link. Necrotizing fasciitis is something else entirely.
getting a bit long for a cheetsheet

curl cht.sh/js/foreach
Create and Download Single File VueJS Apps
Stripe starts phone support 24x7 for all users
How Latin America Is Drawing in Global Tech Giants
"Most HN readers probably just don't deal often enough with localization issues to realize how politically sensitive they can be, and how easily even a small misstep can get you in trouble with a government."

I feel like plenty of countries manage just fine. My app is not blocked and I am not arrested in greece for referencing 'Macedonia' in a list of countries.

Hell I could go round making hilariously wrong UI borderline offensive like including goa as part of portugal or canada as part of the UK and people would think im silly sure but not ban the company althogether...

I would be interested in any examples not related to the chinese government or thai lese majeste laws. Also perhaps not obvious ones like map border disagreements.
Public knowledge is of course the best, but if you can't have that, at least two actors with the same knowledge is better than only one monopolizing it.
Testing Pythran on random kernels
FTP is still extremely widespread in the form of SFTP.
Sure. I'd suggest that the domains that limit testing speed are exceedingly rare. Much, much, much more common are technical issues.

Either way, the idea of considering slow tests a feature was novel to me.
Instead of investing in out of band resources like this, I really wish people would just contribute improvements to the upstream documentation, which is usually more comprehensive and up-to-date than any of these resources can be.
The EU has already chosen RISC-V as one of the two options for developing chips for its supercomputers:

https://www.slideshare.net/insideHPC/european-processor-init...

I imagine China and India will eventually go with RISC-V, too. Maybe Nvidia will have "another go" at designing its own CPU microarchitecture, too, if they get tired of Arm's shenanigans. Nvidia has already chosen RISC-V for its GPU microcontroller.