skysight-inc/HackerNews huggingface dataset:
I actually find this very unsettling as I was about to post a last ditch "advice or help" post with lots of potentially identifiable details required to relate the story (and would have had to ID myself to anyone helping anyway) and don't feel safe doing so now, because the police being called to my home would result in more problems for me and potentially total loss of agency. Even if I could avoid being taken in against my will and saddled with huge medical bills I would likely lose the last place I have to stay as it is on shaky ground as it is and the cops showing up here would be just the excuse they need to send me off.

Nothing in your linked post said you were in immediate danger, you just sounded mildly depressed, and lots of people have ongoing suicidal thoughts for very valid reasons like my long term health issues that some intervention like the above won't help at all. Getting me mired in debt and being buried even more in life, and locked in a mental hospital, won't help me. I am glad things worked in your case and it was as simple as having a wake up call, but lots of us can't afford for someone to involve the authorities, who in my country at least are not remotely allies in these situations. Glad now I was smart enough not to post/email from an identifiable connection thus far, and use a pseudonym with the one person I have spoken to from the forum, but knowing this place people are smart enough to still ID me despite those precautions.

I spent last evening writing and editing the draft...trying to anticipate all the ways people would respond with the things that have never worked and trying to paint an accurate picture of my situation and needs. I was going to post it today hoping THIS time something might work out. But your post has just reminded me that it's far more likely someone is going to negatively enter my life than help...as has been the case over and over.

If people want to help (with the exception of POSSIBLY someone saying "I am doing it now goodbye") they should talk to US directly not call the cops and create potentially huge problems. I find the lengths he went to to ID you so incredibly uncomfortable.
> Broken C code threatens your entire computer.

As does broken hardware.
Not usually, though perhaps if you've added a master password? It's the same reason why if you install a new browser it generally allows you to import bookmarks, passwords, and probably other stuff from an old browser.
More legal advice is always nice but it costs and may not add significant value. Registration tends to be straightforward and necessarily formalizes ownership structure to a significant extent. That said, lawyers may be useful for contracts. If the OP has concerns about registration costs, my advice would be to hold off lawyers at this stage and get a customer first.
We use both mainly because of architectural differences, but would love to learn what are others using on Kubernetes and what is their experience?
Well yeah. The appropriate reaction here is to assume that the company is shipping malware in the product regardless of what particular format.
This is like the aeronaurical version of swerving to miss a squirrel and hitting a tree.
Ideally your ISA would provide adds that wrapped, adds that saturated, and adds that threw an exception on overflow.
I wonder if there wouldn't be a solution to diff a spreadsheet by analysing the grid and the formulas, recognising patterns (formulas dragged accross), then creating a code to generate that spreadsheet, converting patterns into for loops. If the spreadsheet is reasonably consistent and logical, the resulting code shouldn't be too large. Then you would check in the resulting code in a normal git server. That would allow you to do merge and diff, and to be able to regenerate the spreadsheet from code.

Easier said than done given it has to deal with array formulas, formatting, etc. But it should be doable.
The cleanup of NYTS was essential in getting tourists to keep going to new york as well as make it a livable place --companies were all moving to NJ for tax and quality of life reasons.

I really do not miss all the sex shops and prostitutes, pushers and all around hustlers who used to have a run of the place. I for one am glad they cleaned that up.
Latex-mimosis: A minimal and modern template for your thesis
Extension replaces in Facebook the predefined question ‘What’s on your mind?’
Thank you very much for the amazing feedback.
That is what I'm also thinking about, but the starting point seems to be quite challenging for me becuase according to the stripe regulations I do need to open the company or something (I'm not the US based guy).. wil try to solve it somhow on my own.
> will turn off a lot of people from what you are building.

This is what I mean by tradeoffs: if Rust had significantly worse integer performance, it would also turn off a lot of people from what we are building.

> On another note, integer overflow has been the cause of the same kind of issues that unsafe use of memory is associated with:

From a quick read of this CVE, this requires memory unsafely too.

If you could manage to produce a situation where overflow causes a memory safety issue using only safe code, then we'd switch.
Well, yeah, 32 fewer in your codebase, 28 fewer in your build, 10 fewer that you have to type, 15 more you have to understand, 37 more you have to debug...

Watch out for actively developed dependencies.
I've seen this at the most basic level of contracting. To me, a lot of these problems come down to cost.

I've contracted with a dozen startups and small businesses. Most of these companies will find a young developer charging between $20/hr and $50/hr and have them start coding on their new app/website idea and feel wildly optimistic when they see the first 80% of the project come together.

Then it's time for the edge cases, and because there aren't any senior devs on the project, handling those edge cases introduces bugs. Weeks and months pass, and the project that looked like it was a surefire success descends into development hell.

