skysight-inc/HackerNews huggingface dataset:
>object oriented concepts like information hiding

Having read "Software Fundamentals" [1], I think David Parnas [2] would beg to differ on that bit. Not the least because he actually invented the concept.

Parnas wrote extensively on information hiding as the basis for modular program construction, abstract interfaces that provide services without revealing implementation, and other software engineering topics.

[1] https://www.goodreads.com/book/show/1416932.Software_Fundame...

[2] https://en.wikipedia.org/wiki/David_Parnas
Fever: Myths vs. Facts
Would love to see it in action by after pressing getting started nothing happens.

Using Firefox on Android
When I was doing daily standups it could be useful for people to say what they are blocked on and then for someone else to say that they could try to help them. Where it wasn't useful was if the two people tried to solve the issue during the standup while 10 other people were standing around.

My other pet peeve for our standups was that they would not start on time. This was very common when I started on the team. After awhile I would just force the standup to start on time no matter how many people were there, even if I was the only one there :) After awhile everyone started getting there on time. I understood why people would arrive late since we were always starting late. An unvirtuous cycle so to speak.
That page links to a http insecure download script, weird. (Not https, no signature)

This link: wget http://www.thoughtcrime.org/software/knockknock/knockknock-0...
This is confusing because it goes against everything the marketing folks in previous jobs were always pushing on our front end engineering and SEO efforts. I'm more suspicious of landing page incompetence then you.

Our directives were always: If the user has showed intent for a specific thing, tailor the landing page towards that thing as much as possible, and get out of their way. Don't let them forget they already made up their mind.

The DoorDash approach seems very backward. If I saw that landing page I'd be inclined to think "wow, these people don't actually have Saddleback, let me check somewhere else." I'm not gonna get Applebees after googling a different particular restaurant.
You're the first person I've heard from that has both the PinePhone and the Librem 5.

What is your opinion on the hardware and build quality between the two? The Librem 5 seems so expensive for the hardware it includes, but I also don't have a baseline for knowing what is reasonable (since comparing against Android device makers isn't fair).
Except VS Code supports Haskell pretty well. And implementing IDEs is hard work, why do that when it's such a niche language that editors like VS Code suffice?
Podcasts are becoming to the COVID depression what cupcake bakeries were to the Great Recession: an easy-to-start, low-capital-required microbusiness that attracts lots of people who find themselves at loose ends when their pre-crash gig suddenly vanishes.

Most of the cupcake bakeries didn't last long. Make of that what you will.
> Procedural code is quite popular in Java as used with IoC.

Yep, you get all the downsides of coding in Basic with the bonus of the performance hit you take from all the reflective instantiation.
Coronavirus Bills Are So Big, Only Money-Printing Can Pay Them
Hi, my name is Marcellous. I was recommended by my web designer to find a backend dev. She suggested: "In this case, what I would recommend is that you hire a full-stack developer to build your backend from scratch, tied to AWS or your business’s own physical server. With your database/backend/app-interfacing constructed, you could then work with someone more front-end oriented like me (we’re typically much more affordable that the full-stack folks!) to iron out the customer-facing portions of the site, design, UI/UX, etc."

Can you help me? My email:mrkcurtis1@gmail.com
Great to see. I've definitely missed it coming from circleci where you have contexts where you can define secrets that you can share across multiple repos
It's interesting the way you connect quoting with wider with lower profits. In a vacuum, clearly the opposite is true. But you're leaving out the part that you only stand a chance to trade and therefore profit if you have the very best price, so you can't quote wider otherwise your competitors will get the trade. If your quote is a million dollars wide, you won't make a million dollars less frequently - you'll never make anything at all.

That's all true for the very strictest definition of a market maker, which is pretty much necessarily HFT (in list US equities). But there are other types of traders that are successful of course, because their edge comes from thinking about the market in a different way. In situations where finely-tuned, data-informed, low-latency algorithms do not have the confidence to give good prices (e.g. illiquid securities or during times of volatility), these traders might be more successful.
>For those that don’t know, Vitamin d is created when sunlight hits skin.

Actually it's when UVB rays hit the skin, and only during certain times of the day, and north of 37 degrees only during part of the year.

In order to get enough UVB rays to make Vitamin D you need sunlight from around noon, during spring summer and fall

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3257661/
> "We believe online diners are becoming more promiscuous," Grubhub CEO Matt Maloney and CFO Adam DeWitt wrote in a shareholder letter, noting that Grubhub diners were once known to be extremely loyal, but new diners have often already sought out a competing online platform

https://fortune.com/2019/10/28/promiscuous-grubhub-customers...
This would benefit the couple of people who use that fork of Firefox, but would have no effect on every other Internet user. It's impossible for Mozilla to fund anything "unencumbered by Google or other corporate affiliations" when so much of their money comes from Google.
> I want my favorite restaurants to survive this pandemic, but I couldn't care less about these delivery startups.

