skysight-inc/HackerNews huggingface dataset:
We just did a large migration, transitioning our deployment pipeline and front facing web server to a new set up. I stayed at work till like 4 am. Everything went smoothly.

The next day I woke up and realized I forgot to enable password protection on the staging environment. I opened up my laptop, navigated to the dashboard, add the flag and reload the config. 5 seconds later, my phone starts beeping. Tons of alerts that the production website was down and responding with "403 access denied". Immediately tens of people jump on Slack "website down?!".

Turn out, with my sleepy head, I added the flag to the production website instead of the staging website. And thus enabled password protection on the live website. As soon as I noticed, I undid it and in the end, downtime was roughly a minute.

Suffice it to say, I got slapped for this fuck up.
Except Inbox was so much better. Gmail is so heavy for what I want from email. Also, Inbox grouped emails related to a trip and showed a summary of the trip, from what I can see Gmail doesn't do this.
one of the perks of having big company sponsor the programming language. There are downsides, but there are some perks as well.
So the big difference in east coast vs west coast is the percent of unsheltered people. If you disregard whether people have shelter, the homeless rates are pretty similar between coasts.

One of the main problems is CA local governments are severely restricted from raising revenue. Property taxes are capped at 1% of assessed value, and assessed value is capped from raising faster than inflation. Other taxes require a 2/3 vote in order to pass. This means city governments are unable to capture a lot of the wealth increases that are leading to displacement among low income people.

This is a tough problem to fix, but it requires both money and a will to tolerate low income people in our neighborhoods.
If you consider a slide show "managing it", then sure.
Funnily enough the sprite based enemies were a real strength for Doom compared to many of the fully 3D games that came out in the next generation, including Quake. Because rendering full 3D enemies was taxing for the hardware you couldn't put too many of them on the screen at once. In some games more than 2 or 3 would cause it to chug. So you only ever run across one or two enemies at once in the games, unlike Doom that wasn't afraid to throw a swarm of pinkies at you because you just picked up the chainsaw.
Because then they make less money.
> you really can’t do FP without automatic currying and the function composition and application operators (. And $) in Haskell

But lambdas are enough to define these operators e.g.

(defn comp [f g] (fn [x] (f (g x)))
(defn ap [f x] (f x))

Operators and currying by default can use useful but it's a syntactic issue rather than a fundamental one.
A floating nuclear plant sounds like of one the most dangerous things a society can do. One of the problematic aspects of atomic fission energy plants are their failure behaviour. One of the most important aspects there is the containment of the pollution (in Fukushima they literally freeze the ground water under the plant so it is contained from below, too). If you are free floating in water, possibly even an ocean, you are about as uncontained as you can possibly get.
What's interesting is that Hispanic immigrants start from the bottom, yet they usually don't go very high up the social ladder, don't get an education, etc., while Asian immigrants become doctors. I wonder if anyone's done any real research on this.
Booking fees are not showing up , I tried the Empire State building, cheapest being $35 (Normal price is $38). There is a $3 booking fee per ticket.
Can someone explain the trend of mixing HTML and JS code that has been increasing lately? We fought for years to get away from that so I'm curious to know what happened to make people think it was suddenly a good idea. I'm not suggesting it's not or that it is permanently bad. I'd simply like to know why it's good after being considered a bad practice for so long?
Using Firebase’s Cloud Firestore in Flutter
1. Bill by the half-day, but don't charge for a 10 minute fix unless a client starts to get annoying.

2. In your first year aim for half of what you made the previous year. Take the best clients you can, but make sure you hit that or you'll stop. Don't take work that makes you feel icky.

3. Talk to people. Spend about 35% of your time doing it. Do work for free if you need to, but get someone talking one way or another or your pipeline will dry up.

4. By two years in you'll find a client that will make up over 50% of your billable. Do whatever it takes to make them happy. Even if you lose the client for reasons outside your control, make sure that the decision maker that brought you in feels like you did your best. They'll bring you in again, even if it isn't there.
I use portapotties all the time, they're not unicorns and rainbows but assuming they haven't been defaced, i.e. poop or urine all over the inside and not in the receptacle, they're just fine.

I don't see them as a dehumanizing thing. Shoot, nearly all construction workers use them as their office toilet, is that unacceptable?
Internet discussions suffer from lack of common context and bad faith arguments. People also like to argue for fun. Sometimes people intentionally misunderstand.

The effect I mentioned can only be detected when you talk face to face with someone in good faith and you both try to come to conclusion.
Some proponents of MMT strongly believe that we already live in a world where we fix private firm lending/saving problems by printing money, in the ways that for instance the US Federal Reserve makes 0-interest loans to banks. That certainly has economics and science studying that today.

A lot of MMT talks only about exploring better options for how that existing effort/flows is redirected, and if we would get testably better results from other more interesting configurations, not about creating some new tools out of thin air simply because they "want" to.
Or instead of putting in print statements, you could use a debugger. You don't even need to know which print statements you need, because when the program is stopped you can look at whatever you like.

Thinking is still required, but I don't recommend relying on it, since it's typically what gets you into this whole mess in the first place. At the very least, don't rely on thinking to guess what the computer is doing, when you can use the debugger to find out for certain.
It sounds like you equate 'generalist' with BSer, but the article's definition of generalist matches what you're advocating.

> Specialists’ work is coordinated by a product manager, with hand-offs between the functions in a manner resembling the pin factory: “one person sources the data, another models it, a third implements it, a fourth measures it” and on and on.

If you're taking the time to learn the domain, source the data and clean it then you fit their definition of a generalist.
I don't feel like baldness is something that needs to be fixed. To me that sounds the same as saying the genes for blonde hair can be "fixed".
Show HN: I3-env – make apps aware of your i3 workspaces (workdir)
Maine Lobster Boys
Looking for someone to copy parameters on a John Deer ECU for a 6125 12.5L engine for a lobster boat. This can not be done at John Deer as it is not a Program related to the serial number.
Thanks Tucker

http://Www.mainelobsterboys.com
You missed my point. All developers did was replace their mysql_* calls with mysqli_* calls but skipped out on the parameterising step. Sure they're using a parameterised capable API, but they're not actually parameterising their queries.

In the real world dropping the mysql_* API achieved next to bugger all, we still ended up with a bunch sites with exactly the same SQL injection vulns.
I can only speak as a tourist, but if you’re out in the wee hours of the morning in London you can see plenty of folks sleeping on the street. I’m assuming that come 6am or something they’re told to move along.
Official statement is that only Java, Kotlin and C++ matter.

Check their latest AMA on Reddit.
...you don't _have_ to rent a $1800 room.
It would be nice if they would release it. However GPL doesn't require them to do so. [1] They only need to give the source to the people whom they also give the binaries.

--

[1] http://www.gnu.org/licenses/gpl-faq.html#GPLRequireSourcePos...
> How many times have we heard parents say, “Oh, they’ll make new friends,” as if the relationships of children are so shallow and contextual that they can be swapped out like last year’s lunchbox?

This is where the author loses me; for several reasons

1) Parents might have several reasons for severing a child's friendship, whether relocating for a job, disagreements in the adult relationship, or disagreements in moores and values.

