skysight-inc/HackerNews huggingface dataset:
I think you're reading my comment the wrong way: I meant to say that doing e.g. piping in Python is a lot of pointless work (pomp), as you agree.

This is perhaps one big benefit but not one that is exclusive to a sh-like language. Instead I would like to see a language with strong flow control or metaprogramming capabilities take on processes as a first class citizen. Perl is probably the closest but still has some warts related to redirection.

The best pattern I have seen is encapsulating business logic into Python or Go and then if really necessary piping it to another script. But, often, if you do this you can just keep the piping internal using data structures.

Unix-pattern facilities work very well for interactive use, which tends to be simple, exploratory, and trial-and-error. But a project's build script may not be simple.
Snaplight is a free app though, so while the 10k number is high I think it would be hardly reached if he had placed a 99 cent tag on it, given the niche. Some people (me included) like to download and try new apps, only to remove them after the utility hasn't proven valuable enough.

That shouldn't stop you from finishing your app though. Building and later publishing an app to your audience can be an awesome experience. Go for it!
Even better. Can we go any dumber?
Do you use MacOS, too?
>If everyone decided to eat only TV dinners and shelf stable snacks that would be A-OK

>France would never allow it.

While I do not support eating unhealthy foods like that on a regular basis at all (I have some sort of instinctive repulsion towards that), I do support allowing adults to have the freedom to make their own choices regarding what they eat.
Throwing Null Literal
8-Minute Crash Course on Kotlin Programming Language
no surprise here, but is my pi-hole blocking this crap?
Thanks to Jio for shaking the market.
Angular Material Multifield Autocomplete
Just learn it doing a tutorial and you will smile. That is what did it for me many years ago and still does.
I was just thinking about how long that party is going to last. I am not sure service providers can sustain this much longer without tapping into revenue from upstream value add (streaming, advertisements etc.)
Or D via rdmd:

https://dlang.org/rdmd.html
Chill dog, I’m under the character limit.
Great!

It takes a bit of manual juggling, but if you take kwargs anyway you could inspect them to check for the old-style parameters, and use them if they're present, perhaps with a warning. That way you don't have to break compatibility.
The shell is my favorite language and I really don't know why.

It's definitely possible to write shell code which properly passes shellcheck's linter though it's an uphill battle to learn the ins and outs and _why_ X is wrong when Y is right.

I even managed to write a full TUI file manager in bash!

https://github.com/dylanaraps/fff

I full understand that there are times when the shell should not be used and when other languages are a better way to solve a specific problem, however I love pushing the shell beyond its supposed limits! :)
You can also use the model checker to, via brute force, find a sequence of states that result in a desired outcome (which is expressed as a set of conditions called an “invariant”). For example, steps to solve the tower of honoi or the Die Hard 3 jug problems.
They do more than in other countries. Representatives have autonomy to vote as they see fit, without being beholden to the party line, for instance they can vote with their caucus [1].

This is in stark difference to countries like the UK, where MPs have to vote on the party line unless it's declared a conscience vote by the party leader [2]. Voting across party lines in Westminster system parliaments will get you kicked out of the party.

[1] https://en.wikipedia.org/wiki/Congressional_caucus

[2] https://en.wikipedia.org/wiki/Conscience_vote
For example, "Triumph Of The Will".[0]

0) https://archive.org/details/TriumphOfTheWillgermanTriumphDes...
> I learnt that gravitation bends space-time and that's why light rays seem to be bent. If gravitation is just waves too, then how does that work and who bends the gravitational waves.

I think your confusion comes from your thinking that the same word ("wave") is always used for the same effect. In your few sentences the "wave" is the word which is used for completely different effects and scales:

For the gravitational waves that we measure we don't have to worry about some single "gravitation particle". The gravitational wave detectors don't have to care "if gravitation particles (gravitons) exist" as that's on completely another scales, you can imagine these (measured) waves as being created by such an immense number of "gravitons" that these are surely not seen.

