skysight-inc/HackerNews huggingface dataset:
One of the biggest problems we face in the modern world is the excessive confidence in software from people who don't write it. All software of nontrivial complexity contains bugs, this is unavoidable and people need to be taught to think before trusting the software because you never know when you will come across a software bug.

I don't know the best way to get this message across to people who don't write software but there has to be a way to get them to practice a basic level of critical thinking before blindly accepting what the software says.
If curious, past threads:

Mal – Make a Lisp, implemented in 79 languages - https://news.ycombinator.com/item?id=21670442 - Nov 2019 (11 comments)

Mal – Make a Lisp, in 68 languages - https://news.ycombinator.com/item?id=15226110 - Sept 2017 (69 comments)

Mal – Make a Lisp - https://news.ycombinator.com/item?id=12720777 - Oct 2016 (1 comment)

Make a Lisp - https://news.ycombinator.com/item?id=9121448 - Feb 2015 (41 comments)

Lisp implemented in under 1K of JavaScript - https://news.ycombinator.com/item?id=9109225 - Feb 2015 (16 comments)
Ok will look into that
No one cares, until they do, and it's too late. A chain does not stop being a chain just because your master hasn't yanked it yet.

Apple pulls police-tracking app used by Hong Kong protesters after consulting authorities - https://www.nbcnews.com/news/world/apple-pulls-police-tracki...
Apart from Linux having gotten its start there, what exceptional contribution comes from Finland that makes it distinctive in the FOSS world?
If you get closer and widen the lens, you will see an arbitrarily small portion of the earth as you approach it.
I both do and don't want to believe that someday soon enough a generative AI will be able to take what it knows about me and my mannerisms, and combine that with an image of two of me looking into the camera in the moment, along with my voice audio stream, and out of all of that, create a totally convincing video feed of me speaking for the person on the other end of the call
It's human nature and not reprehensible to wonder what happened when someone you care about dies.
I’ve been following the progress of Dolt [1] which is a SQL database that works like git. This would give you modification history in a similar way to git. That’s different from recording when events happened, though (and changing your mind about when they happened), so you’ll still need timestamps for that.

[1] https://github.com/dolthub/dolt
Totally true... It's often hard to think this way as we grew up with cars always there and it's not something you are used to think that our cities are just a big space that is at the service of cars and that who tries to say that is seen as stupid frik.

While we should indeed think more that reducing the space used by cars is just giving better alternatives a way to prosper without bothering pedestrians.

But really, it's not easy. Last night I was listening a guy on TV (a journalist who consider himself a progessist) who was complaining about bike lanes and that he's against the implementation they're doing in Rome because it's just at the service of the scooters, like if people driving them were 2nd class citizens. Fuck this people!
Pretty sure the parent poster wasn’t talking about giving building housing and giving it away for free.

> they still mostly use a 1960's era city plan that forbids dense residential development in most areas.

I big source of homelessness is... well... simply being priced out of living somewhere.

> If you can't afford Toronto, go live somewhere else. It's not a God's given right that you get to live in the 6th most expensive city because you want to

I don’t think most people live where they do out of some sense of entitlement. They just live there because that’s what they once could afford or where they found work. Losing one’s home can also mean losing one’s job and ultimately homelessness. Bad city planning only worsens income inequality and the only ones benefitting from this are landlords and speculators.
What worries me more is that smarter killing machines will make humans more efficient at killing the “right” people.
Yep! Same here. I'm using emojis as icons on my website (https://remotehunt.com) and I don't like that my icons look different on different platforms.

But I haven't found an icon lib that I like as much as emojis.

What's the idea behind this tool then? Name implies it's for using emojis as icons, but I can do that anyways without the <svg>?
Where can I get 20% off a Napa Mattress from Country Living?
Yes. The same apply to a lot of embedded systems. When you can't stop the system you better learn how to debug from logs. And put the right logging support in place ahead of time: it may be impossible to replace the software in place by a new debug version, and then it's only based on preexisting logs and just adapting the logs configuration.
Ask HN: Any companies disrupting the moving industry?
I remember reading this thread about moving companies a few months back
https://news.ycombinator.com/item?id=22211908

