skysight-inc/HackerNews huggingface dataset:
> Which will be used only for games, because you are not interested in anything else?

Or programming, having a job you have passion for and are good at, being able to produce work people see value in, sustaining yourself, you know, not living in a gutter and stuff dying of a heroin overdose?

> Only in terms of your physical health. Otherwise iirc addiction is defined as having negative effect on your life (work, social, personal) so it is as bad.

Well, if you love video games and everyone around you hates video games, and thinks video games are as bad as heroin, I could see how that could have a negative effect on your work, social, and personal life.
Not exclusive use, but here are some apps that contain the Xamarin code: https://www.appbrain.com/stats/libraries/details/xamarin/xam...
Considering that C doesn't have any good facilities for polymorphism, it's going to continue to be the argument of any language that succeeds C. Unless, that is, that successor language also doesn't have any good facilities for polymorphism, in which case we have Go as a fascinating real-world study in how people will incessantly demand them and deride the language for lacking them (which is saying something, considering that interface{} in Go is already better than pretty much anything one would hack up in C via void pointers or macros).
That's the Prinsengracht, I used to live in the little street in the top left of the video!
Alright, but the audience of this site is mostly American and the US is the largest market for games.
Make sure you are 100% confident that you know the proper syntax for this when you use it.
I once blanked by mistake an important file, lucky for me I had a backup.
I was working on a SPA 12 years ago, and even then it couldn't be considered "groundbreaking" - NetVibes and a few others had blazed that ground at least a couple of years before that.
Sorry, wasn't the intent. It did appear we were going to make progress in the discussion at points but now is clearly two people with cemented viewpoints.
> To be able to handle its size and keep its integrity, special entities have to keep it running for the layman to use. Nobody can carry terabytes of "blockchain" around all the time. (...) As a result you are now even more dependent on these entities than ever before.

And yet here I am verifying the entire Bitcoin blockchain on an old crappy Toshiba netbook with a normal Internet connection and an old hard-drive. I use this one weird trick and big entities hate me: I have my node configured to prune already verified blocks, it only needs about 20GB of disk to store the last few months.

By the way, if you want to archive it all, a 1TB HDD can store roughly 10 years of completely full 2MB blocks. You can get one of those for less than $40, or $4/year.
"A long line of cars ... traveling 5-10 mph slower"

In other words you're saying that they're closely packed. If the distance between cars is reduced by 50% and their speed has reduced 10-15%, the throughput of that section of road has increased substantially.

As you said, it's speed differential and the use of brakes that causes traffic jams. By that reasoning, the left lane should go the same speed as the right. That would also discourage the use of lane changes which is generally what causes people to use their brakes on the freeway...

And remember the square law of braking. Because the safe following distance increases so much when you increase speed, faster speeds on the freeway decrease throughput rather than increase it.
The thing that always annoys me about these articles is that they frame these "costs" as money the government would otherwise have, if they hadn't given it to these greedy companies.

It depends on exactly how the deals are structured, but when these are structured with nonrefundable tax credits tied to jobs numbers or as lower rates, then these deals start to look far better for governments.

Journalists should stop writing these lazy articles and start digging into the details of these deals so that people know what the right questions they should be asking are, rather than staking out partisan positions.
> Its ability to self-modify creates programs that are almost impossible for people other than the author to understand.

