skysight-inc/HackerNews huggingface dataset:
The difference is that on Rust the [] operator does bounds checking: it'll reliably panic before accessing memory if the index is out of bounds. While on C++, the [] operator will happily let the program read or write outside the array bounds.

Depending on compile-time options, a Rust panic can either cause an immediate crash, or do something similar to throwing a C++ exception, complete with stack unwinding.
> ts the same reason the Nazi's were so much more effective than Occupy wall street. In the later, internal dialogues and disagreement is tolerated and even valued to a much larger extent. In the former, its seen as lacking in purity and results in compliance, departure, or expulsion.

There's a link to 'nice people finish last' in there somewhere.
'(hello world)

is a list

(hello world)

is a function call
You could get most of the value in Haskell using higher-order functions, but note that the macro-based code generates a complete function definition from (deftag tagname). Since definitions aren't values in Haskell (code isn't data), you can't just write

deftag "html"

but instead would have to write something like

html = tag "html"

I'm not sure whether you could get around that limitation using Template Haskell (never tried it).
> I may have gone overboard; I found it hard to write procedural code in F#, so I split up my procedures into steps, with a type to model each step and a sum type to model the whole procedure.

State machines are a great thing, and modelling a state machine as a sum type is reasonably common (it's not the best modelling for all state machines, but it's very good for many).
Just looks like ADS-B Data. Neat but hardly new. Lots of sites out there already. For a few bucks you can build your own receiver and collect/visualize the data.
Here's another reason.

https://petapixel.com/2016/11/22/1-billion-getty-images-laws...
I understand why it took so long, but the implementation in VLC3.0 doesn't work for me. It never finds my Chromecast and I have no idea why. This app seems so far to work flawlessly.
Recommend amending the title; the flaw is employees walking into glass panels and doors. This has little or nothing to do with the torus/exterior glass.
Where now for energy storage?
As a rider who has done some reading into the history, one of the things modernity does overlook is how horsemanship provided a practical philosophical basis for human morality.

Going back to Xenophon (and Simeon before him), who wrote one of the earliest surviving treatises on horsemanship, the personal qualities it takes to ride and train were also the basis for leadership. Xenophon's work on the Cavalry General is mainly practical and tactical, but expands on some of the principles of horsemanship - a key one being, "nothing forced can be beautiful."

The essence of it is that because they are prey animals, good horsemanship is necessarily an exercise in leadership.

Dom Duarte's 13th century treatise (next on my list) is also about the moral qualities for horsemanship, and the classic "education of the king," by Pluvinel is about educating the king of France as a horseman, with an eye to developing the king as a leader.

IMHO, officer training has always included horsemanship because it develops a kind of physical presence and fearlessness required to get people to follow them willingly.

Glad to see something like this mentioned on HN, as revisiting the cultivation of leadership through physical and moral exercise is something we in tech could certainly benefit from.
> impressionable 20-something

I agree with your comments but please avoid the ageism.
>>because you're trying to explain lisp using lisp.

There is no other way to explain it.

Simply put:

(1 2 3 4)

Is a list

(add-all 1 2 3 4)

Is also a list

(add-all 1 2 (add-all 3 4))

Is also a list

In the above example the nested list is data to the main list. And there is all there is to it.

In the last example, code just went in as data to another list(code as data). Which is also code.
'Ling'sCars.com is optimized for driving away people who don't really, really, REALLY want to buy a car.'

...and also people who want to preserve their eyesight?

I leased a car from Ling's site once. She's actually very business-like in real-life. At the time she was doing deals way better than the competition - still the early days of business leasing back then. Not sure how competitive she is now but the site certainly looks the same?
> As long as they stick to reporting factual information and not releasing private gossip and sex tapes they have nothing to worry about.

There's no constraint on billionaires as to what might motivate them to spend their money secretly financing lawsuits. Reporting on say, their bribery of a government official, could also persuade a billionaire to adopt Thiel's tactics.
iMac Pro review: Expensive, hard to upgrade, but holy Jony Ive it’s fast
Facebook ordered to stop collecting user data by Belgian court
A memorial to the almost 1 million horses, donkeys, and mules that died in World War 1 is being built in England:

https://www.express.co.uk/life-style/life/789444/War-Horse-M...
Aren’t the Like buttons distributed around the Web and used on purpose by publishers? If your reading the New York Times, there’s a like button on the story, if you click it, aren’t you explicitly telling Facebook your interested?

Perhaps you object to the page impression being tracked even if you don’t like it? This seems unavoidable unless you mandate publishers host their own copy of the code behind these buttons and use a public API only to record the likes.
I don't use an ORM currently, just plain 'ol SQL queries. And in actuality I prefer it SOO much more. Like originally I was using Hibernate with the Java JPA, but I found it just got in the way a lot and the dependencies where finicky. Where as in Go and raw SQL I know EXACTLY what it's asking for and can pre-compose my queries externally. Any changes to the tables I have to make, as in renaming or adding columns, is just a quick change to the SQL query itself. And if needed, 1 line added to the Struct definition.

