skysight-inc/HackerNews huggingface dataset:
snake_case is better

"Although, no difference was found between identifier styles with respect to
accuracy, results indicate a significant improvement in time
and lower visual effort with the underscore style. "

http://www.cs.kent.edu/~jmaletic/papers/ICPC2010-CamelCaseUn...

Personally I can't decide on what to use so there is usually a mix with snake_case and camelCase, even within the same project, depending on what it is applied on.
> Yes, there is a mindfulness "industry"

> But.

> I quite like "vague notions" like "feelings", myself :-)

it's funny how what you write is exactly "what you would hear from an 'intergalactic encyclopedia salesman'", to quote OP. thanks for proving OP's point.

i think the reason mindfulness falls flat is because it ignores the material reality of the working class in our profit-seeking economic system. it makes like miserable for a large group of people.

the problem is that you can't meditate your way out of poverty of precarity by using "a centuries-old tradition of self-investigation and awareness".

mindfulness is 'for' the propertied classes who usually collect all types of rent [1] and who aren't living paycheck to paycheck.

try telling an exhausted Amazon warehouse worker to 'try' mindfulness. often it's just a bunch of gaslighting hoo-ha

[1] https://www.resilience.org/stories/2017-08-03/book-day-corru...
I didn't say it was okay. I just said that it was funny and that he deserved it.

Kim is the kind of person that deserves to have his asshole tickled with glowing hot metal rods...but that isn't an endorsement if somebody goes and does it.

It's fine to be outraged at the US & NZ governments, but it's not fine to spare the man a shred of sympathy.
> I would have kicked my 20 year old selfs ass. ... What will happen when I'm 20 years older?

You will kick Chuck Norris' ass.
Of course it could work. How do you know there is no signal there? Whether it does or not is an open question in my mind.
Google does this pretty regularly internally. Every system has a published SLO, and for a couple weeks a year major components will respect their SLO and not a single request or millisecond better. If you were relying on something performing 10x better than what it's rated for in order to provide your own guarantees, then that's on you.
I am also wondering. I have seen lots of reviews on how cool the modularity and repairability is (and I love those things, too!), but not much about the day-to-day usefulness. Is the touchpad responsive? Functioning multitouch? Does the fingerprint sensor actually work?

And of all these, the touchpad is by far the most important, and like you, keeps me to my Macbook.
Sooryavanshi (Film)
HJSON [0] is also another format that tries to make it easier for humans to read / write json.

[0] https://hjson.github.io/
Julia for Biologists
Face ID stops if you replace the iPhone 13 screen with third-party repair
> And it's barely 100 pages long.

I'd like to quote this and add kudos for that. There's a lot of books that could be a blog post, needlessly padded out. 100 pages sounds a lot more manageable.
semi-related, I was recently trying out the screensavers on an old Apple IIgs and was dazzled by the warp drive effect - you have stars passing by until you shake the mouse, which prompts the “jump” to hyperspace, an animation that lands you on your desktop. I just love the implication that the system GUI is hyperspace!

[4 sec video] https://photos.app.goo.gl/XwnCEgyud7ruBUn77
So many talk about taxes, but very little about their spending. In my experience, government really wastes huge amounts of money on subprime projects.

Although that may be a good thing, redistributing wealth from rich to poor, same what allowed us to climb out of the Great Depression.
Couple of gripes:

- Still no date type
- Why make it more loose? Like "Strings may be single quoted." doesn't bring any value.
Works quite nice in Iceland. The people working in institutions work as usual employees. Just the legislative is not based on the power of a few who can be easily corrupted when there are no consequences for bad decisions basically.

To become filthy rich by only doing well with words on dinner parties and public speeches is harder there. A challenge on the other hand is to educate and inform citizens enough to make good decisions and maybe not delegate their voting power to the first demagogic radical around.
"our award winning route optimization" seems a bit overstated since you're mostly providing an UI/API wrapper on top of open-source routing/optimization software written by third parties.