Now I am getting ready for a move from Fremont, CA to Austin, TX. I have a 1 bedroom apartment. A U-haul truck rental for a one way move is approx 3500$. Looks like there is a large imbalance of available trucks because of people leaving the bay area. For reference, a truck rental from Austin to Fremont is only about 200$ (two hundred).

I have checked pods, full service etc and most are above that amount. Uhaul's U-pod is approx 2000$.

I was wondering if there are any alternatives? Any new companies with a new model in this space?

Currently, the best option seems to be to get rid of almost all our stuff in Fremont and buy new in Austin. Some important stuff can be carried by our car when we drive to Austin. Some additional stuff can be mailed by Greyhound at approx 500$ for 500 lbs.

Any suggestions, recent experiences?
You can always just send the output to a block of memory that is reserved for debugging, and dump out that block when necessary.
In Dutch companies it’s done by Justis, a separate government agency that basically tells companies if you’re fit to do a certain job.

It’s based on what job you’re going to perform, so people that have money laundering convictions probably are still allowed to volunteer for the local Boy Scouts.

There are several levels and categories and it’s usually returned within a few days.
IMO if you’re going this route, may as well just implement a snowflake clone and get the best of all worlds.
> Interpreters usually execute by walking the abstract syntax tree at runtime, bytecode VMs usually execute actual bytecode similar to machine code.

This isn't the right way to separate these concepts. A VM that executes bytecodes by interpretation is also an interpreter (Python, Ruby, PHP are well-known examples). Many VMs don't interpret, or they interpret mostly during startup, but actually try to compile hot parts of the code and execute that machine code rather than interpreting (Java and JavaScript VMs are well-known examples).

The VM part more properly refers to things like data representation and memory management. Interpreters of an abstract syntax tree, interpreters of bytecodes, and just in time compilers all need to run inside a system that takes care of loading code, allocating memory when requested, and often doing garbage collection. These services are what make a VM. The exact execution strategy is not what determines VM-ness.
Thanks for your sincere reply. Yes, some ugly things have happened after-that, but I see no point in digging these things and stirring up this comment section. We shall leave these behind, and get our very valuable lessons from it.

> WRT the documents you mention, those are probably from the contemporaneous disinformation campaign on the part of the govt.

I'm not sure. The disc is very old and I only remember the photos. I'm not saying it's not, but I just don't remember. Nevertheless, I use the family account as my information foundation.

> That does not negate that the genocide happened, in which the Turk’s goal was to obliterate the Armenians as a people.

I would like to discuss it in a civilized, and informed manner but as I replied in another comment, I'd like to prepare myself first by supporting my claims by 3rd party sources. The family account tells otherwise, but I can't get more details since nobody is alive from that times, and I don't want to lower the quality of this discussion by not backing my claims with references.

As I've said numerous times, I come in peace and don't want to set the comments section ablaze unintentionally.
Right, the question is how fast it mixes into a large volume vs. how fast it's removed by ventilation. Personally I'm on the very conservative side when it comes to things like this, but if you're talking about relative risk, 60 feet is certainly much less risky than 6 feet, contrary to the article.
The tweet says “Please keep speculation to yourself”. Whether you think it’s appropriate or not, asking if anyone knows what happened is not the same as asking for speculation.
In USAs case I'm hardly allne in thinking that it definitely wasn't foreign states who got Trump elected. If so they must have been insanely clever because the Democrats outspent them by orders of magnitude AFAIK.

Trump got elected because people were tired of "politicians" and because Hillary messed up her campaign. Seriously: She was so close to winning it anyway that I like to think it was her calling a large chunk of her voter pool a "basked of deplorables" that got it over the edge.
From a Bulgarian perspective what I’ve said holds true. The oligarchs themselves were often picked from prominent nomenklatura families and in spite of not having a background as state security officers, were largely kept responsible for their actions by them. The state security officers had all the information about trade routes, information about all state enterprises and their financial status, etc.
Legalize drugs, prostitution and all other vices that prop up organized crime.

