skysight-inc/HackerNews huggingface dataset:
And we very much appreciate PortableApps
AI and Robotics (with Raspberry Pi)
> to learn both and switching is a necessary skill if you want to program professionally

There is a hoard of professional Java or C# developers that invalidate the idea that you need to know more then one language to program professionally.

While this might seem odd to a hn reader, where there is weekly blog posts of comparing languages or trying out the new shiny thing at a startup.

One need to remember the audience is single digit percentile of the computer industry. The rest of the industry actually use jdk or .net in the enterprise.
As an outsider to 'enterprise-grade' computing, I'm curious about situations where a high number of cores in a single processor would be superior to multiple processors with the same total energy draw sitting on a single motherboard?

I can understand HPC applications where the high-speed interconnect on the chip would make a big difference.

But in business applications where the cores are dedicated to running independent VMs, or are handling independent client requests, what is really gained? There would still be some benefits from a shared cache, but how large quantitatively would that be?
If it's for learning, learn both. They teach you different models of thinking. As far as pure knowledge, Rust probably has an advantage. If you're looking to get things done quick, or for employment, Go would be the safer choice today.
"change your diet, write everything down, see what happens"

if any reader wants to go this route, "whole 30" is a relatively well-known "elimination diet" that omits the vast majority of the things that cause food sensitivities in people. the idea is you do a 30 day purge with an allow-list of foods, and after that you can slowly reintroduce individual things and keep track of how you feel.

a benefit of using a well-known diet over any other one is that finding recipes etc is much easier when there's an entire subculture of "whole 30" food bloggers.
I'm guessing Go is the more marketable skill. I imagine learning both would make you better at both, too.
Ask HN: If you’re thinking of buying a car, does personal tech matter?
I’m working on a side project that helps people choose a car to buy, lease, or rent based on the personal technology they use.

Does anyone think this matters?

If you’re thinking of buying a car do you consider how your phone or other devices interface with the car? Is this something you would test at the dealership? Or seek information about online?

Your thoughts and feedback welcome!
Objective-C [] over the :: and <> overload of C++, imo
We are not the same people who did that. We stopped it one day one.
To me the value is in not having to spell it. When I say @gmail.com no one ever typos that half.
I recall reading that the thread ripper 2 is supposed to use more power so early motherboards with that socket my not be able to handle it. Just something to keep in mind.

Regardless damn good on AMD.
Thanks so much for your comment. I had actually tried -O3 during my tests and didn't notice a huge difference in this particular example.

fots ~ $ gcc -O -o fib fib.c

fots ~ $ time ./fib

433494437

real	0m0.749s

user	0m0.743s

sys	0m0.003s

fots ~ $ gcc -O3 -o fib fib.c

fots ~ $ time ./fib

433494437

real	0m0.747s

user	0m0.742s

sys	0m0.003s

fots ~ $ gcc -O2 -o fib fib.c

fots ~ $ time ./fib

433494437

real	0m0.741s

user	0m0.737s

sys	0m0.003s

Clearly this is just a little mathematical algorithm and more real-world problems would likely produce a more dramatic difference.

What sort of differences did you see on your end?
Ship's still in port actually. Over a million users a day. They're on board and we're improving it for them. Bitbucket's cool too, but it's just a different ship.
But surely you see that Ruby has been on a steady decline for ten years, and with RoR falling out of grace, that decline is accelerating.
Your premise is very narrow. Six or seven of the ten largest semiconductor companies are American. The US has a lot of big companies working in or around the semiconductor market.

Eg - Texas Instruments, Qualcomm + NXP, Apple, Intel, AMD, Applied Materials, Cisco, Xilinx, Analog Devices, GlobalFoundries, Maxim, Microchip Tech + Microsemi, KLA-Tencor, Lam Research, Marvell, Broadcom, Micron, nVidia, Teradyne, Cypress, On Semi, Praxair, Skyworks, Ambarella, Cirrus Logic, Diodes Inc, Integrated Device Tech, IPG Photonics, Semtech, Qorvo, Cavium, Mellanox (US-Israeli), Inphi, Monolithic Power, Lumentum

