skysight-inc/HackerNews huggingface dataset:
I know how that feels. Even worse than any program or script, I especially dislike db management tools that just allow you to fire off random queries against the db. On the other hand you always get these little adrenaline rushes every time you do something like that until you can confirm that you actually fired that delete statement on the correct table... or not.
It's not like he's someone that can't afford it.
Hong Kong’s Mid-Autumn Festival Mooncakes Get a Protest Makeover
People have moaned to me about London’s public transport. I thought it was excellent. I used a credit card and if it hit a level of usage where it would have been cheaper to have bought a day pass, it just charged that as a maximum. It was fast, trains and busses were frequent and seemed inexpensive relative to the value I got.
I were very impressed.
If we built lots more housing, there are two mutually exclusive possibilities (though honestly, they are on a spectrum):

A) Housing becomes affordable, or B) housing stays expensive.

The latter means we added trillions of dollars to the national wealth.

By the way, please go ahead and do tax property a lot. Ideally, you'd only tax the unterlying land with a land value tax. But even a naive property tax is OK.

That way foreigners buying up local real estate for speculation means foreigners paying for local services.
Protocol-Oriented Programming: The Best Tool of Expert iOS Developers
Anecdotally, I grew up in Rural Ontario and there are far fewer birds around my home town then there were when I was a kid. Yes, there are still lots of birds, but the winter migrations used to bend the hydro lines down to the ground.
There were some slightly off-spec things in current draw but none of that is relevant to the article you linked.

That pin is supposed to use data signals of less than two volts. The nyko charger uses nine volts. The switch has no over-voltage protection on that pin, and breaks at more than six volts.

The part about a slightly thinner plug isn't relevant at all.
Element AI Raises CAD $200M (US $151.4M) Series B
Potentially, but then the linker is just one use case for the GC and GCs are a game of trade offs so switching to a generational GC would impact other use cases.
I added this up the thread, but here again so you don't miss it.

https://www.theatlantic.com/business/archive/2013/01/the-end...
Talking of deletion...I mistakenly deleted production server, yesterday!
I was trying to create some AWS micro instance in Mumbai region which were for some reasons were not accessible. Eventually I had to create a mini instance. So I was terminating all those micro instances and some where by mistake one of my important prod instances got selected and boom.

Though I had an AMI created few months back and it took around 15 mins to get latest code working but yeah I learnt my lesson.

But again I think this is a bad ux from AWS where you can directly terminate any instance without any prompt or warning.
I hope they change it some day!
Yes. It's not just me, it's doctors too.

Take 1000 men over 50 and give them PSA screening for prostate cancer for about 11 years.

Take 1000 different men over 50 and don't give them PSA screening for prostate cancer for about 11 years.

For the group without screening about 7 die from prostate cancer. But for the group who do have screening we see the same number of deaths. The screening hasn't prevented deaths from prostate cancer.

The group without screening didn't have any false alarms and didn't have any needless biopsies. 160 men in the group with screening had false alarms and unnecessary biopsies. 20 men in the screening group had treatment (which can include incontinence and impotence) for non-progressive prostate cancer.

https://www.harding-center.mpg.de/en/fact-boxes/early-detect...

Over-testing leads to over-diagnosis which leads to over treatment, and harm is caused at each step.

Margaret McCartney or Gerd Giggerenzer talk about this.
Algorithm No One Knows About (2016)
You would need to be in a pitch black room with only one pixel at a time lighting the scene. If you want additional light sources in the room they could be photographed and blended in with the same technique.
Most complicated game of Six of Degrees of Kevin Bacon[0] that I've heard of. :)

[0] - https://en.wikipedia.org/wiki/Six_Degrees_of_Kevin_Bacon
> The thing with actually self-compiling is that you need language features such as file management