Does the tip go to DoorDash, or to the person that delivered for DoorDash? I want the restaurants to survive too, but I have to imagine a lot of these DoorDash delivery people were either Uber drivers or employed somewhere else a few weeks ago until furloughed, and may have a less stable income than someone working at a restaurant which is getting takeout orders.
I agree. Sometimes the business case is needing to read .CSV files that have some pretty bizarre properties and you need a massive library that takes care of all of that.

In my case (I do a LOT of .CSV work) though none of these problems exist. I haven't reached for Python's .CSV library in years and neither have my co-workers. We simply loop through the file, split the strings on commas, and have a few if statements to parse on a situation by situation basis. Extremely old school, but it works very well and is easier than dealing with the objects that are generated from using the library. I realize this probably doesn't work with all use cases on HN though, or even most.

My ideal language has direct support for making file I/O, dictionaries, sets, whatever all in core and easy to use. This keeps me from having to write my own helper classes and modules or bring in 3rd party libraries. Other languages like to have a community package for everything to where you have 9 options for everything. This seems to be common in JS and Perl and is certainly valid, but I'm not a big fan. Python hits a sweet spot for me.
> Maybe I muddled my words on this.

Not at all. Thanks for your patience.

You've laid out really good arguments as to why Java Threads cannot be cancelled, and suggested that userspace threads -- which I (perhaps mistakenly) interpreted as CompletableFutures -- should be able to be cancelled.

But the thing is, I can cancel (request) Java Threads. And I cannot cancel CompletableFutures.

From my original comment:

> But CFs lack the functionality of Threads. A CF can't decide to sleep for a while, nor can it be cancelled.
Oof. Gate keeping. 'Be serious or you'll fail!' 'The powers that be are just manipulating people!'

If being in a hyperfocused flow state isn't fun, Idk what is.
Do you still have your older video game consoles? Some of the games are still playable and still fun decades later
A very important point every develeper should know: successful write(2) syscall doesn't not grantee that the data received by a remote application. TCP is described as a protocol which grantees packet delivery and this often misleading.

write(2) syscall returned without a error means that data has been placed in OS kernel buffer. OS kernel then will try to send it to a remote host. If couple packet will be lost it's not a problem - kernel will retry a few times. But if power will be lost shortly after a write, data may never hit the wire. Then there is possibility that network link will be broken for a long time. OS will retry, but for a limited time and then will give up. Also remote host can crash at any time before remote application actually will read the data.

So if you need reliable delivery you need acknowledgement on application protocol level despite the fact that TCP already have acknowledgements.
https://gitlab.com/danjac/localhub/-/blob/master/social_bfg/...

IIRC there were some old packages but these were unmaintained and didn't work with later versions of Turbolinks, so I ended up looking at Rails source and other examples. Basically making sure to handle redirects and headers correctly. You can see the webpack config in the same project, pretty much just standard setup with some tweaks for loading Stimulus controllers.
Ask HN: Why have schools done such a bad job in teaching Mathematics?
Yeah - divergence would be a far better term rather than the analogy. They go apart but specifically don't interact.

Instead it gets people to overlook it as more new age nonsense woo that abuses appropeiated quantum physics terminology.
I'm prepared to accept that experienced activists probably understand what's effective better than I do, but I've never understood how this actually works in the case of doing very annoying stuff like blocking streets.

sure, it gets people's attention, but if they don't already care, why would you expect their solution to be "right this injustice" rather than "get the police to clear these people out of my way"?
Yep, that's my thought processes too; I usually go to Adafruit, and if they don't have it, I go to Sparkfun, and if they don't have it AND I know precisely what I want, Digikey, and then if all else fails, I go to amazon and buy a pack of "everythings" and see what I get.

Everything I've been doing is stepper motor related, and I didn't know what else I'd even use 3/4 of those sensors on, but for 25$ or whatever I figured I could buy them, try them, and see what comes out of it. They're like a flight of microbrews or something; just enough to tease me and get me started so I know what I actually want :D
The title is misleading. It should be "Facebook executives give free money and Facebook shares to Giphy executives and save Giphy from bankruptcy."
score = upvotes/view_count is probably a good metrics that takes popularity into account. But there is certainly some statistically trickery needed to compare a popular post with lower score and a less popular post with higher score.
No, it cannot be open sourced. It literally has no source to open.
Agreed. This is a limitation we ran into trying to implement a critical accounting ledger on top of DynamoDB. The transaction model we came up with is formally verified w/ TLA+. We're turning our work into a product: txlayer.com
What if the value is an ID rather than an integer? CSV doesn't specify whether the data type is a string or a number. The schema needs to be inferred by the parser/user.
I would add Castle Crashers and Spelunky as personal favorites.
Entertainment: Markov generator text from POTUS's speeches and tweets
> it's the only way to go to build products.