2) People will experience loss in many types of relationships. It doesn't mean they were worthless, in many ways this grief means just the opposite. It's similar important for people to be able to create new friendships with new people.
Are you asking how much it costs to get a medical degree as a UK citizen?

In England* there is a cost (£9250/year), but it's slightly misleading to think of it like that because of how Student Loans work here.

You pay nothing on your Student Loan up to a certain income (£25k, or $33k), 9% past that point, and then the remainder gets forgiven after 25 years. So in practice, it's an additional marginal tax rate for having gone to university.

(* different elsewhere in the UK - e.g. free in Scotland)
> calling the backend via simple subprocess/stdio communication

why is this faster/better than the frontend calling the backend through say, nginx proxy_pass or REST HTTP calls?
>Look at the results of the privatization of European national railways.

I don't know enough about (Western) European railways but I have data about American and Russian railways. Russian railways are controlled by a single government entity and they are a corrupted disaster. Americans tried to nationalize their railways in 1800s and all it led to was higher costs and worse quality.

My observation is that everywhere where markets are let free people get better results. It's true that most markets aren't free but it's not because of the markets themselves but rather because of the government staying on the way.
With your experience, what solution would you offer knowing the situation better than many here?
This looks awesome! Do you have any info about publisher payout rates, or how the revenue earned (like RPM) compares to, say, Adsense? I'm psyched to try it :)
What? How does "a group concerned with social issues" translate to "unruly, malleable, intolerable, unprofessional mob" ?
Why does the pension have to exist? Why don't they just get a 401k and get off the books.
Once you're homeless your chances of scraping up the $100+ for a bus ticket across the country are basically 0. When your homeless your biggest asset is your local knowledge, where you can sleep, where you can work as a day laborer for a few bucks, etc, etc. and you'd be giving that up by relocating. Hence most homeless people do not relocate. The homeless guy in Bangor is going to find somewhere he can sleep inside.
https://riscv.org/risc-v-books/