Also I'm more of a custom approach person which makes me very productive with Go. It's allows me to have laser focus on my needs instead of hooking up and reading docs and every little integration feature the framework has. And in result, I don't have dependency on a monolithic framework which could very well break everything in it's next release.

And finally, Go will build to binary for any-platform. So I can pre-build for the ARM processors, or Linux, or whatever else on Windows and just ship the binaries for server updates instead of managing make scripts and dependency resolution and blah blah blah. And if I wanted to I could sell the API "program" and sleep a little better about the IP contained in it (yes I know de-compilers exist). I could do this with C++ as well, but that's a whole 'nother ball game when it comes to tracking down memory leaks and segfaults.
Fuck Getty. They claim licensing rights over public domain images, and then tell the original copyright holder (who placed the image in the public domain) to fuck off.

https://petapixel.com/2016/11/22/1-billion-getty-images-laws...
> with math theory, there is no alternative.

You can do the exact same thing you mentioned with math. Theorems aren't arbitrary; there's a way they're derived. If you learn how the theorem comes to be, even if you can't remember exactly, you can often remember enough to come up with the theorem again.

I think the way you learn is the ideal. Knowing the context behind the facts you learn gives them worth, and the redundancy of being able to derive the fact from the context also makes it better integrated with the rest of your knowledge and easier to remember in the long term.
> So it's just some late 19th century hipsters…

That's a pretty caustic way of putting it. English pronunciation is known to be a mess, and applying "inapplicable" phonetic or morphological rules to words is just the way it works everywhere.

Think about it this way: we have a limited budget for language complexity. It's too much to learn and remember that certain words conjugate according to certain rules of the word's original language, so instead we say "singular -us becomes plural -i". And then people judge each other poorly for getting it wrong.

> Given that about 50% of english vocabulary comes from french I guess these people should start using french grammar everywhere to be consistent.

Honestly I don't follow this argument. English already has irregular nouns, learning a few new ones or switching around the plural forms is not unusual.
Didn't know Oakland airport is directly across the bay!
I'm glad I'm not the only one who noticed that. I had the same experience and it made the store seem a bit scammy lately. A lot of the cheaply made books also seemed geared toward older people: they were either about the 1940s-1960s, or were the kinds of public domain classics a grandparent would buy a grandchild (Robinson Crusoe, The Arabian Knights) in outwardly fancy but actually poor quality editions.

It's especially a shame because Barnes & Noble classics editions from 10 or 15 years ago are actually very nice.
It is very likely that there is relatively simple formula that maps the input data to credit scores.

Given enough inputs and outputs, you can figure out the formula.
That's awesome. Any idea why there are different audio streams in the L/R channels?
Yeah, the longest lines I saw were the day I foolishly went right before the Super Bowl, and even then they were moving at a great clip.
I've always wanted to learn mathematics but have no idea where to start, I have no formal education in anything.

I tried the Ivan Savov books and they seem great but I have no way to judge the quality of any resources.

Where do I start as a complete beginner? I want books not online resources like Khan etc.

I would eventually like to get into Geometry but I have no foundation whatsoever, just basic algebra.
The new VLC never finds my chromecast, and this does right away. Apparently a lot of people are having nonspecific trouble with the new VLC feature.
The fact that China as a whole is an authoritarian oligarchy does not mean that they can't do things better than the US.
While we're at it can they add a feature where "-pinterest" is added to every image search by default, and then can be removed? Pinterest Image results are like barnacles, almost universally useless and they cover every search.
> Was thinking about this ... I reflexively hate bots, but it might be a UX thing -- maybe it's the popup. The pop diverts my attention from where I was looking on the site and feels like an intrusion. Same as if someone comes to your desk and grabs your mouse. So .. maybe an improvement would be to have a status-line or ticker-like text field that doesn't pop up or obscure any part of the underlying page design.

I almost entirely agree with this. Chat pop-ups are _incredibly_ annoying. Many websites have a livechat tab at the bottom, or at the side of the screen that you can click to initiate a chat, and that's fine, but the chat should _never_ be initiated automatically (or appear to be). Once the page loads, any change in the main area of a website should _only_ be initiated by user interaction, such as clicking the 'chat' tab at the bottom. Otherwise, for the interruption it generates in my thought process, you might as well just load another page entirely.
> Sounds like your experience was with Emacs Lisp, a very clunky Lisp.

The lisp that didn't win is not an acceptable lisp.
But there is no such thing as "parent lists" in C. There are much less parentheses. You don't make nested functions or data. You write simple, procedural code, and therefore you simply move lines up or down, and at most change the indentation level. (To fix indentation in vim, select a block of lines and use =. To shift left or right, use << or >>).
It is two payments over two years.

