skysight-inc/HackerNews huggingface dataset:
Different languages are targeted for different purposes. Most people don't like JS as a language, but necessary to take full advantage of what a web app can do. This is because today browsers run JS and not much else. The sometimes chose to write their sever in it too to decrease the number of languages they need to maintain in their code base, and to be able to reuse code for the backend and front end of their webapps.

One of the ways languages differ is how much of the hardware they abstract. Assembly is literally a list instructions to manipulate registers (a component of a processor) containing 1 number at a time, and to jump around those lines. Resisters and you memory just hold ints, so the programmer has to know what ints are numbers what are addresses pointing to an array or other number(pointer), etc. C abstracts a ton of those instructions, so for example you have to keep track of what memory you're using but not which register has that memory's address and how to allocate registers etc. Static typing is necessary to remember how to interpret those ints. Python abstracts even more so you don't have to keep track of you memory and its very close to abstract logic. However, in exchange there is a large bit of code that has to run with you python code to figure out how to use the registers and assembly instructions to compute your function. OK it doesn't do that directly, but indirectly that's the point of what is called an interpreter.

There are advantages of more abstract languages like python. You don't have to think about as much and there are generally more safety guarantees. However, sometimes you can't afford to the time or space overhead of the interpreter. This is a commonly cited reason people move away from ruby. Sometimes you need the minute control over you data. For example, if you are writing a OS or a device driver, you need to give very specific instructions to the processor. Languages that are well suited for the latter cases are usually called systems languages.

Rust and Go are examples of languages that try to fit between C and Python on this spectrum. They want to give some of the abstractions and security grantees that python provides without the overhead and while enabling some precise control of the hardware if you need it. They also provide some abstractions that may speed up you code because the language designers have thought through some complex algorithms and code better than you may be able to.

Hope that helped, and let me know if you have any questions.
D.C. area traffic is so bad I once felt stupid for taking 66 at 6pm then I realized it was Saturday.
Those outdoor malls are brutal in the winter for northern states.
Maybe you can find a better "prime example" than browsers, which nowadays are mostly known as execution engines for JavaScript, a garbage-collected language.

But frankly, I doubt that you can. Others will say "operating system kernels", but people are happily writing OS kernels in OCaml, so <shrug>.

