skysight-inc/HackerNews huggingface dataset:
I think you just don't see it.

I'm thinking of the guy working at the garbage dump who lets you drop off commercial trash if you slip him $20; the small business owner firing his office manager to he can hire his wife instead; the guys on 3rd shift at the industrial paint shop getting their friend's cars painted for $50, etc.

Corruption like this is all around. It just doesn't rise to the level of anyone not directly affected being concerned about it.
correct me if I'm wrong but isn't this just xamarin under the hood? it's flutter which ate xamarin's lunch.
None of the examples they've listed sound convincing.

>A Web application provides input for a smart home system to control lighting.

Why would you need ambient light level to control lighting? Do you need a phone to calibrate the room's brightness or something?

>A Web aplication checks whether light level at work space is sufficient.

Can't think of a reason why an app would need to do this

>A Web application calculates settings for a camera with manual controls (apperture, shutter speed, ISO).

Seems contrived to me. It might make sense for an analog camera, but every digital camera has a lightmeter, which is what you'd want anyways rather than the light sensor on your phone with unknown accuracy and viewing angle.

>A Web application monitors light level changes produced by hovering hand user gesture and interprets them to control a game character.

Wouldn't that be better served by using the front facing camera? You can even implement different hand gestures that way.
This sounds like a security audit, and auditors found the build system difficult to work with when attempting to audit code.
Yeah, but the harm is done to the uncurious and lazy so I have a lot less sympathy.
If his lawyers recommended he go to Lebanon sooner, how much less do you think his lawyers could extract out of him? Lawyers don't always look out for their clients' best interest.
>Not all sites need it, and given the abuse it’s responsible for, it shouldn’t be permitted unless a user opts in.

And 99.999% of internet users will therefore be trained to blindly click "accept" on any permission popups a website shows them, since outside of HN pretty much everybody loves and appreciates the rich functionality javascript provides.
CBS admits to using footage from Italy in report about NYC
> I was apprehensive when I started, and a half decade ago this codebase would be an unmaintainable mess, but I'm finding it a joy to work in: there are few layers of abstraction, not a single line of code is wasted, and when something goes wrong there's no magic obfuscating the true problem.

I've "rolled my own" quite a few times this way, with web frameworks and ORMs/query engines, and while I agree it feel that way, I would add the caveat it feels that way at first. Eventually, whether that's 6 months or 6 years, you end up cursing the framework because either you're spending a significant chunk of time implementing features that you didn't need but now do, and would have either been included in a framework when you started, or you would have just been able to upgrade your framework to a newer version to get it.

Unless the project has a very tight scope, the eventual drift in needs causes friction when it comes up against the very targeted capabilities of what you designed for yourself because it only implemented what you needed when you wrote it.

Writing a web framework is useful and fun, as is writing an ORM. At least for the first 75% of features. People should do it, if for no other reason it makes assessing other ones for whether they are suitable for your needs much more easy and accurate as your knowledge increases. But 5 years from now when you (or whoever inherits it) are realizing there's a security issue you need to patch in your home rolled framework, and you aren't quite done patching the security or performance problem that was found last week, you might reassess how good of a choice rolling your own was.

Symfony and Laraval might be slow, but there's a slew of other PHP frameworks to choose from that range from full stack to micro frameworks[1], and those probably deserve a look for anyone in the same position considering the same move. Maybe rolling your own still comes out looking good, but it's not something I think should be attempted in production without quite a bit of consideration as to the eventual implications.

1: https://www.techempower.com/benchmarks/#section=data-r18&hw=...
BOSH is essentially long polling which is pretty difficult to scale (the worst case scenario can become 1 connection per message for a single client).

