skysight-inc/HackerNews huggingface dataset:
This was a standard feature of flat file databases in the early 90s. There were many products. They often had an ODBC driver, which provided a SQL front end. dBase .dbf files were often used for storage. The arcane file locking in Windows is intended for exactly this kind of application.

Apart from quality (!), SQLite's main advantage over these products is broad platform support. And continued existence.
I thought it was only the repulsive rats that benefit from the human ever-expanding footprint. Interesting to know other species are also adjusting.
I see something like this and wonder if it was some sort of medieval gag gift and historians are taking it at face value.
We're one massive financial disaster from crypto currencies being the the main currency.
I sometimes drink a stupid amount of diet soda. I know drinks are usually high margin, but I wouldn't be surprised if some places lose money on me. I went to a Denny's recently and tried to count the number of refills I got, but I lost count. This is the same Denny's I went to in college, where the waitress knew me. She'd drop two pitchers of Diet Coke on the table before she took my order.

The epitaph on my tomb stone should probably be "Didn't do an autopsy. We just assumed he was one giant tumor artificial sweetener induced cancer."
My expectation would be that if you’re used to operating in a high margin business you have ample room for error or fluctuation in conditions.

In a low margin business, you don’t have such room for error, and you actually have to fluctuate with conditions. This isn’t a deal breaker: most business operate this way!

But it’s scary for someone looking in from a high margin business.
IMO, it’s the ones that have a lean, low cost, low price, high volume model for their products or services. India is a highly cost sensitive market and there’s hardly any kind of customer stickiness that can be taken advantage of. Even mobile number portability has huge numbers reported every quarter where people switch, while retaining their phone numbers, between the four main providers (among which three are in doldrums) who have survived the brutal costs and truly ruthless competition.
Show HN: Job Aggregator – Apply for 70,000+ tech jobs at 2,500+ companies
> It is inherently inefficient and a final, last resort.

There's an entire horror cabinet of last resorts that people don't even want to discuss yet, carbon capture is merely a plan C.
I vehemently disagree, buffets are glorious experiences. It's everything that is great about the modern world in a single place. Sure a cohesive dining experience can be nice, but a buffet offers you the ability to have it all. To eat like a king, a little bit of this, and a little bit of that. Or heck, it can be a mound. If you've ever looked a menu, and had a moment of FOMO while making a decision, you should be able to appreciate the magic of the offers available in a buffet.
Did you RTFA? Pin 7 is 12vSB, which will be on all the time, not the main 12V rails. It's likely to work exactly like 5vSB right now, just at a different voltage.

