skysight-inc/HackerNews huggingface dataset:
What about CSS extensions like .webkit? Same thing really. AFAIK the standard way to do browser-detection is to use the user-agent string, which your browser sends with every request it makes (but can be overridden) anyway, so them programming an if(browser == firefox) statement does nothing whatsoever for their knowledge of you. They already get told what browser you are running.

And I am no webdev, but a quick google seems to show that it is possible to do browser detection completely client-side anyway with Javascript, so even if user-agent strings did not exist they could detect your browser without any kind of fingering.

Granted, if you wanted to do so perhaps you could use this to circumnavigate people hiding their user-agent by having the generated link be a hosted redirect link, that way you know that if someone clicked redirect-firefox.theirdomain.org they were using firefox even if they hid their user-agent string. But it's not really fair to assume that in this case. (and i have to wonder what the value of an ip-adress/browser pair is).
I don't get the "harmful and discriminating against advertisers" part.

Advertisers are forcing me to pay attention to something I don't want or need to pay attention to, why do I have to cater for them?
CAn you be more specific on what disadvantages you mean when you talk about javascript code and dependencies?
With many users and lots of potential topic of interest, How do you decide what's 'interesting'?
Hmm. I'm conflicted.

I am very much against tracking, and ads that track retarget and abuse me, so am very restrictive in terms of what I let near my browser.