This! Back-to-front is a good way to build a scalable, performant, cleanly designed software. Front-to-back is the only viable way to build a usable product.

> Users just do not care what kind of horrible kludge is running behind the slick UI.

For 99.9(9)% of users, the UI is the product. Even those who do know what "back end" means, do not care.
> But who is actually pushing this story? Gizmodo is all about clicks and 'engagement'. Are they, really, trying to champion, or ridicule, this research, do they even care?

I'm not really sure, but it smells fishy. What are lay people supposed to make of this article? We aren't qualified to evaluate the philosopher's critique and there is no counterpoint presented. Why should we trust her position over the other, presumably larger group of experts? Gizmodo was pretty transparent about its own biases in the first couple of paragraphs. Seems like this article could be reduced to the headline, "Publication finds expert to reinforce its own priors".
Considering revenue has driven off a cliff, 5% cuts doesn't seem like that much. Even with PPP and COVID unemployment, I still think this was a relatively good outcome, seeing as how 100% employee retention after getting slammed by a giant profit meteorite was never realistic.
> As an end user that would really annoy me; it's not like I'm going to change my mind and order Applebee's instead

Lots of people actually do. People like variety in their meals.
There is no ethical dilemma here. They are simply choosing the unethical option.
I know how you're trying to use it, I brought up the etymology. Your usage isn't new, I'm just adding rigor. Even "violative of; contrary to" categorically negates the validity of the actor's reasoning. Taking the descriptive position is your option, but I hope we can agree that that would be "literally"-ing the word, given the science.
That’s not how permissions work in Chrome extensions. You pretty much can’t do anything with the URL matching permission alone, however broad your pattern (including <all_urls>).

Take a look at

https://developer.chrome.com/apps/declare_permissions

https://developer.chrome.com/extensions/api_index

Edit: I should mention that content script permissions declaration works differently: https://developer.chrome.com/extensions/content_scripts
It started as one reporter’s spreadsheet: How our Coronavirus Tracker was built
Oh that's weird, I'll definitely check!
I only tested it on Chrome from pc & mac and is working well. Note: I suggest you give it a go from a laptop, the visualization is not yet optimized for smartphone
I didn't know about private. Thanks for the tip.
Does it really matter if you save 1 or 2 cents when buying a bunch of stocks?
How exactly does the default state work if that's the case? Is it just up to the user to treat the state as immutable and copy it rather than modifying it?
First Look at Red Hat Remote Certification Exams
I don't think there is a hacker mindset. We don't all have the same experiences or motivations for why we build, tinker, break, and fix. We just all happen to do that stuff. Some of the most impressive "hackers" I've ever met were old HAM radio enthusiasts with thick country accents who live in the middle of nowhere. Those folks have almost nothing in common with the extremely educated liberal developers in SF. But both groups collect knowledge and apply it in the real world in creative ways.

So being a hacker is a practice, and in some cases it's a lifestyle (when you orient your life around hacking). But it's not a mindset. Some folks are compulsive hackers, some are methodical, some are opportunistic, others are hackers out of necessity - but they're all united by what they do, not how they think.
BBSes: The Vice Exposé
That wouldn't help much. For example, with read/write access to your banking website a malicious extension could inject a script tag that exfiltrated data to their server.
Economics of Storj Tardigrade Decentralized Storage
How to keep up with latest research and trends in ML
I still would argue that compare to its size Apple’s innovation is lacking. They did a lot between 2000 and maybe 2010 but now they are just iterating on the same things with only a few innovative things sprinkled in. Like all big companies their main strength is efficient execution and optimization of systems.
> Is that what hedge fund people do with their money, buy their first washing machine?

I'm obviously not saying that. It's an example of how average people make/save more money from having more money. IOW, it's how average people use essentially the same tactic.
Interestingly enough, neither myself nor MacWright advocated returning to writing large jQuery apps so I truly fail to see how this comment is relevant.
It's a great match. They're both hype-mongering companies which add no value whatsoever to society.
That's why I asked for examples. I want to know what are the good examples. Someone mentioned the main react site. Seems like a good place to start.
I've always thought the view that "coding is easy" is a bit insulting to those who worked hard to learn to do it well. Sure, there are certain concepts in coding that are easy. But isn't that the case with everything? It depends on what you're building and if the person has a general interest. The idea that was pushed by Facebook and others that its as simple as memorizing multiplication tables I always found deceptive and ridiculous.
>If they continue to use your name, issue a C&D order