I'm pretty surprised however, that a nearly 10 year old standard is being considered as "superflous" as newer technology like WebBluetooth and WebUSB. What we had before Websockets wasn't really long polling, it was Flash.
What I'd really like to see is a realistic, end-to-end tutorial for either 1) deploying a relatively straightforward web application (like Dokuwiki or ZNC), or 2) setting up a basic desktop for day-to-day use. I feel like I've seen a lot of "snippets", I feel like I understand how Nix works and what it's supposed to be good for, but I don't have a coherent sense of the steps involved in actually using it for mundane things.
> That's how you get $5K screwdrivers and $30K toilet seats, and half a million dollar aircraft carrier toilet flushes.

A bit off topic: what are these? Mind providing more details or sources?
You're describing my Uncle. Went to college, got married, got the corporate job and started working his way up aggressively. And wife divorced him because he wasn't there there. All his GF's eventually went away for the same reason. He's retired now. Not really anyone spend day to day with.
"Why the Camry is such a badass car" would be a great article, as well.
No, you don't "consent" by remaining a citizen,. At best you endure.

> If you want to leave the country, you may renounce your citizenship upon becoming an adult.

You are being very generous, and indeed this is one of the last remaining freedoms we have that people in the eastern block did not.

Where to go though if all countries compete in becoming the most oppressive one?
From GitHub:

Electronic Arts: 27 repos

Azure: 1.8k repos

n.b., I work in Azure, make your own conclusions.
My wife and I were just complaining today about how annoying Face ID is with our masks on. Glad that's getting improved!
Minimal example:

export v824=$(nix-build 'channel:nixos-15.09-small' -A coreutils)
export v830=$(nix-build 'channel:nixos-19.09-small' -A coreutils)
$v824/bin/cat /etc/passwd | $v830/bin/cat -A

You can get better specificity by using a nixpkgs git repo/hash instead of channel or adding `--no-out-link`, but this is minimal.
>I've instead built something entirely brand new using Swoole and an assembled set of very fast and very light Composer packages (namely Fastroute and PHP-DI) and everything else I'm building myself (compromising on reusability and full-featuredness in return for raw performance).

Is it anything like this?

https://github.com/PatrickLouys/no-framework-tutorial
That fucking sucks.
The PhD thesis that goes with Nix is a really great intro to it. It's very accessible and well-structured.

It motivates the need for a new take on package management by analogy to memory management in programming languages.

It contrasts how software deployment works today (“Fuck it, I’m sure /usr/bin/local/python is a reference to a python 2.7.12 install with PIL available”) to how we used to write software (“Fuck it, I’m sure 0x7FEA6072 is the address of the array of files; so clearly, assuming a 32-bit address space, the seventh file is at 0x7FEA608A.”)

In both cases, as long as your assumption was correct, things go swimmingly. But it could be easier and rely less on hoping your assumptions are correct, and more on things that are verifiably true. And that's what Nix offers: a way to build software that is insulated against assumptions and "it works on my machine".

Thesis: https://edolstra.github.io/pubs/phd-thesis.pdf
Ask HN: How did telemarketers obtain my call history?
We’ve all gotten the calls from our own area code + exchange (where the first 6-7 digits, including area code, match our own number). Recently, if I start calling someone with the phone number 555-867-5309, then I start getting junk calls from numbers like 555-8?7-53??.

I’m not linked to the people in question on social media, and it’s happened with three different area codes (none of which are mine). This is in the US.
Harry Gray told us in freshman chemistry, during the cold fusion craze, that Dick Feynman had told him "If polywater were real, dogs would drink regular water, and pee polywater."
Really it's kind of a minimalist linux distro with the capacity to coexist harmonically and/or parasitically with another operating system. Don't try to say 'oh it's like arch' or 'yeah it's a bit like Ubuntu', because no, it isn't, and by design. It seems that as much as design meant to go a particular way, there it went.

It does pretty well directly on the hardware, but seems to want to live (like it is) in a container, though that might just be it's style ;) it certainly seems to be convenient for containers.

It has a certain otaku appeal and ninjatsu stealth. I'll probably like it a lot some day soon but at the moment it just screams 'exotic' in my ears while I'm asleep at night.

This probably isn't helping so I'll just stop now.
Murphy Drip
Nix is a package manager, and nixpkgs is its "official package respositry." Both of those pieces should work on any (decently popular) POSIX system.