Personally I predict this will make it much easier to DIY things like vehicle PSUs, since you'll only need a single buckboost converter and some ignition-sense logic. All other factors will be relatively unchanged, just the red and orange wires are going away which is fine because basically nothing used them anyway.
I wouldn't. I never lived with the partner I worked with on a long term project, but we ended up spending too much time together as it was and ended up not really speaking to each other for a couple years after. Nothing really bad happened we were just sick of being around each other.
So reason is like coffeescript for ocaml.
I know you are joking but artificial sweeteners do not cause cancer. Current literature does suggest they are bad for your teeth though.
It is, but I had to look it up (born late 80's).
Ok that is good to know -- sorry for my poor attitude.
The former. One of the examples given in the linked explanation (https://jvns.ca/blog/2014/11/27/ld-preload-is-super-fun-and-...) used LD_PRELOAD to modify random number generation — and it's easy to imagine other exploits.

I suppose many/all would require the user's environment to be so throughly compromised that security might be a lost cause. But it still makes me wonder if there's a defense-in-depth argument in favor of static linking.
Almost right!

Små grodorna, små grodorna är lustiga att se.

Små grodorna, små grodorna är lustiga att se.

Ej öron, ej öron, ej svansar hava de.

Ej öron, ej öron, ej svansar hava de.

Kou-ack-ack-ack, kou-ack-ack-ack,

kou-ack-ack-ack-ack-kaa.

Kou-ack-ack-ack, kou-ack-ack-ack,

kou-ack-ack-ack-ack-kaa.
We're talking about all-you-can-eat buffets. I don't think they're selling a jumbo-jets worth of food a day.
This is increasingly less tru as TLD's like .amazon are being given out. There's no reason that a or b in format a.b is more important, other than the fact that the arbitrary convention exists that a can be anything but b can only be one of a few choices.
This may come as a shock but software is the exception. The vast majority of the business world operates this way.

The fun part comes when you realize that absent monopoly conditions this is the natural stable state of a mature market, and think about what the future of software might look like, and what the current public policy fights are about.
State Attorneys General to Meet with Justice Officials to Coordinate on Google
Option+click on the resolution in settings?!?
so Tiger of Sweden clothes are actually for really quiet people?
In the old days of DOS I could do that with Clipper 5.2. Two or more PCs using Netbios shared directories could work on the same database, provided that they wouldn't write to the same record. That wasn't a problem because the environment (can't recall for sure if it was Clipper or an external library) allowed single record locking, so I enclosed the lock attempt into a timed spinlock-like block which attempted once per second for 10 or 15 seconds before obtaining the lock or failing with a record busy error. No SQL involved however, and indexes had to be rebuilt by hand like twice a day to be safe. But those were the days when a 486 could crunch a 100.000 records db with multiple indexes very easily.
Yup. "Declaration follows use" was Ritchie's idea of making it work[0] (I think it was his own). Unfortunately, while it is often useful, it also has its problems. Lacking a keyword, a type table is needed in the parser to recognize declarations. Thus, need to parse everything from the start. The syntax is very concise and easy to read in simple to moderate cases, but difficult to read for more complicated declarations, like functions returning function pointers.

And few people know how it works and get confused. I wonder why that knowledge is not a lot more common.

[0] https://www.bell-labs.com/usr/dmr/www/chist.html
And all xBase based programming languages, Clipper, FoxPro, Visual Assist, and their competition Paradox.

I loved the Clipper 5 OOP capabilities, sadly Visual Objects tried to be too much like Visual Basic and some of the easiness was lost.
Plug for Project Vesta [1], which I donate to. It's the only energy-practical proposal I've seen so far for real carbon capture aside from replanting a million acres of trees and hoping people don't burn them... again.

[1] https://projectvesta.org/
https://github.com/libhugetlbfs/libhugetlbfs can use LD_PRELOAD to remap segments onto huge pages for a performance boost (via fewer TLB misses).
Face masks aren't a effective way to prevent the spread of coronavirus
Hey,

I am looking for the article that speaks about it.

I first learned about it in this podcast

https://technode.com/2019/01/28/71-the-chinese-takeover-of-t...

But there is a more in depth article I am trying to find.

A few interesting things about India 1 and 2

India 1

150-180 Million

Internet Consumers

Speaks English

$1 Trillion Market

Unlimited Data

Expensive Smartphones

Wi-fi at home & office

24/7 connectivity

Earning an average of Rs 30,000 a month.

India 2

400 Million

Internet Users

Speaks local languages

Serves India 1

Send money home.

Care about education of their children.

Earning an average of Rs 7,000 a month.

Second hand smartphones/feature phones

Buy data pack
Lidar sensors aren’t just for self-driving cars anymore
Yup India 3 is the rest.
I dont know what OSX this guy is using, but osx has the longest history of any OS i know that is able able to scale the actual ui on monitors with a fixed resolution.
> and even produce enough clean electricity to power clean electric solutions in transport/agriculture/industrial/appliance sectors

The agriculture part is overly optimistic. Agriculture entails GHG emissions from deforestation, fertilizer production, ruminant methane, NOx emissions, soil carbon depletion and other secondary effects. It's not like we can solve our problems by electrifying tractors.
> I think most people don’t realize it’s Google’s fault and blame the sites.

Absolutely. That's how I noticed what 'Auto Ads' really did. People thought my site was infected by malware and contacted me with screenshots.
Yes, for Access (and sqlite?) it is the client computers that do the edits directly to the database file, rather than via a mediating server side process, so they are particularly vulnerable to network interruptions while in the middle of an edit. Cable is far more reliable than wifi and so far fewer interruptions. I think that's it.
Should you host Python websites on PythonAnywhere?
Perhaps, but nevertheless the CCP gov had a media star apologize for “popularizing” eating bat soup.
https://en.wikipedia.org/wiki/Ancient_Shores
If I go to a buffet I fill up my plate with all the food I most enjoy even if that includes the cheap stuff. Then I feel like I got my money's worth, even if they made a profit.
If you are interested in the code behind bitmaps / pixel sprites that scale, pan, and zoom, I'd like to offer up OpenTTD.

https://www.openttd.org/

Specifically, Viewports, Blitter and Resize handling:

Viewport: https://github.com/OpenTTD/OpenTTD/blob/1.9.3/src/viewport.c...

Window resizing: https://github.com/OpenTTD/OpenTTD/blob/1.9.3/src/video/sdl_...

Zoom: https://github.com/OpenTTD/OpenTTD/blob/1.9.3/src/main_gui.c...

OpenTTD is interesting because it can have multiple "cameras" following objects on the screen. e.g. a viewport can be opened to follow a bus or train, zoomed in, while the main viewport is zoomed out.

Also I'd like to recommend aseprite (https://www.aseprite.org/), which has even cleaner code with zoom / panning / etc. The GUI itself is also pixel art: https://github.com/aseprite/aseprite/blob/v1.2.16.3/src/rend..., https://github.com/aseprite/aseprite/blob/v1.2.16.3/src/app/..., https://github.com/aseprite/aseprite/blob/v1.2.16.3/src/ui/v...
This is true, but you can’t put a VM in SGX without massive software hackery. Also, SGX has been broken so many times in the last couple years that it’s silly.
And one may see that as a nice way of ditching pointer calculus completely to the machine level where it belongs.
Considering I've never read it I would give myself an E+ at least.

Cheers for remembering that last weird bit.
Yes, Ageism Is a Problem in Tech. But Vanity Is a Bigger One
I wonder about that too. Or thinking things were used for religious purposes.
Domestic dogs, many crops, and feral-descended populations (like wild pigs and pigeons) also benefit
How many went to watch porn on library computers
No AP reporting, including the pictures used, were the distortion of facts. There are pictures of this event and you can find it on the net. It was massive.

Treatment in the US press reminded me of our own massive demonstrations before the Iraq war (which also never made it to the front pages of our “journals of record”.)
How much RAM does libpng use? It surely can't more than a couple of megabytes at most (much less I'd imagine, given typical binary sizes). This is rapidly becoming a non-issue.

Regarding security issues. I imagine that we will gradually rewrite everything in memory-safe languages such as Rust. It'll take a while - there's a lot of value in the code that's already been written. But once a library for a given task has been rewritten into a safe language, it's going to be hard to justify using the equivalent C library.

Of course this won't completely eliminate security issues. But I'd guess that along with a bit of fuzzing, it could easily reduce the frequency to <10% of what we have today. That, along with the fact that modern languages have package managers, and updating a library to the latest patch version is a one-line change, will make keeping on top of security issues well within the reach of the average app developer.

Shared libraries were a necessary tool in a world with limited computing resources, but I suspect the current trend will continue until they're used only in niche circumstances (plugins? libc?)
Had exactly the same thought. Maybe he didn't find the settings. Who knows...
From what I've read about carbon-negative cement, idea is not to capture the carbon released during curing, but to make concrete that later, over years, chemically reacts and captures the carbon from the air. Because concrete is porous to the depth of 20+ inches, it has a very large surface that can slowly extract more CO2 from air than it initially had released.
Yeah it’s not clear to me if the author realizes you can change the scale in the system settings and that’s just not what he’s in need of exactly. Might be more fitting in his case to use the Mac OS accessibility settings for zooming in/out, or even just getting an eye exam and some glasses.
Or that they have specifically chosen that particular field. If your heart and skill set is being a chef, then the running a restaurant is going to be your path.
Ask HN: What do you regret you didn't know when programming for iOS or Android?
What do you regret you didn't know when started programming for iOS or Android?
Why the hell do you need data URLs for iframes?
Plain English will be fine, it's literally their job to translate that into design. Also point them to similar apps that do what yours does so they can get a feel for the space.
> deforestation

There isn't net deforestation globally, though.

> ruminant methane

Yeah, this is one of the hardest ones to fix, but I think lab grown meat will get there eventually. Like I said, I'm not optimistic animal agriculture will have sufficient technology to eliminate most of its emissions in time - that's why we need CCS in the meantime.

My point is, the energy industry will be ready with extra capacity to power clean agriculture solutions when they are ready.

> It's not like we can solve our problems by electrifying tractors.

I don't think that's the route we should go.

Primarily indoor farming seems to be a much better long term route for plants, I prefer if we eventually get rid of most rural farmland and slowly shift it back to nature.

Cover our flat city rooftops with small farms and trees, and produce most plant agriculture indoor very close to the consumer in indoor vertical farms. Controlled environment + indoor climate, more resource efficiency, almost no risk of infections, no need for most of the chemicals we use today.
I've been using Kubuntu at home and work for over four years now, and it has been a stable and productive experience. The only significant difficulty I can recall was immediately after upgrading from 19.04 to 19.10, where GRUB was having difficulty with a Secure Boot extension. I should have waited for the 19.10.1 release, but the issue was relatively easy to fix by commenting out a line in GRUB config.

I really believe that Ubuntu and Kubuntu are reaching a high level of simplicity and stability where they can be adopted or at least tried out by people who are more casual computer users (or who just want to stay productive.)
e.g., the neighborhood library is the (non-school) hub of my kindergartener's social life. And therefore, to some extent, mine.

It's one of the few places I know of that has plenty for young children to do, is open in all weather, is anywhere close to home, and doesn't cost an arm and a leg to get into.
> Jio for making the Data rate too cheap

> (Less than 1$ for 2-3 GB.)

Cheap is not the same as affordable. 1$ in India is equivalent to ~18 US$ [0].

[0] https://data.oecd.org/conversion/purchasing-power-parities-p...
Well, they can't eat a cat if the cat is kept indoors, which it should be to protect wild animals that it might kill for fun (e.g. birds).

Considering Australia is culling feral cats as a conservation effort, the coyotes might be doing our ecosystem a favor in that regard as well.
Teenager charged over $50M SIM-swap cryptocurrency theft
Looking into this more. The sources for this seem to be sketchy at best — torture museums and ripley’s, places that sell good stories, not history. A quick search of google scholar doesn’t find much in support of it. The earliest references seem to be renaissance artists painting medieval scenes, but that would have been hundreds of years after this would have been used, I think.
It did allow it but getting it running reliably was basically getting punched in the face on a daily basis. Act! Was similar except they included getting kicked in the balls two to three times a week.

The reason access was popular was it made any middle manager that could wield an Excel spreadsheet think they could build a database.
Basically every recent CPU has a big cache shared between all cores. So, unless you pin a VM to one socket and you do something to encrypt cache coherency traffic between sockets per VM, you lose.

The underlying issue here is that encryption is fast but not fast enough. So no one encrypts cache — instead, plaintext is cached and data is encrypted on its way to DRAM. So the actual isolation is in the access controls that the CPUs apply to which process or VM can access which pages, and this has little to do with encryption.

It’s worth noting that Intel has been very bad lately at protecting cache contents from side channels, while AMD has done just fine. You can turn fancy encryption on, but those side channels leak plaintext.
That worked so well before
I doubt it. The postmix box that they use costs cents(if that) per litre.
AFAIK the usual cement types do not release CO₂ during curing, though a significant amount of CO₂ is released from the ingredients while baking. Sometimes the released CO₂ is reabsorbed when curing (lime).

What type of cement are you talking about?

Reference: http://matse1.matse.illinois.edu/concrete/prin.html
New documentary cloaks anonymous sources in ‘face doubles’
Here's "git shortlog -sne", with Stripe employees (current and former) and email addresses removed. I've annotated with current company, if easily-discoverable: https://gist.github.com/muglug/a70b7316f92d05f9febbf56684a8e...

That list is a minority of all 166 in the original (and there may still be some Stripe accounts there).

Additionally all of the top 10 are current or former Stripe employees, and at least 96% of all commits come from current or former Stripe employees.

BUT there's also nothing wrong with this – in a similar project I created (https://github.com/vimeo/psalm), 90% of the commits come from employees at Vimeo. I was just pointing out it's good.
y, you're going to need time away from each other.

It's tough being around someone at work and home.

If you do have a disagreement there won't be anywhere for each of you to retreat to and decompress.

I don't think I would do it.

Plus you will be tempted to brainstorm and keep thinking about work during your home time.

I guess the only way I would recommend it would be if you live in an area where rents are really high and you don't have any other roommate options. And this would increase your runway.

Or if one of you would be out of town most weekends that could help.
More like Elixir for OCaml perhaps?

It makes the good stuff in OCaml more readily available to developers with different expectations such as syntax (JS) and package management (npm).
Nice, that's much better.
It might have been designed for it. It was poorly designed for it. It was a clustfuck of corruption when actually utilized
hmm, it seems to map to my workflow with Clojure lately. But there I'm massaging and generating new data sets (even though it's statless) but I can see that if you have a very settled data format then this would work in a language agnostic data-interface kind of way. I could see like measurement/time series data being stored in SQL and accessed that way would be much cleaner than opening and closing CSV files for all sorts of datasets
I am fascinated by the wings, you can see that they have been heavily optimised and wonder how much compute time went into perfecting them. I'd love to see a documentary on the design & construction. I have a carbon-fibre road bike and it is incredible how much they can tune the materal. Where it is rigid and where/ even how it flexes to dampen vibrations.

Interestingly, most of that article is about the 737 Max issues (the MCAS software is a disaster, it's a push to even call it engineering).
Fragmenting and loss of overall area are not the same thing.

A fragmented drinking cup may weigh the same as an intact one, but one of them is a lot better at holding water.

A power line through a forest, for example, incurs minimal deforestation, but provides a highway for animals to transit through the surrounding forest.
It’s also important to look at capital expenditure intensity. Spending $100k to make .01% could make sense but spending $1B to make .01% is much tougher, from an NPV perspective.
I should add that the movies are made for 14 year old boys. I think parents are more hesitant to let their young teenage girls out alone.
I think OP was referring to homeless people, who enter libraries in order to protect themselves from cold.
If the drink was $2 and served in glass, you'd have to have a 3-digit number of refills before they lost money on it, assuming they use a gun.
GitHub – DnGrep/DnGrep: Graphical Grep Tool for Windows
I have a sales guy buddy with a 50K contact database in Act! that runs a Win95 VM to maintain access to this data. I've tried to figure out how to migrate it, but it is more than a few hours and who has that kind of time?
Presumably multiple readers are fine, with only multiple writers being an issue?

I vaguely recall trying to use multiple threads to write to an SQLite DB some years ago, and I think it actually locked the entire file for writes. I might remembering wrongly, but I think I switched to reader/writer locks in c# instead, and seeing a huge perf boost.
Better picture : https://recondito.org/2017/05/12/lion-at-gripsholm-castle/
Thanks. Useful information.

But I've been copying after taking a shared lock on the sqlite db and I think that's supported as mentioned on https://www.sqlite.org/backup.html.

The online backup API is nice but it has to be done in-process or through a dedicated application. While the lock and file copy is very easy to do using whatever shell the OS provides.
I think the choice of New York/California really muddies up this comparison. Maybe a Guyanese company named Rocky Mountain getting ".rockymountain" would be more apt. Otherwise you start to bring in comparison to geographic boundaries over many countries vs political boundaries which have historically been reserved in DNS as well as protection of existing domains when registering a new one which (I don't believe) is the case here as well as government vs other domains and possibly more "as well"s I'm not thinking of.
It doesn't. The wording of the post I replied to was an angry, black and white response condemning a rising stock market since it benefits the wealthy. My point was the stock market affects everyone, not just the super rich.

I wouldn't wish for the stock market to crash so some rich guy suffers. The rich will stay rich, it's the middle and low class who would suffer the most. If the market falls 75% tomorrow, Bezos will be fine, my parents will not.
Show HN: Jira clone built with modern React. A great repo to learn from