You should be able to "just" use the C library if your compiler uses a C-compatible calling convention (which is a good idea anyway) and allows a C-compatible representation of strings (for file names) and characters (for fgetc). File management is then mostly just passing opaque FILE * pointers around. IIRC the compiler course I took at university did this.

That said, your parent's point is bogus: The act of writing a compiler in not-C is sufficient to drive home the point that a compiler is just another piece of software. On the contrary, writing a compiler in C because of self-hosting reinforces the misconception that compilers and C are somehow special.
Keybase.io
[ my public key: https://keybase.io/amit555; my proof: https://keybase.io/amit555/sigs/1iAaR579dSQOGBRRM7IcnJ09tiLZbfN6pxZvTpn5GSA ]
Setting aside that turning machines have infinite tapes, it's easier to think of them as subroutines in a program.

P(input: Program): Boolean = ???
Q(input: Program) = if(P(input)) loop() else stop()

A() = Q(A)

Writing the above program on a tape (source code file) can be done in fixed space (I've just done it above, no recursive definition required)

While running the program a turing machine can inspect the piece of tape with the program input. It's as if a program is inspecting its own code, which is not only possible in a turing machine, but common to various degrees in languages like Lisp, Scala, Javascript, Java, PHP, Ruby and Python. You might know it as reflection or macros.
I am part of a project that electrifies refrigeration units that operate on trucks (mainly last mile distribution of temperature-sensitive goods).
We've installed solar panels on top of the trucks before and the results were very poor. Apart from the various problems we ran into (required thin and flexible panels compatible with automatic car wash brushes, building shades covered the panels in a large portion of the day, etc.) the amount of energy recovered was still very small.
Even though the actual results seem great, it's still hard to say something about its performance in real-world usage.
The single thread WASM beta version appears to work perfectly on Waterfox (the multithread version loads data then sits there doing nothing). Not the fastest thing around but useable and noticeably better than maps.
That's no different from Docker's community images, is it? And as I pointed out, Ubuntu ships official images, which was demonstrated in my second command.
This sounds like a bit of a shakedown, and I'm not in marketing, but can someone confirm what I heard at last my last company - is it true that should at least pay less than anyone to advertise against "Basecamp", because they're deemed most relevant?
The USB Debugging Arsenal
Check out the Sinclair method for reducing/ resolving drinking problems with a simple medication. It worked for me. From heavy drinking to regular use or even way less than regular use. Recommend 10/10.
For those avoiding Google, this is an easter egg and not a suggestion to look for websites with Snake on Google.
Talk to books: Browse passages from books using experimental AI
You are aware that public unions demand things from the government, making things difficult for said government. They consume a great deal of public moneys and demand special working conditions, usually above those received by employees in private companies doing similar work. And they give out money to politicians to make their concerns a priority. So if you care about other things than the pay of policemen, you'll have to fight the unions.
Haven’t we been down this text based vs Bytecode avenue before? The same arguments were made with asmjs against Bytecode wireformat, and ultimately we ended up with wasm. WSL seems to be making the same arguments.
And middle schools, lol the parents well say lovely idea but not for my "Justin" or "Stephanie"

Interesting when I started work via this route a few years ago Advanced Apprentices required higher educational qualifications than joining a bank from school.

For example one of Sky at night presenters started at the same rough level as me (ASO in the civil service) but when she joined she had a Degree I had 6 O levels.
In hail, you worry more about windshields than anything else. Hail is pretty random, and baseball size does occasionally happen. So for most people, I'm guessing that would just mean throwing a larger blanket on the car to try and prevent impact damage.
Show HN: Auto-Generate Nim API Client for REST APIs
We've added a new generator to OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator) to generate Nim API clients. To generate the client given an OpenAPI/Swagger specification file, please follow 3 simple steps below:

1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.1.3-SNAPSHOT/openapi-generator-cli-4.1.3-20190913.092234-8.jar)

2. Rename the JAR as "openapi-generator-cli.jar"

3. Run the following command to generate a Ruby API client for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml):