People who can't contribute within a city, need to be sorted and moved to places where they can contribute in some basic capacity, as simple as working in a grocery store part time in a small town.

It doesn't cost hardly anything to have a small apartment in a small town and have food, a community and a good simple life.

Everyone needs to either contribute, or receive a subsidy from someone who is currently contributing. Society works when people work to make society work. People seem to have lost sight of that.
Archived version of the article for those paywalled

https://archive.is/pSC7V
> Assuming the saveUserInDB function is just making a SQL query, it probably doesn’t need a unit test at all

It's possible I don't know Go well enough.

func (mdb *mockDB) Exec(query string, args ...interface{}) (sql.Result, error) {
return nil, nil
}

You're specifically returning nils, which is different than the native implementation from https://golang.org/pkg/database/sql/#DB.Exec

I would write a test using a mock and asserting the fact that it neither deals with an error nor does it return anything useful (no Result).
I think the scooters being left in the middle of the sidewalk is more a function of people being shitty, inconsiderate, and lazy. Unless the scooters self park themselves or people who dump them get shamed I don't see how that fixes itself.

Personal bikes/skateboards get locked up and put out of the way because people have an active interest to keep them from getting scuffed or damaged, but that factor isn't present for a rented scooter.
Some of us have an audit log that tells when a record has changed. Others just use event sourcing.
> Software is buggy. Since when does a court accept the uncorroborated report of software, without any other corroborating evidence, and sentence someone?

Former PwC Auditor here , the court accepts evidence from independent IT Auditing company who are qualified to perform an audit on the system and asses the reliability of the system or from the vendor himself who provide proofs that the system he sells is reliable ( testing , certifications etc..)

If you're developer you'll probably agree with me that this approach is of course a "non-sense" because no software was ever created "bug-free" or can be really defined as "reliable".

Yet , that's how the court works : "The vendor says the software has no bugs , thus the court is rejecting the objection of buggy software. The court found you guilty"

I'm sadden by this news because it depicts how much the mixture of "bad software" and "corporate/enterprise software" are tied together and how much it can impact people on their daily life with irreversible impact.
> , so url bar tells you you're on a website

Is this even the case anymore? On Android, all my URL bars peel up into the top of the screen as I browse, and I'm pretty sure a website can capture the vertical swipe/arrange an inner-scrolling element to make it very difficult to quickly get the URL bar visible again.

I think that would be enough to trick most users. This seems like an unnecessary limitation
healthcare.gov's problem led to a rescue team, whose members helped to start USDS, whose members helped to start DDS!

To your first point, it'd be more accurate to say that many government offices often don't hire any programmers, which can (among other issues) make it challenging for those offices to select strong contractors.
I don't quite understand what that means but assuming it's accurate, why hasn't he done that yet?

Hasn't he been claiming he's Satoshi for years?
I think that was Camden, not Newark.
Somehow related to the general problem of lack of housing, in Toronto you could build laneway suites [0], and there is a proposal to allow backyard suites.

[0] https://www.toronto.ca/community-people/community-partners/a...
Exercise to burn calories is a proximate goal but not the ideal one. Calories burned during the exercise is, to your point, insufficient.

Exercise to reset metabolism is a better goal.

Takes about 6 weeks of very short HIIT sprints (4 minutes of high intensity interval training with 30 second intervals of anaerobic effort, along with 2 mins of warmup and 2 mins of cooldown) to shift metabolism into a rate that will burn extra kcalories at rest (an order of magnitude more a day than from the exercise itself).

Note that this type of HIIT can make people feel ill. Use an HR monitor and work with your doctor. You also cannot hit the necessary level of effort using most gym equipment. You need full body climbers (best, recruits 95% of muscles, easy to hit anaerobic sprints) or full body ergo cycles or rowers (recruits 80% - 90% but harder to sprint above VO2 Max).

