skysight-inc/HackerNews huggingface dataset:
This hits on an important point I don't see discussed much and certainly not addressed as important. Debugging is (one of) the most important UX aspects of your code.

Similar to code being read a lot more than written, you should prioritise debugger user experience over other aspects. One thing I try to do is have a temporary variable called result in many places and immediately return that on the next line. Though in some versions of Visual Studio you can faff about and add a watch with some magic name ($return Value?) to inspect the return value its much easier to have an easy location to chuck a breakpoint. Similarly chaining method calls or LINQ should be broken up with easy inspection variables so you can easily verify the state.

It seems like needless verbosity but when prod is broken and you desperately need to fix something you'll be glad of it.
This use case, especially for legal proof in court cases, has been solved by digital signatures with timestamps - essentially, you hash the document; and a third party issues a digitally signed certificate that they verified that hash at this specific day and time). The technical infrastructure and legal process for that existed before Bitcoin was invented and the blockchain boom, I recall doing some work on these things back in 2002 or around that time.

It does rely on having some trusted authority making (signing) that timestamp, but for the legal system that's not a problem, probably the other way around - having a digitally signed document with a timestamp from some official provider will be trivially accepted by the court, but any custom solution that somehow places data on some public blockchain will require an extensive and possibly expensive process to get acknowledged.
You sound like a dick. Maybe just talk to the coworker.
PC took over personal computing and server market because it was an open spec.

Apple didn't learn from its own mistakes which almost made them bankrupt.

While now it is doing very good, iOS devices competing with Android devices is very similar to Apple competing with PC.

People like choice, competition and not being locked down.
One of my wishes is that it would support a hardware token like the yubikey for storing the private key, to make leaks less likely (although it might not be super performant).
Great read. Pricing products was always not clear to me. I think the article makes a lot of sense for Saas products. But, the only thing I am not so clear about is how can there be such a huge difference between 3 price options and 4 options.
Walmart’s Coronavirus Challenge Is Just Staying Open
Because if Government-run blockchains become the norm, they'll be able to dictate whatever you spend your money on and you'll have no recourse. There will be no cash alternative. China's social credit system is a perfect example, also shown in Black Mirror. If governments can have control over both behavior and spending in such a way, they own you. You're in 1984.
Has a blockchain hash ever been successfully used as a piece of evidence in a real court case?
In fact pretty sure Apple has already implemented this functionality for their upcoming Apple Tags product. They have a patent on it and it works very similar to GACT i.e. by anonymously recording Bluetooth identifiers.
I believe we have reached a point where most people are in an equilibrium of comfort and desire, where the desire to innovate and do more, is perfectly balanced out by the present comforts we are able to enjoy.

People are so doped up on Netflix, cheap takeaway, porn etc. There is relative safety, lack of disease and war for the most part. People no longer desire to improve the world. It's about maximising the small pleasures for as long as possible and then dying.

America used to innovate, improve the world, improve our knowledge. Now it has stagnated. The populace is obese, lazy, and getting dumber.TV and porn were bad ideas.
Divorces and pregnancies aside, there should also be some long-term effect on the whole generation that is now kids.

For parents and kids to be together 24/7 for several weeks is really quite unprecedented. At the very least it's a forced chance to get to know each other better and that should have some long-lasting consequences.
I'm sure most know this but if anyone thinks this is a way of doing forensics, keep in mind it can be easily skipped over by doing a non-standard logout, like "kill -9 $$" or if a remote ssh connection gets cut for whatever reason. The command history for a session won't get written until logout by default. A workaround such as forcing each entry to be written to a log file will have to be done to have better assurance of true history.
Newsflash: the Mac is currently quite successful.
Show HN: Packagr – private Python package repository and Docker registry
It can be, but git neither validates nor stores it. All of that is done by optional access control layers on the computer where the git repository resides.
Ask HN: Can you find what you are looking for via Search engine?
Hey everyone,

Me and my co-founder really like to learn new topics but nowadays, we can’t escape from fluff content. Especially when you are just starting off a new topic. We were frustrated by the search process which is time wasting.