But the company never fires the developer. The developer actually quits from being over stressed. Then the company goes looking for a new developer, who tells them they'd be happy to build their software for $20/hr-$50/hr. The new developer comes on, looks at the codebase, decides all of it is crap, and recommends they start over.

The new developer finishes 80% of the project in the first week.... rinse and repeat.

The company should have hired a developer or firm with a record of success, with actual, running software out in the wild. How they achieved that may or may not line up with the ideas in the OP, but at least the company would know exactly what they're paying for.
It is missing a <noscript> tag
Spam on PyPI
Wouldn’t that be downright illegal? Moreover, someone breaking my windows would inspire me to forcefully discuss said behaviour with them, with their nearest brick.
For example, the unskippable piracy warnings on DVDs.
You don’t seem to understand the standards you are complaining about. You are using mail submission, not relaying. RFC5321 specifically says that it does not cover submission, and defers to RFC4409 (3.6.1) which specifically allows From header rewriting (8.8).

If you’re going to complain about the standards-compliance of other people's services it’s important to understand the standard first.
This was around 7 years ago or so.

Found about Google App Engine on Hacker News. Ended up learning Python & Django so I could deploy apps on App Engine.

A couple years later, ended up doing (rather high profile) a couple of projects for Google itself.

Have been putting bread on the table as a Python dev since then.

Hacker News literally shaped my career, in a very very good way.
Slightly related: try to sync an external calendar feed in iCalendar format (also used in CalDAV) with Google Calendar.

Google Calendar will use random intervals to synchronize. Often taking more than 24 hours... which is, in most use cases, quite useless.

Sync in the same way with Facebook's event feed (same format) and changes appear within minutes.

This has been the case for years. Google Groups are full of questions about this.

I don't want to demand anything from a free product (Google Calendar is very useful in many ways). But somehow some feedback about 'shortcomings' like these would be hugely appreciated.
> everyone pretty much agrees we should have equal opportunities

Equal outcomes isn't really compatible with equal opportunities.

Advocates of equal outcomes want fewer opportunities for people from whatever group they label "overrepresented" or "privileged". In the most extreme cases, they want opportunities to be designated for certain groups and forbidden to others.
Can't get the customers without registering the company (stripe won't let me go live :) )
Not only that: they end up enabling the pirates because the pirates are then able to provide the potential users of the product with a major reason for breaking the social contract (and the law): a much better user experience than the original.
5 different Rails dev environment on Windows 10 with their pros and cons
I cannot find a better source for bleeding edge/trends/tips in programming related and tech and just generally interesting articles. There just isn't any other place that's better. This is the last stop when you find it as far as I know. So it has given me a better sense of the world state of affairs as it relates to me, every day and then I make decisions accordingly.
Having spent years working in such facilities, I see some potential here, primarily because they are supplementing telemedicine with the use of local care specialists, and not just relying on the facility’s nursing staff.
The issue becomes, who pays for it? Regulations require the facility have a medical director to help them set procedure and policy and to be able to provide overall care if the pcp is not available. So they are already paying for the medical director who they expect to be able to perform this task - even though the commitment of the director varies greatly from facility to facility. Many facilities also hire nurse practicioners now to help manage patients acute medical issues that arise within the facility. And finally there are times the patients really need to go back to the ER - if as a hospital you are trying to push them out in the shortest amount of time possible, you shouldn’t be surprised by this.
Personally I think , in the era of value based care, the entire concept of skilled nursing and how it is paid for and regulated, needs to be completely reworked.
Seems about right, but that I imagine that would wind up being really expensive if you make a habit out of it. It's showing up as $15-$20 for 12oz. . .
I think the main things that's happened is that many languages and frameworks coalesced to fill the void PG and Morris probably used lisp to such great advantage; ie building featureful, performant web apps. In the mid 90's there was perl I guess. Nowadays there's python, php, ruby/rails, etc.. with all their frameworks and environments. Mak
-Wall is a pretty low bar nowadays. There's some resistance to adding more to it, so you also have to enable -Wextra. I do at least those for all new C code.

