skysight-inc/HackerNews huggingface dataset:
Replacing ifs with ternaries and switches
with cond are hardly significant or important changes.

The whole point of abstraction (functional or object-oriented) is to push that logic from control structures in code to composition structures in runtime data.

If you weren't replacing conditionals with polymorphism, you weren't doing object-oriented programming in the first place.
More insidiously, if you're level N verified then the exchange will probably tell you that you need to be level N+1 verified to withdraw any of your money.

But no amount of identity verification can prevent exchanges from being hacked or from defrauding their own customers.
The 31 Flavors of Technology
FYI: "Malicious software libraries found in PyPI posing as well known libraries"

https://news.ycombinator.com/item?id=15256121

(2 days ago, 465 points, 245 comments)
How long until a major consumer site like Facebook or Twitter starts mining on users' timelines? How much could they generate?
And even that is twice as much as my dad's house that's only 18 miles outside of Chicago.
Amazing metrics, the website performed flawlessly and their entire organization should get a giant round of applause
I think we can at least agree that the proof is in the pudding.
There are a number of advantages to the grandfathered unlimited plans that are kinda complicated. Basically, there are fewer restrictions on the kind of devices you can use the SIM cards in, and the scenarios where they can throttle you are different. Some plans also include subsidized device upgrades every two years.
In a world with fast payments, that money can be washed and moved and out a dozen atms quite quickly
Okay so you can force a UDP connection, still doesn't solve the second point which is that it's a royal pain to use the Google library.

Last time I tried to get the chromium builds going on win32 was 3 hours of complete failure and obscure error messages because of various "non-googler" flags. The WebRTC page basically says you can't do Android development if you don't have a Linux machine [1].

There's been a bunch of game studios that started down the path of WebRTC and basically gave up since it's so hard to integrate. Compare that with 2-3 C files and a couple headers + libsodium for something like Netcode.io.

Also game servers don't really care about congestion control. They rarely break ~15kbps of continuous data per client versus something that scales up with bandwidth like a file transfer. Any case where congestion control is an issue should be something that needs to negotiated over a TCP stream anyway(otherwise you're just reinventing TCP over UDP).

[1] https://webrtc.org/native-code/development/prerequisite-sw/
I said...

> "The key differentiator between open source and free software is ideological."

You said...

> "I very much disagree."

You then explain your position with a link that says...

> "The two terms describe almost the same category of software, but they stand for views based on fundamentally different values. Open source is a development methodology; free software is a social movement. For the free software movement, free software is an ethical imperative, essential respect for the users' freedom. By contrast, the philosophy of open source considers issues in terms of how to make software “better”—in a practical sense only. It says that nonfree software is an inferior solution to the practical problem at hand. Most discussion of “open source” pays no attention to right and wrong, only to popularity and success; here's a typical example.

For the free software movement, however, nonfree software is a social problem, and the solution is to stop using it and move to free software."

In other words, you link to an article that spells out in plain English that the difference is ideological. The approach to software is almost the same, but the reasons behind it differ. That's an ideological difference.
This link might be useful for comparison: http://colormind.io
Ah yes. India has this law as well. I am part of a whatsapp group from my old school. They decided to make all members administrators. Nice solution except that the person who implemented it is the one who sends most of the crackpot controversial messages. Planning to leave the group, especially since I dont really interact on it.
When MtGox's trade delay hit 30 mins+ (April 2013), and the price was crashing, I hopped on to IRC. I went to mtgox's channel and advocated in the strongest terms that they halt trading, like any sane exchange would do (the trade delay was a major factor in the crash).

When Tux's #2 told me he couldn't do it because Mark was asleep (time zones! etc), it became pretty clear they didn't have a clue about what they were doing.
Parent does say "the last released version," notice?
The Failure of the PCI-DSS? (2014)
I can. I just wanted associative arrays, man...
AZERTY is the default keyboard layout in some countries.
Also - it's a perfect non-electronic way to have your funds.