So it's 1 payment per year.

Yes it's psychological, but that's the problem people are weak at saving for the future.

It's allowing people to make a mistake 12x bigger.
Yup, I had a lot of fun playing with a €10 RTL-SDR device - from my flat I can see a lot of planes arriving/departing at Helsinki airport.

The only (minor) annoyance is that when they start to fly too low I can't pick them up any more, so I see them get very close to the airport, but then they just disappear.
Starbound is also worth mentioning here. Its universe is larger and includes more sci-fi stuff but sacrifices easy onboarding. Love them both :)
Explorable explanations
>save a minor amount of bandwidth

I dont think that's minor:

https://www.cnet.com/news/google-goes-down-for-5-minutes-int...

now imagine google has to check if every link it will show still exists. That's like billions of trillions of request per hour world-wide. And another thing is a privacy issue, I know, google doesnt give a shit about it, but some people do. Think that you search for 'smelly poo' and 10 different servers get HEAD request to articles that are top ranked in this keyword, potentially 9 of the servers won't get a human-made visit, 9 sysadmins or developers will find a way to abuse that metadata in the future.
Free speech is the first amendment, so it's only natural. Europe had to deal with dictators, unlike the US.
But I think this story show the power imbalance between men and women that enable the real cases of harassement.
I'm always amazed at the negative comments on HN when the topic of self-hosting your email comes up - I saw many of the same replies when my mail server guide [1] got linked here a few weeks ago. Most people suggest to give all your email to some corporation.

If people want to create their own mail service, more power to them - this is supposed to be HACKER news!

[1] https://news.ycombinator.com/item?id=16238937
How is this post not in violation of this guideline?

>Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.
Java: taught at college.
Delphi: learned it on the job for the job.
C#: same as above.
Your First Vim Session
> This seems unavoidable unless you mandate publishers host their own copy of the code behind these buttons and use a public API only to record the likes.

Yes, that's the consequence (well, it does't really have to be an API triggered from the server, it can send the user there). Or a pattern where a user has to click a locally hosted link/button which then loads the Facebook one, and/or records permission to load it with further page visits.

It's not really that much difference from an integration perspective if you include code in your page that loads a facebook iframe, or code that only does that after user interaction.
Gorilla Mux isn't bad either and is pretty tried and tested.

Also Go is one of the few (if not only?) languages with HTTP/2 built in to the standard library. Not to mention the gRPC over TLS that comes stock as well.
I've been reading the Norton Edition of Franklin's autobiography and some of the excerpts in the back of the book are pretty amazing. A lot of them pretty vicious European responses to Franklin's approaches, especially his list of virtues. For instance D.H. Lawrence:

http://xroads.virginia.edu/~hyper/lawrence/dhlch02.htm
Proper mental indexing is even more so.
You can not memorize everything, but you can certainly index almost everything.

That is why we can have databases that do not fit in 'memory'. Do you see the analogy here?
Ask HN: Why does HN punish new users?
Recently I wrote a blogpost and decided to share it on HN. So created a new account and submitted a post. I am surprised to see that the post doesn't show up anywhere on hacker news except in the list of posts on my profile page.
Ask HN: Will an unpaid internship boost my resume?
I am about to graduate with a degree that is heavily programming based while working as a Math TA. That said, I need to gain some experience. My issue is that I've sent out about 10-15 resumes and the only one that has gotten back to me so far was an unpaid position with a startup.