Search Google, find the right keywords and then dodge all the fluff/SEO content. Voila, we have just spent 1 hour and still have dozens of tabs opened in our browsers, hours of content waiting for us to read or watch them. Yet, still we don’t know which content would be valuable for us and which won’t.

For instance, other day I was searching for Product Market fit and I couldn't find one that answers my questions among all the other bullshit content.

So, I would like to ask you;

Do you have the same problem? Do you have rough times to find relevant or time worthy resources when you trying to learn something?

Thanks in advance.
I'm very skeptical of this. I feel like I've been hearing this sort of idea for my entire life and it's never come to fruition. In this case specifically a closed, centralized, anti-cheat protected ecosystem like Fortnite seems like the least likely place for it to crop up. Minecraft would have been more likely, the operation of Minecraft servers is very decentralized and it has a lot of modding.

But really it seems like this mostly boils down to adding a spatial component to things computers can already do. Watching a movie trailer premiere with your avatar standing in front of a big screen in Fortnite vs. with YouTube's premiere feature, browsing a virtual item store by walking through the shelves vs. searching listings with filters/keywords, etc. And I'm not sure how much that really adds. In the video premiere example you've made something that's many times harder to run both for the host and the viewers (as it now involves 3D rendering and physics) and it's a worse experience too. The screen is displayed in a subsection of your real screen, your character's head is in the way, games tend to command full control of your mouse so it's harder to multitask, etc.
I don't think the flatness of the modern web is a limitation but a strength that enables more powerful interactions than 3D space (a good filter/category system beats spatial shelves for shopping any time) and preserves portability.

VR could perhaps change this but even VR hasn't really embraced it. I'm yet to play a VR game where the main menu isn't a series of flat panels hovering in front of you which you interact with by means of a laser pointer.
Perhaps the medical system works better in Germany than in the U.S., but the rest of the article's points stand:

- Rents are sky high, and the landowners and people in power have no intention of changing that. In fact, they import more people at any opportunity in order to increase the size of the industrial reserve army and push up rents.

- Germany has no substantial capacity of manufacturing simple goods like masks.

- While Germany still has manufacturing, the middle and lower classes are exploited and relatively poor.

But people get what they vote for.
We may well really need this kind of tracing, and frankly it would be useful if we had had it since it would have and will save lives.

Do I think it is sensible to raise concerns? Yes
Am I disappointed that there aren't specific suggestions to address issues? Yes

It is really easy to criticise and a lot more difficult to come up with solutions. As an expert in privacy, I'd have liked to see specific actionable items. e.g. 'Google/Apple must do X to ensure Y' or something saying 'Yes, this is really difficult and I don't know the answer'. This opens the floor for collaboration and for suggestions which feels a lot more constructive.

What's key is that this is done right. If it isn't done right, there's a risk that no one will install it and we don't get the protection.
This is amazing. Feels so nice. I hope this grows to something awesome. One of my colleagues had the similar idea and we were discussing of creating a webapp for it. Lol, too late now.
No, there is not. When the circumstances change, habits change too.

When people go back to work, they will have less time at their hands. They will have to adjust to commuting again, taking kids to/from school again, being somewhere at time again.

All of that will cut into their exercise time. All the people who are exercising out of boredom now will stop exercising out of being tired of doing lot of things again.
When researching building a coop, my city's rules didn't allow for a rooster as one of the restrictions.
Heh, certainly some shades of Black Mirror in that vision of yours :)
https://www.ledgerinsights.com/blockchain-pharma-supply-chai...

It's been done. But has it really solved a problem? I'm not sure. Perhaps it's just better to use a simpler solution. A key on an iot device could sign every entry.
I wonder if anybody of those experts ever tried to model a stone. With tools available 2 million years ago which means: another stone. Crafting stone balls to reach the marrow? Any other stone would do.
Show HN: Covid-19 mortality rates per 100k persons (updated)
If anyone is interested in how their state or country is doing per capita. These are the latest Covid-19 mortality rates per 100,000 persons. Accurate as of roughly April 18th. I've broadened the group to include more nations vs my last post.