Now you've even got Microsoft, Google, Facebook, Amazon looking into/working on their own chips.
Check out David Mellis (of Arduino fame)'s "IDE" for collecting and training classifiers on gestures:

https://www.youtube.com/watch?v=5nDCG4vkFP0
No adware since 2016
> Refactoring becomes not just a chore, but genuinely psychologically stressful as you begin to worry about things breaking in production. And they frequently do.

Beautifully put. The ability refactor confidently is so underrated. It's one of the places where a little bit of verbosity (i.e. Java) pays huge dividends.

> Duck typing is elegant, but it only works so far as you know the range of types to expect.

Go shines particularly well here. In Java code bases, interfaces occasionally accumulate too many methods or interfaces of interfaces start to get unwieldy. I like Go's approach of letting the function declare the relevant subinterface it really needs.
Yes you can: https://sourceforge.net/p/npppluginmgr/code/

However very few projects choose to. Most just host binaries. And have a github link in the project description.
Absolutely. Last year Google was tracking the location of Android devices that used its push messaging service (so basically all of them) even when privacy features were turned on. Installing a Google-free custom rom is the only solution to prevent this. I have been using LineageOS without Gapps for the past month, and it's worked superbly.

https://www.theguardian.com/technology/2017/nov/22/google-tr...
> Does static typing really offer that much more over dynamic?

Yes, but it comes with a heavy trade-off if you have an insufficiently expressive type system and/or an excessive need for explicit incantations to the type checker.
I think he wants something in between gsuite and free Gmail. A Gmail+ that lets you keep the @gmail address and take out all the spyware.
IKEA's physical presence only works because they are sole and best-priced supplier of what they offer. Don't build a retail business on the premise that people will want what they handle in the store right now instead of saving a few bucks ordering it online from elsewhere.

The underlying price of the real estate to the revenue brought in by a toys-based sales funnel simply makes these locations untenable to flog products that can be sourced online for cheaper. You need a hell of a lot of sales volume to keep up, and online took away enough volume to starve these models.

The parenting culture is also wise to the models that are built around "hook 'em young and get them to insist on instant gratification". Look inside parenting forums and you'll see a shift in shopping habits, where toy stores are deliberately and consciously avoided precisely because parents are annoyed at the effects.

Personally, I'd rather see more parents teaching children through involvement in daily activities than throwing more toys (including computer and video time) at their children. We're "over-toyed", over-retailed, and "under-practicum'd".
We have nothing to do with the previous owners. In fact, FileZilla from their own official site still has a bundled installer, but we made them remove it from SourceForge. SourceForge FileZilla is cleaner than the official site. Check VirusTotal to verify.
When VMware charges per socket and not per core.
Yep, this is true. I'm hopeful that this will come soon :)
Do anyone know how FAO Schwarz is doing? This is also a huge destination-location in New York that sells toys.
Wild guess:

Dropping the rents would prompt their remaining tenants to renegotiate their contracts.
"Now THAT's nice."

Yes it is. There is a certain consistency/uniformity to the url and site structure with Github that Sourceforge does not have, for whatever reason. Not to mention the absence of the mirror choosing routine. I really appreciate the ease and simplicity of Github downloads, which is precisely why I am concerned about the future.
MMDA-2 Powder: MMDA-2 for Sale – Buy MMDA-2 Online
I think history will suggest that the end of Deng Xiaoping's long-term strategy of "hide our capacities and bide our time" around 2015 was too premature to meet the government of China's long-term goals. The moderate amount of international goodwill that existed seems to have completely evaporated and been replaced with significant amounts of suspicion following the events of the past few years in the region.

Because of this, China finds it harder than ever to access US semi-conductor technology through financial means, being blocked from acquiring companies due to national security concerns. Even deals without any immediately obvious problems such as Broadcom/Qualcomm are being blocked.