The recalibration then also lasts 6+ months, and only needs 2 - 3 HIIT sessions a week to last indefinitely.

// And still, yes, what doesn’t go in doesn’t have to get burned off.
no privacy policy, no clear pricing breakdown, seems like a email grabber to me
Yes, someone from Fujitsu who didn't deliver quality software, refused to accept it _might_ be buggy.

>In the same speech, he said that the Post Office would work with the government to compensate the employees who were affected by Horizon’s inaccuracies.

Fujitsu won't even be held financially accountable for the suicide, but tax payers will. To me, it sounds like a great deal, delivery shitty software, bounce back any questions about quality, bugs, refuse to re-test software for given scenarios for years, but still get paid.
They learn much faster than chimps with cutlery though.
Can add another one that I was guilty of for several of my past startups. Believe in 'Make it and they will come.' Those went absolutely nowhere.

For my most recent startup ToonClip, I do a decent bit of marketing on 4chan, twitter, linkedin and the traction though not great is much better.
There was a TV series about it.
And all I can think of is programmers who want to spend time ensuring that their software is correct, but have “sprint goals” to meet.
DMX Will Be Remembered
You are missing out on the important point: printing forces you to formulate a hypothesis: what you expect and to compare with what you actually get. Debugging encourages less modeling and more trying random stuff until something sticks.

It is an exaggeration. In practice, it is useful to apply both. Novices can get some insight using debugging, more experienced with code base people should exercise their understanding of the code and use well picked prints.
That reminds me of the dragon book that goes heavily into VAX assembly and optimizing for CISC machines. Probably not the best resource for beginners or amateurs these days, but it won a Turing award at least.

The problem is what it means to write a compiler is pretty broad, some amateur projects focus on backend work, some on front end, many in between.
Much of it verifiable true. As in: I've sadly verified it myself for over a decade. The doublequotes thing for example has just been a habit for me, it hardly worked.