Belgium 47.4, Spain 43.9, Italy 38.4, France 28.8, UK 23.8, the Netherlands 21, Switzerland 15.9, Sweden 14.8, Ireland 11.8, United States 11.6, Luxembourg 11.6, Portugal 6.6, Denmark 5.9, Austria 5, Germany 5, Canada 4, Slovenia 3.5, Norway 3, Estonia 2.9, Ecuador 2.6, Iceland 2.5, Turkey 2.3, Romania 2.1, Dominican Republic 2, Israel 1.9, Czechia 1.7, Finland 1.6, Serbia 1.6, Lithuania 1.1, Greece 1, Peru 1, Poland 0.9, Chile 0.67, Mexico 0.51, South Korea 0.45, Argentina 0.29, Australia 0.26, Latvia 0.26, New Zealand 0.25, Slovakia 0.2, Singapore 0.19, Japan 0.17, Thailand 0.06, Taiwan 0.02

US states (segmented):

New York 68.5, New Jersey 45.7, Connecticut 31, Louisiana 27.5, Michigan 23, Massachusetts 22.6, Rhode Island 13.7

Illinois 9.9, Indiana 8.1, Maryland 7.7, Colorado 7.2, Delaware 6.9, Pennsylvania 6.5, Georgia 6.4, Vermont 6.2, Mississippi 5.2, Nevada 5.1

Ohio 3.8, Florida 3.6, Wisconsin 3.6, Oklahoma 3.5, Kentucky 3.2, Alabama 3, Virginia 3, Kansas 2.9, New Hampshire 2.9, Missouri 2.8, California 2.7, Arizona 2.5, Idaho 2.5, New Mexico 2.5, Maine 2.4, Iowa 2.3, South Carolina 2.3, Minnesota 2.1, Tennessee 2.1, *Puerto Rico 1.8, Oregon 1.7, North Carolina 1.6, Texas 1.5, Nebraska 1.4, Arkansas 1.2, Alaska 1.2, North Dakota 1.1

West Virginia 1, Montana 1, Utah 0.8, South Dakota 0.79, Hawaii 0.64
In snow crash Hiro specifically says there is not a 1:1 mapping and sword play in the metaverse is nothing like sword play in real life.
I believe Darwin is open source because most of it were bits of 3rd party open source software.

What frameworks and GUI Apple built on top of Darwin are not open source.

Also, releasing their software as open source goes against their business model as they wouldn't be able to enforce its use only on their hardware.

People wants Apple software but that only comes with their hardware.
You "lost" the second your phone obtains a mobile phone signal.

At that point the telco can roughly triangulate your position using the base stations that you're connected to. And determine who is nearby to you.

And better not tell the author of this article but this data has been made available to authorities for decades.
I didn't post this, but cool to see this up here!

The full book is ~400 pages and will be released Summer 2020 (i.e. soon!). If you're interested in being notified when it comes out, there's a mailing list link on the page and I'll let you know when it's out. There will be both E-Books as well as paperbacks & hardcovers (assuming the supply-chains are still open in this COVID-19 global environment...)

The first 5 chapters are already online, for free now and forever. These form a self-contained introduction to the Scala language: setup, basic syntax, collections, and a notable language features. If you're looking for a quick introduction to Scala, this is it.

The rest of the book goes heavily into use cases and projects in a way that few other programming books do: interactive websites, network file synchronizers, programming language interpreters, migration tools, parallel web scrapers, and much more. The book intentionally skips a lot of language esoterica in favor of showing how to use Scala to do things someone might pay you a salary for.

You will learn Scala by building a breadth of useful experience, rather than a depth of knowledge in language minutiae.

The chapters in the book are all based on real projects I have worked on. Most projects take <100 lines of code (i.e ~2 printed pages), and it is a testament to the Scala language that we can build working prototypes of all these things in a single 400-page book!

If this interests you, feel free to leave your email on the website, and browse through the free chapters already available.
My father in law uses smart switches and timers with servos. His roost has a lot of flaps that can open for ventilation. He has a a few cheap Chinese cameras looking over everything.