Additionally, the demographics situation is very severe in China, and made worse by the gender-imbalance among young people caused by the One Child Policy. While Chinese government debt and household debt rates are relatively low, company debts are extremely high. Far too high for a nation without a high per-capita GDP. Interestingly enough, the demographic situation in the US is highly favorable compared to all other advanced economies (it also has a debt problem though)

The demographic situation dovetails into this interesting op-ed piece [1] about offering more green cards to international students -- it argues that even with the high risks of espionage in certain areas, it's well worthwhile for the long-term US economic competitiveness. I submitted this article to HN a few hours ago, but after 10 upvotes it was flagged -- which is unfortunate, I thought it's a very intellectually stimulating topic of discussion that's urgently required in our open, inclusive society. I highly recommend people read the article and think deeply about it.

[1] https://www.bloomberg.com/view/articles/2018-06-04/trump-is-...
You're right about this point. I really should have spent more time on Nim, and I still intend to. In fact, Nim was my main choice prior to learning about Crystal.

So no offence intended at all to any Nim fans, and I hope to dive into it more thoroughly in the near future.
The piggyback problem
anyone interested in starting to play around with languages would do well to write out the 'everything is a string' version. its very short and understandable.

plus the result is really amenable to inclusion in another program as an extension language (tcl is too, but it has a much bigger footprint)
Some research suggesting that it's coming back to NYC in 2018

https://www.cntraveler.com/story/fao-schwarz-is-finally-comi...
But again, this is them damaging the diamond just so they can distinguish between real and synthetic. There's no difference, but they want there to be a difference, so they made one. So, lets be clear, a natural diamond does not have an identification mark.
And with the entire premise of our reality came crashing down...
True, I REALLY hate camelCase though ... hahaha But seriously, I do need to spend more time on Nim and give it a fair chance on a project :)

Ultimately, I had to choose something to commit to for a while as there are just not enough hours for me to learn multiple new languages outside of work and with my various other hobbies.

But rest assured that Nim was absolutely a front-runner and I'm happy to update the post to reflect this.
The author doesn't understand Hemingway. He doesn't even understand Bull Fighting. Looks like scholarly nonsense to me.
Algorithms of Oppression
Ok, that explains the US situation.

Of my local situation, probably the explanation is because on a 30km radius there are not really any other shopping malls ( space being filled with cows on green pastures :) ).
This diatribe just tells me Websense and you are not informed on the current state of the open source community. We bought SourceForge in 2016 specifically because we hated what happened with DevShare and killed it on day one. You can continue hating us simply because of the previous owners, but you can probably find better stuff to do with your time. Nobody uses WebSense anymore anyway except for high schools trying to stop students from watching porn during art history class.
Google AI: Responsible AI Practices
Hm, is not the problem that scooters should be on the street, not on sidewalk? Licenses will be needed only because of impolite drivers.
Indeed, Thanks. We did.
I use Bing a fair amount and I like it.

I'm wondering if you could elaborate on what sorts of things you are trying to find and having trouble with. Perhaps HN could make a few suggestions for how to get more out of your Bing experience.
You're missing the key piece: Toys R Us didn't go into debt for any good business reason, it was bought by a private equity firm and loaded with debt it didn't need. This is how private equity works:

1. A PE firm uses a combination of other people's money (limited partners a.k.a investors) and debt to buy a company.

2. The PE transfers the debt to the company's books. This way, if the company goes bankrupt the PE fund isn't liable for that debt.

3. The PE firm charges millions of dollars in fees for providing management services. This way the PE firm makes money regardless what happens to the business.

Toys R Us was profitable before it was bought and saddled with debt that was essentially used to purchase it's own business.
Proton’s is definitely not on by default
Trying to generate revenue in a mobile app based startup
Guy Steele comes to mind. He hasn't been as successful with the languages he co-created (most importantly scheme and to a lesser extent Common Lisp; Fortress was stillborn) but he's also been involved with the Javascript, C, Fortran (as a standards committee member) and Java (as a specification author). And he's been tremendously influential as a profound thinker on language design; I'm not sure anyone else understand so much about so many different languages and from quite different perspectives.