This list has three books, including the one recommended elsewhere in this thread. There is a much cheaper introduction as well.
Indeed :-( You got us! We need to fix this case.
Can someone please rank languages by economic value added? Sample job openings and salary info from glass door and job search websites, then add some data points from LinkedIn. Finally try to guesstimate the value add as a percentage of companies market caps?
I have been working as a consultant/contractor since April last year.

Writing a lot of good blog posts is the best. Sometimes people contact me directly via my blog.

Now software developers are shortage, so you can find your clients easily. Good luck!
Indeed. And it's already open again.
The trick is how to get smart people interested in government jobs.
It's interesting how it clashes in technical circles, where a lot of things are very much black or white, and there a culture of terseness and going to the point.

The place I worked had that smooth and human focused vibe for the HR and marketing dept, and a mildly confrontational and straight to the point bias in the engineering dept.
> I don't think it's actually that terrible as long as privacy is respected.

Surely we're well past the point of pretending that will happen?
>will probably die of hunger

It looks like you’re in the US. You’d have to try quite hard to die of malnutrition here.
Programmers work with syntax. If syntax is cumbersome, programmers are inefficient. Syntax should be optimized for what the language wants you to do. Languages that just bolt on lambdas seldom are optimized to use them effectively. They're optimized for some other abstractions.
I agree. I have many well paid friends in tech, who bristle when I blatantly say "Everyone is 3 steps from being homeless - the steps are just a little larger for some". They fail to see how .... a sickness, a lost job, etc can lead to that path.
The author of the HBR article works in a subject where literally nobody can be a specialist of the type he needs unless they work at his company. He's basically saying "this is the kind of data scientist I need; someone flexible enough to learn about my weird problem." He's also requesting a DS which can do everything from soup to nuts. That doesn't mean it's good for a DS to be a generalist.

FWIIW I am a generalist DS type (arguably just generalist: database engines, blockchain, ML, DSLs, etc), but it's almost entirely because I'm easily bored. From an optimization of my paycheck and hours worked point of view, going deep in one area nets much larger paychecks and a nicer (aka fewer hours) lifestyle.
I'd agree generally. I pretty much have only used debuggers when reverse engineering something or when I'm so hopelessly unable to see what the problem could be that I start suspecting the compiler might be at fault.

Even when reverse engineering something it's best not to get bogged down in the instruction-by-instruction details and instead try to follow the general program flow and reason about how you would do something if you were in the programmers' shoes.
> The biggest change to come to the toy industry as a result of YouTube, though, is in packaging. Toy brands are riffing on the unboxing trend by developing special boxes or wrapping that specifically look good on camera, and by creating as many surprises as possible.

Nah, they are making the unboxing more elaborate.
Hey, you should definitely check out Python Play, the games/graphics library @amasad mentioned: https://github.com/replit/play

It's uses similar language and a Scratch-like execution model, so you can do things like this:

face = play.new_text('^.^', font_size=100)

@face.when_clicked
async def do():
face.words = '*o*'
await play.timer(seconds=1)
face.words = '^.^'
It's gross to say that making a living by creating art that people love is an "aberration." It's not like recorded music is unpopular--it's more popular than ever. But for some reason, now people are bad for expecting to make money creating it?

To be clear, there is still scarcity: new music you like is scarce. That is universally true; new music doesn't just appear, it has to be made, and until it is made, you can't get it. That is the definition of scarcity: "the state of being in short supply."

Music in general is not scarce, but some music is more popular than others. Shouldn't a normally functioning economy account for that?

New recorded music from Daft Punk is in short supply; it is scarce. Are the members of Daft Punk an "aberration" (definition: an unwelcome deviation from normal) for wanting to be compensated for reducing that scarcity?

How is that different from a new video game being released? For all of human history, we've been making and playing games. Is it an "aberration" for people who make video games to want to get compensated for reducing the scarcity of new games?

If we want to play the "doing it for love" game, then let's be clear that you, and anyone else, is welcome to make music for free, play it for free, record and release it for free. There is nothing stopping people from doing it for "the love"; in fact it is easier than ever to make music for free.

But it is IMO abusive to then say, well doing it for free is the only acceptable norm, just because they like to do it. I like to work with computers, but guess what: I also get paid do it. I bet you do too! Why is that normal for you and me, but an aberration for musicians?

Usually when people talk about "scarcity being gone" they mean that digital files can be copied and distributed with almost no marginal cost. Well guess what: so can financial instruments. Should we stop charging for Apple stock just because Apple can create new stock at the click of a button?

Why do supposedly digitally-savvy folks get so hung up on the fact that music comes on digital files? Lots of things come on digital files, like your direct deposit salary payments. Does that mean money is not scarce anymore?
> Their behavior may not affect you but I can guarantee that it affects other people, such as myself.

Assuming "their behavior" means that of the Chinese government, then I can assure you that I have also been affected.

> I believe doing what's the morally right thing to do is more important than earning a few extra bucks.

And nobody is going to disagree with that. Nobody who earns a few bucks thinks that they're morally in the wrong, but does it anyway. And it's not because they think that the Chinese government isn't evil either. They simply don't see a connection between what they do and what the government does. So arguing that the government is evil doesn't change anyone's mind, because they already agree with you on that.

You'd do better by focusing on the direct consequences of specific actions. E.g. if a Western company storing user data on Chinese servers led to the arrest of an innocent person, that's a much stronger argument than saying that you shouldn't use Chinese servers because the government is known to arrest innocent people. Otherwise the connection just isn't there.
Why? What difference does it make? It feels like arguing about whether or not a hot dog is a sandwich.
> Yet you can absolutely write: > String str = "hello,"; > str += "world!"; So
it's "immutable" for some lawyerish definition which does me no good.

`str` is a mutable reference to an immutable object. You can make the
reference point to something else, but the object being pointed to is
immutable, so eg if you pass it to a function, that function cannot change it
under you. If you want to make the reference immutable, declare it as final. I
don't think understanding the difference between a pointer and the value it
points to is lawyerish.
Which shouldn't be confused with the type of fracking we normally do.
Reading the article, a takeaway message seems to be that overcrowing in prisons made the per inmate cost lower.

Example: there were four prisoners to each guard. Now there are two.

That just increased the per inmate cost.

Harvard probably has fewer guards per inmate.

Maybe more prison automation could help? But I wouldn't know.
> Structures of the sort you are describing only work decently in small villages where people all know each other

This hasn't been my experience at all. I live in a developing country. I've also spent significant amount of time in two cities: one with a population of 13 million and one with a population over 1 million.

In both cases, there is lots and lots of housing just like the OP describes. It works fine in a big city. It doesn't require a village.

There's an old lady who lives down the street. Her "house" is about 1 meter by 3 meters and is two levels. She sleeps upstairs and cooks downstairs.
> I had the idea of starting a charity to rent port-o-potties for the homeless encampments near our office. For context, my company is filled with _completely_ woke people, super concerned about social justice and stuff like that...

You might find that this kind of disconnect is very common. In San Francisco, for example, there's broad and strong public support for providing housing and care to the homeless among us. Yet a great deal of this support vanishes once a particular site is proposed - the same people who like the idea of helping the homeless frequently don't like the idea of doing so right next to their homes.

It can be difficult to blame them too much. Nobody likes dealing with the used needles, petty property crime, and fires that seem to go hand in hand with encampments here. Most everyone would much rather help those in such dire need at arms-length.
Hey, I could probably answer this one without needing to read the article, as I have literal TONS of robots in my solar facility.

You know those nice multi-tens-of-thousands-of-dollars Japanese robotic arms? We ditched them because it was just as simple to build our own robotic arms with basic framing and motors.

At a literal tenth of the price ($70K for our Kawasaki armature, $7K for our hand-built array of framing and motors with vacuum lines for picking up and placing solar cells.)

Our in-house robot runs faster as well.
> Once you're homeless your chances of scraping up the $100+ for a bus ticket across the country are basically 0.

Read the article I linked. Quite a few cities are happy to subsidize such a bus ticket, as you become someone else's problem.
You know none of those things you said are actually a reasoned point, right?
No they are oblivious. I've asked more people than I can remember and all of their responses were a variation of "free stuff".
I also feel worried when my Ublock Origin warns me with big fonts. At least you can go with an on-premise option (e.g Countly, Fathom etc). Both can be deployed on a Digital Ocean instance via Marketplace in less than 60 seconds. Then, make sure you change your privacy policy to reflect that you don't share data with 3rd parties.
For the same reason that the insurance exists in the UK - when my family lived there, my sister had an issue. The choices were crappy slow "meh, but it will get better" NHS service in 6 months or deal with it within a week in a private hospital covered ( mostly ) by the insurance. We picked the private hospital and everything was resolved within 3 weeks.
I'm really curious about this -- I actually left Austin to move abroad a while ago, and do contracting (which I erroneously call consulting, though I do also consult). While I plan to return to the US I never considered returning and continuing contracting.

Based on what you're saying I'd expect that yearly base salary to be over 200k (based on what it was like in Austin years ago), would you mind sharing how you've found good and/or consistent clients which pay you at that rate? Is it mostly bigger companies? Smaller startups? Multiple contracts at a time?
He used to be. Like many rich men who are image-conscious he seems to have had a hair transplant procedure. Look up images of him from the late 90s, he was clearly balding.
Birthday.pizza – It’s probably your birthday, somewhere in the Solar System
Overtourism is a problem in many places, but not everywhere.

The real issue is that people keep going to the same places as everyone else, instead of checking out the less-traveled places.
Defiantly thinning, but not bald[0].

[0] https://upload.wikimedia.org/wikipedia/commons/1/17/Elon_Mus...