I’ve been looking after his chickens and one of the roosters keeps attacking me. If he keeps it up he’s going in my gumbo.
This post is precisely why sites like shithnsays and ngate exist.

I pity the sociopathic state of your mind.
The article states

> GACT works much more reliably and extensively than any other system based on either GPS or mobile phone location data (based on cell towers) would be able to (under normal conditions). I want to stress this point because some people have responded to this threat saying that this is something companies like Google (using their GPS and WiFi names based location history tool) can already do for years. This is not the case. This type of contact tracing really brings it to another level.

I don't see an explanation of why this would be so.

Also, I see here as elsewhere a "what if one installs a malicious app that uses this?", but that argument applies even without the contact tracing framework.

Still, there are some valid points which I hope can be considered by the spec authors.
For nations with the technical & legal staff and time required to review, address and negotiate updated legal terms with Google and Apple, that may be true.

Since you sound familiar with the situation, can you provide a link/reference to evidence of a country trivially changing the behaviour of an operating-system level feature like GACT after it has been deployed?
Show HN: Renga Game, make your friend guess movies using only 3 emojis
I never really understood the whole thing around Paul Graham. His insights on startups and tech are somewhat interesting and legitimate, but at this point I feel like some people are taking his every thought, even mondaine, as gospel...
Immutable databases already exists for this use case, Amazon has created one in response to Blockchain
Make a gumbo. My father in laws roosters crow non stop all day. The collars only change the sound.
add this to you "~/.inputrc" :

"\C-xj": "\C-e\C-u # `pwd`\e\C-e\C-a\C-y\C-j"

Whenever you want a command saved with the launch directory, instead of Enter, press "CTRL-x j"
Wow his is cool. Very nice work! Apl's seem like the perfect fit for this kind of thing and feels like a great way for people to cut there teeth on something like k. Hopefully the syntax will become a moot point since 1/2 the code I love reading are algorithmically terse (and clever)... I hope this gets picked up by the demo or 'tweetcart' like scenes. Theyre always a source of inspiration.
Not that I've heard of. Recently I stumbled upon this guy trying to get it to work in QEMU: https://alephsecurity.com/2019/06/17/xnu-qemu-arm64-1/
When will GitLab release the issue edit history feature? It's a very important feature for every group
It's a bandwith vs latency issue.

Imagine you make 5 commits in 4 hours. You now have 5 builds queued up and 20 hours of latency. So one would probably prefer to only build the last commit, and maybe queue the older commits up for later. But if you make another change then you'd need to pause the build of the older commit, or you'd be at up to 8 hours of latency instead of 4..
> you _must_ learn to plan your day and that usually involved some type of discipline

They didn’t say they slept in or woke up at varying times - you’ve imagined that - they said they woke up without an alarm clock. That could be at 5am sharp every day for all you know!
I have a much shorter snippet in .profile for bash:

if $INTERACTIVE; then
# http://superuser.com/a/175802
# show date when command was executed
preexec() {
[ -n "$COMP_LINE" ] && return # do nothing if completing
[ "$BASH_COMMAND" = "$PROMPT_COMMAND" ] && return # don't cause a preexec for $PROMPT_COMMAND

echo -ne "\033[$(( COLUMNS-15 ))C$(date +'%m%d-%H:%M:%S')\r"
}
trap 'preexec' DEBUG
fi

The `echo -ne ...` is what prints the date (month+day+time, year is assumed obvious) close to the right margin (COLUMNS-15), then prints `\r` to get back to left margin. This has pros (less space taken) and cons (shows up in copy&paste), you can surely edit the format to your liking if you prefer.

I'll have to check how the OP's PS0 compares with that however, maybe it can make my snippet even simpler? edit: Ah, IIUC, PS0 seems bash 4.4+, for better or worse: https://github.com/rcaloras/bash-preexec/issues/28
Bitcoin solves a real problem: It creates a permanent fix for monetary inflation
But crypto coins are too unstable, I would only invest my money in an inflation less system if stablecoins existed
How to Install Plasma Bigscreen OS for the Raspberry Pi 4 – Review and Tutorial
Why not both :) ?

I think the free service of https://originstamp.com/ publish a daily bulk-hash in a german newspaper. (they call it "root-hash")