Hejlsberg probably is completely in a class of his own as a designer and architect/implementor of innovative spins on existing languages though.
Neither. It's an option in the preferences.
How Markets Crash
Ahhhh logic and reason. Fascinating. Thank you.
The fine you're proposing would cause a much larger hit to market cap than you're suggesting. Consider, Apple made ~20 billion in profit last quarter, your hypothetical fine would be a precipitous hit to profit margin which, when reported on the quarterly earnings call, would cause an abrupt downturn in share price. Consider the 13% hair cut earlier this year when the market thought Apple was going to miss. Then there's the existential panic of "does this mean Apple is in for more such fines?".
> C++ is a better language than Go, that Google is the ultimate reason for success, and that Go takes us back to C. That doesn't even make any sense

It make senses to half the users of this site. The other half, well, I guess their jobs depend on it not making sense.

I should add that I have no interest in Crystal. It’s just obvious that Go enjoys more success than it technically merits.
Lack of time is a huge factor. If you need to catch a bus to work at a specific time then you simply can't let the toddler drag out breakfast cleanup for an extra half hour.
That's provably false when you get to the bottom of what makes proprietary software trustworthy: it has to be verified by qualified people who you trust after being designed and built with enough rigor to not have accidental flaws. That's regardless of whether it's proprietary or FLOSS. I went into detail here:

https://pastebin.com/EZQWbwCB

In fact, the first systems that resisted strong pentesting by NSA were proprietary, shared- or closed-source systems. They shredded everything else. Two are below with another designed like that. The first, safe, kind-of-secure machine that I know of was Burroughs B5000 whose CPU did things like stop overflows, protect pointers, and check function arguments. It was immune to common, root causes of many failures or attacks. OS in a type-safe, high-level language (ALGOL variant). It was a proprietary system whose source was shared with customers. Linux systems still don't have as much code-level security in average case as that proprietary software from 1961. The virtualization solutions in FLOSS still aren't produced as securely as VAX VMM or the separation kernels that followed in 2000's with VMM's layered on top.

http://www.cse.psu.edu/~trj1/cse443-s12/docs/ch6.pdf

http://lukemuehlhauser.com/wp-content/uploads/Karger-et-al-A...
(See Layering and Assurance sections especially. Compare to QA practices of favorite FLOSS VM.)

http://www.smecc.org/The%20Architecture%20%20of%20the%20Burr...