Yet others will say "safety-critical hard real-time tiny microcontrollers without an MMU" (one of Ada's domains), but on those systems you don't want to do dynamic allocation anyway, so the question of GC or not is kind of moot.

I've said it before, I'll say it again: Rust would be a better language if it had a GC and the possibility of marking certain program parts as GC-free (the way it allows you to mark certain parts as unsafe).
the most astonishing thing about this is that he's been able to find anyone willing to go long on malls in the last 10 years.

i want to read the article about what the hell those people are thinking.
This isn't software that a team of 6 can replace in 6 months. This is stuff like assembly lines, metallurgy treatments, the characteristics and quirks of specific machines, and requirements of suppliers. These can't just be replaced by a rogue team leaving.
Sam Altman on the end of net neutrality: 'I think this could decimate startups
A third player is weaker, but faster. And smarter. Or tougher. Or more agile. More agile but not quite as smart. More persistent. Less predictable. And so on and so forth. Your 'meaningless' only has meaning because you apply it to a hugely simplified model.
Building a VR Theater Experience Using Viro+React Native
I can't imagine anyone in the CIA authorizing leaking their own tools. It's too outlandish, too career limiting. It would seem to be treason by definition.

"Nobody got fired and jailed for leaking CIA tools." Except, probably, anyone who ever did.
To Make Account-Based Marketing Work, We Need Artificial Intelligence
> You can write a system in any language right? Python is a scripting language and lots of people use it everyday to write systems.

Systems here means things like an operating system, a device driver, video games or a web browser, things that need fast execution, direct access to hardware and the ability to manually maintain memory. Stuff that C/C++ are normally used for.

Could you do it in Python? Not really, since Python has garbage collection, a very high-level of abstraction and is extremely slow for these kinds of tasks.

> What problems is it trying to solve?

It's trying to make it possible to write programs that require manual memory management, but that are checked for correctness of that manual memory management automatically, so that you can avoid many bugs that are related to memory and are commonplace in programs written in C/C++, like referring to a certain object that is in fact no longer present etc.

> Also how does it compare to Go? It seems to me that both Go and Rust are mainly used by C/C++ folks that want a new shiny language that somehow resemble the syntax or structure or funcionality of the former and at the same time add some modern features

Go is not really used by C/C++ programmers, as it does have a garbage collector, just like Python. Unlike Python however it is way faster and unlike Java, it is compiled to a native executable, thus it is used by many Python/Ruby/Java programmers who want a faster/native language with similar capabilities.

Go is mainly used for writing web applications and command line apps, just like Python.

> Do you feel more productive writing software in it than in let's say JS?

Rust targets a very different market from JS, but it has a very strong type system and catches a lot of errors at compile time, which to me makes it a lot more productive than JS is, just by not having things explode on me at runtime.

As for the syntax, it actually feels very neutral once you spend a couple of days with it and read the book + apart from the 'lifetime annotation there aren't really any other weird symbols for the category of language Rust is.

For example things like https://github.com/redox-os/redox or https://github.com/servo/servo would be very hard to write in both Python & Go, because they require direct access to hardware, fastest possible execution and manual memory management. They could've been written in C/C++, but would then contain many memory management errors, (given its manually done by the programmer and programmers are fallible humans), which could lead to crashes or serious security problems. Rust aims to prevent these drawbacks of C/C++, while still maintaining all of their benefits, i.e. speed, manual memory management etc.
My 2 cents: the news about retail is old + when the news is out, usually it is too late to trade... Those that rehash the news constantly, hope it will drive prices further down from here...
Good thing my trading method has nothing to do with the news cycle...
At which point Comcast probably sues Netflix for anticompetitive practices.
Well, I certainly agree that it isn't shocking Democrats think Wikileaks is a front for Russia. Though I may disagree on the reason why it isn't shocking that they think that.
It is true that it is not that controversial and mostly true, the thing is that in most places there is much less repulsion from saying "Marx was wrong, communism doesn't work" than for saying "God is wrong, these divine laws are useless". So religion is a strong barricade against criticism, it uses fears no other ideology can use (fear of death/afterlife, fear of non-purpose), and yeah some people have made of communism or fascism and other ideologies even stronger barricades, but at the end of the day, the less ideologies (incl. religions) there are as possible barricades for demagogues to use the better we out to be.
Show HN: We're building essential hardware alerts right into log management
Perhaps I'll try your suggestion and compare make against msbuild...
Because it's a dominance behavior.

I think the essence of this situation is, the stock market wants companies to pander to its every whim, BUT the stock market also has a dim awareness that this is trading off long-term success for short-term cash-in tactics. They know what they want but they also know it is bad for them, they just can't help themselves.

You could counter this by being fierce and stern and saying 'no, you must eat your spinach before dessert!' and probably have some success, if your business was based on hard-nosed determination. Amazon can do that, because they are tougher than Wall Street and will do what's best for Amazon, garnering respect.

Tesla's different. Musk's positioning is the foggy-eyed mystic, the guy with a vision WAY beyond what anybody else dares to have. Whether or not this is true this is how he has to behave. So, if Musk says things like 'ectually capital isn't even real, so the share price doesn't matter, it just slightly affects how fast we can roll out batteries and synergize with going to Mars', if it was a normal company the stock market would go WHACK and it would be goodbye Tesla.

Instead, since Musk is Musk and since the whole concept of Tesla/SpaceX is based on that impossibly grand vision, the stock market sort of gets wide eyes and goes quiet, and are careful not to cross Musk.

It's a type of dominance behavior. He doesn't have to yell at them: he acts like they're BENEATH him, and since the stock market likes to go for short-term thinking, technically they are. He can't go to Mars etc. while complying with stock market expectations because his business would implode. So he does it anyway and they interpret his arrogance as dominance, which it is.

Tesla, Amazon, and Uber each have their own type of dominance behaviors with the stock market. Tesla is the visionary seeing the burning bush and unaware of anything the stock market says, and they command awe. Amazon is the hard-bargainer who understands what the stock market wants, but won't trade away their own power, and they command respect. Uber just acts the way the stock market wants to act, and they command love (from the stock market, at least: maybe not from anything human!)
But absolutely no one forces you to use inheritance.
That is awesome! :) Asking the questions I did wasn't a judgement on you, by the way. I was hoping that they could judge the best "in" for your son.