Maybe you'd consider mentioning the projects you rely on directly on your website? That would be fair, and also most potential customers will ask anyway. ;-)
Reminder that the eggs-cholesterol danger was fabricated by LBJ to hide inflating egg prices in 1966:

"When egg prices rose in the spring of 1966 and Agriculture Secretary Orville Freeman told him that not much could be done, Johnson had the Surgeon General issue alerts as to the hazards of cholesterol in eggs."

[0] "The Great Inflation and its Aftermath" (2008), by Robert J. Samuelson, pg. 95-96.

[1] https://www.npr.org/sections/money/2011/06/24/137400235/lbj-...
> hand-written build system.

Please don‘t. It will be fine as long as a project is very small, but get out of hand quickly. Rewriting the build system after the fact will not be budgeted and likely never happen.
I wasn't angry with him, or even annoyed. I simply learned long ago that people who don't have skin in the game rarely give good game advice. People pitch me all the time what programs I should write.

I've written many products over the years, some were successes, others were failures. A common thread has emerged: all the failures were pitched by others. All the successes were ones I wrote to please myself, and everyone told me I was a unique snowflake and nobody else would want it and I would fail.
Maybe they should assign reviewers who can't see to check apps like this
Literally comes a few days after I re-installed it because Firefox doesn't have a per-site fallback mode, or at least not obviously!
To push the analogy a little, what is she is nude in the living room, and people are stopping on the sidewalk to look in through your windows. I think that would be a rude invasion of privacy. (Alternatively, replace the living room window with an open front-door, or to push it even more with a closed but not locked front-door)

The question of this analogy hinges, in my mind, on whether "this site talks https on port 443" is the equivalent of looking in someones front yard, or the equivalent of looking through the window into someones living room.

I think one weird difference is that we can passively observe things in the real world. But you can't passively observe an IP-address. You need to send data at it to see how it responds.

On that note, perhaps the analogy should be that people are shining a flashlight into your front-garden at night. Because they need to illuminate your private property in order to see anything.
> Strings may include character escapes

Wait, that wasn't possible before?

I like it, most of the additions seem more like filling gaps in the original version. And the lack of trailing commas & comments have always annoyed me a bit.

But as this is a library I'm guessing NPM doesn't support it for the package.json?
Somethimes it isn't "modern society" and just the gallons of coke you can buy in super markets to the price of water. Well, on the other hand that isn't too different to classical evolutional processes that rely on chance.
The research on this stuff says that time estimates are extremely inaccurate and to be avoided. If you manage to stay inaccurate by ONLY a factor of 3.14, that is unusually high accuracy.

Much more accurate are estimates of difficulty or complexity (small medium large, weighted numbers, whatever). The manager can then make an average conversion rate to time (with error bars), and use that for medium/long term forecasting. This is demonstrated extremely accurate compared to time estimation (but it is useless and breaks if you apply time/points pressure to your team, or even let them think in terms of a time conversion rate).

This is not new research. Kahneman's Nobel prize about decisions under uncertainty was in 2002. Put away the superstitions and stop estimating with time!
It wasn't $10k 5 years ago. It was like 4k or something.
It's kind of sad that everyone seams to think that nuclear power is the same as nuclear weapons, and the used stuff could be interchanged without any problems, and that a commercial nuclear power-station can produce weapon grade stuff without any problems.

Is it just disinterest? Or the thinking that Nuclear is bad overall?
Since when is it anyone's business (within the limits of the law) where I get my parts from?
> Fully agree on the UX but not the reliability. WhatsApp used to be famous in Switzerland for its unreliability. On big European football games and Christmas / New Year WhatsApp was regularely down for 3 hours and more.