NixOS is a Linux distribution that uses Nix in place of apt or yum or what-have-you, and uses nix to allow the entire system to be configured declaatively.
Agree, Google translates generally works, though also agree with dang - not because I personally don’t mind, but because I have never seen a multilingual online forum turn out well; as you might expect, non-English speaking users start popping up and trying to deal with non-English speaking users in a language you don’t speak rarely goes well.
Or even worse, financial companies can reset your "opt-out" of data sharing/selling/etc by sending you a new agreement/change of terms/etc. Every time you get a ream of paper from your credit card company, there is a single sheet of paper with information to opt-out of data sharing/selling/etc. You have to mail that form or call the number to opt-out every single time they send you that massive ream of paper. And since it is opt-out rather than opt-in, if you don't explicitly opt-out within 30 days or so, you are automatically enrolled in their data collection program.
Ironically of course WTFPL is in fact not "do anything you want with it" despite the claims of the author and fans of the license.

https://opensource.google/docs/thirdparty/licenses/#wtfpl-no...

https://law.stackexchange.com/questions/29718/is-the-wtfpl-g...
The job market for Elixir is pretty small. Sure, there are a couple of people here responding with specific listings, but still. I was hoping it would have ramped up by now but it seems that it's going to stay a niche player.
This article explains how to convert CSVs to Parquet with Pandas, PySpark, and Koalas: https://mungingdata.com/python/writing-parquet-pandas-pyspar...

This article explains how to convert CSVs to Parquet with Go and Scala: https://mungingdata.com/go/csv-to-parquet/

If you're converting hundreds/thousands of files, Spark/PySpark is probably the best tool for the job. For fewer files, Python or Go is just fine.
cors/csp allow the webpage owner to control what servers the javascript running on on their webpage can access and allow web servers to control what 3rd party websites make requests to them.

Notice the missing piece? Neither of those allow the user to control these things.

At the end of the day, it is reasonable to assume that localhost access is a valid security barrier in the general networking sense. Making an exception for certain types of networked applications is just adding a pitfall for some dev to fall into. Good process design has to take into account the inevitability of human error, and leverage things like "forget safe" rather then "remember safe" (forgetting a step should fail safely, with an error or incorrect but still safe behavior, then unsafely, with an exploit or an explosion)

Using websockets or XHR to transverse internet firewalls is browsers transversing security barriers as a feature, and needs to go the way of the mic access, with a per-site prompt.
It's pretty big on some narrow areas - see, for instance, Max/MSP for audio design (https://cycling74.com/products/max)
There's a recent presentation on one from NASA:
https://core.ac.uk/download/pdf/286393566.pdf
> Your parents comforted you when you were scared, even to the detriment of their sleep. Fed you, clothed you, shared all of their resources even when they didn’t feel like it, even when it wasn’t to their advantage.

Oof, I’m glad you haven’t met some of the parents I’ve met.
Immigration also requires someone having children, just in a different country. And the birth rate is already declining across the world [1]. So it is still kind of selfish, at a country level, to not have kids of your own but let the other countries go through the trouble of having and raising kids only to lure them once they are ready to contribute to the society.

[1] https://data.worldbank.org/indicator/SP.DYN.TFRT.IN
I urge you take this seriously. It's frustrating that more people don't understand this topic, but I can't blame you for your ignorance, because you probably only learn from articles like these. Google for myopia control and start learning.
Selfish late-joiners will just notify their next of kin to refuse the donation anyway. They get the queue-jump bonus of being on the register and still opt out privately.

