21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 7y ago · link · parent
Often big CRUD apps with a lot of business logic tend to have higher level, "logic flaws" that generate bugs. In those cases having something like `rr` to trace the origin of certain values would be a godsend.
I think these apps tend to be very wide in breadth, where instrumenting the entire system can be hard. Languages like Python (with `pdb` being a single-line in the middle of a program) are great in these scenarios because it allows for a pretty exploratory strategy when debugging.
Unfortunately there's a lot of people who do "print statement debugging" because the tooling really isn't practical in most places, but it would definitely be useful.
comment 7y ago · link · parent
The simpler explanation is probably that the business climate is super risky if you're the foreign partner in any sort of JV with China, and they thought they could work through it through ... charisma and sweat and tears. And it turns out that in fact it is hard even if you're some techy VC or w/e.
I think few question what the gov't is doing, but the question is more whether YC in particular was affected by actions in the past year that caused them to reverse course.
comment 7y ago · link · parent
https://www.amazon.com/Marpac-Classic-White-Noise-Machine/dp...
It's a fan in a box, with a certain shape so that when the fan is spinning it ends up generating a nice sound.
Thanks for the info
comment 7y ago · link · parent
Just an FYI, while this is basically true for neurotypical people, for some people (for example those with ADHD or who might be on the autism spectrum), there's difficulty filtering, so this ends up just adding cognitive load rather than accomplishing a filtering effect.
To use a dumb visual analogy, imagine you tried to hide some carpet stains by putting another rug over it. Some people can partially see through rugs, and so now they have to deal with the rug _and_ the carpet stains.
Of course this stuff is still worth trying out, ultimately a lot of these kinds of things are deeply personal, and it's pretty easy to try.
comment 7y ago · link · parent
> As people got educated and had more free time, they may have found other venues to communicate and exchange ideas.
The point is that in this particular case it was the coffee shops. They were popular, they were profitable, they were lead by “literate people” (something to think about).
It’s interesting to think about why this thing happened in these kinds of places. There are other examples of revolutions instead being triggered from religious places, from work places, from battlefields... the “non-uniqueness” is debatable.
Even just the tidbit about state power being unable to outright shut these down. There are so many axes you can go down when thinking about it. There’s the power struggle itself, both between state and capital and between state and the people (which ones though?). There are difficulties of empire. There’s so much.
Good stuff is available here
comment 7y ago · link · parent
- mandatory keyword arguments
- multi-dict splatting
- nicer yield semantics for generators
- Fixing system-specific encoding ambiguities
- dataclasses
- inline type annotations
- better metaclass support
- more introspection tooling
- pathlib (for nicer path handling)
- mocking pulled into the standard library in a cleaner way
- stable ABIs for extensions
- secrets handling
- ellipsis instead of pass (yeah who cares but I care)
- lots of standard lib API cleanup
All of this is very helpful for making clean applications. But I would say it's _very_ helpful for making good libraries as well. This stuff is about having a strong language foundation to avoid plain weirdness like the click issue .
Obviously it doesn't kill all of them, but there used to be even more of that kind of thing all the time. Library issues would basically get exported to its users, all basically due to language problems.
comment 7y ago · link · parent
"Dealing with unicode" is really just about dealing with it at the input/output boundaries (and even then libraries handle it most of the time). But without the clear delineation that Python 3 provides, when you _do_ hit some issue you probably insert a "fix" in the wrong space. Leading to the classic Py2 "I just call decode 1000 times on the same string because I've lost track"
comment 7y ago · link · parent
Organization of people involves power dynamics. Maybe you can make an argument that something like holocracy generates an apolitical environment, though I think that doesn't hold up experimentally.
Management deciding whether or not to increase vacation days is a political act. Employees deciding whether they want to stand together in negotations with management or handle stuff individually is a political decision. Hell, trying to push for more/less meetings in day to day work is a political act.
It's pretty hard to have any sort of organization without the political aspect coming into play immediately.
comment 7y ago · link · parent
Saying "oh we should keep the office apolitical by not having a union" is a political act. Saying "oh we shouldn't complain about the kind of customers our emplyoer has" is a political act.
Acting in opposition to political acts is in itself a political act. The apolitical thing to do would be to _not intervene in others' political processes_. If mgmt let its employees organize labor actions with the same willingness as a movie night, then they would be acting apolitically.
comment 7y ago · link · parent
comment 7y ago · link · parent
- The drawers are all basically impossible to use without fully opening the door, but (see above) fully opening the door makes it swing back super hard as well so now you're fighting two different parts of your fridge at once
- It's huge but somehow the space inside the fridge is super small compared to comparable fridges. Probably a shelf thing.
- Some of the design leads to little cracks that are hard to clean up without pinching yourself with the door.
It's basically door-related stuff but it's also stuff I don't experience with my ... $200? Fridge from Hitachi. I feel like my own fridge is fine. It's a fridge. Nothing to write home about. It would probably get a wirecutter recommendation if they did "small-ish fridges for 1-2 people"
comment 7y ago · link · parent
My thesis on this is that people do what they can get away with. If you think you can get away with really low quality stuff, you do that.
Definitely helps to have a housing shortage, where there's probably no other choice anyways. So everything is cheap (since there's no incentive to make a nice place. You're gonna get someone in the apartment anyways!) and so nobody actually knows what "nice" is and just assume it's normal to be able to punch through your door.
comment 7y ago · link · parent
I am American. I grew up in Texas and generally feel at home with other Americans (to a degree, politics is weird).
At times in my life I’ve thought about moving back to the US and I still thought that it was easier to pay the quality of life costs of being a foreigner in other countries (being half illiterate and having a hard time with banking and real estate) rather than deal with the quality of life gap in the US.
My life would not be bad in America, but I feel like it would be less comfortable. In the future the feeling of belongingness might outweigh this, but right now that’s not the case, and it makes me sad
comment 7y ago · link · parent
I go to peoples houses in the US sometimes. Some of these houses are multimillion dollar homes. The doors are all terrible. The plumbing is crap. The furniture just feels bad. The cheapest studio apartment in Western Europe or Japan ends up with better infrastructure than the $2M duplex in California
Then you get to grocery stores, and you have to go to the “fancy places” to even get the baseline of quality you see in the rest of the developed world. All the chocolate is bad.
My dad has a really expensive american-made fridge. It sucks. The UX is awful and it basically just looks shiny.
Maybe this is the result of 30 years of wage stagnation. I like to think it’s the result of people not really traveling abroad (reasonable! It’s expensive and far away). People don’t get that so many other places are just nicer and have higher quality things for cheaper.
There’s some quote about how somebody was super poor when growing up but was fine about it because they didn’t realize it. I think about that all the time when looking at some stuff in the US.
comment 7y ago · link · parent
If you have to make a backwards-incompatible change, you probably need to make your service support two different API versions for a while, and hunt down services that are calling old stuff for a while.
This is basically how you can move forward on improvements without coupling "improve this microservice" to "update every single other microservice that is calling to it".
Though I believe part of the theory with microservices is that since you are working on such tiny surfaces, most services will never need to roll out a backwards incompatible change
comment 7y ago · link · parent
If you update the business day library, then you also need to bump the version of this lib used in your 100+ “real services”, or risk some services seeing differences on this front.
Imagine a bug from different logic due to version differences between libs in a distributed system. Would be a mess to debug.
If you say “oh well services should just install latest” now you have the distributed monolith problem. A new version of a library could get pushed out but have a regression bringing down half your services
comment 7y ago · link · parent
Group work means that more successful groups can probably get pretty far on their own without needing much teacher intervention, freeing teacher resources for less successful groups.
Group work also means students can help each other, and the "teaching" students can get experience in passing knowledge to others, the "taught" students also get attention and help from their peers (hopefully in ways that improve student relations more than harm them)
This kind of work can also be a bit freeform and usually ends in a "real" work product, so students can feel pride in making a thing, and in being in charge of what is going on.
The difficulties are mainly around evaluation and resources. It's hard to generalise evaluation of this in the same way as standardised testing does (which is more of a problem for means testing than for actually educating people).
Teachers also probably need to be more prepared for these kinds of things, because students will end up in a variety of situations that the teacher might not have ever seen before.
But the elephant in the room is just money. Try to do a robotics thing, and now you gotta buy a bunch of equipment. Same for lots of stuff involving computers. In other domains it could be easier (I had a math class that worked on this model, and the costs were basically the book and the calculator), but there's a need for money. Too many teachers are already fronting relatively inexpensive stuff like stationary.
comment 7y ago · link · parent
The idea isn't to just get rid of private schools, but to take money that goes into that and finance better public education (which can still include ways for people to move around if needed!)
Having a separate world for the rich means that kids who "don't fit in with the crowd" but don't have wealthy parents won't have any way out.
In an alternate world where more money is invested in the public system, having wealth would no longer be a necessary requirement for having access to alternatives.
comment 7y ago · link · parent
Even others (a plurality I think) don't have strong feelings on the laws, but know one of the following: - the executive has selective enforcement rights - (at the time) congress + the WH could change laws! - the laws were written with an understanding of selective enforcement
and so rightly recognized that this was a bad thing that could be made right.
There is an n-sided die about how people see this problem, and people acted in accordance to it. And yeah, it means that some sides don't believe in the legitimacy of other sides. They're incompatible after all.
Besides, it's not the point. The point of the game isn't to make a set of meta-rules for defining what is morally right. It's for, on a case-by-case basis, to say "this thing is good/bad" and then act on that.
I don't need to be able to answer every moral hypothetical to be able to say that _this one specific thing is bad_. To bring it back to HN, it's a P=/=NP problem. I can say one thing is good/bad without providing the full strategy for determining every thing. And then we work from there.
comment 7y ago · link · parent
This is the whole point of everything. If you believe strongly in a thing, then you should fight for it. And other people in society will judge you for it (rightly so!)
So yeah, you decide that you care enough about "sanctity of marriage" so you decide to not sell cakes. So everyone who disagrees with you boycotts your business. Others believe that sexual orientation is such an important thing that they make it illegal for you to do this! This is how stuff happens!
There isn't some sort of rules-based pre-judgement for this sort of stuff. It gets played out over time. And you're responsible for your decisions in this front.