How do you know this is not intentional silencing by the govt to prevent terrorist attacks?
That is the eventual goal, and this is the beta where this is not yet possible.
Problem is that there are other countries that would use the vacuum left behind to further their ambitions. In a way colonization is still relevant in all developing countries.
I find the original tactical DDD patterns as useful as the gang-of-four OOP patterns these days. Modern languages made the latter irrelevant. Modern DDD practice emphasizes getting the strategic aspects of DDD right: language and boundaries.

Doesn't matter if your code has a type named `Aggregate` in it. Matters if you get your consistency boundaries right.

> I'm not so convinced that it's something you can get just by better communicating with "the business" either.

I don't have a good answer for this. I personally try to keep my modules small so that there's not more than a ~week worth of stuff to redo if understanding of business (or business itself) changes. I often fail too.
That’s my main issue with the way our society is structured. There’s a class difference between those who own a property and those who don’t even if they do the exactly same job. I don’t even talk about the people who have not done single contribution to the society and live of on the rent of inherited properties.

It’s like the peasants who work all day and have nothing when people from blue blood are having generations living of their backs in castles.

Having an elite is fine, it’s even better when class movement is feasible but when you have a large class of people doing nothing or rewarded drastically differently for the same input, things are not fine.
> You either see which side of the car you're seeing, or you don't and the shape of the light doesn't matter.

Huh? I don't understand your reasoning. To everyone else, that seems to be precisely the situation where the shape of the light does matter, because it's the only context you have to go on. Care to explain your thinking?
I see what you mean, but in my experience most people will at least skim the README while they ignore the license entirely. So, by putting it in a clearly visible position in the README (say just below the repo title) I catch a few extra people and prevent them from sending in issues/PRs in the first place.

It's also not like it's a lot of work, a 30 seconds one-time investment in my time is less time than I spend on most HN comments.
If you're completely content with how things are already, you're one of the rare individuals who has no need for meditation.
If they make driving safer, they could insure cheaper and make more profit than existing insurance companies. Or they could collaborate with insurers to reduce the insurance cost for Tesla drivers, e.g. by underwriting the costs of deadly accidents, and splitting the profit. 35000 deaths, that's a lot of dough. A money making machine like Tesla must surely have thought of that, if it is remotely true.
Python vs. Rust: Which Is Better?
Jonathan Wolff: philospher on valuing life, society of equal, moral cost-benefit
Falls flat? You can MRI and observe neuroplasticity type changes based on level of meditation experience. Also, I believe it was Berkley affiliated, a monthly review of papers published on mindfulness and it's impacts often had 80+ meaningful entries on an average month: some of the use cases around therapy, around endangered populations (ptsd), disorders (agoraphobia, etc).

Your general point about society might not be wrong, but the main claim that meditation does nothing is woefully incorrect.

The argument in this thread seems to "late night TV sold me a shake weight, it's a bullshit, those scam artists, who needs strenght training anyways?". There's other ways.
This weekend I did an experiment of writing a toy project as procedural PHP instead of OOP. This was because of a discussion on reddit where someone claimed that procedural was much better than OOP, but without giving any proof or showing any code.

Procedural PHP has ofc always existed, but I wanted to experiment how a modern take with the latest PHP 8.1 features could look like. There was both plus and minuses. I will publish it to github soon.
> they still say I should talk to them on the phone so they're going to schedule a call with me. Let's see how this turns out. Thanks all.

Normal procedure of Apple to avoid any written communication.
We are trying to sell our Startup through MicroAcquire
In 2019 we began to create a software (SaaS) to improve the software development cycle and make teams of engineers and managers have more visibility over the entire workflow.

Our vision was to bring the reality of the state of the development cycle closer to teams so that they had better data and increased their success in decision-making.

We were having relative success (not in revenue, but in clients), companies of all kinds were using our solution, including companies that are known to all.

In 2020, in the midst of the covid crisis, we were forced to paralyze the project due to lack of funding.

Now we have thought that it may make sense to sell the software to some company or team that has a real need to improve their development processes.