Mac/Linux:

$ java -jar openapi-generator-cli.jar generate -g nim -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -o /var/tmp/nim/

Windows:

$ java -jar openapi-generator-cli.jar generate -g nim -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -o C:\tmp\nim

If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new

Thanks for the new generator by Hideki Okamoto (https://github.com/hokamoto)

Ref: https://github.com/OpenAPITools/openapi-generator/pull/3879
Actually they created Quickdraw 3D, and only adopted OpenGL as the NeXT team came onboard.

Although they created and gave OpenCL 1.0 to Khronos, they were not happy with the path that Khronos was taking it and their support basically stagnated on OpenCL 1.0.

As side note Google is yet to support OpenCL on Android, instead just like they did with their Android Java, they decided to create their own flavour, Renderscript, which isn't compatible with OpenCL.

As for OpenGL ES, I bet they only did it, as they were trying to "play pretend" being another kind of Apple as survival mechanism, nowadays they don't need it any longer.

Finally, Metal is one year older than Vulkan, offers a modern API instead of plain old C, and contrary to Khronos, just like other platform vendors, Apple understands the value of providing nice frameworks and debugging tools to go along an API.
sublime use of "Ear regardless"
> he argues for draconian, fascist controls on technology

Technology doesn't mind, it doesn't have feelings. Draconian, fascist use of technology on people, that's a matter of actual importance.
It would be interesting to add three photographs to each example: Original retro system display, un-corrected on modern display, corrected on modern display.
Patent documents can be very useful, particularly in areas where the patent is unenforceable.

My team found the what3words patent very useful in reverse engineering the what3words geocoding system, and have open-sourced our results: https://whatfreewords.org/
> "On this kind of topic, those who know won't say if it's on the record. You're lucky for them to say when it's not on the record."

Honest question:

Would WikiLeaks "work" if all we had was anonymous "former officials" making broad/general statements, providing no proof whatsoever?

What about Snowden's leaks? Imagine a really long article on Politico listing every single thing exposed in the Snowden docs, but without the names/documents/specifics. In a style very similar to what we have here in this Politico piece. Without us even knowing it was leaked by Snowden, but by some random "former NSA official".

Look, I'm not saying this Politico piece is right or wrong. All I'm saying is - this piece is making very big statements, backed by absolutely no proof whatsoever. And yet people are taking out the pitchforks... this isn't journalism, it's just spreading unsubstantiated FUD. And we should be discouraging this, not defending it.
You can avoid accessing the production database entirely, unless you need to alter the structure, by creating a local one - which you've created via the restoration of your last backup.
Use of dead reckoning (or, rather, the lack of viable alternatives at the time) is the reason the ship was wrecked.
very useful article for beginners
Ok, I gotta say: none of the shaders or scanlines I've tried before ever came close to what I'm seeing in those videos; to the point I'd think "uh looks nice but that's not how I remember from the 90s".

Now that crt royale... Color me impressed! Gonna try it as soon as I get access to a PC.
My bad, my brain read it as “the 23s were lost”. Sleep deprivation at its best.
Point well made. I've spent some time with TS, Rust, and Kotlin recently and I really enjoy how they all have these kinds of features. Really feels like they see how well it works elsewhere and learn from one another.
I'm gonna guess that you have less than 10 years experience? I sounds like you do. My suggestion anyway is to read or re-read the book peopleware by DeMarco. It will help you build distance between you (the internal emotional you) and problems.

It's most important lesson is that there are no evil people which sounds trite but when you read the rest of the book you get the point.

I've read it quite a few times over my career.

Good luck.
I heard of it, thank you. But I live in Italy and to get a prescription for it here it's harder. I read Allen Carr's book and it did the trick for me!
Every time I read one of these stories about extraordinary survival against all odds, I wonder how many other stories there are that never made it out because everyone involved died.
...and in the US, you can openly say that the media has portrayed China as such.

Try doing the reverse in China, I'm sure half of HN's userbase would have received an unwelcome visit from the local cops by now...
I guess the miracle is that the series converges everywhere. For example, the Taylor series for log(1 + x) only converges for |x| < 1.
My GF had grade III glioma. They are usually grouped together with GBM (grade IV) when prognosis is discussed.

Tumor was operable. She hade 5 great years till the first recurrence. Then another great year after seccond surgery. Then shitty year with multiple reccurences and surgeries though she still had the pleasure of watching movies, eating, excercising and generally spending time with family and friends. After sixth surgery she landed in the hospice and passed away two days ago.

I hope your sister might get lucky and live in good condition till there are some new treatments available.
The trick is to execute a BEGIN TRANSACTION, then do whatever you need to, then verify that you've done everything correctly (consider doing this twice). Then, only when you're absolutely certain all is as it should be, do you execute a COMMIT TRANSACTION.

All of this is predicated on the idea that you know exactly what changes you need to make, exactly what state the database should be in afterwards, exactly how to verify this, and also how to check for unintended side-effects.

I suppose the real trick is to avoid having to do this kind of thing in the first place but, as well all know, sometimes that's just not possible.
Ask HN: How to Exclude Tags on Pinboard.in?
Hi HN'ers. I discovered pinboard here. Let me mention my problem. For example, searching https://pinboard.in/t:learn/t:list gives me links having both learn and list tags. But is there a way to exclude tag/s? Like it should contain learn but not list tag. Thanks in advance.
Well, I guess I won’t be backing any more Kickstarter projects.
>However, if you think of these products as a "gateway drug" to more plant-based eating

I like to think of them as a gateway drug to meat for vegetarians. Once they get hooked on the taste, they'll soon start craving for the rich texture of the real meat. And there's still no plant-based bacon, which is the "killer app" of meat.
What you are describing is exactly shipping a compiler, the JIT compiler bundled in the .NET Framework and Core runtimes.

You cannot do that in .NET Native, for example.
If only you'd put as much effort into reading as you put into your condescending tone, then, just maybe, you'd notice the part where I mentioned we wanted to "pass by", and not "sit for hours just to take a picture".

Those 400-500 people were just staying there, with many blocking the street – you know, the thing people walk on?
So why does the first term describe a 180 degree rotation?

People learn that 2^3 means to take three copies of 2 and multiply them together, and that i^2 is -1, so what does it mean to take (i pi) copies of e and multiply them together?

The part you are describing is not where the magic resides ...
As a technology director succumbed to the (product) managements wish for new functionalities over the scalability.

Now we have a lot of useful and legitimately needed functionality and unscalable system.

Make sure that you always measure and present the numbers of your systems abilities along with new product features to the management.

It is a very tricky balance. Hard to master. Communicate!
Awesome! Will do. Thanks for this, and sorry for the slow reply!
Or for people who don't own a roof at all - plenty of such people in cities.
You're explanation is not inconsistent with my proposal, but you don't seem to grasp VALIDITY.
this, and the unit circle are by far the most compelling arguments for tau.

Euler's identity isn't some mysterious thing where all these mathematical building blocks meet, its a completely straight forward and fundamental consequence of circles existing!.
An Interview with Bertrand Perez, General Director of Libra Association
glibc is only so bloated because of locale und unicode support. Also 32bit wchar_t and intl errors.

Adding better string functions or CPU-specific optims is nothing compared to that.

musl is mostly so small because it only does the C locale and basic unicode towlower. Nothing like the monstruous glibc unicode tables or internationalized error messages.
It’s more a question of curbing their corrupting influence on politics. You might notice that the US has policies that result in mass incarceration, and that US police are far more likely than police in other countries to use lethal force. Part of this is because American law and policy is heavily influenced by police unions and prison guard unions, who favor their own interests over the public interest.

It’s also not purely a matter of private association. Often there are laws encouraging or mandating collective bargaining for certain public sector jobs. These laws are often what keeps unions in business, since those laws protect them and allow them to eg sign collective bargaining agreements that effectively require public employees to join the union (or at least pay dues to it) as a condition of keeping their jobs. It was the repeal of these laws that Gov. Walker faced political pushback for in 2011.
Why I’m Checking Out from Airbnb
It’s actually nonsense.

Certainty has nothing to do with how many people said yes or no, it’s about how many people are in the experiment.

If you sample size of 2, and both like the new UI, then you can’t say you have 100% certainty.

I.e. 3/4 people isn’t the same certainty as 75/100

I think the point he’s trying to make is it’s easier to get the statement “95% of people prefer X” from a study then to get “99% of people”. The first requires >20 people, the later >100.

But he’s tying together the concepts of sample size, confidence, and the outcome of the experiment in a way hat doesn’t make sense
I haven’t had it quite as bad as you, but I’ve struggled for sure. Someone on HN recommended a book called Healing Back Pain[0] - I found it really helpful. Might be worth picking up a copy.

[0]https://www.amazon.com/Healing-Back-Pain-Mind-Body-Connectio...
In other news, you can install the Deepin desktop environment on any distro and avoid unwanted packages/repos/configurations.
Treehouse in Himachal Pradesh Is Where you need to have your next holiday
IKEA's Space-Themed Micro Living Furniture (2018)
This seems... OK? Solar PV panels have come down in price a lot and so the main challenge is installation. You need to manufacture mounts, fit them to a suitable surface and then hook them up so as to deliver the power at a time and place where it can be used.

Most cars are outside all day long and electric cars have a big battery sitting there, ready to accept charge. Car manufacturers are the experts at mass-manufacturing so this is probably the cheapest and lowest impact way to install and use some solar electricity generation. If your vision of the future includes solar PV covering every external, manufactured surface then this is the place to start.

Of course this doesn't do much for the range of the vehicle in question; building and operating cars is incredibly resource intensive and is only ameliorated by making them hybrid or electric. These panels are a concrete reminder that we need to reduce that usage to soften the damage we're doing to the environment.
In my college days, we used a similar trick question to harass (or ragging as known in India) juniors. Beginning with $100 how much will you be left with if you lose 50% and gain 50%?
What is the reason behind surrogacy banned in India?
What is the reason behind surrogacy banned in India?
its a joke about how Euler's identity isn't normally simplified and written as:

E^(iπ) = -1

because people wanna be "cute" about it containing 0 and 1, so why not a bunch of other arbitrary numbers too?
Heidegger perpetrated nonsense like "Das Nichts selbst nichtet" (The Nothing itself nihilates) [1], which positivists and empiricists rightly disdained. Obviously I am firmly in the analytic camp. If you like a bit of mysticism in your philosophy the later Wittgenstein is your man, especially his thoughts on language games, intersubjectivity and forms of life. A far more incisive set of philosophical tools for understanding notions of community and place than Heidegger's Blut und Boden bluster. IMHO of course!

[1] https://maverickphilosopher.typepad.com/maverick_philosopher...
That's not at all how battery charging works.

Whatever the voltage output of the solar panel is, you can always step that up or down.

The batteries go up in voltage slightly when they are charging, but not much relatively.

For a typical LiIon cell, it may be at "0%" at 3.4V (you don't want to drain it all the way). And "100%" full is around 4.2V.

As long as you can supply at least 4.2V, it will charge up to that point.
Extensions could make your development job a little bit easier
I wonder if the name's etymology has anything specific about it that could only be understood if you're versed in Chinese culture or Mandarin language?

After giving it some thought, I finally realized why it sounds so scary: Because of it's open-source nature, if there's anything suspicious in "deepin", it's likely to be ...deep in.
Would be nice to have more information on:

* Which countries?

* How can I see whether my SIM still supports S@T? (The article makes it sound like it usually does.)