Getting captchas for inurl (or similar "advanced" techniques has also happened to me, but only two times that I can think of now.
Why don't test against a local SQLlite Database or a Database that is created on the fly. I think you should definitely test the Database logic.
I don't know why you're replying to my post with something unrelated to it.
When I was in school, the inch was 2.54005 cm. And I am somewhat less than 100 years old.

When was the inch defined as 2.54 cm? It was within my lifetime, but I don't recall the year.

[Edit: Looks like 1959, which is slightly before my time. It takes a bit for textbooks to catch up...]
Can you elaborate, I'm not familiar with this part

I know of the scenario where a man has to check in to jail when they cannot successfully pay the alimony or child support, which doesn't help their ability to do that. basically debtor's prisons.

are you referring to that?
Wish there were more resources about or tools for bidirectional parsing.
I always point to the case of three black teens arrested for the "crime" of waiting for the bus to a basketball scrimmage.

https://www.usatoday.com/story/news/nation/2013/12/04/charge...
Won't there always be racial disparities in policing outside of the police's control if different socio-economic classes commit crimes at different rates, and different races are differently distributed among the socio-economic classes?
Ha placing homeless people on mass into very small towns doesn’t help. My small town had a major influx of homeless from the big city and we didn’t have the resources or opportunities to help them.

Also you seem to be responding to things the original poster didn’t say.
I wish! I remember years ago on Slashdot people were really hyped about this "Ginger" thing that was going to change how cities were designed. Then the Segway dropped and immediately all these science-loving, future-thinking dreamers suddenly turned into NIMBYs.

The car-centric view has such a stranglehold on modern culture. Even in places like NYC you'll find pedestrians and public transport users dumping on cyclists or electric scooter riders, as if they're doing even a fraction to destroy the livability of the city as much as cabs and other large vehicles.
I’m not sure whether you’re arguing that this wouldn’t be noticed or if we cannot measure it statistically.

For the former, the side effect is blot clots with thrombocytopenia. That combo is very rare, is indicative of an autoimmune etiology, and would stand out to healthcare providers and be reported. Even if there were a few cases that were not identified or reported, it would not lead to a 2x order of magnitude difference in the reported incidence as you suggest.

If your argument is a statistical one about the study being underpowered, then show your math. Because this is definitely not a small n.

Otherwise, be careful about presuming that something in a domain unfamiliar to you is equally unclear to experts in that domain.
Judo (the mother of bjj) is seeing a revival in police circles.

It’s good to see grappling arts make a comeback, as there are plenty of non-lethal ways to make someone submit.

Edit: For cases where the police officer already is in control.
The project managers who demand one-hour turnaround on every feature request and mandatory overtime are to blame.
> We need Robocop more than ever in this country. Or Judge's like Dredd.

Both were a satire on fascism, I'm not sure they're the best examples you could find.
responding to an inappropriately-flagged response:

> I wonder when the US will fully recognize the North American Native Genocide and build a monument in DC - hopefully in proportion to the monument in NYC.

I wouldn’t be surprised if that happened fairly soon. The current Governor of California recognized it explicitly as genocide in 2019, as did the current Secretary of the Interior, while she was in Congress (and before she was appointed the first Native American to serve in a Presidential cabinet.)

That acknowledgement is no longer a universal taboo in the American political establishment, especially for the party currently in power.
Doesn’t BoxedWine emulate Linux kernel then?
It does make deep fakes less (immediately) intimidating, because they can't (currently) do anything a human impersonator can't also
I don’t think anyone questioning is reprehensible. I simply don’t think it’s too much to ask to keep that discussion to less public channels in the aftermath of his death, as it’s a fairly reasonable and low burden request.
it'd be relatively easy and cheap to solve this problem in a lot of cities by turning all the on-street parking into schooter/bike lanes. you can fit 2 lanes (slow & fast) on each side of the road. you'd eliminate both complaints about riding on the road and on the sidewalk in one fell swoop. and, you'd internalize the cost of parking to boot.
Suggest HN: Permit user to collapse all earlier sibling comments
Often on HN I read a tree of comments like this:

A
|
-- B, a response to A
| |
| -- the first response to B
| |
| -- ...
| |
| -- the ninth response to B
|
-- C, a response to A

By the time I get to C I don't know what it's talking about, because I've forgotten what A was. It's possible to collapse the thread under B, but it's a slow process hard -- I have to scroll back up, eyeballing the indentation to see when it reaches the same level as A2. And that's assuming there's only one comment thread (B) between C and it's parent; if there are multiple, I'd have to collapse them all.

Even better would be a "show ancestors" button, to collapse not only siblings above, but also the parent's siblings above, and the grandparent's siblings above, etc leading all the way back to the OP. (I would have made that the title of this suggestion, but I didn't know how to convey the idea briefly enough.)
I once had a client who decided to use an IP block that was registered to APNIC for their internal network. Made for quite the headache as I tried to track down why there was a ton of traffic supposedly going to China and Japan. -__-
The main problem I've experienced with bike shares (NYC Citibike) is that often enough, there are no bikes when you need them, and the docks are full when you need to dock them. This situation isn't frequent, but still common enough to be annoying.

The biggest benefit of e-scooters (and e-skateboards for that matter) is that you can fold them and take them into buildings. You can't do that with a bicycle - ok you can with a folding bike, but if you need to lug them for more than a few minutes they're quite heavy and cumbersome.
Breaking is just the default behavior when a breakpoint is hit, you can generally attach whatever behavior / conditions you want using the debugger's scripting language.
I never thought of this. Everything annoying about rental scooters applies to cars x1000. Not to mention the energy cost of moving a 2500lb vehicle and one passenger, vs a 60lb scooter and a passenger.
Is there some reason their position as a digfinex shareholder is relevant to their donation?
Viewpoints Research Institute concluded its operations at the beginning of 2018