That's simply not true. I think the only reason that Lisp is unpopular is the syntax, which is unfortunate because it's the syntax which is the source of all its power. As for why the syntax itself is so unpopular, sometimes I wonder if irregular syntax really does help comprehension (i.e., that having {}*&^%$#@! helps as a kind of visual shorthand), but most of the time I think it's really just unfamiliarity.
Vim with slimv.
The "tech bro" angle is just clickbait. I am pretty sure that Foxconn, Tesla's Gigafactory, and a datacenter are not what is usually meant by "tech bro".

Second, if cities believe that these tax breaks are good investments then there is little relationship between making those investments and putting money into other programs. Cities should have access to cheap-ish capital and future tax breaks seem like fairly favorable conditions. If anything, that cities need money is an argument for investing in business (if you accept that doing so makes money).

The article doesn't much of an argument that these investments are bad. It just kind of waves in the direction of some dots and suggests you imagine some connections. If you look at the linked article about Missouri budget shortfalls you won't find "Cerner" anywhere - for all we know that was a great investment but other bad bets were made.
As far as I can tell there are no generally accepted practices for analyzing the economics of such deals. All too often you end up with both the company and the local government sitting on the same side of the negotiating table while the public has no one representing them much less sitting on the other side of the table. As a result, all kinds of dodgy economic impact statements are made with very little quality analysis performed to assess their likely accuracy. A set of standards for these projects would make it easier for the public to compare them to the deals others have made and make it less easy for the powerful to deceive the masses.
Jeremy Hunt Announces £215 M Package of Funding to Revamp Health Research
> the new occupants compared their existing old travel method, and deemed the new one better

You’re leaving out the taxpayers subsidising their commute.
What is the remit of the U.S.'s Dept of Homeland Security? How does it relate to the Department of Justice and its agencies, FBI and ATF (and others?)? What is the oversight and limit on DHS's power?

Remember that DHS is much more than immigration. It contains FEMA, the Secret Service, TSA, the Coast Guard, and more. If I understand correctly, DHS's focus was supposed to be terrorism and, apparently, border security. However, as I've posted before, it seems to claim a broader jurisdiction:[0]

As the investigative arm of the Department of Homeland Security, ICE is responsible for the enforcement of laws that promote the legitimate movement of people, goods and currency in domestic and foreign transactions.

That quote is related to DHS taking down a website involved in prostitution. In the OP, DHS is involved in data breaches. Neither of those actions seem related to terrorism or border security.

The quoted definition is very broad; it includes almost everything that every business or individual does. It's the nature of bureaucracies to try to expand their power, but I wonder how this overlaps or competes with the Department of Justice, if DHS has the same legal oversight as DOJ, and if it's political - DHS seems more willing to carry out the President's policy than DOJ, which has an obligation to remain independent.

[0] https://www.nytimes.com/2015/08/27/nyregion/raid-of-rentboy-...
Ask HN: How to turn a series of photos of documents into a PDF?
I often come across the problem that I need the scan of a physical (machine or handwritten) document (black letters on white sheet) in a situation where there is no scanner available. So taking a picture and convert the jpg into a pdf is often the best/only possible solution. Usually I collect all pictures into one folder and apply image magick convert. The hard part is to find the parameters resulting in the best compromiss between quality and size of the final pdf. Here are the main occuring problems:

1) You hardly manage to take the picture perfectly from the top of the document. The result is that your rectangle-shaped A4 document is (in best cases) a trapeze on your picture. A good algorithm should recognize the geometry of the sheet and then stretch it to a rectangle and crop the surroundings. Taking the picture on a dark background, this should not be a big problem. For a possibly curled sheet of a college block, you may also take into acount the crossed lines.

2) Brightness/Contrast should be adjusted. However it may happen that one part of the document is pictured brighter that another one. By choosing extreme values in brightness/contrast parts of the background will turn black and other parts of the letters will vanish to white.

This should be easily solvable. The brightness difference from background to letter varies abruptly, while the brightness of the background only varies lightly when moving far across the picture. One should probably apply a contrast adjustment of the gradient of the picture first to iron out these artefacts. Then adjust brightness/contrast of the 'ironed' picture.

3) Each picture should be treated individually, because the artefacts coming from points 1) and 2) may vary between the taken pictures

As I will hardly be the first person having this problem, I am asking you for your favourite/most convenient solution. Do you know a nice tool or have you written a script (maybe even using image magick)?
Could they not erect schools fast enough? Surely the funding was there?
You could however internalise the costs they cause by charging road taxes based on the amount of street damage a vehicle causes.

This might actually create unexpected side effects, like semi trucks with 12 axles instead of 3 - but that would be a genuine contribution to lowering the costs of repairing roads!
It's a great day to be a shareholder and owner. :)
These days you don't even necessarily need a separate app like F.Lux or Redshift; Windows and Android have similar color-shifting features built-in to the OS. (Not sure about Mac or iOS.)
The Master System only really caught on in Europe and Latin America; in the US and Japan the NES was far more successful. They also had Japanese PC games, but they were on different, Japan-only machines that were capable of displaying Japanese characters and had a much larger portion of indie games and pornographic games.
Yes, we've been taken over by "Linux Desktop" people so much, a majority of the team is still opposed to using the Linux kernel, dislikes ported software, and actively works to not use GPL code when we can!

Joking aside, I know the package manager was somehow a sticking point for people when it was merged in a pretty unpolished state, but at this point I'm not sure what the complaints are. Even most of the regular errors or problem states people associate with package managers don't occur all that often on Haiku.

And I also note the people who did the most work on the LibreOffice port say they would not even have attempted it without the package manager, so there's that.
The R language that gets used a lot for machine learning is actually very Lisp-like. So maybe that's introducing a lot of people to Lisp without them realizing it.
Many Americans have washing machine in the kitchen, especially in older and smaller apartments.
The biggest of which is probably that it was essentially "portable assembly" in its first incarnations.
I doubt they will retain them. They were a temporary setup to get to the goal. It’s back to factories as usual now.
I think that robo-grading is missing the ability to give cohesive feedback on someone's performance. A teacher who reads a students papers over the course of a year (or years) will be able to provide guidance to the student on how to improve. The robo-graders might be able to spit out a semi-accurate grade, but they won't be able to tell the student what they could improve and how.
https://www.tradingview.com/chart/BTCUSD/YyPhfM9s-Revised-Bi...
I agree, as an owner of a total market index fund.
ugh. compare the results for tech support bridgeport, ct to google. or just look at them without comparing to google. awful! No offense but you aren't even doing the most obvious rule based filtering/ordering on cities/states in your result sets.
What is scalable about a client?
Tech Tip: How to Measure a Straight Line in Google Maps
a killer app would be docker
Once again journalists willfully misleading the public by ignoring the difference between tax credits and actual cash outlay. They must know the difference, but clever tricks get more clicks than the truth ever does.
I've come across my share of unmaintained libraries in Clojure, but for anyone reading, lack of activity doesn't necessarily mean that a library is unmaintained.