I was on the donor register since I turned 18 but my parents or wife can just refuse if that suits them on the day (although I've asked them not to!)
They might be, but I am talking about the situation RIGHT NOW. LTT also talks about this here - https://www.youtube.com/watch?v=Nfz46HXvPLc It was very noticeably janky out of the box but with updates it became better but IMO it's still not at Intel's level yet. Also battery life is better on Intel side and will only improve with the 10nm chips they are shipping now. I have yet to try Linux distro on this machine but looking for something with decent touch support, so it's all Windows 10 right now.
The Corolla and the Cessna 172 are the world's most manufactured car & aircraft respectively. Toyota makes more Corollas in a month than the total number of Cessna 172s ever made.
A crisis is the best time to spend a ton of money.

Fascinating. If they succeed, then China will advance into a high tech economy full of computer programmers and electrical engineers, and AI Computer Scientists.

They want to build out the future digital city, so their citizen can live and interact in it.
>Can anyone expand on why this technique isn’t more common?

Because WebSockets is 10 years old and HTTP/2 is 5 years old, and that's not including support in major frameworks for SSE.
> It has a certain otaku appeal and ninjatsu stealth. I'll probably like it a lot some day soon but at the moment it just screams 'exotic' in my ears while I'm asleep at night.

I’m trying to refute this characterization, but I am sitting in front of my desktop with an anime background in SwayWM on NixOS. Is there something I don’t know about correlations between seemingly unrelated hobbies?
Thanks, Patrick. That worked!

This is exciting, I honestly feel our company was made for this, or perhaps vice versa. Either way, Mozilla's accelerator is the best fit for what we are doing :)
Syncdocs https://www.syncdocs.com/ is a tool that lets multiple Microsoft Office and Google Docs users collaborate in real-time on the same document. It uses Google Docs for versioning.
I mean, if you count the compiler/interpreter (which nix does), realistically that's a bare minimum of two.
This is really off topic but that picture of the "gala" surprised me with how dingy it looked. Looks like a shotgun marriage in a prefab church.
I agree on the tab-completion part. Something like Gmail's smart-compose could have potentially huge benefits here.

But I'm not sure about the "deeply understand programming" part. Language modelling and "AI", in its current form, uncovers only statistical correlations and barely scratches the surface of what "understanding" is. This has restricted deployment of majority of academic research into the real-world and this, I believe, is no different and will work only in constrained settings.

Edit: typo
Newer versions of Pandas don't even need fastparquet anymore. This code works:

import pandas as pd

df = pd.read_csv('data/us_presidents.csv')

df.to_parquet('tmp/us_presidents.parquet')
Disobedience.

http://www.paulgraham.com/gba.html

"Those in authority tend to be annoyed by hackers' general attitude of disobedience. But that disobedience is a byproduct of the qualities that make them good programmers. They may laugh at the CEO when he talks in generic corporate newspeech, but they also laugh at someone who tells them a certain problem can't be solved. Suppress one, and you suppress the other."
Interestingly, my experience is exactly opposite. Most of my friends started having kids in late 20's / early 30's and every single one of them is incredibly happy to have them; in fact, some even lament that they didn't have kids sooner.
What happened to my body my choice?
Watch Videos and Upload Videos
Watch Videos & Upload Videos
> Is American tech dominance the result of some magic cultural mojo born from American values that can't be replicated in a different cultural sphere

To an extent I think it was, nothing inherently American but openness and a certain amount of cowboyness has been a key differentiator in what tech thrives and what dies and authoritarian cultures/governments/organizations don't tend to favor openness. Look at the web verse what it could have been though something like minitel or AOL, look at linux vs commercial operating systems, unix itself and windows fostered a cowboy culture where everyone could write there own programs, bring there own hardware and generally and do what they want.

For the most part I think American tech is abandoning those values anyway, walled gardens are becoming more common and getting more restrictive, open standards are yielding to proprietary services, users are being restricted in how they operate their own machines. That's something China can compete with and win, you wouldn't get IRC out of china but you would get slack, you wouldn't get Linux but you would get apple.
Hi, JS developer here who uses Nix and who liberally makes use of single-responsibility modules.

No, Nix does not need "hours" to build a modern JS project. Something else is going on here. Nix is slow, but not that slow.

(With the limited information provided here, my first guess would be "someone turned off the binary cache because they don't trust prebuilt binaries, and now it recompiles the world from scratch because there are no prebuilt binaries anymore".)
> People constantly produce things without complete certainty that they will find a buyer.

Without complete certainty, yes. But nobody has complete certainty about the future. And I didn't claim complete certainty. I'm assuming readers are capable of applying common sense.

> The reasons are certainly not limited to senseless government demand.

The reasons why life is uncertain aren't, yes.

But the reasons why people would either produce something which they know nobody will want but they still get paid for it, or would not produce something that they know people will want? Yes, that pretty much comes down to senseless government actions.
We have a Labview program for our circuit board tester and it is a bit of a nightmare. At least with visual coding it is obvious, literal "spaghetti code".

My only experience with Labview was in another job writing a DLL that it could import so the poor sucker working on the code could do a bunch of complex state machine stuff without having to drag "wires" all over the place in Labview. That ended up with a design pattern that was "route inputs to DLL function, route output to next stage" that turned out to be much easier to maintain. Partly because it enforced modularisation, and partly just because a series of if statements and function calls is easier to read than diagram.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000...

Also, Lego have a whole series of graphical languages for their electronics, and those are very cool but extremely limited. Once you get past "when this switch is pressed make this motor go" it is easier to hit the textual language.
A 40-50 year old 172 is cheap enough but a new one is $400,000 or so.
Unfortunately, the security updates introduced in MacOS Catalina have made installing Nix on the latest version of MacOS a fairly involved process.[1] I looked at using it when I rebuilt my computer recently and decided to wait until it was more baked.

[1] Catalina restricts which directories can be added to the root dir. Nix uses /nix.
I can understand the author and I usually do the same thing. But once you have done this two or three times, you have your own framework that you don't have to reinvent anymore.

If you are interested, I did a live recording of building a blog from scratch [1]. From the content, to a decent framework to run it. This is more of a purpose oriented framework where you build the features you need.

[1]: https://idiallo.com/video/website-from-scratch-part-1-conten...
If they can't bother with fixing its broken pop3 and imap implementation...

Outlook might be nice with exchange but I don't understand the people who use it with non exchange account. It doesn't even work properly for basic functions.
Agreed.

The only caveat I'd offer is, for MS Word specifically, you can have: (1) Large complex documents (i.e. lots of links/references, sections) OR (2) Many collaborators. Pick ONE. If you must have both of these, leave track changes off, and use highlights and comments.

I've been in the unfortunate position of being next to a deadline, where the word document was the key deliverable. And then having that document become corrupted. Fairly certain it was a confluence of the above factors that caused it. If the doc is starting to take 30 seconds or more to just scroll down or edit one character, that's your first warning bell.

We tried opening in Word Online, Word Mac, Word Windows and even LibreOffice. No dice. What worked in the end? A smart chap on our team thought to try importing the doc into Google Docs, and then exporting it again...
> It also seems like the system that will throw me overboard ... the moment I hit turbulent times.

Which is why having a set of people who are close to you is so priceless. Ultimately, your family and your best friends are more likely to be there for you than any government run program.
> incredibly unlikely to ever become useful

Want to bet on that?
This tweet mentions a trick which uses Notepad as a logging sink.
https://twitter.com/steveklabnik/status/1263190719721766918
Solving Zelda: Wind Waker's RNG for Speedrunning Sploosh Kaboom (YouTube)
OSI specifically lists the GPL as an open source approved license.

https://opensource.org/licenses/GPL-2.0
https://opensource.org/licenses/GPL-3.0

Even AGPL is approved.
https://opensource.org/licenses/AGPL-3.0
> I think the promise here is the ability to code in a more conceptual way with less fiddling with the finicky details.

This is basically how product managers code. Or former engineers turned engineering managers. Or even team leads. Hell, maybe like an architect?

You come up with a rough sketch, design the system, think through a couple edge cases, tell the computer what you need, and the computer figures out the details for you. Similar to being a high level engineer that designs/defines/codes the broad strokes of something and then lets the lower level minions handle details.

We made a similar leap when compilers were invented.