I couldn't find the info on their website anymore, but on the branded portal of the newspaper itself: https://blockchain.suedkurier.de/ (german)
Show HN: Saver (Chrome extension) – save LinkedIn profiles/arXiv papers online
For information technology that's really long. It didn't take us 10+ years to find a useful purpose for smartphones or the internet. If for many years so much money is thrown at it and so many intelligent people are working at it and nothing fundamental comes it, I think it's safe to conclude that it's nearly useless.
> The system can't handle crowds. Second Life is divided into regions 256 meters on a side, and starts to slow down when more than about 40 users are in one region.

Can't remember which one episode it was, but "Rick and Morty" have definitely played out this scenario when Rick was kidnapped by aliens and they tried to trick him into disclosing some recipe for instant travel/teleportation fuel. It was a mixture of "Inception" and what you wrote.
I don't know for sure, but there is always a chance that they realize the same thing now and put their money where their mouth is. This is something written with the benefit of hindsight, and could be the scenario that he might have the same insight now that we have and not had it like 5 years ago. (guessing based on the tone of the essay). The other thing is the difference in budgets. The numbers at which they invest might not be enough to scale a full fledged physical project. But I do hope they take a lead into this in the near future.

Further, I would argue that even if he doesnt follow through on this, it is still a good and important essay in the context in a sense that there is every chance this can motivate others to take action. Given his reach and stature among the entrepreneurs, there is every chance it motivates you or me or someone else to take an action - the lack of which is quite apparent today. Call to actions work even when the people mobilizing others do not act on those. Of course, putting your money where your mouth is always a better scenario, but if that does not transpire here, this essay could still inspire others.
Before they bought PA Semi, they were helped by Samsung with CPU design.

Samsung also fabbed their SOCs.

PowerVR designed the GPUs in Apple SOCs.
Here’s some examples of things that blockchains can/do help with:

- Currencies that cannot be manipulated/controlled by a government / external forces (plenty of examples why that’s a real problem in history, including runaway inflationary policies, payments restricted from certain individuals eg sex workers)

- Cheap accounting (see digital autonomous companies), you can run a company with lower costs by programmatically handling all transactions. eg running a justgiving type site should be cheaper on a blockchain, in theory

- Fully traceable payments (i.e. knowing who paid who how much throughout history, makes paying taxes, illegal transactions easier)

- A single place where a piece of data can be guaranteed to be accurate (eg you can publish data on a blockchain and prove it was published then at a later date, and there’s no way to manipulate this)

There’s more, I’m sure... Whether these justify the hype or are big enough problems are different questions
The article is entirely premised on Apple and Google not giving users control over whether tracing is enabled. Indeed, if they don't, that would be bad. If they do, the concerns in this article do not apply.

> GACT creates a dormant functionality for mass surveillance, that can be turned on with the flip of a virtual switch at Apple or Google HQ.

If you don't trust Google or Apple to do what they say they do then you need to stop using their OS and hardware. It is already the case that Google and Apple can push (more) surveillance into your device anytime. GACT does not change that.

> Which makes the whole GACT platform a smokescreen really, as exactly the strong oversight would be required if the GACT platform was not there, and apps requested special access to Bluetooth to implement their own contact tracing technology.

Not at all. Plausible advantages of GACT: a) Google and Apple don't have to evaluate the properties of each app's Bluetooth protocol; b) standardizing the protocol prevents Balkanization and makes tracing much more effective; c) Google and Apple are likely to implement it better.

Another problem with this article is that the criticism is not constructive. If we believe the conclusions of the article, then what? Is there a better way to leverage smartphones for contact tracing? Or should we abjure smartphone-powered contact tracing? Doing what instead? "This sucks" without comparing it to alternatives is not actionable.
I'd guess it's because GPS / cell phone tracking data rely on line of sight to towers / satellites, but GACT works on human-to-human proximity, and therefore data can survive offline locally until some point in the future when you get connection back. Also it seems the distance accuracy between human to human would be more accurate (via BT signal strength) than distance accuracy in a GPS / cell phone tower situation.