In JS in particular, activity is often used as a proxy for the "maintainedness" of a library. I think this is because JS is (currently) a moving target.

Clojure is one of those languages where, occasionally, problems get solved and don't require any significant further development.
If you can afford to wait the 5-7 months during which you may not have your Tesla. You can't even get it repaired on your own dime; the computer inside won't let you.
With more students boasting flashy GPAs, academic honors lose their luster
I always find the forced PR photos a bit strange, is this normal for a lot of companies across the pond?
There's some good principles in there, but I do hope people inject a little common sense / nuance instead of interpreting them in the way that eg. the agile principles are often interpreted (carved in stone, handed down by the almighty, etc.)

If there's any principle I'd take issue with, it's "built exclusively with popular and proven tools". Perhaps a good rule of thumb, but sometimes your particular needs step off the well trodden path, and it'd be a shame to see someone clinging to this dogmatically instead of considering alternatives that might get the job done easier / quicker / ...
The key here is console access.

I have an OpenBSD router at home and the only negative part is about once every two years when I feel the need to catch up on the latest release.

Because then it needs a null modem cable and direct access.

So when someone is selling remotely managed OpenBSD VMs my natural question is how to do release upgrade.
I think replit ( http://repl.it ) is what you looking for
Vienna has docked bikes as well but almost entitely in the inner districts.
C sort of has this mindset built around it that you're writing portable assembly, except for messy bits like stack frame layout or register allocation. But that doesn't really hold true anymore, and arguably hasn't for decades.

The first obvious issue is that C is specified by an abstract machine that doesn't really correspond to actual hardware. There's no concept of segmented memory, or multiple address spaces in C. Traps don't quite work the way you'd want in C [1]; there's no way to catch a trap that occurs in a specific region of code. Worse, the abstract machine leans on a definition of undefined behavior in such a way that it's painful for programmers but not useful enough to make automatic security permissible. (Unsigned overflow, which is going to be a more common cause of overflows that lead to security vulnerabilities, is well-defined).

However, the more real problem with C is that it is outright missing hardware features that you'd like access to. Things like rotate instructions or wide multiply are easy enough to pattern match, so their lack isn't so devastating. But flag bits--particularly add with carry or checked overflow operations--aren't figured into at all. SIMD vectors have no conception. Returning multiple values via registers. Traps [1]. Coroutines. Multiple address spaces (especially important for GPUs).

[1] Admittedly, the OS is also to blame here: POSIX signals are a really atrocious way to handle machine-generated faults.
Best Thing About Being in Product Is…
I've never worked for a company that said "we are going to use technology that takes twice as long to implement new features."

Even when I worked in a boring industry like advertising and banking they expected things to be done by next sprint and were very accepting of the instability tradeoff.

I'm not saying that they're thesis is wrong: boring but stable software is a Very Good Thing, but it's not just us devs wanting to use the latest and greatest that's driving such quick tech adoptions.
> The guys that wrote this piece have drunk the kool aid of Lisp.

It seems to me that 'drunk the kool aid of Lisp' is just a rude way to say, 'I reject their experiences because they differ from my beliefs.'
Any Linux machine can do this using IPtables.
If Musk is good at one thing its crushing shorts.
Virtual F/A-18 dogfight competition
Tax incentives rarely deliver on their promises. The city could increase employment more by taking the same amount of money and using it to employ people. https://www.nytimes.com/2012/12/02/us/how-local-taxpayers-ba...
> I try to explain how the impact is different when we interrupt across race because we bring our histories with us.

This is what I don't understand. Does this means that any disagreement with people of color is automatically racism?
The 80 char limit was, IIRC, based around the capabilities of fixed-width terminals and dot-matrix printers. It's not magical.

I have the luxury of writing code only for myself, so I can maximise devotion to my 'personal style' and not worry about other people's opinions.

I'm all about information density, and since on 99.9% of monitors the vertical axis is the short one, and the horizontal axis is the long one, I want to save as much vertical space as possible. This is also why I can't stand horizontal tabs (thank you, Tree Style Tab).

On a 27" 4K monitor I get two side-by-side files open in my IDE, with a 10-point font, at 160 char wrap, with vertical tabs. This fits my style because I favour inline comments which maximises my use of the vertical space by not needing another line.

Luckily my eyes are still good enough to read this!
What I wouldn't give for someone to do a scraping project on HN comments on past submissions for Tesla, to create a timeline of "predictions Tesla will fail to meet a certain goal" vs "date of Tesla successfully meeting that goal."

I would find that really interesting.
I think giving a citizenship to this robot is a publicity stunt, nothing more. They might as well give Cleverbot a citizenship too.

I look forward to interacting with self-aware machines (or machines that convincingly appear to be self-aware, at least) someday, but I don't really understand why anyone is paying attention to Sophia.
> even Haskell sometimes has to compromise purity for practicality.

Well, the designers of Haskell made reasonable decisions based on what was known at the time. I'd argue that Idris shows that we don't have to make this particular compromise any more (and, more generally, that the result of Haskell's lazy-by-default experiment is negative).
Manually Tagged Image Classification Datasets
ios does, not sure how good it is though
> I've always thought, wouldn't the light from your cellphone override this measure?

Sure, but in a place like a strip club excessive cell phone is already watched out for since they can take pictures which are not allowed.
Which is strange given the first version of bittorrent was written in Python.

Also, the default torrent client in Ubuntu is Deluge, which is in Python too. I download 20 torrents at 20M/s without any issue with it.

But I get that using threads, downloading from 1000 clients is annoying to code, and indeed you are right, today with asyncio, the story is different.

And I definitely understand the appeal of Go for network concurrency for a lot of projects.

I just don't get how Python didn't fit the bill for this particular one. It's just a client, after all.

Maybe I'm missing something.
Curso instalador solar de alta performance
> if C is so bad, why is everyone using it?

Don't confuse success for correctness, survivorship bias is something to consider here. As others will surely point out, when C was written, there were other languages available at the time that were as fast, but much safer.

In many ways C won, because Unix won, to talk about them separately ignores how important both were to each others success. (Yes, other operating systems adopted C as well, but Unix is it's foundation)
Regarding alignment, I think it's not C that caused aligned reads to be the standard, but rather hardware itself. There isn't anything in C that prevents unaligned reads, is there? Aligned reads are just a consequence of storing data as vectors of a type, which is a very natural and efficient approach. Unless that's somehow a bad idea or prevents other good ideas, the point is moot.

Also caching and page boundaries have nothing to do with C. They are hardware issues (that good C programmers have to deal with, but anyway).

Contemporary Intel x86 haven't had significant problems with unaligned reads for a long time; do a web search for Lemire's post. (I guess there are still restrictions for atomic reads/writes).

I've long wanted to have access to overflow bits or traps on overflow. C certainly isn't in the way of adding them to CPUs, and signed overflow is even undefined in C, which is an opportunity to make them emit a signal or other exeptions. But I agree, C culture did not require hardware vendors to add overflow bits or traps, so maybe that is C's fault.
What changes are you thinking of? The only change with respect to undefined behavior I can think of off the top of my head is punning via unions, which C99 changed from undefined behavior to well-defined behavior.
The Custom Foundry Roadmap [1] shown last November, they were suppose to be on GA now.

If any of these are true and we assume a company really placed the wrong bet on Intel, then the only conclusion I can come too, as I have previously thought; Intel lied, they lied to everyone, investors, partners, and shareholders about their 10nm progress. They let their pride swallow them.

And then may be everything else made sense. BK's departure, rumours of Apple ditching both Intel x86 and Modem.

Once you caught someone lying, and it does damage to your interest, it will take a long time and hard work to earn the trust back. Something that is hard to quantified in numbers for analyst.

I still have faith in Intel fixing 10nm, this is speaking as someone who has been labelled as TSMC cheer leader for the past few years. Whether they could fix it in time is a different story though.

[1] https://www.eetimes.com/document.asp?doc_id=1332527&page_num...
But surely, in a 'closed system', they have to make up the difference between tax credits and actual cash outlay somewhere? Bargaining on tax seems inherently unfair, but inevitable when there is no harmonization between states. (This is one reason the European Union has laws on state aid.)
It can scale to your all 4 cores and burn your battery.. kidding aside most bittorent clients handle hundreds/thosuands of connections and sparse files as the splits and number of running clients increase, so scalability is a concern here
That's true; for big shopping trips self-checkout is non-ideal. It helps that the cashiers don't have to wait for the items to be weighed in the bagging area. I think a CV implementation will eventually replace the weighing setup and speed things up since RFID tags for individual items never caught on due to cost.
That may be true, but not because of latent demand. Latent demand happens with mass transit and bike lanes too. It doesn’t mean we shouldn’t build those.
5 coolest applications of robotics in Medicine