And even those two doesn't get you everything. Clang's got -Weverything, but the developers suggest it's an internal feature and shouldn't be used. From there you have to manually identify and add -Wfoo options.
Ask HN: What programming laptop should I get for my kid?
I'm trying to buy a laptop for my 11-year-old who's expressed a lot of interest in programming. What recommendations do you have? What features should I be on the lookout for?
I have a music studio in central Germany. Wanna do a single together? ;-)
Can you pause/resume browser while executing script tags/dynamic imports? Yep
The only advice I can give (I'm 29) is that my work life gets easier AND more productive when I think about it in terms of my path to the top of the mountain. So, pick a spot that you feel represents a point of accomplishment that you'd be happy to die having done (big goal, tombstone style stuff). Then as you approach your work, ask yourself "is this a stepping stone on my way to the mountain?" If it is, you'll find some reward in doing the work, as you feel like you have invested in yourself and your long term goals. If it is not, then you can measure that sense of frustration and now understand why you feel frustrated. And if you feel that frustration on a daily basis, it's probably time to get a new job.
The article isn't talking about the size of raw disk blocks, better called the sector size. It's talking about ZFS blocks, which are variable in size, defaulting to 128 kB: https://en.wikipedia.org/wiki/ZFS#Variable_block_sizes

ZFS aside, the 512 byte sector isn't even a hard limit at the storage medium level. Disks with 528 byte sectors — and other odd sizes — have been available in the enterprise world for a long time now:
https://en.wikipedia.org/wiki/Hard_disk_drive#Market_segment...

HDDs and SSDs with 4 kB sectors dominate the consumer market now: https://en.wikipedia.org/wiki/Advanced_Format
https://news.ycombinator.com/item?id=16411227
It's usually possible to selectively disable warnings for 3rd party code. A last-ditch approach is to use the following around an include:

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfoo"
#include <my_3rd_party_header.h>
#pragma GCC diagnostic pop

E.g., https://stackoverflow.com/questions/3378560/how-to-disable-g...

(Despite the "GCC" moniker, Clang supports the same approach.)
Pyvault (Python password manager) 1.8.4 has been released
> Apply takes a function and applies it to a list of arguments,

And the way to translate that in Haskell is to apply a single argument.

Haskell functions are not Lisp functions. Lisp functions take a list of arguments, so `apply` should apply to a list of argument. Haskell functions have one argument, so `apply` should apply to a single argument. That argument could be a tuple, by the way.
Yes, although he was traveling so he wasn't able to recover until he returned home and even then, there was a gap in his backup (his fault) and his screenshare recording wasn't backed up since it was done while traveling. Thankfully he had already sent his presentation ahead to the conference he was presenting at, so he was at least able to complete that obligation.

This is a good lesson for everyone... obviously we all know to backup regularly (let Time Machine do its thing multiple times per day of course); but the lesson for me was when traveling, have everything you need backed up on a USB stick at least.
I have a similar story for a college course also titled "Software Engineering". Essentially, it was a course on how to properly execute the waterfall model of design.

We were assigned teams of four, wrote hundreds of pages of requirement papers, design papers, everything papers. Then we wrote the code in PHP in one night.

For the final section of the class, 3 teams of 4 were merged into teams of 12. It's obvious that no college students have the desire or ability to manage a team of 12, as it's a huge task even for an experienced manager. The overhead of having 12 people involved was incredible. Fortunately, more than half the students in the group were happy to be "fired": we didn't talk to them at all, did the work in a smaller, more nimble group, and everyone got a good grade.
It's actually not micromanagement. It's micro-documentation, which provides more autonomy to the developer, not less.

The micro-tasks I'm describing go into a project management system. They are either assigned to or picked by developers who complete and document the micro-tasks on their own. Because the tasks are so small, there is almost no management of developers required.

Finally, it's trivial to find out where project estimates went wrong, because any hidden challenges are well-quarantined in the micro-tasks. If the task isn't well documented, it's still pretty easy to go to the developer and find out why it took longer than estimated.
The sinking feeling that everything is not going to be OK.
If You Text and Drive You're a Cunt
How we built a distributed, self-funded, family-friendly, profitable startup
Depends on what you mean by "accept," doesn't it?

Yes, without -Werror, C compilers won't act on diagnostic warnings. But C compilers can and do warn about "valid C code" that happens to set off alarm bells.

And with -Werror, they reject some valid C code.
"an introduction to impro theater interspersed with a lot of personal stories" seems like a technically accurate but misleading description of the book to me. I struggle to capture the essence of the book, but I'd add that it shows a lot of insight into creativity, relationships, and the human condition.
I think hacker news does an ok job at mitigating this by not allowing you to downvote until you reach a certain amount of karma.

Obviously that creates its own problems but at least you have to have a little bit invested in the community before you can start trying to dictate the conversation.
As far as I can tell, they only stereotyped "white Fox News types" by describing them as "resentful," which is quite a bit different. To begin with, it's unclear who exactly the commenter is referring to.
I am 50 years old, and I also will only resort to phone call as a last resort, when just going to a different website instead is not an option, so I think your point applies not only to youngsters.
Keras for kindergarteners
Totally illegal, but while I would feel like tossing something through their window, I would never do it. If only this company had as much of a moral compass!
Being able to save for 2 years alone is a massive endeavor for most people. This usually means one or more of: 1. living far below means for years 2. delaying life events (marriage, house, grad school, etc.) 3. having low enough unexpected expenses to make that fund last for 2 years.

I basically couldn't make it work for various reasons related to being married and needing to have some health insurance that costs over $1.1k / mo. Meanwhile, if my spouse has the privilege of a job with decent health insurance, the expense plummets to $400 / mo which makes a huge difference.

The more realistic route for most people is to work part-time on your projects perhaps taking years longer than if you were to have quit and worked full-time and to quit your job when one of them pans out to being viable. This approach tends to work substantially better for non-business ventures like writing, performance art, etc. Look at all the middle-class / lower income writers that worked awful jobs for years to make ends meet but kept writing. Most of them had 9-to-5 jobs but for a lot of software jobs that pay into the six figure range, they are far, far more demanding of you mentally than waiting tables (although physical exhaustion absolutely affects mental ability, too). This level of work, however, is probably what it takes to be an entrepreneur without much means given that even those with means oftentimes have to work so much for even a small chance at a business opportunity.
Design thinking for kids
I think it's only something you really encounter in either your day to day work, or some OS projects but those have, I think, a very different day to day structure.
You have apparently committed comedy homicide. May VALIS have mercy on your soul.
I don't think they have a "compatibility" slide anywhere at all at Google.
I’m just like you although I doubt as successful.
This is very very good feedback for this person.
I've described this phenomenon to many-a-manager as "assuming that all progress is linear." It's not; in fact, linear progress is extremely rare in my experience. Usually, a "big bang" of progress happens on a project, whether at the beginning or at the end.

Recently, I was implementing Pivotal Cloud Foundry for a client. Everyone was assuming PCF would deliver incremental and linear amounts of value during implementation. I had to keep telling folks, "No, it doesn't work that way. PaaS is only valuable at the very end of the implementation, when all the technology is ready and the team has been trained."
SharePoint on-prem and online do this out of the box but they might be overkill. Works really nicely with Microsoft Teams.
Yes but the paper goes well beyond that. E.g. there's the stuff on share buybacks, which have accounted for 30% of stock market gains since 2009, and 72% of earnings-per-share growth since 2012.
No one is arguing to rule it out entirely. Not even James Damore.

The question is: how do we measure the problem of discrimination? Many people assume that we can measure discrimination by looking at the percentage of women in engineering and comparing it to the percentage of women in the general population. Many people believe that any difference between these numbers proves discrimination. But an increasing amount of evidence suggests that this a bad assumption.
I recently upgraded from Radicale 0.10 to 2.x. One of their migration scripts didn't work correctly for the calendar, but since I was in control of the data, I could just look at the ics file, see what they were doing, and write a small python script to do it myself.

If anyone wants to do it in Docker, I have a really simple Dockerfile here:

https://github.com/sumdog/bee2/tree/master/dockerfiles/Radic...
Google Trains AI to Write Wikipedia Articles
so solid state battery technologies require cobalt? Are we just in a transition from the liquid (they are wet, right?) batteries we have now?
I keep it simple: UniFi Security Gateway connected to my fibre ONT, integrates well with my UniFi PoE APs.

It runs some flavour of Linux.

In the past I’ve maintained a custom FreeBSD or Linux server for this purpose but life’s too short.
This sounds like pure misery. No self respecting good developer would work under these conditions.
Excellent condensation of the issues. Great ideals to work toward. Just moving in this direction would be helpful in any industry. If we implemented your codebase ideas in education... well, you know we'd have great education.
Crackme0x08 Dissected with Radare2
Show HN: Android app that allows you send updates about your position using SMS
Sounds a lot like Pandora.
In the transition from 0.29 to 0.30, the sdl2 library added that lifetime parameter to textures. Personally I found that it made the library unuseable, and I switched to an alternative.

I don't think I was the only one, because in 0.31 they added the option to remove that lifetime as long as you are happy disposing of the textures yourself. If you do the following in your Cargo.toml they go away.

[dependencies.sdl2]
version = "0.31"
default-features = false
features = ["unsafe_textures"]

I think the argument for lifetimes on textures and surfaces was to increase the safety of the library. This is probably true, but in practice I found it unuseable, and I think a system of handles along with error messages when you try to use it would have solved the problem in a workable manner with minimal performance overhead.
Inside Liberland
"The first 90% of the code take 90% of the time. The remaining 10% of the code take the other 90% of the time".

If you're lucky and know that this is the case. If you think you're actually "90% done", you're in for a world of hurt.
I find Sinatra to be the quickest and simplest way to get a simple Ruby web app online. It was a godsend when I was starting out with Ruby development – the learning curve for Rails is so steep and sometimes you want something that just works, without all the Rails magic. Great to see it being kept up to date.
Never attribute to security deign what can more easily be attributed to not giving a shit.