https://www.usenix.org/legacy/events/sec04/tech/wips/wips/04...
(Nizza uses FLOSS components. This document is just great at describing the architecture they and the proprietary vendors were using with separation kernels. The proprietary offerings contained a lot of problems FLOSS didn't with their 4-12kloc kernels having less code to screw up. User-mode drivers can boost reliability a bit, too.)
So? Isn't Italy western?
What's the complexity of that operation?
So WINE makes things Linux-compatible?
I don't know if it scales up to big box stores, but this– plus adding food/café– is what a lot of game and hobby stores have been doing, and it seems to be working. There at least five stores like this in the Seattle area (2 of Café Mox, Meeples, etc.) and they seem to do good business.
From the article:

> MySQL’s replication architecture means that if bugs do cause table corruption, the problem is unlikely to cause a catastrophic failure. Replication happens at the logical layer, so an operation like rebalancing a B-tree can never cause an index to become corrupted. A typical MySQL replication issue is the case of a statement being skipped (or, less frequently, applied twice). This may cause data to be missing or invalid, but it won’t cause a database outage.

So, data might be invalid or missing, but it will not cause a database outage...
Alternative to Google Photos?
Why would you feel bad for us? We removed the malpractices right away, became profitable, improved the experience for over a million daily users, and are growing at a rate not seen since before the problems. I'd say we have the opposite of a problem. A few random armchair quarterbacks on Hackers News aren't gonna get us down.
> Western is just some huge bucket now that doesn't really have meaning.

I sincerely think it just means "northern european" to some people.
My company had nothing to do with it, but it's worth noting you're one of the few people who actually remembers the actual non-revisionist history.
Honeybees Seem to Understand the Notion of Zero
Buy yourself a Raspberry Pi and install RISC OS (Full or Pico version, depending on whether you want a GUI or not). It runs BBC BASIC, so it can run old school type ins and has an inline assembler and modern hires graphics.
Back in 2007-ish I spent a bunch of time trying to figure out how to print floating point numbers losslessly. Annoyingly, there's no printf() format string that says "print exactly as many digits as needed so that it parses back to the same value". You can specify a number of digits to use, but to avoid printing unnecessary digits in all cases (e.g. "0.20000000000000001" for 0.2) you must ask for a maximum of 15 digits, but in some cases you will lose data if you ask for fewer than 17 digits.

After asking around, I came across the Steele & White paper, and the implementation known as `dtoa()` written by David M. Gay. At the time, this seemed to be understood to be the "correct" answer.

But then I looked at the code: http://www.netlib.org/fp/dtoa.c

Uh.

There's a lot to dislike about that code, but arguably the worst thing is that it isn't thread-agnostic. It mutates global variables and protects them with a global mutex. A global mutex lock, just to print a number! Whyyyyyyyy?

So then I tried something different: I wrote some code that would do sprintf() with 15 digits precision first, then parse it with strtod() to see if it came back exact. If not... then I did sprintf() with 17 digits precision... and called it a day.

In benchmarks, this turned out to be just as fast as calling dtoa().

And so that's how the Protocol Buffers library deals with numbers when writing TextFormat:

https://github.com/google/protobuf/blob/ed4321d1cb3319998411...

But the bigger lesson for me was: Transmitting floating-point numbers in text is awful. People have no idea how ridiculously complex this is, because it seems like it ought to be simple. When you send JSON with numbers in it, you are probably invoking code that looks something like dtoa(), over and over and over again. And that's just to write them out; I have no idea how complex the parsing side is.

Please, folks, think of the CPU cycles. When sending numeric data, use a binary format.
Well yeah pretty much anything is better than ObjC.
No!

- Parametric polymorpism isn't OOP, pretty much every halfway-decent language has it (including Haskell, which is as functional as they come).

- Boxing in Rust isn't what you think it is - it's just heap allocation (more like malloc than the monstrosity that is boxing in Java).

- Again, operator overloading isn't OOP either. Seriously, is it that hard to believe that "you get to use + and - with your own types" is an expectation independent of any paradigm?

> I must have gotten the wrong idea.

Yes. Go and Rust are both very far from what most people would consider "OOP".
China has an official plan, "Made in China 2025".[1] It's about moving up the value chain. Key areas are semiconductors, pharmaceuticals, and aircraft engines.

China is still way behind in wafer fabs, but SIMC is coming along. Wikipedia says they're at 40nm, which is not close to the state of the art, but is good enough for much consumer electronics.

[1] https://en.wikipedia.org/wiki/Made_in_China_2025
Which one of these companies does at better job with free/libre software? I've always had a soft spot for AMD because it's the underdog, but I want to make sure that they are free, too.
Facebook uses an enumerable ID for everything public, so to get a list you just have to enumerate their public pages.
This is such a whack and lazy response to someone who just spent the time to give detailed feedback about the code.
The kids in the store weren't happy or excited to be there, that's what was different from when I was a kid.
Is that option enabled in default installation of firefox? Sorry, I must have specified that in Safari ITP is enabled by default, and this is important for non-tech people.
No malware issues since 2016 https://arstechnica.com/information-technology/2016/06/under...
2nd Gen TR will draw ~250W. X399 boards have at least 1x 4-Pin and 1x 8-Pin ATX-12V connector, so at least 225W. The rest is supplied by the ATX 24 pin connection. Some X399 boards use 2x 8-Pin ATX-12V connectors, that works out to 300W, which should be more than enough for Threadripper 2.
Nextdoor.com is used for this in my neighborhood. Lots of people debating local issues, local news stations posting relevant news, people buying and selling stuff (like the classifieds in a newspaper), local real estate etc.

I think that sounds close to what you're describing.