Better HN
topnewbestaskshowjobs
Log inSign up

pricecomstock

238 karma · joined Feb 8, 2019 (7y ago) · 37 submissions

Submissions

comment 2y ago · link · parent

I have it on my website (https://packagepicker.co) in only CSS by using `flex-direction: column` and setting a best-guess max height with several breakpoints. Unfortunately it does break down in some situations because some pages have many fewer selections.

My order doesn't super matter but I do like to maintain it. I tried for a long time using CSS columns but I didn't have good luck with that either, though I can't remember exactly why

comment 2y ago · link · parent

They would think they are the original you, but I think the GP was saying that the original perspective would continue on the original consciousness-continuity/body/hardware.

Cloning a hard drive can produce the same data, but without any networking, there's no reason for the original machine to know anything from the perspective of the new one

3.

Show HN: PackagePicker – checklist for bulk installs with your package manager(packagepicker.co ↗)

4 points · by pricecomstock · 3y ago · discuss

comment 3y ago · link · parent

I've done something like this and it's not too bad with the Poisson distribution.

You can pick a time interval and the average amount of times an event (scoring a point, for example) that occur in that interval and get a realistic random simulation.

The time period could be a whole game or every 30 seconds during a game.

Unless there's something about cricket I don't know that makes it a bad match for this

https://en.m.wikipedia.org/wiki/Poisson_distribution

comment 3y ago · link · parent

A few things that are well-covered in this thread, but my personal favorite is PicoShare. It is a nice, simple self-hosted file sharing app that fixes a lot of issues with other solutions.

Email has size limitations. Many services don't like to share .exe files. Some will apply compression (unlisted youtube videos). I like this because it's a simple app that allows you to share files with others, and give them a link to share files to you.

https://github.com/mtlynch/picoshare

http://pico.rocks/

comment 5y ago · link · parent

If you read the article, it is very clear and direct about being a commentary on Low Tech Magazine

comment 5y ago · link · parent

Hey I made that comment! I assume Waymo has thought about it. I assume lots of people at Waymo have spent plenty of time in NYC. I also don't say that this was impossible or I think it will fail.

What I do believe is that there are tons of edge cases, and diminishing returns with trying to solve for all of them. And, I would guess that it will take quite a while (the decade I mentioned) before self driving technology is capable of making >95% of trips autonomously without extra issues that most human drivers would handle.

Additionally, I think there are moral and comfort issues with AI that need to be addressed. This is speculation, but Waymo likely aims for the appearance of safety and tunes things to be overly cautious. That is at odds with some of the dynamics of driving in NYC, where you need to be assertive and maybe even risky, and I'm curious to see how that will play out.

I can see how it sounds like I'm just shitting on this tech. My intention was more to describe that self-driving in NYC is maybe even a harder problem than it sounds, and possibly an overreaction to the hype about this technology. I think about it pretty often when I'm driving or biking and encounter situations that seem very difficult for a computer to navigate.

comment 5y ago · link · parent

I was curious! But not too curious, since this maybe describes most of the on-ramps to the BQE

comment 5y ago · link · parent

I agree with you in principle about not blocking the box. But in practice it's not always like that. Sometimes the actual light timing needs to change. Sometimes the roads need to just be different than they are to prevent bottlenecks, which is a pretty expensive fix

Sometimes you roll up to an intersection, and every time the light turns green, the direction you're trying to go already has all lanes filled by another approaching direction. Every time.

comment 5y ago · link · parent

Sort of. The issue is that it's not just "waiting for a turn", it's often "start changing lanes into a small gap because you know the human drivers will make space and let you in". In which case, what you're saying is "drive more aggressively if there's a large time penalty for not doing so", which is at least a mildly uncomfortable criteria to put into a computer algorithm

comment 5y ago · link · parent

As someone who both bikes and drives around Brooklyn, I would bet this is going to be nearly a decade of testing. There are so many edge cases that I encounter on almost every single trip, and I just don't see anything but very advanced AI handling it

- obvious, but large numbers of pedestrians and cyclists

- 2 way roads becoming 1 lane where the directions must take turns due to construction, deliveries, or the Uber in front of you stopping in the middle of traffic for a pickup

- resurfaced roads that don't have lines painted on them for weeks or months

- congested intersections where you'd probably need to wait 3 hours to pass through legally, so you have to just pull into the intersection trusting that traffic will clear when the next light turns green

- pittsburgh lefts need to happen for the sake of traffic flow sometimes

- sometimes you need to do very human and assertive "negotiation" to get into the lane you need.

- another comment mentioned Waymo cars just rerouting to the next turn when no cars would let them in. There are a decent number of situations where that will cost you 5-30 minutes of extra trip time

- you can disrupt traffic flow quite badly if you e.g. don't pull up to the crosswalk, and out of the way of cars behind you, while waiting for pedestrians to cross on a turn (humans are also bad at this)

- it's difficult to overstate how often cars/vans/trucks are double parked, changing the lanes available, forcing cars and bikes to improvise lanes. This isn't an occasional thing, this is a 10x on a 15 minute trip thing

comment 5y ago · link · parent

Your algorithm does appear in Section 3.1 of the linked paper by the name "Exchange Sort"

comment 5y ago · link · parent

Your quote is a wild guess by them. The malware explanation after that sounds much more likely

comment 5y ago · link · parent

I don't have any numbers or sources, but I'll chime in as someone who limits beef intake solely because of environmental reasons. I don't cut it out completely, I just stay mindful and only eat beef when it's meaningful. So trying something new and interesting, special occasions, or when I otherwise will really savor it. If I'm getting fast food or just eating to eat, I steer towards chicken, eggs, or vegetarian options.

comment 5y ago · link · parent

There were only ever 8000 confirmed cases of SARS-CoV-1. It was able to be contained. Wikipedia mentions that quarantines were very effective because it wasn't often asymptomatically contagious.

https://en.wikipedia.org/wiki/Severe_acute_respiratory_syndr...

comment 5y ago · link · parent

Do you think they actually physically piled up corpses in nursing homes? Do you think a nursing home would allow a photographer inside to take pictures of random individual dead bodies?

Doesn't it seem likely that the piles of bodies outside in refrigerated trucks were way more photographable, and like the nursing home bodies were not all in one place, or were too identifiable as individuals?

I'm sure there are photos of unidentifiable bodies being wheeled out of nursing homes. Here's one: https://www.aarp.org/health/conditions-treatments/info-2020/...

comment 5y ago · link · parent

I generally agree and don't know how well this holds up, but reading this article when I was around 20 really broke me out of some entitlement and helped me start working on myself. I think it made me view things less selfishly and think about other people's perspectives more. So I do think it works for the question asked here

comment 5y ago · link · parent

Yes, my first instinct from this title was "oh no, is my gas bill going up by 10x?"

It is not, at all

comment 5y ago · link · parent

Yes, FaceID uses actual depth/distance data by projecting IR dots during scanning. So you would either need to very precisely mock these somehow, or create an actual 3D surface.

https://support.apple.com/en-us/HT208108

comment 5y ago · link · parent

I have used this system in certain areas before. It's decent. But it's interesting to read about if you're in the mood!

https://johnnydecimal.com/

comment 5y ago · link · parent

At least in the part I'm looking at, this was still true at the end of May but is not even close now.

comment 5y ago · link · parent

I don't think you're wrong, but consider that posting "I heard" with no source is pretty close to just posting misinformation

comment 5y ago · link · parent

I think there is value to reading 20 10-minute articles on the internet. I think there is a different kind of value to reading 1 200-minute book.

I like the knowledge I've gained from reading lots of articles. The problem comes up because I have to very intentionally choose to read a long book instead of defaulting to many short articles. Over time and in large enough quantity, this feels subjectively bad. Like I'm overloaded with information and lots of different perspectives, but without much of the depth, nuance, or understanding that can come from really sitting with one topic, world, story, or point of view in a deep and extended way.

I think the internet is amazing for providing the torrent of information it does. I just found that, for me, I was drawn to the bright, shiny, always-new, always-now nature of it at the expense of reading books. As I've made more of an effort to read lately, books feel like a different kind of information intake, and I like diversifying in that way.

comment 5y ago · link · parent

Silence? Or just force him to use the means of communication used by every other president in history?

Obviously there is some interesting power here that I'm not sure if I feel comfortable with Twitter having, but having to use press releases and TV speeches instead of hammering a first draft tweet out into the internet is what the vast majority of presidential communication has been

comment 5y ago · link · parent

Not all sets of numbers follow Benford's law. https://youtu.be/etx0k1nLn78?t=442

comment 6y ago · link · parent

I would say Andrew Cuomo has handled it decently as a public health crisis, and handled it very well as a means to improve his reputation.

comment 6y ago · link · parent

For anyone who doesn't want to download something extra and is willing to DIY the launch shortcut, you can do this with Firefox (and Chrome too I believe).

1. Go to about:config and set browser.ssb.enabled to true.

2. Restart Firefox

3. Click ... in the address bar and then "use this site in app mode"

4. Launch directly from command line or shortcut: firefox -ssb "https://news.ycombinator.com"

comment 6y ago · link · parent

I'm not sure about React's capability with this, but Vue can very easily run with no build stage. You can load Vue from a CDN and use a couple lines of JS to point it at a DOM element in your app. Then you can write a plain JS Vue object (what goes inside the <script> tags in a .vue file), and all this logic will apply inside the element you pointed it at. You can also write components, although that gets a little clunky without a build stage.

This has allowed me to do things like create Vue-based tools in a locked-down corporate environment where I was not able to install Nodejs on my machine.

comment 6y ago · link · parent

Do this! I procrastinated on switching from Chrome to Firefox for several months because I wasn't sure how much time and effort it would take. I set up a monthly donation to Mozilla during this time because it was easy and supported browser diversity.

When I did finally switch, it turned out to be pretty easy and fast to transfer my bookmarks and passwords to Firefox, and there are some features like the built-in containers and add-ons like Tree Style Tab [0] that I find pretty valuable.

[0] https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta...

comment 6y ago · link · parent

Here's a Numberphile video that talks about embedding graphs. I think this happens because the subset of graphs that are able to be embedded in a plane is actually fairly limited.

https://www.youtube.com/watch?v=xBkTIp6ajAg

12