I'm pretty sure I have landed the position, and they are working on an Android app, which I would like to gain experience with. That said, the company isn't well known (keep in mind I don't live in a tech epicenter). I already have some experience contributing to somewhat menial projects for nonprofits.

My question is, would this experience boost my resume? Or would employers look down on taking a position without pay?
Dracula (https://draculatheme.com/zsh/) - I use it for all my editors too.
People are walking into glass at the new Apple headquarters
I have also thought about this. If you have a serious mining operation ($$$$$), you have armed security.
To roughly the same extent that throwing burning matches around in an area plagued by drought isn't going to affect the outcome, yes.

See, it can take a long time before a fire erupts from a natural cause but if you are aiming for it the outcome is pretty much guaranteed.
Trolls Are Posting Fake Claims of Being Assaulted at Showings of “Black Panther”
So this is a good example of what I'm talking about. You're talking about the difficulty of making a fair use determination, but the question in most of these cases isn't whether a specific action is fair use, it's whether any of the reasonable actions are. And you don't need to make an inherently subjective determination for that because the subjective cases are irrelevant if you can find any solid instance where the outcome isn't ambiguous.

The citation example makes the point pretty well. Suppose you make a citation -- this image is on page 34 of this book, using a standard machine-readable citation format.

There are multiple things the user and the user's browser could do with that information. It can show you links to stores where you can buy a print edition of that book, or it can look up the page in a location index and find electronic sources for the content of that page. Some of those sources and some of the uses of the content are plausibly unambiguous cases of fair use. Some of the sources and uses are plausibly unambiguous cases of piracy. They may even be the same sources but different uses.

If you want to evaluate one of the individual cases then you may have to make a complicated fair use determination, but we're not talking about an individual user, we're talking about the person providing the citation. Whether their intent is facilitating users buying the book, or using it in a clear case of fair use, or using it in a clear case of piracy, their action is the same. The action itself doesn't reveal their intent. You can't make the determination based on that because you don't know it.

The difference between this and the murder example is that the defendant's action isn't the directly prohibited thing. If you intentionally kill someone, that's what murder is. If you hire someone else to do it, you're still clearly intending that outcome.

The analogous thing would be selling weapons. Your obvious intent is to sell a knife, not to have someone murdered. That may secretly be your true motivation, but without any additional evidence of that there is no way to know, and certainly at least some of the people who sell weapons do so without the intent that they be used to commit murder.
> I failed exams so many times only because of that vocal reproduction of learned theory that required word for word knowledge.

That sounds odd for college-level math courses (note that I am just a first year engineering undergrad and therefore possibly know nothing). Do you have oral part in your exams?
This bookmarklet is another example of the point I've always made on HN about the benefits (versus the much-discussed downsides) of the DOM and CSS: https://news.ycombinator.com/item?id=16335816
Having followed the promise cancellation proposal pretty closely, especially when it came to a close, it sounded more like he got sick of the pushback (specifically mentioning push back internally at Google) if my memory serves. I won't pretend to speak for him, but I don't recall him withdrawing the proposal because he didn't think his solution was correct. He just didn't want to deal with the detractors anymore.

Of course, it was a solution to a problem he created, so... (to be fair, the JavaScript world was very different then than it is now, in the same way ES6 classes would probably work very differently if they were designed today)
>Refactoring lisp gets harder the more complex the program gets. Approachs that are clever and reasonable for a 1000 line program can become hell in a 100,000 line program.

Can you substantiate this claim? One of the reasons Lisp was used in the past was because it was particularly suited to complex, big projects... Like autopilot for spaceship, wind tunnel simulation, CAD/CAM systems, etc.

Lisp (as 'Common Lisp', the traditional dialect) has this concept of "packages" and "systems".

You can divide your code in "packages", each package contains separate namespaces for classes, function names, variable names, symbol names, keyword names and others. Thus each package doesn't collide with another package and names don't collide at all.

Many packages are combined into a "system" (by defining, for example, the required order for compilation, etc).

Thus you cleanly separate your code in packages and systems. The 100,000 line program becomes a combination of many shorter programs.

Of course this is nothing new, this is just standard practice for keeping big programs manageable.

>Breaking up programs into more powerful little pieces is never a clean separation

Care to explain? Well, i'll continue with my post. And we'll assume that what you say is true, so i'll list other advantages to keep complex systems at check.

Now, here is a big plus for complex systems: In such a Lisp, the system is hot-patchable. You can redefine functions while your program is running. Without stopping the program. We're talking about doing this even on a production environment, if necessary.

You can also redefine classes while your program is running. Without stopping the program.

Another big plus is the condition-restart system, which very few languages implement. Lisp has not only the notion of "catching exceptions", but also after catching the exception, provide alternate ways of recovering of this exception, including being able to resume operation at the point where the problem was found.

This is another big plus for building reliable systems -- and complex systems benefit from being composed of reliable parts.

I could go on with other big pluses as well. For example, multi-paradigm. Some parts are more readable (and thus easier to understand, maintenable) if written in the functional style. Others map better to the OOP style. Others would map better to the imperative/procedural style. Other would better be expressed as logic programming (think Prolog.)

Lisp allows you to use all these paradigms. So the code stays clear. I say this is very good for complex systems.
> That works as long as there are ways to ascertain what is rumor and falsehood and what is fact.

Are you saying that is that the job of the State?
There should be a major hit to the reputation of anyone publishing fake data. I am a bit surprised studies aren't independently reproduced immediately.
I don't speak German so I can't check how the article got his maps, but I don't think the winds in France are mostly West-East. Also I think it's more than just sending the fallout on the other side of the border in the location of the nuclear power plants:

-close to a water source with the Rhine basin
-close to where the electricity will be used (Paris and its suburbs on the West side, Germany to sell on the East side, major cities all around)
-close to where heavy industry exists (both for use and production of the construction pieces)
-Outside of the areas of seismic risk
My response, informed by the ~very realistic~ simulation called Civilization, would be to send in missionaries and spies, to promote my culture, and send in the diplomats to bribe them with the very technologies that made their wonders and city improvements obsolete.