skysight-inc/HackerNews huggingface dataset:
Ask HN: What happens if you set delay beyond the reply horizon?
will the comment ever appear? is this a way get comments added after the reply link vanishes?
I wonder how long time it will take to forget DST if it is abolished. Will that messy spaghetti code be ripped out and never seen again.
Hits the SV tech bro mindset right on the head, and so will obviously be ignored or ridiculed by said tech bro set, when they should instead take a long hard look at just what they're doing.
Doing a typical "front-end" mobile application I write the following tests:

* Integration tests that test the API
I get a ton of value out of it though it's sometimes hard to guarantee a certain state at the API's end. But I use them while building the API's but they also can detect any kind of problem after an API upgrade etcetera

* Unit tests that test data transformations
This is stuff like date formatting, building headers into a request given certain input, building more complex ViewModels that take a few structs as input and turn them into something that reflects the actual process happening in the view. They're valuable while building the logic, help separating the logic since you need to make it testable and also help a ton if you find a bug since a bug simply means adding another test case to see if something goes wrong and then fix it.

I don't think I even get to 30% code coverage but I think what I cover is super valuable and the other 70% is usually mostly CRUD boiler plate.
That's a good question (and the downvotes are unjustified), but

> you'll never convert the majority of your friends/connections to use these niche messaging services

isn't true -- it's certainly possible, if you are pushy and refuse other apps.

I pushed most of my close contacts to use Signal and now they use that (among other tools).

Unfortunately Signal is not very good, because it's not very reliable (calls fail ~40% of the time, sometimes messages don't arrive) and the engineering practices lack (almost no tests, no CI, "bug bankruptcy" closing of all issues on the bugtracker) so I don't have high hopes for reliability to improve.

This made it harder to convert people, but it worked nevertheless.
How and when did American spelling supersede British spelling in the US?
If a personal productivity tool provides real value and costs $60 dollars per
year, it is a no-brainer buy even from personal budget. Most higher income information workers earn that in an hour or two.
The film is a very good sleeping aid, its the only one I tried to watch and failed three times, succumbing to sleep.
So does every office worker.
Technically, a ton of obese people is about ten or fewer such people.
Yes, exactly! Being less-fragile is one thing. Greatly reducing possible attack vectors by almost eliminating supply chain attacks is another.
Information doesn't want to be free [video]
and carbon.
And that dispute is being resolved [0] on the basis of the United Nations Convention on the Law of the Sea [1].

Interestingly, this convention is signed and ratified basically by the whole world, but not by the US.

[0] https://thebarentsobserver.com/en/arctic/2019/04/russia-scor...

[1] https://en.wikipedia.org/wiki/United_Nations_Convention_on_t...
The only reason I'm sticking to my Macbook is the Linux based kernal, which makes it easier for me to use the command line, install NodeJS, build an application, install Redis Server on my local.

Though everything can be done in Windows, it's not easy to do so.

I specifically remember trying to install Redis on Windows and had to give up after the end of the day. Ended up creating a server and installing Redis on that on AWS.