I'd also be very happy to see ads on many sites (eg Stackoverflow style - respectful ads) if I could trust them not to track, retarget or drop malware. That implies either an ad network that's restricted to static pngs (and that they've developed trust), or going back to publisher hosting.

I think, there's the germ of a great idea here. But, rather than pushing people at uBlock (which is my preferred blocker) I'd try and educate on tracking and ad network abuse, then link out to several newbie friendly, zero effort options (that probably implies adblock and others). Why not uBlock? It's a LONG way from newbie friendly, but chances are that's your audience because they don't have a blocker already.

Educate to get some pushback against tracking and crapware ads, like was done to kill ie6 long ago.

If I gave uBlock to my mum's generation (generalisation) or neighbour I'd be fielding quite a lot more tech support calls. :p
Because they didn't give me the option. Seriously I'd like to be as diplomat as you, but they've taken obnoxious and shady so far my reaction to ads is now 'default deny'.
And I'll lose no sleep discriminating against the advertisers.
Give it a shot in the free Soundslice MusicXML viewer -- our importer is pretty damn good, despite the pretty horrific/inconsistent implementations of MusicXML export out there.

https://www.soundslice.com/musicxml-viewer/

If you like what you can see, you can create a Soundslice account to save your scores and sync them with audio/video for educational purposes.
Agree. We'll remove jQuery dependence and move remote JS/CSS files to the same server.
Facebook to stop routing major UK sales through Ireland
In my opinion is true that, for just be entrepreneur you do not need MBA level. Yes, of course in any high level of Corp or big well organised company it is helpful (especially when company hires 1k peoples). But when you started as little start-up, with few friends for it is needless.
SEEKING WORK / based in Portugal / remote or on-site (Europe/US preferred)

I'm a software developer with 10 years of professional experience with an interest in clean code and getting things done. Lately I have been working with Python and Python web frameworks such as Flask and Django, but my interests range from computer networks to data processing.

My main interest is in creating MVPs but I am also available for maintenance, refactoring and bug-fix work.

Languages: Python, C, Java (Java and Kotlin)

About:

* I started my career as Computer Science teacher.
* I have a PhD and published peer-reviewed work in statistical Natural Language Processing.
* I am the founder of http://flatangle.com, an online project which aims to provide software tools for traditional astrologers.
* I have 5+ years of experience in full stack web development.
* With a background in teaching and strong communication skills I'm a very strong adept on passing on knowledge (e.g, you can check my blog at http://joaoventura.net/blog/).

Profile: http://joaoventura.net/

Github: https://github.com/joaoventura, https://github.com/flatangle

Contact: joaojonesventura at gmail dot com
Yes, there are no immediate plans for anything other than MIR at the imperative-semantic level (the compiler also uses HIR, which is mostly a desugared AST and not related to LLVM IR).

Currently, initial support for lowering MIR to LLVM IR is close to complete and it might be enabled in the next beta (or the one after that).

None of the analysis passes have started their transition to MIR, though (there is a well-typed check to catch bugs in MIR generation, but that's about it).

There's also talk of using MIR for compile-time (pure) function evaluation [1] and some out-of-tree experimentation with interpreting it [2].

[1] https://internals.rust-lang.org/t/mir-constant-evaluation/31...

[2] https://github.com/tsion/miri
Marble Machine (music using 2000 marbles) [video]
So you wouldn't use a high end Cisco router because they make the crappy "cisco small business" line?
I'm very serious [1]. It is not at all basic for me.

I can't find the discussion from a couple of days earlier, but afair it basically said wsj let the google crawler indexing their articles, while simultaneously blocking users by detecting their device.

http://blog.erratasec.com/2012/11/you-are-committing-crime-r...
and that's how companies can afford to offer guarantees.
Job interview and good Resume/CV – tips for programmers
From my understanding of the EFF's argument, yes - and they are arguing that the government cannot compel Apple to express themselves in a manner contrary to their views (and thus they can't compel code signing).
delivered more information than I wanted to know about his old boss in the first paragraph.
We are past the peak of app development euphoria
I was thinking of linking to the extension/webstore pages, like [1] for Firefox and [2] for Chrome.

[1] : https://addons.mozilla.org/en-US/firefox/addon/ublock-origin...

[2] : https://chrome.google.com/webstore/detail/ublock-origin/cjpa...
Are you also against relevant adverts in magazines? Some of those are pretty useful...
What I think many people fail to realize is that a large part of the code as a C compiler sees it is machine-generated. While I certainly do not tend to literally write out `if (1 != 0)` conditionals in my code, these and other similarly trivial expressions, will be introduced en-masse after macro expansion and aggressive inlining.

And in this context, macro-expanded, inlined code, exploiting the assumption of no undefined behavior occurring starts making a lot more sense. Sure, if you consider something like

int x = *ptr;
if (ptr != NULL) {
*ptr = 1;
}

you may not unreasonably say that, as there is an explicit ptr != NULL check in there, probably that's what the programmer intended -- so we should not replace ptr != NULL with a constant 0 because that pointer was already dereferenced.

However if the real code is

int x = *ptr;
do_something_with_ptr(ptr)

and the do_something_with_ptr() function just happens to contain a NULL-check at some point (because it is written for a more generic purpose and not use in just this place), then not dropping that NULL-check becomes a very significant missed optimization opportunity.

If the compiler wouldn't optimize that out of consideration for the possibility of the former hand-written code, that would incur costs on the programmer. He might have to split do_something_with_ptr() into two functions, one doing NULL checks and one not doing it. He may have to add explicit compiler assumption / unreachability annotations.

The whole argument goes both ways, performing optimizations that break broken code has a cost (people have to fix it) and not performing those optimizations for working code (people have to manually optimize it).
Digital businesses that give to charity do better, say experts
Evolutionary psychology is a set of just-so stories. There's no science there, no way to remove massively confounding factors, no way to experiment. I suspect that in other cultures, in other times, evolutionary psychologists would have come up with different just-so stories to match whatever their local breeding preferences were.
I installed ublock origin at school, no real problems, just showed one person how to click the big Off button to stream a show from a tv channel website that complained.
Mastering Lead Generation: From Content to Chat
Thanks for the feedback. Do you really think uBlock Origin is so different from other blockers in terms of usability? I don't see how. It relies on essentially the same set of filter lists that others like Adblock Plus use, but without selling out to big ad networks. I love that they don't give in to acceptable ads - I think that's a very murky area for ad blockers to be involved in.
But after a decade and more of attempted monetization in a plethora of different models, this is the only one that kind of works. In general, people won't pay for content and expect the web to be free, when we all know it's not even close to free to run.

Ad blockers are popular because ads got creepy. Seriously creepy. And majorly intrusive and auto-playing and so on and so forth. No one considers TV ads or print ads to be "inefficient" - yes, there are pay channels, but even the bulk of paid cable channels show ads, and pay magazines are sometimes a full 50% or more ads.

I can't expect you to suddenly cheer for ads. They're everywhere and there is definitely fatigue throughout the day. They uglify highways, they can definitely be pushy. But it's not like people haven't attempted other ways of monetizing content.
All the ads you see track you.

I would be OK with watching ads instead of paying a website, I'm not OK to be tracked in doing so.

Security, performance, aesthetics help in strengthening my resolve.

If I really want to help a website I'll value whether to disable the adblocker (ublock origin) or not, or perhaps pay for an ad-less service.
Fair enough, but your posit breaks no ground... Nothing learned.
BBS and similar services offered content for free before the advent of www and Web as we know it today. I think most of the Internet would survive without ads, it'd just have a bigger split between free and premium content, and p2p for distribution would be more common place to share the load.
Knightscope K5
That's a good point you make about US reconstruction or lack thereof. I wonder if any of the Marines on here who were in Iraq could explain why this buffer dam didn't get built? It seems a perfect large scale infrastructure project and it doesn't even have to work much.
Hey, if a website uses ads that it hosts on their own server and if the ads are relevant to the content of the page and not my browsing history, I'm more then happy to see them.

Since in 2016 this is mostly not the case, I have to go with whitelisting the sites instead of the other way around.
I feel you have to be politically correct about these things, because there might be ground for a lawsuit based on the loss of advertisers. It might sound stupid, but that is definitely something I could imagine they come up with.
How come? Shouldn't the browser cache the jquery library and very rarely do a connection to Google CDN?
If your business model can be defeated by a browser extension, then it wasn't a business to begin with.

The internet is in need of a unified subscription service. One that you can pay a monthly fee and see as many ad supported websites as you want, without ads.
As technology gets better, it also gets cheaper. Probably exponentially so.

That's why we're going to see this trend accelerate within the industry during the next couple of years - layoffs, bankruptcies, etc.

There's just too much really really good technology out there.

A lot of the problems that tech people were hired to solve years ago, have now been solved by the improved software/hardware.

So it would be a good idea to start working on a really narrow skill set, which is something about human beings, before the AI takes over what'll be left of today's tech jobs.
A bit of gaming history: this is apparently a clone of a game called SkyRoads which Wikipedia claims to be a clone of "Kosmonauts", but that is obviously a clone of a hypnotic space-themed game Trailblazer from the 80's. See here https://www.youtube.com/watch?v=5EXsxd8O7eU for C64. Thus, the question arises: does anyone know if Trailblazer itself is a clone of some other game?
or u can change your environment parameters and simply move to a country where the USD is 4-10x. Then u will have the extra bandwith of time to work / study on the next big idea/framework/rev stream. ive done this 10yrs ago. went from a cog ina a wheel at Aol to a serial entreprenuer. stay flexible.
The commerce clause can still be a contentious issue.

And just recently we've had a lot of people angrily pointing to Article II Section 2, which states that the President shall appoint Supreme Court justices, with the advice and consent of the Senate.
Let's say you want to push data from the server to a mobile/web app in "real time". Examples I've come across lately would be a chat application and real time map updates (a la Uber).

Now your clients could either: (1) Pull the server every 0.5 second, or (2) Open a connection that stays open and let the server push messages across the connection.

Request/Reply and pulling is not bad in itself, but in some cases it has two downsides: (1) It delays everything because you can only pull so often. (2) I's bad for performance and scalability because all those pulls have to be handled, even when there's nothing to return.

Now you want to create a backend that also avoids pulling in the relevant places.
> Most Rust static analysis tools hook into the compiler and get this for free. Racer has that problem because racer implements a rudimentary minicompiler that's much faster than Rust.

I didn't know that. Understood. Thank you for the explanation.

> And macros like try do not affect refactoring tools at all; being self-contained. Its user-defined macros that mess things up.

What do you mean by "self-contained"? How is it different from user-defined macros?
Why didn't the failsafe dam get built? It's a perfect big infrastructure project for IMF types to fund?
When talking about social science you might as well
Microsoft OS has monopoly power in the PC market. They have been in the court for actions like this before [1].

The difference between mobile and PC is that if hardware maker has their own closed system, what they have is basically an appliance. PC's are generic item build from standards and Microsoft has produced an open operating system with large markets for software running on their OS. They can't just close it on a whim and abuse their monopoly power position [1].

----

[1.] Findings of Fact in U.S. v. Microsoft Corporation, Civil Action No. 98-1232 (TPJ) and State of New York, ex re. Attorney General Eliot Spitzer et al., v. Microsoft Corporation, Civil Action No. 98-1233 (TPJ), November 5, 1999.

"Monopoly power" is not the same as monopoly. One must always point this out when saying it or discussion is derailed.
I caved to forbes.com demand that I turn off my adblocker yesterday. As soon as the page loaded my browser slowed to a crawl and the content was covered by ads. Chrome was going unresponsive from the page. Needless to say I couldn't close the tab fast enough, and forbes went back on my adblock list.
>>How's that "bad code"? On most desktop architecture, integers are coded as 2's complement, and wrap around.

It doesn't matter, the language specs are very clear about it.
Think about, if you write a piece of code using unsigned ints which you know is going to overflow, what is the first thing you do? You check the docs for what happens. Does it cap? Does it wrap around? You check the standard and it says that they wrap around. Now you use that in your code because maybe that's a useful behavior.

You do the same thing with signed ints, you check the standard and it says that it's undefined which means you, as a programmer promise you won't do that so you don't.

>>Those behaviours are both perfectly well defined. Why can't one expect to be able to rely on them?

Because language specs says so.

>>Why integer overflow can't simply be "implementation defined"?

Maybe it could and maybe it would be a better language. It is undefined behavior since long time ago though and that means you end of the contract as a programmer is that you won't invoke it.

Your argument just comes down: "Gee, maybe C would be a better language if signed overflow was dependent of implementation and not UB". Maybe that's true, I don't know. It doesn't matter though, it's similar to saying Python would be better language if it didn't have an interpreter lock and then complaining your multithreading program doesn't use all the cores as it should.
Soccer icon Chastain to donate brain for CTE research
funny thing, if you will look in the page source, he is changing the google analytics script as well
Nobody disputes the usefulness of some ad(vert)s. But while an ad on a website is coming with tracking, a nice advert in a magazine does exactly what is the intention: inform people of something, either a product or a service. And I can watch that ad anonymously.

While I would like to watch online ads, for the information might be useful to me, is impossible to disable the tracking, somewhere in a log file an IP will be associated with receiving and/or clicking this ad. This IP might be associated already with my identity because I did login to Gmail from the same IP, for example.

That's why I am using ad-blocker.
I'll admit that "the whole web" was an exaggeration, but I'm trying to make a point.
Nearly every website that I browse is sustained by ads.

Yeah, the adv industry is a nasty one, but still this movement is not providing a viable (any?) alternative option to finance the web.
I, vacri, formally apologise to you, ricardobeat, for the sin of trying to be evocative instead of purely descriptive.
>You can repeat that as often as you want, but it simply isn't true. It's post hoc, ergo propter hoc reasoning: we see low rates in times of trouble, therefore low rates caused the trouble?

It simply is true, although not because of that reasoning.

It's a stupid/evil reaction to an over-leveraged economy that has come crashing down. The presumption built into the idea that lowering interest rates would help is twofold:

A) If you just started getting people into even more debt then the economic woes would fix themselves because people will start spending again. As if more debt were the solution to too much debt. Hence Japan is still terrified of raising rates 20 years later. Because ramping up debt is not a solution to too much debt.