A waste of lawyer fees. Its legal.
I agree. All I care about is that the pronunciation is contextually correct, and smooth. Accents are fine, and necessary. But I don't want a non-human simulating human emotions. Now if they aren't simulated, that's another story...
Everything OK with Microsoft?
Why would they? There is 0 incentive and are not legally required to from Switzerland law.
I don't think it's unreasonable to be surprised that a teenager (at least, an American teenager) isn't aware of such a thing. They've managed to get through school without once being shown a photo of the space shuttle? Not one blurb? Never seen it in a TV commercial? Photograph?
This is my take as well. Most of our CSV concerns center around generating them, not consuming them.

Generating a valid CSV string that Excel wont complain about is approximately 2 lines of LINQ if you have a clean starting point (i.e. a list of class instances with strongly-typed members).

For cases where I have to read garbage CSV, I first go to the source and determine if we can't get a better export or interface into the data. Most shit CSV I see is a consequence of someone hacking together a SQL query to produce the output. I'd be inclined to just request a database export at that point. Obviously not always an option, but you should always insist on having the best representation of the business data before you start banging your head against the wall on parsing it.
I felt the same when I ordered dinner for myself and my girlfriend from a restaurant here in SF. I called up prior to ordering to ask if they had a preference on delivery provider- they said they were all about the same, but thanked me for asking.

When was just about done filling out my order, I added a big tip, and my girlfriend reminded me it was not going to the restaurant at all, which had completely flew over my head. My entire view of delivery services has changed during this pandemic, thanks to these restaurants coming forward about how much they are getting screwed.
I wouldn't recommend anyone to take psychedelics, the "payoff" that you get - for recreational use - can be achieved through sober practices like meditation.

If you are already considering trying your first psychedelic and are researching which to take, mescaline is usually passed over because it is difficult to ingest, making it less popular.

After ingestion, I'd say mescaline is hands down the best psychedelic experience for a first time user. For me, LSD and psilocybin - at full trip doses - alter my thought processes. My perception, emotions, actions, sense of self, objects, surroundings and soundscape all become tied to each other, pushing and pulling at each other in an obvious way that makes me realize that I was ignorant to pretend they were ever separate to begin with. There is no choice but to allow yourself to be taken by this experience, if you try and make one part rigid - maybe your sense of self, or a held belief - you deny the influence of those other things which are also being altered by the trip. Despite your firmly held position, the other aspects of the trip will continue to push and pull casually with each other for the duration of the drug, and you might invent an enemy out of some arbitrary thing, like the sound of the wind, simply because it won't listen to your request to stop interfering with some aspect of American Politics. That, in my experience, is how bad trips start.

With mescaline, it respects my boundaries a little more. The first time I took it at first it didn't feel like a trip. Then visually the plants, sand and the water started to get that familiar flowing effect, and I started to witness those connections between things in the world, without them having an effect on me. It felt like I was witnessing a psychedelic experience, while still remaining my sober self. I was a little disappointed at first because I enjoy that sense of oneness. Then I sat down on the beach and watched the sunrise. That sense of push and pull between things increasing as I came up, and just let myself enjoy the trip. When I let it, that push and pull took an effect on myself the way it does with LSD and psilocybin. At any moment however I could just come to and be my original self just witnessing. My involvement in the trip was voluntary, and when I wanted to just be my self the trip would advertise itself by continuing in the world around me, waiting patiently for me to come back.
New York 2140 by Kim Stanley Robinson (relatively new) and Zen and the Art of Motorcycle Maintenance by Robert Pirsig.
> Our directives were always: If the user has showed intent for a specific thing, tailor the landing page towards that thing as much as possible, and get out of their way. Don't let them forget they already made up their mind.

That's if you're trying to sell them the thing they showed interest in.

Door Dash et al aren't trying to sell you Saddleback Barbecue, they're trying to get you onto their platform so they can sell you to advertisers. What you're interested in is just a way for them to manipulate you onto their platform.
I keep seeing things like this, people hating on the delivery companies. Customers moving to takeout and restaurants moving to self delivery.

Its pushed me to have my quaranteen/layoff project be to create a competitor that supports only self delivery and takeout but has the order, management, aggragation functions, and crm of the competition for a low flat fee (plus cc fees).
NYC public transit usage is more similar to Paris or London than it is to any of the cities you listed. 56.5% of New Yorkers commute with public transit (2015), seems pretty on par with European standards to me.

https://en.wikipedia.org/wiki/List_of_U.S._cities_with_high_...

https://www.citylab.com/transportation/2017/10/riding-bikes-...
reCAPTCHA adjusts how many it makes you solve depending on how much info it can gather on you. If I disable my privacy settings & extensions I never need to solve more than 1-2. I'm not usually willing to do that.
I'd love for a twitter employee to comment here on what the internal reaons's for Trump's behavior and activity to be given special treatment and immunity.