Also, people are complaining that Microsoft once said "Linux is Cancer" at some point. A lot has changed since then. Ubuntu was released after that which IMO helped to adopt Linux by an end user.
I see lot of subway bashing all around. At one point in my life, I ate subway sandwiches for dinner, daily, for more than an year (can't remember exactly how long). The serving folks memorized how I wanted it and basically just asked "which one" I wanted (felt like hash lookup with the "alias" being the key and my custom requirements being the "value"). Never had any upset stomach etc so no complaints.
> But, if the execs themselves were the ones that ordered the employee to do this...

or (and this often seems more likely) if the execs have not clearly instituted reasonably sufficient protocols to prevent X from happening...

They are the buggers abundantly paid for good governance, after all.
Kernel written in C++... The horror.
Found the list of things that work and don't work yet:

https://git.jami.net/savoirfairelinux/ring-project/wikis/fea...

Looks like the traditionally hard ones "Group chat" and "Chat history shared across devices" are still in the making.

I wish best success; I find that a reliable, safe, featureful, cross-platform, high-quality instant messenger is very much needed.
I tried to do CUDA programming on a laptop with Ubunto but gave up. It worked fine on a stationary computer.

There has to be something with Cuda that messes everything up on laptops.
...which we're able to do, we do somewhat similar digs for offshore oil all the time, but it's not worth the gargantuan expense. The risk of leaving it exposed is worth it.
Also using pass here.

Someone has an opinion/solution for the problem of exposing the list of everything you are using a password for? The fact that pass doesn't encrypt that makes me somewhat uncomfortable about hosting the remote git repo on an Internet accessible machine / service. Keeping the data "offline" (if such a thing exists) makes the sync across devices more challenging...
What did I just read.

MacBook userspace is derived from NetBSD. The kernel is so far removed from BSD UNIX it's not worth even mentioning.

This link you commented on points to the kernel used in WSL2 which gives you a full Linux under Windows. Unlike Mac where you probably will use homebrew to install Unix packages, this is a full, unadultered Linux machine. Even WSL1 allowed you to install anything from Ubuntu although some (very, very few!) didn't run, most importantly (for us) some debuggers.
In my experience Razer is both good and bad - good because literally any issue you have with your laptop they will just offer to replace it, bad because the replacement can take 4+ weeks. I'm also slightly worried that it's literally impossible to buy any replacement parts from them, if the need ever arises. From companies like Dell or HP you can order literally any part, down to individual switches, if you know the part number.
LOL: MacOS is not Linux
I agree. Unit Test is for testing API usage, not implementation. We can use it to figure out the API design good or not.

But the problem, is API change is very often, and we don't want to change both implementation and test just for the sake of API change.

Integration test is enough in most case.

Even API is the implementation details of an abstraction.
MacOS don't have a Linux based Kernel. It's based on Darwin that comes from BSD.
For the record I was used to SFTP NetDrive for my remote host (map a sftp target to a local drive on windows), and I just started using that to make sure all my windows tools can access it just fine.

Doesn't solve the speed issue, but at least you're never blocked by a software that only work with a local/non-network path.
Italy Arrests Captain of Ship That Rescued Dozens of Migrants at Sea
So your opinion is that it's ready?
Early returns are good because they also save a lot of indentation.
Proxy is slow and unnecessary. Passing around a wrapped object that behaves in this way would be exceptionally surprising. Just move this behavior into a function if you find yourself having to repeat something many times.
For anyone interested in an accessible introduction to the (simple) math and algorithms behind this kind of software rasterizer, I present https://gabrielgambetta.com/computer-graphics-from-scratch (soon to become an actual book, thanks to the positive reception it has had in Hacker News!)
> So why isn't this cable included with a new iPhone purchase?

Not everyone has a recent MacBook. Makes sense to stick with USB-A for now, I guess, for maximum compatibility.

> Where is the Apple USB-C iPhone or iPad charger?

Here https://www.apple.com/us-hed/shop/product/MR2A2LL/A/30w-usb-...
btw. you do not need to be member of openid to support openid connect. you just can't advertise it.
but being a member is relativly cheap.
Just done that, thanks. I'm participating again this year but with a different product.

Are historic updates from 2018 for a different product of any relevance now? Can they be deleted not to interfere with the 2019 Startup School?
How does Mimirsbrunn differ from Pelias? https://pelias.io
This only works when you have a test suite with total coverage. Otherwise, you're bound to introduce bugs and annoy users and colleagues.
I reread Jurassic Park on a yearly basis. I like to think that if Crichton lived longer he'd have grown out of being a climate denier.
I dunno.

It's also pretty weird to borrow 95% of a spec, miss out on a half dozen important security features, not acknowledge the relationship between your work and the spec, and not contribute back to the community that funded the spec.
ITT: People who benefit from standard protocols and use OpenIDConnect every single day without realizing it complaining that the world's first trillion dollar company might have to pay 0.000015B.
Random comment : by episodic data science I mean one of question answering quests. These are often created by incidents or by new stakeholders asking unexpected questions. Basically - collect, curate, explore, answer, explain, dump.
There’s also this one too.

https://en.m.wikipedia.org/wiki/Air_Transat_Flight_236
I don't think this is about technical superiority of one kernel vs. the other. It is about the software environment. Linux is the most actively used Unix-derivate at this time. So by running Linux you get a whole software stack. Parts of this stack has been ported to Windows too (e.g. via Cygwin) but you get the most coherent user experience by just installing a Linux distribution, as WSL allows you.
How does Jami handle key exchange and message authentication?
Well, the thing that sets living stuff apart from non-living seems to be the ability to sustain life (usually in the form of offspring). From this we can infer the purpose of life to be keeping life alive.

Spreading live across the universe being a good way to keep some of it going seems plausible. I'd obviously prefer intelligent beings like humans doing so, since so far evolution indicates this development path to have the best chances long term. But if not possible or too costly, spreading the next closest thing to us that is possible makes sense. At least as a form of backup. And sending microbes seem quite easy...
Now we only need a Windows-native Wayland server, which integrates seamlessly into the Windows desktop and of course just uses the Windows graphics stack.
It wouldn't be this way with other companies. Hackers news will defend Apple no matter what for some reason.
Is OpenID Connect the one where it issues a JWT that you can then verify and exchange for a session cookie? If so, I love the API. Very easy to use, and easy to integrate multiple sources.
The people you're talking about use it wrong.

> In ethics and governance, accountability is answerability, blameworthiness, liability, and the expectation of account-giving.

Accountability should be there to make sure those people wielding all the financial power and influence of an entire company don't use it for their own interest regardless of consequences. Unless all that financial power and influence are used to create favorable laws...

> If an organization kills hundreds of people, like Boeing, you can only execute the CEO once

So better do nothing, maybe they stop, right? Are you saying that committing more crimes than you can be punished for should be a get out of jail free card? Put that CEO in jail for life and all others will take notice. And depending on the country this will mean "pay more to get favorable laws".
You’re splitting hairs and failing at it. They have clearly found a “bug” if Night Shift is consuming 100% CPU without end, even if their hypothesis for the reason might be wrong.
> Some sort of botched code rewrite where values doesn't retain their meanings?

Yes, exactly. It's supposed to catch the rewrite where somebody turns (a * 100) / b > 95 into (a / b) * 100 > 95 and suddenly, the code doesn't work anymore.

Showing a warning is full scenario - it has a whole UX. If this warning is important enough to have a PM, a UX designer, and be translated into 20 languages, it's important enough for the engineer to make sure it actually shows up when its supposed to.
Reminds me of an early release build of Win95. It would properly set time back an hour for Daylight Saving Time, but not set a flag that it had been done, so it would do it over, and over, and over...
Trump says he'll allow Huawei to buy equipment from US companies
docker for mac uses xhyve/hyperkit and has a really really slow i/o.
Why would I switch from Signal to this?
I googled and found this https://ore.catapult.org.uk/app/uploads/2018/02/Export-Cable...

Costs between £5.3m and £15.5m

Wikipedia has a nice gif of the repair process https://en.wikipedia.org/wiki/Submarine_communications_cable...

Funny random thing from that. In 1959 the Americans got annoyed by a Russian trawler breaking their cable and complained they'd broken the Convention for the Protection of Submarine Telegraph Cables of 1884. Who'da thought this was going on in 1884?
Ahhh, the eternel dilemna they face. Either recreate the wheel and get complaints about that, or re-use the wheel and have people "crack up" about you doing that.
The italian bank Monte dei Paschi di Siena was founded in 1624, they even use some of the centuries old building as offices...it's not doing very well but it's still there
None of that invalidates my experience.
> There's two Google apps I just can't live without: YouTube and Google Maps. There's simply no alternative to the amount of value these bring me.

Regarding YouTube, try using only their video widget, and not their recommendation engine.
Nor the ones from 2019. It remains to be seen if Stadia will succeed where many others failed.
You can find working links to the client repos here: https://git.jami.net/savoirfairelinux
Dealing with loss in precision with currency exchange and split payments
Magic 3D Clock
It's as likely as Google switching to the NT kernel for Andorid
Which isn't fully POSIX, breaks down with every Android release that clamps down security, and most of it is just plain ISO C, ISO C++ and OpenGL, hardly Linux specific.
Doesnt google already use it?
No, not quite. One of the types of radioactive decay is spontaneous fission, but it's not relevant in the context of RTGs. Alpha decay (the emission of a 4He nucleus) might in principle be called "fission" but in practice is not. Beta decay involves no splitting whatsoever.
Controlled Demolition with Explosives of Morandi Bridge
I used to use early returns a fair bit in Python and Ruby (my primary languages).

But lately I've been working with Elixir which doesn't support early returns and while Elixir does have some tricks up its sleeve to better handle the idea of having an early return without using it (such as pattern matching on function arguments and / or guards), I'm now slowly shifting into thinking early returns in any language makes things more difficult to reason about in the end most of the time.

I say "most of the time" because for very short functions where you might return early to avoid an else clause or deal with varying types of input, that's not too bad. It's really a problem in the use case you explained where you have a larger function that might have 4 or 5 early returns scattered about and that function might be nothing more than having a few short if statements that say "if this, then do_something and return". It becomes difficult to maintain because now the function ends in 5 different spots based on 5 different conditions.
Many Chinese have gone from sharing a plate of meat with their family once a month to affording meat every day. In that context, surveillance (and minority concentration camps) feel irrelevant.
For me, it’s all about maximizing quality; which is usually about bugs. For example, I’m currently writing an ONVIF driver. This needs to address hundreds of devices. I only have about ten to test against. They feature a wide range of implementation, but they are, by no means, full coverage.
I’m gonna need to mock up some crazy, nonexistent devices to stress a few particular parts of the library. If I can make it work with them, then chances are better than even that it will work with devices I can’t directly test.
I use test harnesses to ensure functionality. My test harnesses tend to be huge; often, a lot bigger than actual shipping implementations.
Open sourcing the ranking... YES!!!
The Art and Science of Software Estimation – Part 2: The Nature of Software
Jony Ive's Legacy at Apple
I use this. Got fed up with Google Maps (in navigation mode) constantly trying to get my attention for things unrelated to driving. "We've found a faster route!" it would say, as if saving five minutes on a five hour journey is the least bit useful. Either I take my eyes off the road, fumble for the button to say "ignore that option", then try to re-focus on what I was doing, or it just switches me across to the other route anyway. It would do this multiple times in the journey. The wego option just does navigation, no distractions or foolishness.
Detective Agency in Gurgaon
A private investigator can execute various types of tasks within the given time frame. A professional detective will always gather valid information.
https://www.ddsdetective.com/branch/detective-agency-in-gurg...
I thought this was funny, sorry all the soulless robots downvoted you. I'll join you down there soon
You're right, we need to straighten the earth up.
San Francisco school board votes to destroy murals by Victor Arnautoff
> As much as people crap on Subway I don't think I've ever had a negative experience at one

Same here. I'm never going to come out of one thrilled, but they are consistently _fine_.
a poor Black woman

The article says nothing about her economic status aside from stating that she successfully posted a $50,000 bond and was released. Assuming that she is poor because she is black is racist.
This is a really interesting article, thanks for sharing it. Whether the tic-tacs are Chinese, American, or alien, this just seems to add the the evidence that they are real, and the public nature of the patent application seems to fit within the narrative of a managed disclosure.
In the UK we have a long running 'institution' called the Jeremy Kyle show. I believe it is solar to the Jerry Springer show in the US? Basically, low SES people go on and argue about who cheated on who and at the end get either a lie detector or paternity test.

The show was recently cancelled because someone who was on the show committed suicide. This was clearly because of a false lie detector result which said he cheated on his partner.

In all the media frenzy around the incident, I didn't see a single source mention that lie detectors are unproven bullshit. I don't understand how otherwise normal people believe we live in a world where reliable lie detectors exist (the effects of this would of course be world changing).
Sure, but the more likely way in which these things go is: "Do what you have to do to make us pass those emissions tests" and "Get rid of that industrial waste" and so on.

No clear command to do something illegal but the employee is left with two choices: do something illegal or end up not doing what they were told to do.

Culpability is a thing that can be smeared out effectively across the layers of a large organization where each layer only sees the delta between the one above it and the one below it, the people that know the law and the consequences are safely (or so they think) insulated from the hands that commit the crimes and the hands that commit the crimes typically don't know the law.

This situation has - as far as I know - never really been addressed explicitly in the law hence the institutionalization of 'the buck stops at the top'. Even if you don't know and even if you did not order it explicitly you are - and should - still be held responsible. The question at hand is if that should include criminal liability for all cases where the employees break the law and I think there are plenty of cases where employees breaking the law should not lead to culpability of management, for instance, those cases where employees gain an advantage for themselves at the expense of the company, the customers or the society they operate in. But in most other cases where the company gained an advantage the execs should be liable. That alone will get companies to behave like good (immortal) citizens.
Scratch does allow you to make your own blocks with optional input. My math students use them to learn about abstraction. The most recent implementation was released last winter and is written in JavaScript.

https://en.scratch-wiki.info/wiki/Scratch_3.0
The fragility of the supply chain.
Yes, it does, check out the network tab here: https://cloud.google.com/about/locations/
How the Elderly Lose Their Rights (2017)
The metro and other public transit is difficult to include in the directions because it's highly time-dependent given operating hours and transfers (for that, there's OpenTripPlanner). In addition, it's difficult to manage such complex data correctly in OpenStreetMap (as opposed to separate GTFS files and tools). OsmAnd for one is trying to get us there with a beta release of public transit directions based on OSM data: https://osmand.net/blog/osmand-3-3-released
This is true, but what with sunlight being by far the largest factor in energy being radiated back from the surface of the earth you can safely conclude that in practice the greenhouse effect is to a large extent resulting in solar incident radiation being trapped. In other words: without sunlight nobody would be worrying about the greenhouse effect. In fact, without sunshine we'd love the greenhouse effect, reducing the albedo of the planet as a whole would be the only way to survive as a species (likely we'd fail).
I think this may be an unfaire call. I think they were duty bound into hiring some Indian engneers because they were entering into agreements in that country and they needed people familiar with the stuff. Anything would have to be well vetted by US people. It looks to me like the Peter principal in full flower. Boeing if filled up to the nostrils with highly paid executives, all Petered out, and badgered by greedy unions who overman and work rule the company mercilessly and between all these is the heavily subsidized Airbus consortium and Boeing was at it's limit and something broke.
It need to build a new factory in a right to work state and close down Seattle and start anew with new employees - if they can.
Exactly this. I still remember M$ playing rough in the browser game. Bad actors never change. You can purge "bad apples" again and again, change masks, pretend to be fluffy and lovable, but you're still same old evil co. We remember. We see you snooping. We see you seething with hate for FOSS underneath your let's opensource .net core mask.

And I, personally, will never forgive M$ for Elopcalypse, burning platform and death of nokia.
> Documentation for developing for the open source operating system.
Is fuchsia Android style open source or a true OSS?
You’re wrong. I know for a fact that there are 7 elephants, one of them is white.