B) If people's asset prices are now worth more (houses, etc.) then they'll feel richer and spend more. Except that only applies to a minority. The majority don't have much in the way of significant assets and are instead getting royally screwed by rentiers capitalizing on those higher asset prices.
That assumes a cash surplus for the individual. Where did you move?
You can go 151 bytes if you are ready to do some link shenanigans:
http://mainisusuallyafunction.blogspot.rs/2015/01/151-byte-s...
> And since many "adblockers" are not open-source, you never know what it is doing.

Hmm, not entirely sure about this.

* Adblock Plus: https://adblockplus.org/en/contribute-code

* uBlock: https://github.com/chrisaljoudi/ublock

* Adblock (the original one, without the "Plus"): http://code.getadblock.com/

I could go on and on, but I would argue that these three are the most popular ones.
That blog, to me, only shows the problems of selective enforcement I fail to see how it is relevant?

Regarding the WSJ: it's a technologically unsophisticated (but probably effective) way of having indexing work with a pay-wall (which requires more tracking in and of itself anyway). But selective access does not violate your privacy, only your freedom to view their content. And as much as I oppose the "companies are people too" movement I do think they have a right to selectively serve their content as much as you have a right to decide what you want to do with the bytes they (try) to send you (e.g. adblock them).
Show HN: A tool to manage laboratory data
Millennial, or a Pain in the Ass?
How facial recognition has invaded shops – and your privacy
Visual Studio Shortcut Keys
I also had trouble understanding that from their description, but then at some point I think I got it. Is I understand, it's like if you used Lua (actually, a Lua-like language dubbed "Terra") in places where you'd normally use the C preprocessor, or C++ templates, or Lisp macros, or Rust macros, or inline assembly fragments in C/C++. While your "base language" that you'd use to write most of the code would be your regular old Lua. Does it make more sense when described this way?