I honestly have no idea about the Mindstorms set. The one my parents bought me is probably 20 years old at this point. I also won a sweet R2D2 one at the mall at the tail end of when I was really playing with them.

Maybe see if there is a set out there that matches one of his favorite fictional characters? Does he tend to favor things with wheels or things that walk when he is playing with toys? (ie would he rather program Wall-E or Iron Man?) Maybe do some basic research and present him with three options? Or maybe start from the "problems" he wants to solve and work with him on building/picking the right robot out. Some questions could be:

- Do you want to walk around the kitchen?

- Would you like to build a track for your car to follow?

- Want to scare your little sibling with a giant scorpion while having plausible deniability? :P

Lego seems to have a huge gallery of bots that people built [here](https://www.lego.com/en-us/mindstorms/gallery). They all may be able to be built with the "default" kit, which I found on [Amazon](http://a.co/15WLhTC).
If we're sharing doggo memes the "They're good dogs Brent" one is my absolute favorite.
http://i1.kym-cdn.com/photos/images/newsfeed/001/225/812/2b3...

I always look at it if I'm having a rough day.
I can imagine it'd be like fishing or hunting. Relaxing if you're doing it as a hobby, potentially frustrating if unsuccessful and your livelihood depends on it.
Disorder under heaven: America and China’s strategic relationship
Nice find!

Btw: Is it correct that this won't get fixed in Debian because it isn't a security issue?
ISPs (at least around where I live) pretty much are already a monopoly. Can you tell me how this is will be worse then our current situation?
Have you worked with any recruiting agencies? I'm a big fan of Mondo - the folks there are great and have been incredibly helpful and responsive. Feel free to drop me a line if you want an intro. (I mainly work in Rails but I'm sure they can help you find something in Python.)

(There are a lot of great technical recruiters, but I've personally only used Mondo. I'm sure others have some they love as well.)
Well, pure data is a 'higher-level' sound programming environment, so it could be emacs.
Free private lessons are now possible (www.goodat.be)
Do you struggle with Maths, Chemistry, English or other subjects? Or do you just want to learn a new language or to play the piano, for example? Goodat is what you need!

What is Goodat? It is a platform that matches people with different skills. In other words, you will find people with a variety of different skills who are willing to help you in exchange for credits. To acquire some, you will be able to help others with difficulties in the subjects you master.

The opportunities are endless; whatever you wish to learn, there will always be someone is your neighbourhood who will be able to teach you.
Besides, it’s completely free :)

Sign up now on our website www.goodat.be

… We all have something we can share!
> The way you state that one wonders why we haven't already achieved superhuman, general AI.

Brain emulation is still expensive ...

https://en.wikipedia.org/wiki/Artificial_brain#/media/File:E...

It'll be interesting to see what we can learn at the different levels of emulation.

> It's produced by mundane trial and error experimentation.

Fair point, although experiments in computer science and applied mathematics can usually be carried out without constructing physical apparatus. Also identifying and designing experiments to efficiently characterize a problem space is a large part of experimentation. And again, once automated fabrication improves, some automated experimentation in physics and chemistry becomes possible.
I just spent an entire week debugging a timing-dependent stack-smashing bug that Rust would have never allowed. On the other hand, closures in Rust are really awkward. So... maybe.
You can use caching to mimic this behaviour in Flask, I.e.