Seed could be a sequence of words (this thing needs to be backed up and stored safe!)

Huge advantage is that you can save the seed in safety deposit box in a bank, written on paper - totally non electronic way.

Then you can recreate wallet from seed at any time and manage your funds.
Statement of Robert P. Storch, NSA Inspector General Nominee [pdf]
Coffee freebies from Virtuous Coffee
Really close call (I have the correct version of setuptools installed which is what had me worried).
What language would satisfy you?
I've seen both. When I wrote the post all the docs from the gateways I had access to called then iin with a historical note on bin. I done have access to those docs anymore though.
..or, I mean he was Isaac Newton, maybe he was on to something. Just sayin yo.
When you hold a fund (an ETF specifically) you are letting the fund manager do a lot of work for you for usually very low cost (10-20 basis points a year). That work is mainly maintaining exposure to the index. A large-cap broad-based ETF will probably hold more names than just the 15 you are holding. The benefits of that are more diversification (potentially lower vol), and regular rebalancing. So crummy names get dropped out and good ones get added in - usually with no tax consequences for you. If you manage your own portfolio of 15 names - you might argue that you could generate tax credits for yourself (tax loss harvesting) which could prove beneficial in certain situations.
Dictators can't wave a wand and cause such things they need people and institutions to enforce their rule. More importantly they need accurate information information about what is and is not working. So, sure in 1960 in theory they could have changed things and kept the system running, but that's not nessisarily true of say 1985. And I my expectation is they did not really grasp how close to failure they where in 1960.
This isn't a concern unless you're tuning performance and the loop is a bottleneck. forEach can be slower (if the JS engine doesn't inline the function body), but not to the extent that you need to structure your code around it.
Cryptocurrency support is something they're very interested in.
> let’s do what Sony did with the Walkman, let’s use this technology to make things more convenient in a way that a consumer can recognize, even if the user interface limits them.

That's a fantastic characterization of what I hate about Apple, and to contrast, what I love about free software.

The sad thing (in my opinion) is that people love the limitations Apple gives them. There it's no undefined behavior when the behavior is so arbitrarily limited. People don't want to create. They just want content. I find it rather depressing.
After hearing pagers going off throughout that day, it's reassuring to hear someone on the outside say everything went flawlessly.
Lots of incivility problems have been ameliorated by technical solutions in the past (up/down votes, flags, bans, etc.).

But the fact that flags and bans are necessary means the incivility still exists, so those problems haven't really been solved. And votes create as many problems as they solve, because with them you get people posting for votes, complaints about vote fairness, etc.

> I don't know why one would downplay attacking the remaining issue this way, especially since technical solutions are vastly more replicable and scalable.

I don't believe the effect of these solutions scale with them. If they were, Twitter would be a bastion of civil discourse, because there's little that HN does in that regard that Reddit doesn't also do at a much greater scale.
I'm pretty excited about Fuchsia. Just the fact that, if successful, it will be the first true production-quality general-purpose microkernel-based OS in the mainstream. (QNX and Minix are of course also successful microkernels, but both are pretty niche at the moment; are there any others?)

The design also seems extremely sensible and modern: Everything is namespaced and sandboxed (there's no default "/"), everything is an "object" (sounds similar to Plan 9's file descriptors), capabilities from the ground up, standard RPC between OS components (FIDL, similar to COM or XPC), built-in package management (looks like apps aren't globally installed by unpacking archives, but rather they're run directly from packages, and the process gets the archive file system mounted in its namespace), etc.

While Google seems to be aiming for phones, I wouldn't surprised if this ends up as an option on Google Cloud Platform in a few years' time.
Ted Nelson can come across as arrogant and pretentious. That doesn't mean he's not right more often than he is wrong.

Considering he's worked in tech longer than most of us have even been alive (and much longer, for most of us), it's disappointing to see people discount him here.

Most of use should be so lucky as to achieve half of what he did:
https://en.wikipedia.org/wiki/Ted_Nelson
MIT to Offer Joint Degree in Computer Science and Economics
This is the beauty of the capital markets. Shifting trends, money, assets from A to B will create new opportunities which will cause people to chase those - thus causing new trends and flows to emerge. So, I dont think we can ever get to a world where everyone moves all their chips into index funds.
Haha, I was just about to come say that.
It's marginally bad for Amazon. If a shoe is a dollar cheaper from the Nike store, but Nike doesn't have a card on file, you'd probably just get it from Amazon. With this system, you're more likely to order from Nike.
Neither, if I understand it correctly. It provides a secure environment for logging into the captive portal (rather than using the OS-built ins), without having to disable/change other network/security settings (DNS/HTTPS Everywhere).
For the past 30 years, pundits have been saying China will fail. If they keep saying it, maybe they'll be right eventually.
Coercive comments being objectively wrong I can understand, but this is not the case 100% of the time. Obviously, coercing someone into sex is borderline immoral (Edit: I looked up the actual definition of coercing, and would actually say it's completely immoral, since it's unwanted), and if there is any threat or power behind it it's essentially blackmail.

What I don't understand is the unwelcome side of things. This is where my argument stems from. There are a lot of things that large portions of society feel are unwelcome that others feel are perfectly acceptable.

I look back at history, with all the "unwelcome" things we have arbitrarily restricted that resulted in oppression, and I feel like we are dangerously close to making the same mistakes. I mean there was a time when scientific discourse was very "unwelcome", and it didn't really benefit society much. Is saying, "Nice behind", the same as discussing mathematics, of course not. However, I still feel like we are closing in on a world where any expression of sexuality or attraction is disallowed. Which is think is a fine thing for a company to opt for, but not something we should be forcing.

If a company want's to ban all sexuality and non professional interaction, forcing their employees to wear uniforms and only talk directly about business, this is fine. However, if a company want's to have bikini/board shorts day, and allow consensual non coerced sex in the office, I also think this is fine. Because the simple truth is, not everybody find this unwelcome.

I'm hoping someday people will realize that none of this is objective, and there are actually perspectives dramatically different than their own. It's not just one person either, and there is a spectrum. We need to stop forcing our narrow perspectives on others, and learn to live and let live.

Edit:

If people feel they can't work at a place with a certain set of rules or philosophies then they need to simply move on. Should a Muslim coffee shop not be allowed to print verses on their cups because their American workers find it offensive and unwelcome?
All influence is economic. Weapons and ammunition and soldiers cost money. China`s influence in the underdeveloped world over strategic raw materials should be of great concern to developed world strategic planners. Rare earth metals are a commonly cited example.
Exactly. Like how some people get away scot-free when drunk driving (even if they kill people) while others are locked up for a really long time.
I honestly don't see how you could use $1bil to legally disrupt Facebook, it just isn't enough money.

Perhaps you could use that money to start another company, not a competitor, and hopefully turn enough of a profit that one day you'll have enough money to either build a competitor or just buy Facebook?

The only thing Zuckerberg cares about is his company, so unless you can threaten that you've got no leverage on him.
Yeah, I agree with that. Which is why I mentioned performance sensitive stuff like WebGL.

Personally I use the functional methods whenever I can, but the original quote I re-posted indicates that the author thinks that for-loops should always be replaced with their functional equivalents, and I was just pointing out that this is not universally a good idea yet.
Can we suggest this is renamed to something like: point of sale API?

It appears to do a lot more than just the financial amount for payment as a request.
As the United States beats a haphazard retreat from the world — nixing trade agreements, eschewing diplomacy, antagonizing allies — China marches on with its unabashedly ambitious global-expansion program known as One Belt, One Road.

This constant MSM need to connect everything on earth back to Trump is getting so fucking tedious. Construction of the airport this article concerns was finished (edit: begun) in 2009. It's almost as if China has been executing a long-term plan to build a web of neocolonial economic interests around the world for a pittance of the money the USA spent wrecking the Middle East & Afghanistan and killing hundreds of thousands of random people over the last 16 years; except framing the story that way wouldn't reaffirm NYT readers existing biases.
Also from the article:

> Simple things should be simple, complex things should be possible.” They’ve got simple things being simple and they have complex things being impossible, so that’s wrong.
The really low/inconsistent frame rate and A/V sync issues makes this really hard to watch.

Luckily the audio is fine.

Is there a better version somewhere?
The advisory has a regex, but it's not formatted well for copy-paste (non-ASCII quotes!). Here's a version that works:

pip list –format=legacy | egrep ‘^(acqusition|apidev-coop|bzip|crypt|django-server|pwd|setup-tools|telnet|urlib3|urllib) ‘
The Kinect has a number of hardware interlocks as well, and will shut the laser down (without firmware intervention, because firmware might not be working) based on some hard-wired detections. The unexpanded raw laser in the Kinect, prior to hitting the hologram, wouldn't be great to look at.
Facebook Knows More About Russia’s Election Meddling. Shouldn’t We?
And that's what just about all countries did when they industrialized.
sigh. It gives me the down vote button, so I guess I am l33t.

I have noticed a sociological trend in Silicon Valley that equates meritocracy with "I outrank you so this discussion is a waste of time".

Your comment is maybe kinda whiny (i wants my leet downvotez), but nowhere near the level of trolling I would reserve for a downvote.

Also, you make a good point. For me, -1 means "this comment is in bad faith and should be censored", and I have noticed it being overused on my journey to l33t status.

For what it is worth, you too almost have the downvote button, and if I see too many upvotes without some gray flickering at first, I feel like I am pandering.

Anyway, keep fighting the good fight and enjoy my upvote. Also, remember this when you get the down vote button.

Absolute power, and all that. ;-)
I think it would be the best thing in the world if they got rid of user karma altogether, and either made it invisible or just applied it to stories. I can't imagine it happening any time soon, though.

But then again, shadowbanning being publicly reversible seemed like a major step in the right direction, and HN survived that, so I suppose never say never.
Deutsche Bank CEO gets brutally honest about what automation is going to do
Good points on large numbers. It took me very long time to get used to saying 6000 as six thousand but 6500 as sixty-five hundred. I tend to say sixty point five thousand.

Same with money, instead of six fifty, I would say 6 point 5 dollars.
> Put a non-trivial amount of btc in a wallet with a moderately secure password. Oh you'd rather not? It will be swept up almost instantly by any of a myriad of wallet cracking programs running 24/7 for just that purpose.

Most people refuse to invest in Bitcoin because of the possibility of a crash, so this is a completely pointless challenge.
Nothing in your post contradicts the thesis of that sentence.
I’m curious, how do you prep for things like the Prime Day? I imagine almost all parts of Amazon.com and AWS operate at their limits, especially resource-wise. What precautions do you take?
I tried many programming fonts, and nothing so far was able to surpass the ergonomics of DejaVu Sans Mono.
Seriously, most outsiders can't even see the propaganda in their own media. How do you expect them to see it in other countries?

Chinese propaganda at the moment is really amateurish. Just wait until they learn from the best [1].

1. Noam Chomsky - Manufacturing Consent: https://www.youtube.com/watch?v=tTBWfkE7BXU
The Do's and Don'ts of User-Centered Design
QTox
UTox
Ask HN: Which tech companies offer summer internship for new grads?
I've seen that in many of the big tech companies, a requisite for the internship is to be enrolled in the university after it. Is there any big tech company that offer internships for new grads?
There's a lot of difference between running a webapp on a single unmaintained server and "google level reliability"
TCC – Tiny C Compiler
What's the DevOps duty look like? Anytime you just see a page and root cause it and just tell your higher-up they are SOL
There are also a fair amount of really smart people outside of China (in tech scene and otherwise) that want in [to the country].

Almost half the people I've met are trying to go to China to start one thing or another.

I would say over a quarter of my Chinese American friends have moved to China to start a company, while an even larger portion fly back and forth quite often.
That's just fizzbuzz.
Nice. Sorry for plugging this but I also wrote a similar one https://hn.etelej.com as a PWA that just focuses on the top 60 posts every 5mins and allows searching through the; links to comments though
Just C. Rust has a lot of problems for serious low level work imo and suffers from a lot of the same classes of problems C++ does, and there aren't many other candidates. A simple microkernel should be fairly straightforward to write in C without any big security concerns, especially in the hands of a multi-billion dollar company. You offload most of the security work to the architecture.
Maybe now they'll have the budget to support Github style markdown / code formatting.
The KLF (Chill out)
These technologies are only used to penalize surgeons and never to enable new things. Obviously course your idea would be rejected.
Pioneering Women in Venture Capital: Kathryn Gould (2014)
INDIAN STARBOY
This means entrepreneurs with such degree needn't necessarily add a co-founder with major in MBA from an ivy league college just so that they could get past investor's prejudice - "You are just a tech guy, you wouldn't know how to run the company you founded without a co-founder from management background". Let's not be naive, even Elon Musk faced it.

P.S BTW when I did my CSE, we had full semester subject on economics & management studies. Isn't that the case in top institutions?
Safari's JS support is pretty good, but CSS is wonky and various other things (like how cookies are handled) are different than all the other major browsers. So it will break on shit devs may not expect. Obviously that's the fault of the devs (IE10/11 are worse, but we make stuff work there too!), no argument there.

But it is becoming a pretty niche browser, and yes, it DOES break a lot of stuff. No, it's not broken on Facebook or your favorite news site, but every time I bring it out for a test drive I find a couple of broken things in various smaller web apps that work everywhere else.

So while I don't think it should be that way, it tends to be a pretty brittle experience.
> Once almost everyone invests in index funds, what will determine the price of stocks?

there are hundreds or thousands of index funds, all investing in different subsets of the market. money flowing back and forth between those funds will shift the relative value of their underlying sets.

also all the other answers, such as, that's unlikely to happen.
Also would be nice to have a company focused on privacy developing operating systems. Google is the opposite.
The Week My Husband Left I Won a Grant to Begin the Project That Became BRCA1
I just hope that it is something that an OS hobbyist like me can play with. It's been a long time since I got to play with a new OS.
5 Tips for Startups to Work Smoothly with Electronics Manufacturers
Not every new OS does. The ones that do are using the GNU stack, at least initially because they are there and it saves time. Even then down the road some purge GNU from their OS in favor of better utils, more liberal licensed code, etc.
It might've been the above wired article, but some discussion of his work I vaguely remember was Nelson being bought into by I think autodesk, and Nelson basically managed the project poorly; the team would make headway in some direction over a year, then decide to do a fundamental redesign. Repeatedly. So a fully working product was never built, though some interesting components were
The Genius Fallacy - Jean Yang
Thanks. I follow V8+WASM sort of closely and there are things I like there. But the Iron Rule of HN is that if you criticize, you will suffer! That's OK. I think it's important every once in awhile to plant your flag in the ground and make sure you can defend it; not to the point of trolling but do I really understand my opinion. I'll admit that my notion of interpreter is perhaps historically limited and that there have been others. In any case, I appreciate the back and forth. I learned things.
Can somebody explain the expenses/need to raise money?

From what I can tell the major competitor to Slack is Basecamp - a profitable company with 50 or so employees?

What is Slack doing with all this money? The slack I used at work was an html version of irc - is there more?
Multicore Ocaml Effects Tutorial