edit: so, from reading the other comments around, I think the language roles are actually reversed vs. what I thought - i.e. Lua is the "macro language", and Terra is the "main language".
French MPs back fines for Apple unless it hacks phones
Geobiología – Monasterio de Casalareina agua y líneas Curry
> I am not sure a musical score alone expresses any opinion. The song that comes with it might.

Unfortunately the law disagrees.

> LaTeX is rather the mean by which the text is written, like if it was typed on paper or engraved in a wall. But the text being written would express an opinion.

Unfortunately case law disagrees (273 F.3d 446).

> Developers caring about code readability and style isn't different from engineers having strict guideline on how to express a design in a blue print.

See 176 F.3d 1132 and 192 F.3d 1308.

> Is the 3d printed fully working AK47 the expression of free speech?

No, but the program that produced 3d printed is considered speech (logical consequence of 60 USPQ2d at 1964-1965). This speech is of course subject to restrictions (492 U.S. 115, 126). Note that forms of speech that describe how to construct weapons may not be protected (see 461 F.2d 1119 for an example of explosive devices).
This could be a long debate.

To simplify, do you know of any scientific or medical sources that say "hormones (within natural occurring levels) have very minimal effect on emotion" as you claimed earlier?
I didn't get the H1B visa in the lottery, but I got moved to UK and got paid the same salary. Since you mentioned Facebook - they opened the office in London when H1B visa lotteries started, and now the office have several hundreds employees. If you won't accept foreign workers be prepared that more and more tech jobs will just move abroad.
> If they do conclude things on "students" based on this study, then reproducing it on Dutch students is perfectly fine.

No. Just fucking 'no'. It was a study on affirmative action policies, repeated in a distant country with different public opinions on welfare and social fairness. If you think that that's fine, then you really have no claim to be declaring what psychology should and shouldn't be.

> filled of politically oriented baseless claims

Fuck me, but it's funny when detractors claim that psychology is full of unscientific behaviour, while they're way overgeneralising the entire field on a subsection of it.