skysight-inc/HackerNews huggingface dataset:
I don't agree with you. The only language that allows truly cross platform development right now is javascript. It's a language I do not like and I believe I am not the only one. In fact the popularity of extensions like typescript is an evidence of the challenges of using what was meant to be a simple scripting language as a full blown programming language.

WASM, if it allows to run high level languages like c#/vb/python/java, will enable a huge developer base to start writing truly cross platform, productive apps with a single code base. So it would be a solution to a fundamental technical problem: the fragmentation and incompatibility of proprietary platforms.

As a side, it would have another benefit (which would make it even less palatable to Apple but should motivate Microsoft to develop a CLR for WASM): as the apps would be cross platform, it would lower the barrier to entry for alternative mobile platforms. If the same app compiled to WASM runs on every platform, a Windows mobile OS (or any other challenger) would immediately have access to the same apps that are available for iOS or Android.
As a non-American this is how I feel about tipping in general.

It's so much easier to just pay people a decent wage, include it in the cost of things and then not have the pressure of tipping.

That, and tipping is akin to having paid servants. i.e. "if you do a good job, and if I feel like it, I might give you some of my wad of cash. Or not, sucker.".

(Of course, I do tip because the servers rely on it, I just don't like it)
Citation needed. I can think of quite a few food, consumer, financial, medical, and environmental regulations that directly serve me and my fellow citizens.
>industry leaders mocked it as impossible.

What achievement of Musk was "mocked as Impossible"? Now, was those really impossible or even hard enough; or some kind of cheap PR stunt to blow their achievements out of proportions?
Mouse: Microsoft Wheel Mouse Optical 1.1a USB on Mac and PC

Keyboard: Microsoft Comfort Curve 2000 on PC, Magic Keyboard (2. Generation) on Mac

I really like the MS Wheel Mouse Optical, unfortunately it is no longer produced. I tried different mice, but I think I like it that much, because it has lower DPI (400 DPI) than an average mouse (about 1000 DPI). Nowadays it is difficult to get a mouse with 400 DPI.
They can get it with whatever hardware / app they're using to run your card through Stripe.
Not bad UI, but I wouldn't call the site good UI by any stretch. It loads fast and is simplistic, two things I appreciate, but it definitely lacks something. And whats with that logo?
I don't consider my desire to live in a pollution-free environment to be a "special interest".
Compile time in Java is way bigger than in JS. What do I need to do in order to compile a simple hello world in java ? In JS i only need the browser and a text editor if i'm fancy.

Java is slow on the first run (even if you admit it is just the JVM running your already compiled code). Try running a different java code in every site and you will understand why JS is prefered to it.

Also JS has a foot in functional programming and is much less verbose, it also has evolved to be even leaner. e.g. The current lambda syntax (fat arrows) is a treat
What credit card do you have that you're responsible for unauthurized charges?
And when it grows up, it becomes the toad that is C++?

I'm not sure I get your analogy.

Besides, Real Programmers™ eat mutable state and NULL for breakfast.
Everyone is wrong on immigration
Can you give us an example about the difference in your life between Ecuador and New Zealand?
Only relatively small project can afford a rewrite. So, this is statistic among projects that can affod a swith.
And as far as I can see, this is eigenvector of trend. First derivative of actual state of things. More informative of the state of fashion today
"Somebody has to be first to get a treatment. "

True. But not before scientific due diligence is performed. Animal studies, toxicology studies, efficacy studies, safety studies etc etc etc.

Not just injecting stem cells into old ladies eyes to see what happens and make some cash while doing so.
You really don't seem to remember or have been alive before a lot of these regulations were put into effect. Ever look at a food nutrition label? That one was fought tooth and nail.
IMHO, it feels like just another hamfisted way to get the adoption of Windows 10 to increase. The whole point of Windows used to be that it would run on nearly every system, with most overhead being reactivating the license, now you'll actually find yourself re-installing an OS that refuses to work on a newer processor.

They're closing the gates to their pseudo-walled garden. Windows 7/8 don't have permanent revenue streams, WIndows 10 does (or will).

For all the song and dance of Windows 10 being superior, Linux seems to not care at all about what processor it runs on.

And Ubuntu does just fine.
> Linux doesn't really resemble UNIX anymore. It's starting to look a little like Plan 9, to be honest... give it 20 more years.

Hm. I'm not sure I see the similarities there. plan9: small, elegant, really an improvement on Unix in many respects but unfortunately somewhat theoretical rather than practically oriented.

Linux: bloated, blunt, practically oriented, gets the job done but it never feels like it's the shortest path.
Then how about Cortex-M0, instead of M3? Surely enough that can save quite a bit of area, while still enjoying the good interrupt support of Cortex-M?
Exposed Hash Code Allows Hackers to Download and Exploit GPG Encryption
The Endless Runway
If you don't think this code is awful then we aren't have a meaningful conversation about it. Smart people can write garbage code, too, this is great evidence for it.
Even with -EV on vehicle cost you are gettig cash in hand. -EV long-term, +EV short-term by paying rent.
> With all due respect, the parent to my comment - an apparent employee at GitLab - said "I am the recruiter at GL". "The recruiter", not "a recruiter" How else is that to be interpreted?

The way I understood it, at least, was 'the recruiter who handled the interview with "matthewvincent"'. Doesn't imply that there are, or are not, other recruiters at gitlab.

And if so, at least to me it seems honest for said recruiter to come forwards personally, instead of some feel-good mumbo-jumbo from the PR department.
I tend to find fixed size buffers easier to conceptualize than dynamically allocated buffers. Tend to find that even with most modern language C#/Java I still see developer use fixed size buffer even within enterprise apps.

So I think there is something to be said with the whole movement of books/expert advice advocating against fixed size buffers/enum's to use more dynamic memory models when people in the trade are still using enum and static sizes. Anecdotally I've seen it more use of it now than any time in the past.
For the Photoshop part, check out Krita (https://krita.org/en/). Although it isn't exactly like Photoshop, a non-power user wouldn't notice the difference between the two. And Krita is really the only program I've come across on Linux that actually has a really nice UI.

I still can't move over to Linux fully, even though I want to, it's just not there for me yet. Gaming being the biggest issue, but also general user experience is mediocre at best, even on a vanilla Ubuntu installation. Kubuntu is definitely better thanks to KDE, but still problematic. I still haven't tested out Elementary OS, but most my problems stems from driver issues (especially WiFi, printers and trackpads), which I believe would be the same since it's a kernel issue.
This seems counterintuitive, even if Windows 7/8 are on life-support now. Surely letting people just install the updates 'as is' is better than restricting them.

That said – this is not so different from Apple, which puts computers into "end of life" every few years, so you can't get any updates.
Do it in whitespace, easy.
Overview of the best coworking spaces in Madrid
Show HN: Shots – Missing Screenshot Manager for MacOS
Have I said anything that implies the module system is bad here? None of the guidelines in my article nor my comments here have anything to say about their module system. You could easily make this style better, name things better, and expand the macros and it would (1) work exactly the same and (2) be much better code for it.
I wonder if the data could be normalized against usage statistics somehow. Maybe not perfectly effectively, but at least better than as-is, precisely because the number of people "switching" is so much smaller than the number using a given language.
Isn't that the concept behind Evernote? (Not a user, but that's what I always thought it's thing was.)
Fake story
Nice trick. Does this via-fb work on all WSJ articles?
>He has stated that he thinks it's better if the President has good people advising him, regardless of how one thinks of their policies.

Yes. Everything I do, I do it for you...

I think Elon's Paypal experience has taught him how gullible the general public is, and is using that experience to good effect today..
Wow that eerily reminds me of the s02e01 of black mirror.

No way am I gonna optimize my behavior to get some higher 'rating'.
Delaware Corporate Law Amendments Would Permit Blockchain Shares
I talked to a VC who saw their original pitch. Said it was the fastest growth curve he's seen in his career. That was back when they were RapGenius.
Nitpick: as I understand them, transducers translate strings to strings, not strings to integers.

There is a ~17 lines long algorithm for building FSM's from lexicographically ordered strings: http://sun.aei.polsl.pl/~mciura/publikacje/lexicon.pdf (Figure 8). Extending it to map the strings to integers, also in lexicographic order, is an exercise for the reader.

Full disclosure: I am a co-author of that paper.
I'm not a power user, but I want my tablet to work (DisplayLink on Linux is dodgy, though I did eventually get it to work--not Krita's fault but Linux in general remains a mess with hardware at times) and I want to be able to combine filter effects and behaviors with painting--and Krita has trouble with that. It is a good-not-great program (I even gave them money for it!) but it's not a Photoshop alternative unless the subset you need is pretty restricted.

(The mess that is Krita/GIMP interop makes it a non-starter, IMO.)
The problem with uMatrix is that many sites that rely on third-party Javascript will silently fail (i.e., not load, or show a "loading" animation that never ends), so you need to remember to turn it off for such websites.
Cake Home Delivery in Coimbatore – The Donuts
Order fresh cakes online from The Donut, best cake shop in Coimbatore. Get celebration theme cakes, photo cakes with 24hrs cake delivery services in Coimbatore from quality bakers
Then you just use Gubernetes(tm) to organize your micro governments and all your troubles go away.
Avoid magic. Do not use macros.

Disagree. Use magic, especially macros, in ways such that your code becomes easier, not harder, to understand.

A few examples from my own code:

1. My "elastic arrays" (https://github.com/Tarsnap/libcperciva/blob/master/datastruc... and .c) allow me to write

ELASTICARRAY_DECL(STRLIST, strlist, const char *);

and get a data structure STRLIST which contains an arbitrary number of strings and functions strlist_init, strlist_append, strlist_get, strlist_free, etc. for accessing the array. Compared to the non-macro approach of keeping track of the array size and resizing as needed, this makes code vastly simpler. (Of course, this sort of data structure is built into most non-C languages already.)

2. My "magic getopt" (https://github.com/Tarsnap/libcperciva/commit/53d00e5bd0478f...) allows me to something which looks and behaves just like a standard UNIX getopt loop, except with support for --long options. Yes, the implementation is mildly insane (and needs to work around a bug in clang!), but it allows for code which is vastly simpler than other getopt-with-long-options alternatives.

3. My "cpu features support" framework (https://github.com/Tarsnap/libcperciva/blob/master/cpusuppor...) makes use of both macros and some tricky edge cases of C object linkage rules, but makes it trivial for me to add support for new CPU features.

4. Soon to be released, the PARSENUM macro (WIP: https://github.com/Tarsnap/libcperciva/blob/parsenum-additio...) which allows me to write

PARSENUM(&n, "1234");
PARSENUM(&x, "123.456");
PARSENUM(&s, "123", 0, 1000);

where the first argument is a pointer to a variable of any integer or floating-point type to which is assigned the numeric value of the string in the second argument; for floating-point values and unsigned integers, the two-argument form range-checks the value against the bounds of the type, while the four-argument form range-checks against the provided bounds. (Basically, this is strtonum on steroids.)

In all of these cases, you will never need to understand how these macros work. Instead, you can simply treat them as language extensions which allow you to write cleaner and simpler code.
Entrepreneurs talk about “road less travelled” and do the complete opposite
No argument here, but I can tell you that this kind of market research was absolutely impossible for such small sums in the pre-internet age.
Are you guys planning to launch in Delhi NCR?
They can also add a skimmer to the company provided reader just as easily. Even if they are white!
Check out The Great Suspender [1] - not quite what you mean, but it basically unloads the tab and replaces it with a bare bones placeholder after it's been inactive for a bit. When you come back to it, you just click the link and it reloads the url that it had. Super handy if you're in the habit of leaving a few windows with a few dozen tabs each laying around, as I do.

[1]: https://chrome.google.com/webstore/detail/the-great-suspende...
I'm also from sweden. Here we all pay 13.5% tip included in the price for restaurant food. This comes from a general tax of 8% that was put on all restaurant staff a long time ago because of expected tips. This was not seen as fair because not everyone gets a share of that tip. So now we pay our staff more, we pay a decent price directly and the tip we pay to the staff (if we do) is expected to be payed tax for at the end of the year. I doubt this part happens though, not many knows they are supposed to pay tax for it.

Younger waiters however seems not to know about this general tip that is baked into the bill and expect another tip on top of that. Watching too many movies from USA I guess :-)
So why these "special interest groups" do everything they can to avoid regulations laws being passed?
No ifs, ands, or buts - a new representation for conditionals
It irks me that BoW is referred to as an algorithm. They do refer to it as a model later, why conflate it?
Karam and Shubhendu, congratulations. I knew about wifi-dabba a couple weeks ago from a stray comment on HN, and some co-workers and I were universally impressed.

I head the tech-committee for a local housing-welfare association in Bangalore, with a well maintained central park which sees a lot of foot traffic.

If you guys are interested we could pilot your dabba at the park (the tokens can be sold at the attached HOPCOMS). My email is in my profile if you'd like to get in touch.

Congrats on the launch again. Cheers.
I'd assume Lyft has the information as to who you tipped and how much. However, my understanding is that the driver does not know which individual tipped them (and rates the passenger lacking this information). The driver's tips are summed up in a daily report making it difficult to know who tipped and how much
Do you support a hard limit on money spent? I would like to be able to say 30 bucks a month max or something
And pay tax for it as is the social contract for all other wages...
The Art and Science of Presenting-Episode 10 – How to use your body
We've gotten a really strong level of interest in the NCR, we're looking into it for sure.
This has been fixed. Thanks!
Because stdout is a FILE *. What he should have used is STDOUT_FILENO.
Coming from a country that doesn't enforce tipping, I have not found a noticeable lack of customer service compared to the US. In fact the opposite - I find service at restaurants in the US to be noticeably fake and insincere.

I'm not sure why you don't think that tips are the only incentive for businesses to have good customer service. Places with poor waitstaff drive customers away, and that restaurant goes out of business or the waiter's fired.
Never used Uber, what's the problem with someone knowing where you're going? Doesn't the app tell the driver before they pick you up? (Well I guess not, or they wouldn't call you...)
Outstanding. We'll be in touch very soon. Hopcoms ftw!
I don't trust a journalist to evaluate whether this treatment was valid or not. I have more trust in the several stem cell therapy experts who wrote detailed technical takedowns of the failed treatment and contrasted it with a much better one.
Interview questions for data scientists
I don't see any database that we actually care about.

SQL Server, Oracle, DB2, Informix.
There used to be POSIX standards for both Ada and Fortran as well a C (POSIX.5 and POSIX.12). Though I don't think they can be described as successful.

If I remember right, the Fortran one was defined in terms of the C one, but the Ada one was written as if it was an independent specification.

I suppose this was only possible because POSIX misses out a lot of the fiddlier bits of Unix anyway (and the Ada one specified a spawn to use instead of fork+exec).
Sounds like this is similar to vpc (https://cloud.google.com/virtual-network/).

Am I missing something?
How to locate a Rogue AP
indeed, it's just a naive example but wouldn't something like

int written = write(STDOUT_FILENO, toWrite, len);
if (written != len)
{ ...

be simpler ?
>everything inside is converging towards the singularity

singularities are result of the pure abstract model of [mathematically] continuous spacetime. In real live at small scales the continuity gets broken and as one of the results of it we have QM - if you think about a typical large, star sized, black hole than you can see how degenerate matter in the center would provide the opposite pressure against collapse into singularity similarly like it happens in neutron star. The difference here is that in neutron star the limited existing mass of the star limits the resulting neutron degeneracy level achieved. In case of a black hole the process doesn't stop and as more and more mass comes in the degeneracy goes further/higher with the neutrons being pushed into even higher energy levels and starting to be teared apart into separate quarks and gluons, and as even more mass/energy comes in the quarks get teared apart even further one from another with the new pairs of quarks appearing as a result... That would provide the pressure opposing collapse into singularity. The more incoming gravitational mass/energy pressure the stronger the response. Btw, that boiling quark-gluon soup looks suspiciously like something that is hypothesized as what was in the beginning of our Universe ( what could have triggered the Big Bang explosion/expansion? - may be merge with another super-hyper-gigantic black hole).
What in this list would you do differently? I'm probably a weirdo with insufficient empathy, but I have a hard time imagining how a civilized person would behave otherwise.
> A thing I noticed when I was away is how stupid and mundane Danish everyday local politics look

That's... surprising. I lived a few years in Denmark, and what characterized the country for me was the extreme anti-immigrant tone of the media and the politics. Now I live in the US, and what is happening with the current POTUS seems pretty moderate to me in comparison.

Actually that's my five cents on the "reverse culture shock": now I empathize much more with the situation of the immigrants back home.
Every single internet sales article advises harassing people for profit, yet everyone freak out when the real world tries to sell something to them.
Recently visited. It's a wonderful country. I loved the people, I love their pride and attitude. It's clear that you got some problems here and there (and maybe the family concept is a bit too strong). All in all, for me it's been just a wow after another. I met very few Americans, and each one of them was completely flabbergasted by how far the country and the people are from what they've been taught.
> I prefer a UX as close to "type destination, arrive, done" as possible, which Lyft's whole tipping deal needlessly impairs.

I wonder if you used Lyft a long time ago, because I don't even notice the tip screen until next day sometimes. When I leave the car, my phone is in my pocket, or I'm already doing something else on it, so I do not see the tip screen until I happen to open the app next time. Dismissing the tip screen is a single tap with or without leaving a tip, so it's never been a usability concern for me.
As with risks, so with debts. There are large ones and small ones. Paying down a balance on a credit card every month is pretty low risk, but not as low as paying with a debit card in the first place.

Also, a credit card you're paying down monthly isn't really 'debt', isn't it usually something you do for the air miles or cashback?
Sometimes people/institution even become aggressive when they get information that is completely opposite of what they believe, Galileo was convicted of heresy because he believed that the Earth revolves around the Sun, which was just opposite of what Catholic Church believe.
Though this kind of rigidity hinders our progress but there is another side of the coin. This is the sole reason that keeps us happy in everyday life. If we take into consideration each and every information's then our life will become a hell for sure. We can't take veggies and fruits, mostly toxic due to the preservative used; can't use car/bus as its harmful to the environment, can't even eat a burger or coke, leads to obesity. I think it's better to have the gift of avoidance though rigidness should be avoided.
Can you provide an example of control structures that cannot be used in elegant manner without macros? I honestly fail to think of any example.

However I generally agree, that macros are pretty much unavoidable. Include guards are implemented using macro constants. It is pretty much the only portable way to force inlining (in some cases this might be necessary). Variadic macros are a easier to create that variadic functions (e.g. wrapper around fprintf for logging). And there is also the '_Generic' thing for people, who can use C11.
It's not uncommon to have 4-6 simultaneous streams in a household. Two children with a TV and a tablet each, and the parents watching a movie. And they need to be able to game/browse at the same time.

It may not be what the majority to, but it's a non trivial part of the population.
A great many people said reusable rockets were not going to happen and that the pursuit of the technology would end in failure.

The same has been said (and continues to be said in this thread) of the ambition to revolutionize the automotive market with a compelling affordable electric car.

Cheap pr stunt? What? How the hell is it even possible to blow SpaceX's accomplishments out of proportion? What they've done is indisputably astonishing. Are you trying to minimize it?
All I'm seeing is a headline and a still image of an installer dialogue box ???
FTP Directory exposed allowing hackers to retrieve data
Yes, but... The matrix has all non-negative entries, and the author is after the highest eigenvalue/vector so I think this means stability is just not an issue. The only possible issue is time to convergence.

The nice thing about the power method is its conceptual simplicity. In cases like this, it's quite hard to screw it up. And it will scale far beyond those numpy functions (not that this is needed for this example.)

Also, did anyone mention PageRank yet?