http://flask.pocoo.org/docs/0.12/patterns/caching/

I'm not sure how this works with multiple threads though, I imagine you would have to synchronize it yourself.
Don’t Call Me a Millennial – I’m an Old Millennial
So basically: Because they can (it's easy and they need access so they will pay for ransom)?
Ryan Dahl created it at Joyent, and Joyent controlled it at the time. But he left it to other maintainers when he left Joyent.

https://www.quora.com/What-happened-to-Ryan-Dahl
https://www.quora.com/Who-is-Ryan-Dahl
AFAIK in Germany con-competition agreements are possible with the maximum term of two years.
Where can I download this? It's not obvious from the page.
All or Nothing Productivity: How Excellence Creates Excellence
Send the activists to the moon base, you see a problem I see a solution.
Grohmann Engineering is a German company. Can someone chime in on the legality of non-competes in Germany?
Wow Free?! Amazing!!
Wikileaks got started around 2006, are you suggesting they were funded from the start or more recently?
Any sources to back this up?
Comcast/NBC will be able to put things like Hulu in the "fast lane" and other services like Netflix will not. Unless of course Netflix is willing to pay Comcast/NBC more. In which case the ISP will be able to charge twice for the same service. The consumer pays the ISP to access the internet, and the service pays the ISP to deliver their content to the user.
He is naturally a bit puffed up and that was a common critique of him from back in the Google days. I think this personality type is somewhat common among successful seed investors where being a "tech personality" helps with getting deal flow. Name brand institutional investors like Jurvetson and Horowitz don't need to rely on such tricks for deal flow.
This is for analytics workloads, where you stream rows through the GPU.
>I find myself (especially in REPL environments) often doing `list(map(sth, sth))`.

This. I wonder if you could have a switch to make ipython print out the list instead of the iterator object at the REPL.
Yeah, this definitely has the feel of "A ten page paper is due, and I've said everything I needed to say in three pages."
This is awesome. Thanks for sharing this.
I'm working on something right now in 2.7, a personal project. One of the 3rd party tools has a note about 3 with just enough of a "mostly" that I just don't want to encounter the speed bump or road block or whatever it's going to be. And also, the code isn't really the major part of the project.
And kill the IPv4 address (if you don't need it) and save 1€ per month.
To go with this, I would be incredibly happy just to find a complete guide for Webpack + Babel + TS + Vue. The last time I tried I could never quite get anything put together all the way.
Tesla Sued Over ‘Dangerously Defective’ Autopilot
It went from "fascinating" to "dear lord what game are they playing at" to "I can't even articulate what they are anymore" in a surprisingly short span of years.

They're not even a real wiki!
Since 2.1 ts is becoming a de-facto default choice for any serious JS projects I'd say. In conjunction with VSCode it really shines and makes JS sometimes even enjoyable...

But there is an issue that quirks our team almost daily: the bolted-on typesystem provides a false sense of safety. You can look at an API response, write an interface for the data structure, build functionality ontop of it, and when the API response structure changes in subtle ways over time, everything may break without notice. There is no way to enforce an interface through casting anywhere, not even via some code generation or sth like that.
Excuse my ignorance, but what do you mean by FHE?
Creating Records That Will Last
I use Git on my Reaper projects all the time. But I've almost never gone back to an earlier version, and when I have I could've probably anticipated the branch point and just used "Save As". Nonetheless, it feels nice to have history "just in case".
Is this the autistic spectrum of the internet expressing itself? Or just kids messing around?
It's very much on purpose: the language is carefully crafted to protect the new rules against future lawsuits.
Not using a feature X yourself means you might still need to deal with code written by somebody who uses the feature.
The aspect of this that people are mostly taking issue with is the ability for ISPs to try to extort money from hosts and more money from users by throttling traffic if they don't pay. The famous example is when Comcast attempted to force Netflix to pay more for the distribution bandwidth that they use (not the upload bandwidth necessarily, but the load that Netflix was imposing as users downloaded streams). This resulted in Comcast throttling data from netflix servers until some sort of deal was reached. The legislation this proposal would remove protects consumers from this behavior.
Not only technically, but also practically, since many tools, libraries and service APIs accept and produce the Z as the TZ identifier for UTC.
If you write code that detects stack smashing and illegal dereferences then you can terminate the webservice and either have a watchdog restart it or if it crashes multiple times have it taken out of service by the load balancer. There are plenty of ways to handle hardware errors without throwing out the hardware and getting "better" hardware. Technically, You could have a faulty component somewhere between the Ram and CPU and then what is your expensive ram going to do? What if the CPU cache has errors? For many small businesses often the difference between success and failure is their ability to make things work without throwing cash at the problem.
Quick! Someone inform Zed Shaw!
5 Amazing Toothpaste Life Hacks You Should Know
Think of Rust as a better C - when you need low-level hardware control like C enables, Rust gives you that + guarantees about never having memory segfaults or concurrency errors that C can't. If your Rust program compiles, it won't break for those reasons (unless you intentionally enable and use unsafe code, but not by default).

Think of Go as a better Python (scripting) or Java (application) language - simpler than Java, faster and with better concurrency than Python. Like Python and Java it's garbage-collected, like Java it's statically weakly typed so can't offer the level of guarantees that Rust can, but possibly faster to develop in as a result. Still too new and thus lacks the extensive libraries of either Java or Python, but growing fast.
To sign-up https://www.hbsslaw.com/cases/tesla-autopilot-2-ap2-defect
It's not a joke, some people are like that.
You still need to provide some polyfills
Apples and oranges measures of users vs query rate, but it sounds still like conventional OLAP can handle a lot more.
I agree. Additionally, it looks like the comments feature is compatible with the JSDoc syntax. I'm not too sure about the return syntax though. This means I can start type checking some of the large and older JavaScript projects, all documented with JSDoc, of some of my clients. I'm eager to test this out.

In my experience, in some organisations, it's hard to introduce TypeScript instead of JavaScript, because of reasons. For example, one of my clients made a bet on CoffeeScript back in the days, and that didn't work out, so now they are hesitant to adopt anything. Being able to introduce at least the type checking feature will start to drive change to this hesitation.
It's most probable that Russia (or perhaps other adversarial state actors) would have given all the most sensationalist, newsworthy, and reputation-damaging material to Wikileaks, but kept the really juicy zero day exploits to itself.

If this is true, I expect the CIA and/or other agencies will have gone into defense mode and tipped off the relevant vendors, giving details of vulnerabilities they either know to be leaked or have observed to be used in active attacks.

In doing that, I can't really see the CIA revealing any more than is strictly necessary, and to a very limited set of people. Certainly not dumping a whole load of compromising material to Wikileaks.
Current: Analytical differentiation in C++ for realtime machine learning
America's Other Drug Problem: Wasted Prescription Medicine
Dude, you gotta fix the little arrows that let you scroll the tab bar. Each click just scrolls it like 10% of a tab so it takes 10 clicks to move it 1 tab. This is ridiculous.

Personally, I have a 2560x1440 monitor and I keep ST on it fullscreen. I usually have ~7 repos open but sometimes need to open up to 15. I can fit 11 tabs but look at how much wasted space is in each tab: https://www.screencast.com/t/vKrSNe5APy

On the older version of ST, like 1.5 or something, the tabs were only as big as the name of the repo so each tab was much smaller. This worked great.

Alternatively, make the tabs just add extra rows so instead of having a scrolling list, the tab bar grows vertically instead.
Discussed at the time: https://news.ycombinator.com/item?id=3632821.
Really, please stop!

https://news.ycombinator.com/newsguidelines.html