We are selling our product through MicroAcquire. Does anyone have experience selling startups? I am delighted to hear from you.
Why raid other kingdoms for their most productive subjects, when you can use your economic and cultural might to make them want to come and work for you?
Is there an official standard body behind this (and json 6 mentioned in another comment), or is it a kind of loose / informal standard left up to libraries to implement?

I mean comments and trailing commas will make JSON a bit more human friendly when used in e.g. configuration (package.json), but as a pure data exchange format it doesn't add much. Mind you, there's better data exchange formats than json, like XML (yes I said it) which can be transferred via a binary protocol (https://www.w3.org/TR/exi/) instead of the, when you think about it, awkward and inefficient data -> text format -> compression -> transfer -> decompress -> text format -> parse cycle of both 'traditional' XML and JSON both.

I wouldn't be averse to the idea of browser manufacturers or standards bodies to come up with a more efficient data transfer method that can be human-read with the right tooling like browser development tools, but which is fully compressed binary and efficient on the line. I feel like tools like GRPC are a bit too far out there.
One Health approaches to antimicrobial resistance
> I, on the other hand, was most definitely an arriviste, having fled South Africa in 1961 aboard the Cape Town Castle to occupy a mattress on a floor in a shared room in Earl’s Court.

He was South African though ;)

I'd agree though, off brand baileys just doesn't taste the same. I think it was Aldi I bought a similar one from before, and It was fine, but it's kind of similar to Pepsi vs Coke. I like pepsi, but if I order Coke, and I get pepsi, I'm disappointed as I was expecting Coke, even though to me both taste similar and I like both.
Facebook having to write a whole blog post on trying to convince us that Facebook and Instagram are not harmful to the mental wellbeing of teens is proof that they are immensely harmful.

Delete Facebook.

Case closed.
While I think this would make JSON more fun to edit by-hand, I don’t feel the breaking changes across the stack, and mixed adoption, are worth the benefits.
Transformations like self-driving cars have been taking over a hundred years.

> 'I wish I lived in Netherlands'

Don't have to.
Having comments is probably the functionality I wanted the most.
Investors Warmed to Chinese Blockchain Builder Red Date
I'd advice people new to DDD to involve themselves with understanding the Strategic Design parts first. The rationale, pros and cons for using it etc. And stay well away from tactical patterns until you know the role of DDD wrt the objectives you want to achieve. Strategic vs. tactical are completely different concerns. The problem with a lot of DDD information is that people tend to dive into tactical way to early and introduce all kinds of architecture that is not needed. Note that result of strategic analysis may well be to conclude that a simple CRUD design is the best way forward (for a subdomain or even the entire project). The non-technical domain understanding is most important, and also helps heaps in keeping your (non-technical) stakeholders in the loop throughout the development process.
I don't know what this has to do with Israel again, but there seems to be a pattern lately...

That said, I don't think Chomsky held back on that department. Not even slightly, on the contrary he is pretty outspoken about it. But contrary to what we hear from others, it is often reasonable.

It is a start to motivate people to hold their representatives accountable. Development and improvement can only happen here.
iPad Mini 6 jelly scrolling
will it survive ?
I'm a huge fan of lua-like coroutines. Even though I have never written a line of lua I read all their papers on the topic.

Among the statically compiled languages, there are a few options in C++ for stackful coroutines, for example boost.context.

There is still a chance that they might make it into the standard at some point.
What would a date type look like? An ISO-8601 string is probably as good as it'll get, else you end up with an object containing loads of additional information like timezones, offsets, etc. There's also https://json-schema.org/understanding-json-schema/reference/... for a formalized date format in JSON.

The looseness seems to be aimed at human authors who want to write JSON as if it were JS, so mainly package.json. But, json is not ideal for configuration for multiple reasons.
A little bit of everything you said. I didn't start working in software right away. I didn't complete my (non-CS) degree, and so thought a career in software was out of reach. Right at the beginning I was shot down without interview by a bunch of companies because I had no industry experience. Once I had my lucky break (massively underpaid but fun work with good people) everything changed.