If you want some analogy: you know that for people to think easier about the spacetime curvature due to the gravitation one says imagine a 2D membrane with a ball on it (representing a star or a black hole or some other big object) curving the membrane. Now what are the events LIGO detects: imagine two balls, rotating one around another, resulting in the ripples on the membrane, just like two fast boats circling produce interesting waves on the surface of the lake. LIGO detects such ripples.

So the curvatures due to the masses always exist, but the huge masses moving around produce the ripples in the spacetime (it's just the shape of the curvature that changed in the different time points). That is not "gravitation is just waves too" that's: we see the ripples independently of the existence or non-existence of the gravitons on the quantum level.

To go back to the "boats on the lake" example, you detect the waves of the whole lake surface, and on that level to observe these waves it's irrelevant to you that the water is made of molecules, that the molecules are made of the atoms, that the atoms are made of the particles, and that there are the experiments that demonstrate the quantum nature ("wave"-like nature) of the said particles.

The difference in the orders of magnitudes between the waves LIGO detects and quantum "wave"-like particles is immense, so big that there aren't any simple examples I can imagine.
For others, this is the review that the OP seems to be speaking about: https://www.amazon.com/gp/customer-reviews/R3IQKSK19FIEI5?re...
You could consider using a certain little known libre encyclopedia for your searches:

> was officially designated as a library by the state of California in 2007.[notes 6]

https://en.wikipedia.org/wiki/Internet_Archive#Operations
For more background the full King of Kong documentary is on YouTube. https://youtu.be/ONWu0pXxRRs

One of the best documentaries ever
Just block cookies of Bloomberg.com
How does this book compare with "21st Century C"?

I know that, unlike "Modern C", "21st Century C" can't possibly cover C17 because that book was released in 2014.

But otherwise, what would be notable differences? In terms of style, correctness, idiom, depth, and breadth?
For a second there, I thought I was on a different site!

This is by far the most hilarious comment I've seen on HN!
Foods you can eat after teeth whitening
Amen to that! I’m working my way through a React codebase that has state logic everywhere with even the most basic UI components connected to Redux. It’s so much easier to reason when they’re decoupled and you have those higher level coordinator components.

Funny enough, the coordinator pattern really clicked with me when I wrote Swift apps. Similar concept.

https://will.townsend.io/2016/an-ios-coordinator-pattern
I can get 1Gbps where I'm at but since it's price capped at 1Tb, I don't see the point of upgrading to a faster speed. I want faster but if it's just going to lead to some fees then I guess i'm stuck at slower speeds.
If the bank satisfies a court with evidence to show the customer committing fraud, then the customer won’t get their money back. Just like if the CPS satisfies a court that someone committed murder, prison will follow even if the person didn’t kill anyone.

This thread is rapidly losing value to readers now, since you seem to be dishonestly representing what you’ve previously said, at best guess because you don’t like to be wrong. Quoting you:

“the somehow fraudulent order where the bank doesn't see any signs of fraud and you can't demonstrate it either.”

“That is the category or fraudulent transactions that are indistinguishable from legitimate transactions by anyone but you”

“There are cases where the bank will not be able to distinguish an actually fraudulent transaction from a legitimate one.”

Only now have you changed this to apparently mean the bank can falsely prove the customer committed fraud.

There’s nothing wrong with not being up to speed on recent banking regulation changes in the UK. There is something wrong with pretending you were saying something you weren’t, just for the sake of internet points.
Google can crawl Ajax just fine
I have a Humax "monitor". It only has 4 HDMI inputs and a USB input (never used it, probably for viewing things on a random USB stick).

If you have a separate box for TV anyways, its perfect. Don't need anything else.

Otherwise, you can simply not connect your smart TV to the internet. Just leave it unconnected and use it as if it is a dumb TV.
1. Steve Jobs didn't make the iPhone.

2. Apple has a very large Product Marketing team who do extensive quantitive and qualitative research on what products they should make, features should be delivered etc. This is the same for Microsoft, Facebook etc. I worked at Apple and each team will have a Product Owner/Program Manager assigned who decides what is done where as Engineers decide how it is done.

3. Data Scientists aren't solely responsible for releasing more iPhone models or how many ads to show. Those sort of decisions are cross-functional involving Finance, Product, Marketing, Strategy etc.

4. Data Scientists are basically engineers. They largely do what they are told to do by the "business". So not sure why you seem to think they are root of all evil.
Oh crap, it's true - although all other platforms do parse them right
Most coding interview challenges I came along are of limited complexity. I think it is important to clarify that reading, discussing the spec, writing tests a priori is something you would do in a real world coding task, but interviewers are usually more interested in the ability to discuss different approaches to solve them with their expected pros/cons, explain why some approaches won't work, prototype one out with some clean code and explain your thinking while writing the code. An experienced developer usually won't make a lot of mistakes for simple problems that require unit tests to see. If they do, the interviewer will make them aware and play the role of the testing, just to see how the candidate would react and solve the problem.
> All-in-all the project took me an hour to program

That's amazing. I don't think I've ever written anything usable in an hour.
opendns, duo, meraki, appdynamics?
Types on the BEAM
~ USD 1,500, are similar spec "television" monitors wildly cheaper than that in the US?
Dependent Origination / Pratītyasamutpāda
I don’t know why, but my brain refuse to work natively with Python. I wrote countless projects in more than 10 years of professional experience, from small scripts to advanced ML, libraries are fantastic, and I still fight the language.

In comparison with Ruby, even after years I can write complex expressions and get standard library names just by guessing and be right. In Python it’s like my brain is wired at the opposite of every convention. Even JavaScript feels more natural.

I have 0 joy programming in Python even if I get the job done, whereas in Ruby (or other languages) I’m instantly in the zone.

I know it’s purely a taste issue but I’m sad Python “won”.
Yes, oh no. Dark patterns are closer to fraud than to a legitimate business model I'd recommend to my friends and family. Nigerian princes selling you gold is a business model too.
Why not file a counter-claim and then make them attempt to prove their copyright in a real court?
Yes, clearly it's multiple women over decades who have somehow managed to independently exaggerate nearly identical stories.

Jesus Christ it's like a parody of tech's cluelessness here.
*Non-programmers need not apply
The bar for what is offensive is very low it seems. Any good discussion will always end up offending some one. Just don't take it too personally
What you're looking for is a monitor.
The newspaper used to be called the "Weekly Mail", but there was a short-lived tie-up with the UK Guardian in the 1990's, and a renaming. I remember eagerly reading the UK Guardian stories in the M&G in the pre-internet era.
A Practical Subtyping System for Erlang (Wadler, 1997) [pdf]
Show HN: E-Commerce Customer Analytics for Shopify
Releasing an app that we have been working on for the past few months - for shopify store owners.

What does it do?
Right now - you can see most of the store's analytics(stats, charts) + marketing campaigns data from Facebook, Google Ads, Mailchimp. The two unique features that are live right now - Customer Shift and Customer Segmenting. Customer Shift basically draws you a chart showing how many customers are being active/inactive after registration.

Customer segmenting is a segmenting matrix that splits your store's customers into 11 segments like Big Spenders, New Big Spenders, Customers at Risk, etc. You can export both Customer Shift and Customer Segments data into a CSV which then you can plug into your other marketing channels.

Also forgot about Success Metrics Cards - you can basically set a target metric for Sales/Orders/Customers and have that tracked throughout the duration of the goal

If you are a Shopify Store owner - definitely sign up(https://app.shoppr.ai) and try it out - if you really like it after the trial, I'll give you 6 more months of free usage without any caps and priority customer support :)
If you have any feedback/would like a demo - visit https://shoppr.ai/schedule-a-demo/
Also, general feedback on our Marketing website shoppr.ai is much appreciated - I hope to get as much feedback as I can possibly get, so go ahead and check us out.
Great read dylan!
That's the brother of the Duolingo owl.
You should follow the link to the AppStore where it says:

“This app is no longer supported by the developer“

https://apps.apple.com/us/app/snaplight-photo-highlighter/id...

He probably got 10,000 downloads a week while he was featured on that page then dropped to almost zero. Millions of apps in the store means you won’t get much random traffic.
I had been organizing all of my projects so far using layered architecture. Recently I read this article about layered architecture: https://dzone.com/articles/reevaluating-the-layered-architec...
Now I feel that layered architecture was a poor choice for many of my previous projects.

So, I think, instead of layering, for example I should put everything that needs an access to a User entity's internal fields in User class itself.

For example:
User.getProfileAsJson() // for sending out to frontend

Now I am confused regarding where to put methods that involves two entities. Suppose there is an Event entity which represents some online event that can be registered by the User.

Where is the best place to put getEventsRegisteredByUser()?
LG seems to be the least crappy option here.

But if you're willing to spend some extra $$, you can get a "meeting room display" with the same panel, but zero smart features and no speakers.
all code is debt

all code is investment

only time will tell
I am a Datadog fan, but I'm looking at migrating most of my workload to Honeycomb. It seems to do everything I normally do with Datadog, but better.
That is amazing.

One thing I often see is that enthusiasts and professionals spend too much of their life and energy working with an inferior set of tools such that they are very dismissive of people expressing themselves faster with a better set of tools, solely because the discipline is no longer required

I am personally all for people being able to express themselves more effectively
More than likely that is how he caught it - but it is not a bacteria
The biggest issue this highlights is that all the power is concentrated at the Google Play Store, which turns out to be a state-controlled monopoly.
I’ll add an example to help get across how the regulations have changed:

If someone calls me pretending to be my bank and tricks me into giving them enough details (passnumbers etc) to move money out of my account, or persuaded me to authorise transactions they’re making (because I think they’re the bank saving the money from being stolen by someone else), then the transactions will look real to the bank. Previously, that was my problem. Now it is the bank’s - I may have divulged my details in good faith, but I didn’t give the criminal any money. The bank, unwittingly, gave the criminal money. The bank is no longer allowed to claim it was my money. Rather, the bank still owes me my deposit - nothing has happened to change that.

This has been a more commonly occurring crime in recent years, and the regulations are specifically there to:

Protect the consumer

Put the onus on the bank, to encourage them to do better protecting their money.
From the description, I'm guessing that using a specific object json parser (such as https://github.com/mailru/easyjson ) would not be vulnerable to such attacks. They will just skip characters if the field is not found. And if a nested field is found inplace of a non nested one, they'll just error
I find it hard to reconcile your suggestion with the fact that there's a testing overload crisis in US schools.
Thanks! Fancy seeing you here. :)
Warn on large getrandom() waits and introduce getrandom2()
Huh? Since when are unions not used in modern C? Tagged unions are a really common pattern in language interpreters. What are they supposed to be replaced with?
> "This isn’t right."

I'm afraid the morality of this situation isn't so black-and-white.

In industry, there is always a tension between production and research: cranking out widgets vs. getting better at cranking out widgets.

A dev who spends 100% of their time cranking out widgets is stagnating. That's actually not what your employer wants, despite the fact that their agile process seems to imply that ticket cranking shall be the whole of your focus.

If you ask employers if they expect you to improve your skills over time, they would absolutely say "yes". But if you ask for permission to chase a specific white whale, you will hear "no". Everyone agrees they should be saving for the future, but "not this paycheck".

Taking the naive moral approach here and spending 100% of your time on tickets is not "what's right". If anything, that's you being taken advantage of by your employer -- sacrificing the advancement of your career in the name of short-term sprint velocity gains. On top of that, stagnation is not what your employer really wants anyway.

(edit: the above excludes companies which have explicit "20% time").
Yeah perl was nice when we were allowed to use that. Why doesn't python have something like named pipes?

f = open("ls|", "r)
f.read()
f.close()
I think you're looking for this one[1]

The UK, with their channel islands (and the BVI) are one of the biggest hypcrits when it comes to finger pointing regarding support of tax dodgers and plutocrats hiding their ill gotten gains.

Another convenient vehicle to hyde (pun intended) your dirty money is real estate via a shell company in the UK, mostly in London[2]

[1] https://www.theguardian.com/world/2019/jul/05/how-britain-ca...

[2] https://www.vanityfair.com/style/society/2013/04/mysterious-...
Yeah, I agree.

You can learn it in like 30 minutes, and understanding the concept behind it (not just the notation) is the core of understanding why some algorithms work better than others.
We're then missing that the const qualification is applying to the int type.

Also, declarations can have multiple declarators.

int const *p, volatile **q[3]; // syntax error! not how it works

This isn't bike-shedding. The shed has already been painted. There is a right answer which is not to make your code look weird just because the standard allows it.

No "int const", no i[array] instead of array[i], no deceptive trompe d'oeil nonsense like:

int* p, q;

You will not solve any issue in C programming by swapping around declarators.

When we write code, stuff that looks weird should signal a bug. When bug-free code looks weird, that is a distracting false positive that grabs my attention for no reason. Don't add gratuitous weird.
They probably just send you a counter claim without bothering to take anything down. Perhaps also a nasty note from their lawyers?
Interesting how the current version only has 5 ratings, but the author at the time says it received 10,000 per week. We would never know this and could never be able to assign validation to this app from the metrics we see in passing

I find that interesting
The ACA has removed the pre-existing condition problem, and significantly changed some of the pricing considerations. It’s more affordable now than many are led to believe based on the old structure.
Bret Victors talks and essays are well worth consuming. He speaks to the limits of computing within the confines of a small rectangular screen on how people actually think and work. As an architect of iOS UX circa 2006, he's uniquely qualified to discuss UX's impact on behavior. The Humane Representation of Thought is a great place to start: https://vimeo.com/115154289

Dynamicland is the first iteration of what he envisions with "seeing spaces" - interactive, full body computing that allows for humans to create and communicate more effectively whilst using technology that fades into the background.

His personal site is sort of a tour-de-force: http://worrydream.com/

I think anybody who makes things that users use should spend some time there. If you just have time for one thing, check out: http://worrydream.com/#!/LadderOfAbstraction
Ask HN: Technology Incubator – Request for Ideas
I represent a technology incubator that has an engineering team on staff and connections to investors. We have launched two software products and are looking to work on more.

We are interested in working with business experts who would like to get their ideas built and launched but do not have access to an engineering team or funding.

We are offering to take on all operational and financial load for the products we build and will offer significant revenue sharing for business experts who can provide requirements/concepts and marketing leadership for the products they envision.

Does HN have any ideas on how to connect with business experts with this background? Feel free to also PM me if you are interested.
When _good_ Wi-Fi is readily available it really helps but I found that I can’t depend on it and it’s much more convenient to have fast service on my phone. Nothing More frustrating than not losing time trying to get find good internet to handle changes of plans, or find a good restaurant, etc.

Even throttled fi, which is very slow, is twice the speed of t-mobile’s regular speed... I can’t imagine trying to check out photos of a few place to compare on maps with those speeds.
Same here. And i even started with Python first. Something fundamentally different here, "brain is wired at the opposite of every convention" is on spot
Interesting, I like the fact that "Replicated objects can be owned by the same AWS account as the original copy or by different accounts, to protect from accidental deletion." is something they thought of.
> "All-in-all the project took me an hour to program"

Come on, it's more than that. Being compliant to Apple Developer Guidelines takes some more time.