Every time I've changed jobs to date I've had multiple job offers. 3 years ago I had 3 offers from 3 different companies. This time around I had the same - 3 offers, 3 companies. Just in the last 5 years my salary has increased 6 fold.

My basic philosophy with respect to compensation is to take home enough to maintain the lifestyle you want + 20% extra to save and invest.
I agree about the single quotes, but many use single quotes for strings in JS and so it's understandable to have this consistent.
I've heard that is a dessert but you can win a lot of money.
I definitely recommend reading this one. It helped me how to talk to my clients and also how to talk with other people. It totally changes your perspective and how you tackle conversations.
"Leo is a revolutionary step in the right direction for programming."―Brian Takita

Ok, but when was this comment made? Was this in 1998 or in 2020?
I quite like Baileys but find it a bit too light and sweet on it's own. It's great in a BMW (Baileys Malibu & Whiskey), or just with a splash of Southern Comfort.
Thanks a lot for the advice
SQLite Archive Files (2018)
Here is the opinion of someone who actually made such an app:
https://gultsch.de/objection.html
I've done the entire stack: by myself, in class (Buddhist affiliated, weekly), app, and 10 day silent meditation retreat.

Apps are fine. It's an entry point and some people might feel uncomfortable driving to a strange place to sit with strangers doing a strange activity.

You know pretty quickly if works or not. Eventually the apps (maybe this has changed) are relatively limited as the cater to the 20 minutes crowd, and you might want to go further.

In terms of depth, Sam Harris has an app where he comingles (IMHO) fairly advanced philosophical concepts. Maybe it's snake oil to you, but feels real and material to me.

That being said, like getting enough sun or eating well or working out...it's optional and there's multiple ways to get there. No need to buy any encyclopedias if you know you're never going to open then :)
For a device to be able to wake a Windows system, it has to be allowed both in the BIOS and also in Windows's device manager (In the "power management" tab on a device, the checkbox on "Allow this device to wake the computer" has to be set/unset). It is available only on certain classes of devices.

Also what you are referring to as an application's capability (Foobar...) to wake a computer (from sleep or hibernation only) it most probably has to do with setting an RTC (real-time clock) alarm and the computer being allowed to resume from such an event. Again this is also a setting which can be disabled in most BIOS configurations and yours probably is.
By the way, Windows' task scheduler exposes this option to everyone so you can set your computer to wake up and run some script and then sleep again (I used to do this all the time ages ago for night downloads, etc.)

So, there are a series of switches (in BIOS and in windows device manager) that all have to be set/unset, for a computer to resume from some event;
This is still in "anyone with a prusa" range, I think. Firstly you can do multi-material on a single extruder head by either changing filament as it prints (which is annoying, but for a high enough target not a problem), or pre-printing a two-material filament; second, Prusa themselves do a multi-filament mod for the Mk3 which can do soluble filaments; third, you might not need a second filament at all: I reckon you could print-in-place a two-part key with a captive pin. You could design in a leaf spring if it needs it. The resolution looks challenging, but you've got to bear in mind that 0.4mm is only the standard nozzle diameter, not the smallest available: 0.1mm nozzles are around and capable of some really fine detail.

It's only a matter of time, and probably less than you'd think.
zero consequences, just follow the Bikini Island pattern nobody bats an eyelid.
Yes, it does depend a lot on the environment.

Many cases, the stakeholders don't have an appreciation for what you're suggesting or even the consideration to balance your workload:

"Oh, thanks for bringing the problem to my attention, let me just add that to your massive pile of work and make it a P1 like everything else - and this problem space is also now your responsibility forever because you're (in my mind) the expert on it"

- unfortunately, there are many managers that operate this way. Just clueless.

That's why i always advocate a cautious, cynical, self preserving approach but again depends on the env and your relationships.